I use mostly Apache and PHP, so I'm very unfamiliar with IIS and .aspx

I have a .aspx file (myFile.aspx) I'm debugging, and I would like to see - using localhost - what it will look like on the server (which is Windows 2003, I think) when looked at by a user. I'm using Windows 7 for debugging, but the project lives - and will continue to live - on a Windows 2003 server.

I have IIS up and running, so initially when I went to http://localhost/, I could see the IIS logo. I now have the Physical Path pointing to the directory with my ASP project.

The problem is that due to the server mismatches, when I go to the page (myFile.aspx) I get a server error because the related configuration data (web.config) for the page is invalid (HTTP Error 500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid.).

How can I work around this? Are there any good tutorials that cover this matter? Any help appreciated.

link|improve this question
If your OS is Server 2003, you aren't running IIS 7 because IIS is tied to the OS and only became available on Server 2008 – GregD Oct 5 '11 at 23:57
@GregD - My OS is Windows 7 for my personal computer on which I want to debug the file. After I debug the file I want to upload it to a completely separate Windows 2003 Server which serves the file to the WWW. I want to test the file on my personal computer and not the live server. – Peter Ajtai Oct 6 '11 at 0:10
Your title says, "Windows 2003 server with IIS7"...that combo does not exist... – GregD Oct 6 '11 at 0:13
@GregD, the words before that phrase were important too, but I reworded the title to make it - hopefully - more clear. – Peter Ajtai Oct 6 '11 at 0:57
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.