Source Error:

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/7/2011 9:28:58 PM
Gravatar
Total Posts 6

Source Error:<add assembly="*"/>

I've uploaded my website I developed locally to ARVIXE, now I get a Error 500.

Can some one help me with this error;

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 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Source Error:

Line 57:                 <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 58:                 <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 59:                 <add assembly="*"/>
Line 60:                 <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Line 61:                 <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>


Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config    Line: 59

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

11/8/2011 2:53:34 AM
Gravatar
Total Posts 355

Re: Source Error:<add assembly="*"/>

Contact Arvixe tech support, and ask them to confirm that your site is running .Net Framework 4.0 - once that's confirmed, you should be good to go. Let me know if that doesn't fix the problem, and we can take further troubleshooting steps from there.

11/8/2011 6:57:06 PM
Gravatar
Total Posts 6

Re: Source Error:<add assembly="*"/>

 I will verify they are using Net framework 4.0, But I tracked down this error, I was working with support and they renamed my web.config file to capture errors. But what they actually did was make there own web.config, and it had none of the web.config tags that is in my file  locally. So I don't know where this error came from. I could find this tag in the web.config file located on my loacal machine for c:\microsoft\microsoft.net\framework\v2.0\config folder.

So I need help finding out why when I try and run my web.config file from mojo portal I get the Error 500.

 

11/8/2011 6:58:25 PM
Gravatar
Total Posts 6

Re: Source Error:<add assembly="*"/>

If you want to see what I am talking about the URL is Carsoncityphotoclub.org

11/8/2011 10:13:28 PM
Gravatar
Total Posts 355

Re: Source Error:<add assembly="*"/>

On some Arvixe servers, the default framework is 2.0 - mojoPortal runs on 4.0 by default. You have to either manually set the site to use 4.0, or in some cases, you have to instruct Arvixe support to set the site's framework to 4.0. Your error message suggests that your site's still running on 2.0 - you can confirm this in the Extensions tab under Websites/Carsoncityphotoclub.org

Once you've got your framework version corrected, upload a fresh copy of the web.config from your local install, and see if your installation will run correctly; if it doesn't, to see the "real" error message, set remote errors to "off" in your web.config.

11/9/2011 2:22:58 PM
Gravatar
Total Posts 6

Re: Source Error:<add assembly="*"/>

I got net framework to 4.0, reloaded and a fresh web.config file now the site ran through configuration then the MojoPortal welcome string came up instead of  my  website.

11/9/2011 2:54:46 PM
Gravatar
Total Posts 6

Re: Source Error:<add assembly="*"/>

I got it working, had the wrong SQL data base uploaded. Thanks for the help

11/9/2011 3:01:25 PM
Gravatar
Total Posts 355

Re: Source Error:<add assembly="*"/>

Yay! Glad to get you up and running - be sure to let everyone know when your site's live!

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