CDK277
Posts: 28
|
Posted: 10/31/2008, 1:22 AM |
|
Hi
im using ASP.NET C# inmotion
I've tested CCS Examples Pack and this works fine, but CCSAJAX example does not work
I recieve the following errors:
When in Integrated Mode:
=====================
Server Error in Application "DEFAULT WEB SITE/CCSAJAXEXAMPLES"
Internet Information Services 7.0
Error Summary
HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Detailed Error Information
Module ConfigurationValidationModule
Notification BeginRequest
Handler StaticFile
Error Code 0x80070032
Requested http://localhost:80/ccsajaxexamples/
Physical Path C:\tempwebroot\ccsajaxexamples\
Logon Method Not yet determined
Logon User Not yet determined
Most likely causes:
* This application defines configuration in the system.web/httpModules section.
Things you can try:
* Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS.
* If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.
* Alternatively, switch the application to a Classic mode application pool - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application.
(Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)
====================
I then switched from intergrated mode to classic model it does not work! (error below)
=====================
-------------------------------------------------------------------------
Server Error in '/ccsajaxexamples' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 57: <assemblies>
Line 58: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
Line 59: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 60: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 61: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Source File: C:\tempwebroot\ccsajaxexamples\web.config Line: 59
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
|
|
|
CDK277
Posts: 28
|
Posted: 10/31/2008, 1:23 AM |
|
BTW: im running IIS7 on MS Vista,
I also tired the code on a Live Server running Windows Server 2003
it too gave the same error.
|
|
|
peterr
Posts: 5971
|
Posted: 10/31/2008, 10:41 AM |
|
Simple: http://www.google.com/search?q=%22Could+not+load+file+o...b.Extensions%22
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
CDK277
Posts: 28
|
Posted: 10/31/2008, 4:52 PM |
|
Quote peterr:
Thank you very much peterr!
BTW: im in love with CCS :)
|
|
|
|