• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3152
  • Last Modified:

Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

I am trying to add an infragistics grid control to my application.  After I add the grid and ran the application, I got this error message.  I went and added the reference which then shows up correctly in my web.config file....but when I view the source code for the web page, the assembly was not added.  I tried to add it manually but that did not work.  Can someone tell me what I have done wrong or what the proper way to add this reference to my application?
0
kwh3856
Asked:
kwh3856
  • 4
  • 2
1 Solution
 
Sreedhar VengalaSr. Consultant - Business IntelligenceCommented:
One case would be: try: Change:

<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />

to: <asp:ScriptManager ID="ScriptManager1" runat="server" />
0
 
kwh3856Author Commented:
where is that change made?  In the Source or Web.config?
 
Thanks
Kenny
 
0
 
kwh3856Author Commented:
Could this be where my problem is?  (In the web config)
 

<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>
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Sreedhar VengalaSr. Consultant - Business IntelligenceCommented:
Also can you make sure that .NET Framework 3.5 SP1 is installed on you machine.
0
 
kwh3856Author Commented:
Thanks.  I will try that.
0
 
kwh3856Author Commented:
Thank you very much.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now