Server Error in '/something.com' Application. Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

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.
2/17/2012 1:12:36 AM
Gravatar
Total Posts 7

Server Error in '/something.com' Application. Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

Hi all,

I'm using mojoportal-2-3-8-1-mssql-net40 + MSSQL2008 + IIS7.

Some days ago I've switched from my previous host to godaddy (maybe not the best choice, but..).

Godaddy (like others) allows you to host multiple sites by creating a new application directory for each new domain.

I've installed MojoPortal on my root folder, main application is working as expected, but I'm receiving the following error trying to access any other hosted domain:

Server Error in '/something.com' Application.

Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

Any idea? Is it possible to run MojoPortal under this setup? What should I do?

Thanks in advance.

2/17/2012 1:44:49 AM
Gravatar
Total Posts 7

Re: Server Error in '/something.com' Application. Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

OK, I think I've found a solution.

Add the domain/application directory, and then set the "Set Application Root" option to false.

Now I need to test if I'm able to host other instance of Mojo in this directory or any other .NET app, or if this configuration could cause any other issue..

I'll update this thread as soon as I have more info.

Thanks, 

2/17/2012 1:48:16 AM
Gravatar
Total Posts 2239

Re: Server Error in '/something.com' Application. Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

GoDaddy's practice of hosting a sites within a virtual directory is not common. It causes all sorts of issues with all sorts of applications.

You probably need to place <location inheritinchildapplications="false"></location> around the system.web and system.webServer sections in your mojoPortal web.config file. The issue is that your second "site" is not a website at all, in relation to IIS. It is a virtual directory/application. Running .net applications inside of virtual directories can be a bit tricky but all you should need to do in this case is add the location tag as I suggested above.

My recommendation is to switch to a hosting provider that doesn't do really dumb things like this. There are two hosting providers recommended by mojoPortal, Arvixe and i7MEDIA. My company is i7MEDIA but I'm not making a sales pitch here. If you find Arvixe to be what you need, by all means sign up with them. Just give some thought to dumping GoDaddy. 

HTH,
Joe D. 

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