Problem with Application under mojoPortal website

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/9/2011 4:34:31 AM
Gravatar
Total Posts 5

Problem with Application under mojoPortal website

Hello.

I have manually installed mojoPortal for the first time and website itself is working fine but I have problem with application created in IIS7 under mojoPortal website. Application is returning error bellow when trying to open any file. When mojoPortal files are removed from website, application works OK.

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

I suspect problem is in web.config file on mojoPortal website but I can't find the problem. Any hints would be much appriciated. :-)

My server is running Windows Server 2008 OS, IIS7, MS SQL Server 2008 Express and I have installed mojoportal-2-3-6-5-mssql-net35-deploymentfiles.zip

5/9/2011 8:42:58 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Problem with Application under mojoPortal website

The problem you are having is with nested web.config files. Since your other web application runs under the mojoPortal instilation it will inherit the setting from the web.config in the site root.

They best option is to run you web application in a folder outside of you mojoPortal folder. If that is not an option then you can find resource guides on running nested web.config files by searching Google or Bing.

5/9/2011 1:15:27 PM
Gravatar
Total Posts 18439

Re: Problem with Application under mojoPortal website

There are also some relevant links about how to mitigate web.config conflicts in our Developer FAQ.

Hope that helps,

Joe

5/10/2011 3:12:55 AM
Gravatar
Total Posts 5

Re: Problem with Application under mojoPortal website

Thanks.

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