South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
This might sound daft, but doesn't MVC have default.aspx page or something?Um, guys, any tips on getting the live host up and running? What exactly do I need to configure for http://svendigital.co.za/demo/ to get anything other than a Directory Listing Denied error?
This being my first MVC2 attempt, I'm more than a little lost. :erm:
Not daft at all, but normally MVC uses .mvc extensions. I'm getting an error with Home.aspx, and need to get home to switch on remote errors to see what exactly.This might sound daft, but doesn't MVC have default.aspx page or something?
My travels across the interwebs tell me it can work both ways. I found this walkthrough that details both extensions (for IIS6)..mvc extensions? Not .cs classes calling .aspx views?
For the record, I did that (Ok, CTRL+F5) before attempting to publish from VS. That didn't work, do I did a manual FTP upload. That's when things went pear-shaped.Ok, I haven't gotten further than pressing F5 in VS![]()
Hey guys! Sorry I haven't jumped in here yet - only saw Midrange's request for me to join in now.The first thing I would've tried as well would be to add a "default.aspx" page and change the routing. Only thing is I've never deployed MVC (or MVC2 for that matter) in IIS6. Only IIS7. I've wasted countless hours trying to get extensionless urls to work in IIS6 using my own HTTP Handlers, without resorting to something like ISAPI Rewrite. I'll check out Raithlin's links soon as well... I'm due for a new project starting in October and will be going the MVC2 route on it as well. It will probably be hosted in IIS6 as well, so Raithlin's toil might save me a few hours...
![]()
Nice one Raithlin, will be signing up with circle soon.