0

The error I get is:

The virtual path 'null' maps to another application, which is not allowed.

I created an MVC 3 project and posted it as-is. Turn off the "URL Rewrite" and everything works fine. Turn it back on and you get the error.

Any ideas?

2
  • On the same server?
    – TristanK
    Mar 17, 2011 at 3:56
  • I have two servers, one being a controller and a Primary, and the other being a Secondary. So, it will be the same server 1/2 the time. Scott Guthrie said you should be able to do this "DemoController doesn’t technically need to be a separate machine – but makes it easier to understand the various roles in the walkthrough." weblogs.asp.net/scottgu/archive/2010/09/08/…. Mar 17, 2011 at 14:14

1 Answer 1

1

The key to making this work is have MVC on port 80 and have the inbound websites on a different port, so the Controller can rewrite them to port 80. I sent port 80 web traffic on my Cisco to get to the web farm on port 591, then had the controller rewrite it to port 80 on the web farm. Why? This allows you to have a web server on the Controller as well. Ultimately probably a bad idea. LOL.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .