Could not load type 'System.Web.UI.IScriptManager'

J

Jurjen de Groot

Hi,

I have developped an application in VS2008, using .NET 3.5
I'm using some Devexpress and Ms-AJAX controls and all works fine on the
DEV-machine (as it always does ;-) )
Now that it's deployed on the webserver I get the error as pasted in below:

I've asked the web-hosting company to install the .NET Framework version 3.5
and they did but for some reason I get this weird error. I've also seen
another post about this (8-jan-2008) but there was no real solution there so
I try again right here.


Hope someone can help me out here...

TIA,
Jurjen


Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'System.Web.UI.IScriptManager'
from assembly 'System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.

Source Error:

Line 10: <%@ Register assembly="DevExpress.Web.ASPxEditors.v7.3,
Version=7.3.6.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
Line 11:
Line 12: <asp:ScriptManager ID="ScriptManager1" runat="server" />
Line 13:
Line 14: <script type="text/javascript" >

Source File: /WebUserControls/ReserveringWizzard.ascx Line: 12
 
B

bruce barker

asp.net 3.5 runs under .net 2.0 runtime. some of the dll are remapped to 3.5
versions in the web.config.

the error message indicates the System.WebExtension are not being used. your
web.config should be mapping System.Web.Extensions to version 3.5, and
remapping ScriptModule to the webextensions.

normally the System.Web.Extensions is installed in the gac, but you can just
include the dll in you sites bin (still need the web.config settings).
-- bruce (sqlwork.com)
 
J

Jurjen de Groot

Bruce,

Thanks for responding so soon.

I have already added the System.Web.Extension.dll and
System.Web.Extensions.Design.dll, both version 3.5 to the bin folder of the
site. I would have expected the AJAX part of the 3.5 version of the
framework to be installed automatically when installing the 3.5
redistributable.

What seems strange to me is that the framework tries to load the type
'System.Web.UI.IScriptManager' from a version 2.0 assembly. Could there be
something missing in my web.config ? (see attachment).

Jurjen.
 
A

amolwagh

I have already added the System.Web.Extension.dll and
System.Web.Extensions.Design.dll, both version 3.5 to the bin folder of the
site. I would have expected the AJAX part of the 3.5 version of the
framework to be installed automatically when installing the 3.5
redistributable.

What seems strange to me is that the framework tries to load the type
'System.Web.UI.IScriptManager' from a version 2.0 assembly. Could there be
something missing in my web.config ? (see attachment).

Jurjen.


Hi Jurjen,

You should reset IIS once u place the dll in gac

hope it works

Bye
 

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

Top