Dave
Dave

Reputation: 1950

IIS 6 not serving up asp.net 1.1 pages?

Ok, this is strange. Some background

I've got a very simple dot.net 1.1 example app that just echoes something to the screen via a response.write. Works fine on my workstation. Once I deploy it to this server, when i go to the page, it wouldn't render but instead serves up the source code of my aspx file - i.e. it shows all my asp.net markup but does not execute/render the page.

I know I must be missing SOMETHING but can't see what..

edit

another clue.. if I go into properties for the virtual directory, there is NO tab to select asp.net version. I have to use the aspnetswitcher utility to select which framework to process a given vdir.

Upvotes: 4

Views: 861

Answers (1)

Mike Mengell
Mike Mengell

Reputation: 2398

If you use IIS 6.0 on your local workstation to connect to the servers IIS instance then the ASP.net tab doesn't display (go figure!). If you remote onto the server then view it then it'll be there.

It would be unlikely that this would lead to the solution as if the incorrect .net version was selected you would still get either the page rendered or the yellow screen of death.

ASP.net 1.1 needed certain files in the root of the site to understand that it was a .net app. Off the top of my head it was web.config, maybe global. But 1.1 needed to be compiled (atleast in our instance) so you needed to copy up the bin folder with the related dll in also.

Good luck.

Upvotes: 2

Related Questions