Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jurjen de Groot - 29 Jan 2008 19:10 GMT
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

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET
Version:2.0.50727.832
bruce barker - 29 Jan 2008 21:20 GMT
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)

> Hi,
>
[quoted text clipped - 40 lines]
> Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET
> Version:2.0.50727.832
Jurjen de Groot - 29 Jan 2008 21:51 GMT
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.

> asp.net 3.5 runs under .net 2.0 runtime. some of the dll are remapped to
> 3.5
[quoted text clipped - 59 lines]
>> ASP.NET
>> Version:2.0.50727.832
amolwagh@gmail.com - 06 Mar 2008 07:21 GMT
> 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
[quoted text clipped - 42 lines]
>
> >> ---------------------------------------------------------------------------­-----

Hi Jurjen,

You should reset IIS once u place the dll in gac

hope it works

Bye

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.