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?

Zachary Scott
  • 227
  • 2
  • 14
  • On the same server? – TristanK Mar 17 '11 at 03: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." http://weblogs.asp.net/scottgu/archive/2010/09/08/introducing-the-microsoft-web-farm-framework.aspx. – Zachary Scott Mar 17 '11 at 14:14

1 Answers1

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.

Zachary Scott
  • 227
  • 2
  • 14