How to Host Another ASP.NET MVC Application alongside with FogBugz - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2012-02-09T08:46:20Z http://fogbugz.stackexchange.com/feeds/question/652 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/652/how-to-host-another-asp-net-mvc-application-alongside-with-fogbugz How to Host Another ASP.NET MVC Application alongside with FogBugz Ngu Soon Hui 2009-11-10T02:40:59Z 2009-11-12T01:11:09Z <p>I host my fogbugz application on IIS 6.0, Windows Server 2003. And I want to host another ASP.NET application ( more specifically, it's ASP.NET MVC) application on the same machine.</p> <p>So I open up my IIS Manager, click on the default website, new a virtual directory and point the path to my ASP.NET MVC application, and setup everything. </p> <p>The name of my ASP.NET MVC application is <code>OhMyMVC</code>. And this is a snapshot of my IIS configuration:</p> <p><img src="http://lh4.ggpht.com/%5FSDci0Pf3tzU/SvjRrwjw6PI/AAAAAAAAFPI/7B3L7%5FPv3NQ/aohmymvc..png" alt="alt text" /></p> <p>The problem is that when I want to test my site ( by typing in <code>http://localhost/ohmymvc</code>), I will get a "could not load file or assembly 'fogbugz' or one of its dependencies" at the web.config, line 47:</p> <blockquote> <p>Server Error in '/OhMyMVC'</p> <h2>Application.</h2> <p>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. </p> <p>Parser Error Message: Could not load file or assembly 'FogBugz' or one of its dependencies. The system cannot find the file specified.</p> <p>Source Error: </p> <p>Line 45: Line 46: Line 47: Line 48: Line 49: </p> <p>Source File: C:\Program Files\FogBugz\website\web.config<br /> Line: 47 </p> <p>Assembly Load Trace: The following information can be helpful to determine why the assembly 'FogBugz' could not be loaded.</p> <p>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].</p> <p>-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082</p> </blockquote> <p>It seems that all of the requests to the Windows Server 2003 are intercepted by fogbugz web.config, any idea on how to solve this issue?</p> <p><strong>Edit: I tried to set the Application Pool to <code>PBSAppPool</code> and <code>DefaultAppPool</code>, and yet the same problem persists. Restarting the machine didn't help</strong></p> http://fogbugz.stackexchange.com/questions/652/how-to-host-another-asp-net-mvc-application-alongside-with-fogbugz/661#661 Answer by Ken Morse for How to Host Another ASP.NET MVC Application alongside with FogBugz Ken Morse 2009-11-10T20:22:28Z 2009-11-10T20:22:28Z <p>Try changing the Application pool to something other than the FogBugz one (you could pick the default pool, for example). </p> <p>See also <a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/67e39bd8-317e-4cf6-b675-6431d4425248.mspx?mfr=true" rel="nofollow">How Application Pools Work (IIS 6.0)</a> and <a href="http://technet.microsoft.com/en-us/library/cc757073%28WS.10%29.aspx" rel="nofollow">Creating Application Pools in IIS 6.0</a>.</p>