ServiceHost&web project can't open. comexception happened.

Topics: Setup / Configuration
Feb 9, 2008 at 12:42 AM
Edited Feb 9, 2008 at 12:44 AM
thank you dinnernow team for rtm ver.
but, one error happened.

system.runtime.interopservices.comexception was happened when i open dinnernow.ServiceHost project and Web project.
and i couldn't open it.
is there who has same problem?
Feb 9, 2008 at 8:39 AM
Hi

Can you confirm what OS you have, also what version of VIsual Studio 2008?
Did you run the guided setup? Did all the steps work correctly?

Thanks


garsia1983 wrote:
thank you dinnernow team for rtm ver.
but, one error happened.

system.runtime.interopservices.comexception was happened when i open dinnernow.ServiceHost project and Web project.
and i couldn't open it.
is there who has same problem?

Feb 9, 2008 at 2:43 PM
I am also getting this message. Vista Business 32 bit (run in a VM). VS 2008 Version 9.9.21022.8 RTM. From research, the problem has to with VS not being able to open the web applications (as oppose to a web site). I have tried running VS as admin, but it still gave me the errors.
Feb 10, 2008 at 2:05 AM
Edited Feb 10, 2008 at 2:37 AM
Hi.
My OS is Vista Ultimate 32bit.
VS2008 Version 9.0.21022.8 RTM.
I setuped released file at C:\DinnerNow25\ folder.
and i runed StartHere.bat file.
All Pre-Installation Checklist was checked.
then, i clicked "builded and Configuration" Button.
Some error was happened.
THIS IS THE MESSAGE OF CONSOLE.
-------------------------------------------------------------
C:\DinnerNow25\scripts\install
Installing DinnerNow
Processed 272 pages for database 'DinnerNow', file 'DinnerNownew' on file 1.
Processed 3 pages for database 'DinnerNow', file 'DinnerNownew_log' on file 1.
RESTORE DATABASE successfully processed 275 pages in 1.297 seconds (1.732
MB/sec).
Creating DinnerNow Workflow database...
Creating persistence tables...
DBCC execution completed. If DBCC printed error messages, contact your system
administrator.
Creating persistence stored procedures...
DBCC execution completed. If DBCC printed error messages, contact your system
administrator.
Creating Tracking tables...
creating Tracking stored procedures...
Create the ASPNETDB SQL Server database for the membership system

Start adding the following features:
Membership
Profile
RoleManager
Personalization
SqlWebEventProvider

.....

Finished.
Create the CardSpace tables...
Create the CardSpace stored procedures...
Msg 2705, Level 16, State 4, Server GARSIA1983-NOTE\SQLEXPRESS, Line 1
Column names in each table must be unique. Column name
'AllowOnlyCardSpaceLogin' in table 'dbo.aspnet_Membership' is specified more
than once.
Msg 1913, Level 16, State 1, Server GARSIA1983-NOTE\SQLEXPRESS, Line 1
The operation failed because an index or statistics with name
'IXcardspaceInformationCards_UniqueId' already exists on table
'dbo.cardspace_InformationCards'.
Configuring support for SVC files
Microsoft(R) Windows Communication Foundation Installation Utility
Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648
Copyright (c) Microsoft Corporation. All rights reserved.


Installing: Machine.config Section Groups and Handlers

Installing: System.Web Build Provider

Installing: System.Web Compilation Assemblies

Installing: HTTP Handlers

Installing: HTTP Modules

Installing: ListenerAdapter node for protocol net.tcp

Installing: Protocol node for protocol net.tcp

Installing: TransportConfiguration node for protocol net.tcp

Installing: ListenerAdapter node for protocol net.pipe

Installing: Protocol node for protocol net.pipe

Installing: TransportConfiguration node for protocol net.pipe

Installing: ListenerAdapter node for protocol net.msmq

Installing: Protocol node for protocol net.msmq

Installing: TransportConfiguration node for protocol net.msmq

Installing: ListenerAdapter node for protocol msmq.formatname

Installing: Protocol node for protocol msmq.formatname

Installing: TransportConfiguration node for protocol msmq.formatname

Installing: HTTP Modules (WAS)

Installing: HTTP Handlers (WAS)
Warning: CWebServerHandlers::CheckAspNetInstalled Cannot set script maps. Please
check that ASP.net is installed.
Warning: CWebServerHandlers::CheckAspNetInstalled Cannot set script maps. Please
check that ASP.net is installed.
ERROR ( message:Failed to add duplicate collection element "/DinnerNow". )
ERROR ( message:Failed to add duplicate collection element "/DinnerNow/Service".
)
ERROR ( message:New mimeMap object missing required attributes. Cannot add dupli
cate collection entry
. )
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
Succeeded
Error: There are more than one matching certificate in the issuer's Root cert st
ore
Failed
processed file: C:\ProgramData\Microsoft\crypto\rsa\machinekeys\d90e6e2cd79027a7
cfddb977e0bc3ebd_254355d6-f07b-468f-b853-ae2c4bf84264
Successfully processed 1 files; Failed processing 0 files
Microsoft (R) Windows Script Host ?? 5.7
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\DinnerNow25\scripts\install\BindSSL.vbs(5, 1) (null): 0x8004100E

Building "IIS7 Handler"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Building "DinnerNow - ServicePortfolio.sln"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
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:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3
245: Could not resolve this reference. Could not locate the assembly "Microsoft
.VisualStudio.QualityTools.LoadTestFramework, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on di
sk. If this reference is required by your code, you may get compilation errors.
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.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Building "DinnerNow - Web.sln"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Building "DinnerNow - Kiosk.sln"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Building "DinnerNow - Management.sln"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Building "DinnerNow - LoadAgent.sln"
Microsoft (R) Build Engine Version 3.5.21022.8
Microsoft .NET Framework, Version 2.0.50727.1433
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build Complete
Finished
Press any key to continue . . .

name overrideModeDefault
---- -------------------
ImageCopyright Allow
ImageCopyright Allow
null ? ??? ???? ??? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:205 ??:30
+ $handlerSection.InsertBefore( <<<< $imageHandler, $handlerFirstSection)
ImageCopyright
ImageCopyright
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Start-Sleep : ?? ?? ?? '?seconds'?(?) ???? ?? ??? ?? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:135 ??:24
+ Start-sleep <<<< ?seconds 1
Rename-Item : ??? ?? ?????? ???? ???? ?????? ??? ???? ? ????.
??: C:\DinnerNow25\scripts\install\library.ps1:138 ??:13
+ rename-item <<<< $gadgetName -newname $gadgetFinalName
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX\gadgets
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX\gadgets
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX\gadgets
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX\gadgets
Successfully processed 1
Feb 11, 2008 at 3:48 AM
Edited Feb 11, 2008 at 3:51 AM
hi.
i installed iis7's all components.
then, comexception was disapeared.

but, some other error was not corrected.
I will talk about it later.



daiken wrote:
Hi

Can you confirm what OS you have, also what version of VIsual Studio 2008?
Did you run the guided setup? Did all the steps work correctly?

Thanks


garsia1983 wrote:
thank you dinnernow team for rtm ver.
but, one error happened.

system.runtime.interopservices.comexception was happened when i open dinnernow.ServiceHost project and Web project.
and i couldn't open it.
is there who has same problem?


Feb 11, 2008 at 6:36 AM
When i build DinnerNow.OrderProcess project, ProcessOrder.xoml file occured some warnnings.

---------------------------------------------------------------------------------------------------------------------------------------
Warning 7 Activity 'sendActivity1' validation warning: Validation failed for parameter 'order'. All parameters for the send activity should have a valid activity binding or a value specified. C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.OrderProcess\ProcessOrder.xoml 1 1

Warning 8 Activity 'sendActivity1' validation warning: Validation failed for parameter 'context'. All parameters for the send activity should have a valid activity binding or a value specified. C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.OrderProcess\ProcessOrder.xoml 1 1
Feb 11, 2008 at 6:40 AM
In the http://localhost/DinnerNow/ ,
I inputed zip code 98075.
but, Food type and Meal were not apeared their items.
Feb 11, 2008 at 7:18 AM
If you look in the documents folder - it contains a walkthrough.

You should use zip code 98101 - remember it is a sample app, and sometimes things are hardcoded :)


garsia1983 wrote:
In the http://localhost/DinnerNow/ ,
I inputed zip code 98075.
but, Food type and Meal were not apeared their items.


Feb 11, 2008 at 7:20 AM
Those 2 properties are bound at Runtime, so that is why you get the warnings - Once solution is to change the warning levels reported in the solution, but i felt there was a learning peice here leaving it visible.



garsia1983 wrote:
When i build DinnerNow.OrderProcess project, ProcessOrder.xoml file occured some warnnings.

---------------------------------------------------------------------------------------------------------------------------------------
Warning 7 Activity 'sendActivity1' validation warning: Validation failed for parameter 'order'. All parameters for the send activity should have a valid activity binding or a value specified. C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.OrderProcess\ProcessOrder.xoml 1 1

Warning 8 Activity 'sendActivity1' validation warning: Validation failed for parameter 'context'. All parameters for the send activity should have a valid activity binding or a value specified. C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.OrderProcess\ProcessOrder.xoml 1 1


Feb 11, 2008 at 9:19 AM
Edited Feb 11, 2008 at 9:30 AM
1. How to Services start?
In the MMC, I added Snap-in.
then, I became know that all services(OrderStatusPOXService,DeliveryService,...) stopped.
How can i start these services?

( i am not english speaker. can you understand my opinion? ^^;;)

2. in http://localhost/DinnerNow/,
i inputed correct zipcode, but foodtype and meal was not apeared.

3. in user Register menu.
when i click "reg using info card"
"cardspace was not installed. install .net 3.0" message was apeared.
but,i have .net 3.5 now.

sorry for many question.
but i wanna you know that i am respect your team and project.
have a good day.

and i guess that this progress was generated my errors in installing.
--------------------------------------------
Installing: HTTP Handlers (WAS)
ERROR ( message:Failed to add duplicate collection element "/DinnerNow". )
ERROR ( message:Failed to add duplicate collection element "/DinnerNow/Service".
)
ERROR ( message:New mimeMap object missing required attributes. Cannot add dupli
cate collection entry
. )
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
Succeeded
Error: There are more than one matching certificate in the issuer's Root cert st
ore
Failed
processed file: C:\ProgramData\Microsoft\crypto\rsa\machinekeys\d90e6e2cd79027a7
cfddb977e0bc3ebd_254355d6-f07b-468f-b853-ae2c4bf84264
Successfully processed 1 files; Failed processing 0 files
Microsoft (R) Windows Script Host ?? 5.7
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\DinnerNow25\scripts\install\BindSSL.vbs(9, 1) SWbemObjectEx: Cannot create a
file when that file already exists.
Feb 11, 2008 at 4:36 PM


garsia1983 wrote:
1. How to Services start?
In the MMC, I added Snap-in.
then, I became know that all services(OrderStatusPOXService,DeliveryService,...) stopped.
How can i start these services?


Because the services are only activated when you use them, they will appear stopped unless there is activity.



( i am not english speaker. can you understand my opinion? ^^;;)

2. in http://localhost/DinnerNow/,
i inputed correct zipcode, but foodtype and meal was not apeared.



In the search area, do you have the 2 middle drop down lists populated?



3. in user Register menu.
when i click "reg using info card"
"cardspace was not installed. install .net 3.0" message was apeared.
but,i have .net 3.5 now.



*this may be pointing to a bad .net install. I've not seen this message previously. *



sorry for many question.
but i wanna you know that i am respect your team and project.
have a good day.

and i guess that this progress was generated my errors in installing.
--------------------------------------------
Installing: HTTP Handlers (WAS)
ERROR ( message:Failed to add duplicate collection element "/DinnerNow". )
ERROR ( message:Failed to add duplicate collection element "/DinnerNow/Service".
)
ERROR ( message:New mimeMap object missing required attributes. Cannot add dupli
cate collection entry
. )
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
processed file: C:\DinnerNow25\solution\DinnerNow - Web\DinnerNow.WebUX
Successfully processed 1 files; Failed processing 0 files
Succeeded
Error: There are more than one matching certificate in the issuer's Root cert st
ore
Failed
processed file: C:\ProgramData\Microsoft\crypto\rsa\machinekeys\d90e6e2cd79027a7
cfddb977e0bc3ebd_254355d6-f07b-468f-b853-ae2c4bf84264
Successfully processed 1 files; Failed processing 0 files
Microsoft (R) Windows Script Host ?? 5.7
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\DinnerNow25\scripts\install\BindSSL.vbs(9, 1) SWbemObjectEx: Cannot create a
file when that file already exists.


It looks like you have ran the install scripts twice. what you may need to do is examine you IIS configuration files and make sure you do not have multiple entries.
Feb 11, 2008 at 7:59 PM
If you can't open the web project in vs.net because of COM errors, try commenting out the ProjectExtensions node at the bottom of the csproj file. Not sure what this is - maybe a web project leftover from a VS.Net 2005 -> 2008 upgrade?
Feb 12, 2008 at 8:30 AM
Edited Feb 12, 2008 at 11:23 AM
After I installed all components of iis, COM error was cleared.
After I edit register , CardSpace Error was cleared. (I Set "HKLM\software\microsoft\Internet Explorer\InfomationCard Token Provider\Default" value to {D978F0CB-DEBA-4388-83BE-D3E106E02A4F})

Now. one problem is remaining.
In the search area, I have the 2 middle drop down Controls.
but, they have not any items.

I need more study... but, anybody can you help me.
I realy wanna solve this problem.

p.s---------------------
can you access "http://localhost/DinnerNow/service/MenuSearch.svc/mex" or "http://localhost/DinnerNow/service/OrderProcess.svc/mex"???
WebUx Project is referencing these addresses.
but, I can't access that address.
is this correct?

when i try to "http://localhost/DinnerNow/service/MenuSearch.svc/mex"
,this message page apeared.

message was not english, but i will translate the message... with weak english skiil.
------------------------------------------------------------------------------------
configuration error
descript: error occured when it try to process requested requeire.show this error.

parser error message: file or assembly 'Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of their childrens can not road. we can't find the file.

source error:


line 42: during development.
line 43: -->
line 44: <compilation debug="true" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
line 45: <assemblies>
line 46: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

source file: C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.ServiceHost\web.config line: 44

trace assembly : the informaion 'Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' can helpful to know about why can't road assembly.


=== 미리 바인딩된 상태 정보 ===
log: 사용자 = NT AUTHORITY\NETWORK SERVICE
log: DisplayName = Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
log: Appbase = file:///C:/DinnerNow25/solution/DinnerNow - ServicePortfolio2/source/DinnerNow.ServiceHost/
log: 초기 PrivatePath = C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.ServiceHost\bin
호출 어셈블리: (Unknown).
===
log: this binding start with default load context.
log: app config file use C:\DinnerNow25\solution\DinnerNow - ServicePortfolio2\source\DinnerNow.ServiceHost\web.config
log: host config file is C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
log: C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config was used to machine config file.
log: reference : Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
log: new URL file:///C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL download.




--------------------------------------------------------------------------------
version infomation: Microsoft .NET Framework ver:2.0.50727.1433; ASP.NET ver:2.0.50727.1433
Feb 12, 2008 at 11:26 AM
i think "Microsoft.VisualStudio.Enterprise.ASPNetHelper" was cuased.
then, i could not start services.
right?
I am finding how to repair this.
Feb 12, 2008 at 12:58 PM
Edited Feb 12, 2008 at 1:09 PM
DinnerNow.ServiceHost namespace has Web.config file.
and DinnerNow.WebUX has Web.config.
WebUX's ShoppingCartService.svc is running well.
but, ServiceHost's Services are somewhat wrong.
I think my ServiceHost config file is somewhat wrong.
this is my ServiceHost's Web.config
how do you think about this
-------------------------------------
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<section name="workflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<connectionStrings />
<!--<workflowRuntime Name="Runtime">
<Services>
<add type="System.Workflow.Runtime.Tracking.SqlTrackingService,System.Workflow.Runtime,Version=3.0.00000.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35"
ConnectionString="Initial Catalog=DinnerNowWF;Data Source=localhost;Integrated Security=SSPI;"
EnableRetries="false"
IsTransactional="true"
PartitionOnCompletion="false"
ProfileChangeCheckInterval="60000"
UseDefaultProfile="true"/>
</Services>
</workflowRuntime>-->
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.ASPNetHelper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</controls>
</pages>
<httpHandlers>
<remove verb="" path=".asmx" />
<add verb="" path=".asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="" path="_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpModules>
<profile>
<properties>
<remove name="DisplayPayments" />
<remove name="DisplayAddresses" />
</properties>
</profile>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5" />
<providerOption name="WarnAsError" value="false" />
</compiler>
</compilers>
</system.codedom>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<add name="ScriptHandlerFactory" verb="" path=".asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="" path="_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<codeBase version="9.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%209.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="AjaxBinding">
<readerQuotas maxBytesPerRead="999999" />
<security mo
Feb 12, 2008 at 2:23 PM
Hi. :)
I cleared all error that i know.
Service used
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies"
but, i installed it D:
then, i copyed the file to C:

Thank you , daiken and JKewley, for your answers.
I become to can have a more study about this.
Have a good Time.
Apr 14, 2008 at 1:55 AM
Hello Guys,

I have also experienced the same problem.
No food type and meal is being populated into the 2 middle combos.

Can anyone help me on this?

The combos are empty even when I provide the 98101 zip code.

My guess is that some service is not properly running .

Thank you!!
May 6, 2008 at 4:10 PM
if getting com error while trying to open web solution, make sure that you have uac turned off if using vista. Or run 2008 as administrater.
Spent few hours to figure out what's i am doing wrong. Just want to share as i am on journey of getting dinner.net installed but looks like long way to go.
May 6, 2008 at 5:08 PM
Edited May 6, 2008 at 5:11 PM
Need help with sql server error, I found this thread most relative to error i am getting so posting it here.

I am able to build the web solution but when try to run it get following error. I have never used sqlserver i am a oracle person. So any direction on how to resolve this error will be very helpful.

Cannot open database "DinnerNow" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'


More insight:
Also when try to run it directly it open the home page but do not have foot type and meal poppulated. Looks like it is because of this sql connection issue.
I can open an account and login but can't search etc.



Aug 1, 2008 at 1:43 AM
I'm facing most of the problems described above. I want to start over, so can anyone tell me how to completely uninstall DinnerNow sample?

Thanks