English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am using asp.net's club website starter kit. I am able to run this on my xp pro machine, you know http://localhost. On my w2k machine, I can execute it from visual web developer and gives me http://localhost:1516/default.aspx, but if I try http://localhost, I get various errors. They all seem to deal with permissions. Arrrrr. So what is the difference between xp and 2000. I know the iis are different versions, could that be it?

2007-03-12 06:53:36 · 2 answers · asked by BenjaminT76 2 in Computers & Internet Programming & Design

Ah yes, let me add this, I am able to do simple pages like .htm, or .html. I can even do some .asp pages which I have gotten to execute no problem via "localhost" the only problem lies with *.aspx files created with visual web developer. I definitely agree with the whole security bit in IIS, which I still need to try (hopefully tonight). With all of these headaches, I sort of think I might be better of either purchasing xp pro or vista business. It is guranteed to work on xp pro, vista, I don't know. Any thoughts?

2007-03-13 04:18:26 · update #1

2 answers

Are you certain you've set an application on localhost in your Win2K machine, through IIS manager?

2007-03-12 11:39:09 · answer #1 · answered by Anonymous · 0 0

This is an IIS security issue;
First of all, you have two options when creating a web site, one under a file system mode and the next is under http mode; the latter will create a website which will be run under the default port 80; since it's the default port for http, then it won't show resulting in displaying the page as http://localhost/your_site/ while the first option mode; namely the file system mode, will run the asp.net engine resulting to display the site in a random port mode chosen by the asp.net engine such as http://localhost:3245/your_site.
The file system mode will run under your windows authentication mode; meaning requiring administrative privileges where debugging is allowed while the http mode will be run under your IIUSR_MACHINENAME account.
You can also change the Directory Security settings for the page created by going to the IIS Settings (Control Panel -> Administrative Tools -> Internet Information Services -> (Expand the local machine name) -> Web Sites -> Default Web Site -> Your Web Site; Right click on the Web Site -> Directory Security -> Edit Authentication and Access Control) where you will see the options to uncheck the Integrated Windows Authentication Mode and check the "Allow IIS to control passwords and uncheck "Enable Anonymous access".

2007-03-12 14:19:19 · answer #2 · answered by Coosa 2 · 0 0

fedest.com, questions and answers