This project is read-only.

Installation fail (.net error) while building the solution.

Topics: Architecture, Setup / Configuration
Mar 24, 2009 at 3:07 PM
The pre-installation checklist is all good but at the time of install I get the error messages while building the solution. 

---------------------------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3
245: Could not resolve this reference. Could not locate the assembly "Microsoft
.Web.Management". Check to make sure the assembly exists on disk. If this refer
ence is required by your code, you may get compilation errors.
ImageCopyrightModule.cs(38,32): error CS0234: The type or namespace name 'Clien
t' does not exist in the namespace 'Microsoft.Web.Management' (are you missing
an assembly reference?)
ImageCopyrightModule.cs(39,32): error CS0234: The type or namespace name 'Serve
r' does not exist in the namespace 'Microsoft.Web.Management' (are you missing
an assembly reference?)
ImageCopyrightModule.cs(43,43): error CS0246: The type or namespace name 'Modul
e' could not be found (are you missing a using directive or an assembly referen
ce?)
ImageCopyrightModuleService.cs(59,10): error CS0246: The type or namespace name
'ModuleServiceMethod' could not be found (are you missing a using directive or
an assembly reference?)
ImageCopyrightModuleService.cs(59,10): error CS0246: The type or namespace name
'ModuleServiceMethodAttribute' could not be found (are you missing a using dir
ective or an assembly reference?)
An Error Occured building the DinnerNow Solution
Finished
Press any key to continue . . .
---------------------------

i have the .net 3.5 installed so the assembly exists.

Any ideas on how to solve this is greatly appreciated.
thanks,
Apr 3, 2009 at 8:54 AM
Edited Apr 7, 2009 at 2:26 AM

I have the same issue, but when lauch DC1.exe form ..\..\bin, it will be just has warning message.

When i first time start the %SystemDrive%\DinnerNow25\scripts\install\StartHere.bat  from desktop shotcut, DinnerNow.Net Installation CheckList dialog was prompted ,

 

  click Build and Configuration button[ ..\..\ bin\DC1.exe]. Will get the error meassge:

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): erro

r MSB3073: The command "call "%VS90COMNTOOLS%\vsvars32.bat" > NULL \r

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): erro

r MSB3073: gacutil.exe /if "C:\DinnerNow25\solution\DinnerNow - IIS7 Handlers\I

mageCopyrightService.Management\bin\Debug\ImageCopyrightService.Management.dll"

" exited with code 9009.

An Error Occured building the DinnerNow Solution

Finished

Press any key to continue . . .

 

Then  I try to start the  DC1.exe from  ..\..\ bin\DC1.exeand then click Build and Configuration button, we just get warning message but not error message.

 

 

Building "IIS7 Handler"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Building "DinnerNow - ServicePortfolio.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Data\POXOrderItem.cs(52,22): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.menuItemId' is never used

Data\POXOrderItem.cs(53,22): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.restaurantId' is never used

Data\POXOrderItem.cs(54,24): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.name' is never used

Data\POXOrderItem.cs(55,24): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.imageLocation' is never used

Data\POXOrderItem.cs(56,25): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.price' is never used

Data\POXOrderItem.cs(57,21): warning CS0169: The field 'DinnerNow.Business.Data

.POXOrderItem.quantity' is never used

C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Ta

rgets : warning : Activity 'sendActivity1' validation warning: Validation faile

d for parameter 'order'. All parameters for the send activity should have a val

id activity binding or a value specified.

C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Ta

rgets : warning : Activity 'sendActivity1' validation warning: Validation faile

d for parameter 'context'. All parameters for the send activity should have a v

alid activity binding or a value specified.

Build Complete

Building "DinnerNow - SideBar.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Building "DinnerNow - Web.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Building "DinnerNow - Kiosk.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Building "DinnerNow - Management.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Building "DinnerNow - LoadAgent.sln"

Microsoft (R) Build Engine Version 3.5.30729.1

[Microsoft .NET Framework, Version 2.0.50727.3053]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

 

Build Complete

Finished

Press any key to continue . . .

 

Attached picture  to watch more clear

 

 

By this way, we can build the application. But functions of this applciation can’t be used, such as Orders Manager, DinnerNow local website.

 

After press a key, there are error message shown in command window, but I can’t catch it.

 

According to  DinnerNow.net Demo Walkthrough->Starting the DinnerNow console service hosts to start StartServices.bat(in this version, I used the Z - Start Services.bat), and got the ..\..\bin\services-consolehost\DinnerNow.Hosts.ConsoleHost.exe can’t find message. ,I guess this may caused by building configuration failed.