error using asp.net application in same domaine with mojoportal

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.
11/4/2010 3:41:46 AM
Gravatar
Total Posts 108
Community Expert

error using asp.net application in same domaine with mojoportal

Hi Joe I have a few ASP.Net 3.5 applications in same domain that I have installed mojoportal, my applications run in diferent virtual directorys but when I try to run any of this applications I have errors caused because a inheritance of the web.config from mojoportal. First I got a error because lack of some mojo dll, I solve this in the middle time creating a bin directory in each application and copy ther the mojo bin files, but after this I have only partial functioning. I'm getting now this exception

[DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso 'C:\Inetpub\vhosts\iislafe.es\httpdocs\Jornadas\anatomia_quirurgica_oncologica\Data\Sites\1\systemfiles\sitesettingscachedependecy.config'.]
mojoPortal.Web.UrlRewriter.UrlRewriter_BeginRequest(Object sender, EventArgs e) in D:\mojoportal\Web\Components\UrlRewriter.cs:88
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

my application in this case is in this directory C:\Inetpub\vhosts\iislafe.es\httpdocs\Jornadas\anatomia_quirurgica_oncologica

and off course doesn't have any data/sites/1/.... directory 

I already opened a ticket with my hosting but they can't find any solution. Any ideas?

11/4/2010 4:01:53 AM
Gravatar
Total Posts 108
Community Expert

Re: error using asp.net application in same domaine with mojoportal

I answer my self, thanks to other post here in the forum, this error is caused for a predefined behavior in IIS in wich the virtual directory inherit the config settings for the root web.config.

For solve this you have to use <location inheritInChildApplications="false"> in the root web.config for eliminate any inheritance of the root app config settings.

11/4/2010 5:53:43 AM
Gravatar
Total Posts 18439

Re: error using asp.net application in same domaine with mojoportal

Glad you figured it out, we also have notes about it on our developer faq page.

Best,

Joe

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