Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
On the same server? –  TristanK Mar 17 '11 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/…. –  Dr. Zim Mar 17 '11 at 14:14

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.