Could not load file or assembly 'System.Web.Extensions

A

antonyliu2002

I am testing AJAX. I've downloaded the AJAX Extension and the CTP
December package and installed on BOTH my development machine and the
production server.

Then I created a very very simple web application, which contains a
button and a label. When the button is clicked, some message is shown
on the label. That's it.

The AJAX works great on my development machine, but on the production
server, I got the typical error as follows:

Server Error in '/' 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 36: <compilation debug="false">
Line 37: <assemblies>
Line 38: <add assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
Line 39: </assemblies>
Line 40: </compilation>

There is a difference between the development machine and the
production server: On the development machine everything is on drive
C:. On the production server, the AJAX packages are installed on drive
C whereas the web applications run on a separate partition, drive F. I
am not sure if this is important.

I searched this forum, one guy mentioned that
Microsoft.Web.Extensions.dll and Microsoft.Web.Extensions.Design.dll
need to stay in the bin folder of the application. I don't think this
is true any more. That said, I still tried it, with no luck on the
production server.

Could you please help diagnose what might be wrong with the production
server side? Thanks.
 
O

oughtsix

I am having the same exact problem. Ajax 1.0 works great on my
developement machine and gives the following error when I deploy the
application to my production webserver.


Server Error in '/' 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 36: <compilation debug="true">
Line 37: <assemblies>
Line 38: <add
assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
Line 39: <add assembly="System.Design,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 40: <add
assembly="System.Web.Extensions.Design, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>



Source File: d:\WebSites\Secure\test\web.config Line: 38

Assembly Load Trace: The following


I called Microsoft "off shore" support and was walked through
installing "hotfix for issue 915782". This hotfix updated the
aspnet_wp.exe, System.Web.dll, webengine.dll files. After two hours
on technical support I was told this hotfix will not fix this problem
and they currently do not have a fix for this problem. I was told
that if I wanted to open another paid support case that they would be
happy to research this problem.

I am very impressed with AJAX and would love to implement its
functionality on my corporate website BUT my conclusion is that AJAX
is NOT READY FOR PRIMETIME. Like all Microsoft products it is a great
concept and really cool but maybe it might work after AJAX SP1 or AJAX
SP2?????

If you will excuse me, I think I will go install Vista on all of my
users systems so I can continue my efforts as a "Microsoft GuineePig"
 
K

kain.trader

Hi people..... then....

I read this topic, and try fix this bug.
I copy twice DLL.

Microsoft.Web.Extensions.dll and Microsoft.Web.Extensions.Design.dll

and paste in my server (bin folder)

restart IIS and POOLS

bingoooooo!!!!!!!!!!!

all right.

cya guys.

regards.
 
Joined
Jul 8, 2009
Messages
1
Reaction score
0
Install the Ajax 1.0 library.

Hi There

For me the case was simple.

Goto to : asp.net and download the old Ajax 1.0 library
Download and intall the : ASPAJAXExtSetup.msi
Restart IIS
Rebuild your project.

Off we go..

Chears Jan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top