I need to do a Bin deployment on our ISP, Network Solutions. They have NET Framework 3.5 SP1 installed on their servers, but NOT ASP.NET MVC.
I need to point my application to a directory called cgi-bin instead of bin. Network Solutions says that this is the only directory they have marked for execution as medium trust. I need to put the System.Web.Mvc DLL and the application DLL there, and I need my ASP.NET MVC application to find them in that directory.
It goes without saying that they won’t put them in the GAC for me.
How do I tell my application to look in the cgi-bin directory instead of the bin directory for the DLL’s?
Solution is posted below.
After tinkering for awhile, I finally decided to deploy to an actual bin directory that I created (a procedure that Network Solutions says will not work) following Phil Haacked’s instructions exactly, and it appears to be working.
I did have to apply the routing patch described in ASP.NET MVC: Default page works, but other pages return 404 error, because Network Solutions is still running IIS6.
For those who are interested, you can specify a different bin directory in web.config like this:
I tried this with Network Solution’s cgi-bin directory and my application did indeed find the mvc dll’s.