Hosting other applications on IIS separate from 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.
9/3/2009 3:23:08 PM
Gravatar
Total Posts 2239

Re: Hosting other applications on IIS separate from Mojoportal

I think all that setting did was remove the application settings from IIS for the directory in which your helpdesk app is installed. This will not work properly, I can almost guarantee that.

You might want to get in touch GoDaddy support to see what the proper procedure is for creating a new website which uses your sub-domain as its host header. This should get you a whole new application pool and everything so your sites are running independent of each other.

-Joe

9/8/2009 9:18:34 PM
Gravatar
Total Posts 22

Re: Hosting other applications on IIS separate from Mojoportal

Joe,

 even after I did this in the web.config located inside of support, I still get the below error:

 <location path="." allowOverride="false" inheritInChildApplications="false">

 <system.web>

<customErrors mode="Off"/> 

</system.web>

 </location>

 

 

Server Error in '/support' Application.

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

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

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'mojoPortal.Web' 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].

Stack Trace:

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

System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0

 

System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64

 

System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58

 

System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65

 

System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +342

 

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +52

 

 

 

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

 

System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +351

 

System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +56

 

System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +122

 

System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1219

 

System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +97

 

System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188

 

System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295

 

System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56

 

System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231

 

 

 

[HttpException (0x80004005): Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified.]

 

System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8895103

 

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85

 

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333

 

 

 

9/8/2009 9:33:11 PM
Gravatar
Total Posts 2239

Re: Hosting other applications on IIS separate from Mojoportal

You are going to have to either follow Joe Audette's instructions for running mojoPortal in a virtual directory or you are going to have to create a new website using whatever domain or sub-domain you want. The key is that the best way to run mojoPortal (or any other .net app) is in it's own application pool. A separate website would do this for you.

I wish I could help you more but from what I can tell GoDaddy is trying to force you to use a virtual directory for your sub-domain which doesn't make any sense at all. If you can get GoDaddy to setup an actual website for your subdomain, your problems will disappear.

-Joe D.

9/9/2009 6:15:31 AM
Gravatar
Total Posts 18439

Re: Hosting other applications on IIS separate from Mojoportal

I think you would need to set the location element in the parent app not the child.

Hope it helps,

Joe

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