Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic ASP.NET question: ASP vs. ASPX?

Status
Not open for further replies.

HerbAndEdnaWeinstein

Technical User
Apr 30, 2003
104
US
Hi,

(I've never used ASP before, but I have the idea that it's a server-side HTML pre-processor, like PHP.)

Our client wrote an .ASP page that is accessing our spatial database through a middleware application that I wrote.

He asked me to create a virtual directory in IIS 6.0 to expose the .ASP page, which I did. I can browse to the directory containing the .ASP file, but when i try to invoke it, i get a 404 error.

The machine hosting the .ASP file is a Windows Server 2003 machine. The service installed on it is not ASP, but ASP.NET. So, I changed the filename from .ASP to .ASPX. Now, a page comes up, but it reports lots of syntax errors in the code.

Is there a workaround for this, perhaps an "ASP compatibility mode", or perhaps the code needs to be upgraded to .NET?

Thanks in advance,
Herb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top