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

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/29/2010 5:00:23 AM
Gravatar
Total Posts 108

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

Hi,

Ive installed mojoportal onto my hosting server, windows server 2003. Im using the latest version of mojoportal and i'm getting this error, i do have .net 3.5 sp1 installed on the server as i can see it in the add or remove programs window from the control panel

Any suggestions?

Thanks

Tim

 

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
mojoPortal.Web.UI.ScriptLoader.SetupBrowserSpecificScripts() in C:\Users\Tim\Projects\wallace 24th sep\mojoportal-2-3-4-3-sourcecode\mojoportal-2-3-4-3-sourcecode\sourcecode\mojoportal\Web\Controls\ScriptLoader.cs:801
mojoPortal.Web.UI.ScriptLoader.SetupScripts() in C:\Users\Tim\Projects\wallace 24th sep\mojoportal-2-3-4-3-sourcecode\mojoportal-2-3-4-3-sourcecode\sourcecode\mojoportal\Web\Controls\ScriptLoader.cs:403
mojoPortal.Web.UI.ScriptLoader.OnPreRender(EventArgs e) in C:\Users\Tim\Projects\wallace 24th sep\mojoportal-2-3-4-3-sourcecode\mojoportal-2-3-4-3-sourcecode\sourcecode\mojoportal\Web\Controls\ScriptLoader.cs:372
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394 

9/29/2010 5:02:37 AM
Gravatar
Total Posts 108

Re: Could not load type 'System.Web.UI.ScriptReferenceBase

ps im compiling the solution on my pc which is windows 7, apparently it already comes with .net 3.5 sp1, and can see this by going to start -> control panel -> programs -> turn windows features on or off 

9/29/2010 9:32:42 AM
Gravatar
Total Posts 18439

Re: Could not load type 'System.Web.UI.ScriptReferenceBase

The main solution compiles for .NET 4, you need to use the mojoportal.net35.sln if you are producing a build for 3.5 .NET

See also the READMEVisualStudio.txt in the root of the source code and http://www.mojoportal.com/the-net-4-transition-plan-for-mojoportal.aspx

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.