Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Ok hi everyone, I've reacheda stop in my testing becauseeee I can't do a simple deploy of my webpage to the IIS (I'm starting to hate it, I've never been able to make it work in 2 different computers I've had to work with). So my problem is the following:

I have a page that will serve as a data generator (sort of) to do some testing, I'm working on a remote server so I don't have much control over the config. They have windows server 2003, IIS 6, I've tried tutorials to publish my site by adding a new virtual directory and specifying my page directory. I tried creating a new web site outside the default and nothing. At first, I think asp.net was not configured because it was trying to display the aspx source and not plain html so I fixed it by changing the site properties and setting the asp version, they had 2, 2.something and 4.something.

I tried accessing the page with the ip which I set in the properties also, I used the server ip where I think I should be using localhost but typing localhost gives me "the webpage can't be found". At first, if I typed the server ip I got the directory browser, so I tried to open my Default.asp but then it said it couldn´t find the page. After some tweaks, now all of a sudden I can't even see the directory.

I create the new virtual directory, I set the ip to the server one, I open my browser, type the ip and it always tells me there's no default page set and I clearly specified it in the Document tab of the Web site Properties. It had many options, I just added Default.aspx and no luck. Tried removing all those options by default and just leave the .aspx no luck, now I can't browse directories, can´t access de default page within the IIS, can't access through localhost, I'm really lost here.

I can't do a visual studio publish 'cause I don't have that tool, tried to do it remotely from my pc and the publish fails always. What can I do? why no localhost? previous server configured? how do I set the default page or enable the browsing again? thanks a lot
Posted

1 solution

OK went through several Issues but finally made it work. First, windows server' IIS 6 comes with locked webserver extension which includes Active Server Pages as well.
When unlocking them, I couldn´t find the asp.net versions installed in the machine so if they didn't exist at all, I couldn't unlock them so I had to reinstall those asp.net versions with the cmd aspregiis /i and it finally worked :)

Thanks anyway for the help, solved my own question
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900