|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
View asp.net websites using IIS
hey all.
I am practising with websites, programming them in ASP.net, which outputs the aspx pages etc etc....but now I want to actually see them in action. How do I setup IIS for me to see them? I have tried, but it doesnt seem to work. Basically, I have a folder with all the website pages in it, and the database folder etc etc. I also have SQLServer setup. And just to let you know, the SQLServer database, ASP.net and IIS are all on the one machine...which is my laptop. I know its not exactly the best setup having it all on a laptop, but its just for personal use. I will delete the website I added to IIS and start afresh with IIS, any help would be appreciated. I have tried "googling" for help, but I've not had much luck. Im also using windows vista if that makes a difference. Thanks, Paul. |
|
#2
|
|||
|
|||
|
Without having some clue as to what problems you're having, all I can say is IIS7 on Vista works fine for me. There is an article with how to install IIS on vista, assuming you have a version of vista that includes IIS.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Hi.
Thanks for your reply. IIS seems to be actually installed fine, as when its running, I can use my IE to go to //localhost and it shows up the IIS page. But when I go to add a new website, and add the directory, it deosnt seem to go to the page. Mentions something about not having a web config file (which it does). Now, when I did the test website option, it comes up saying cant access path, but I am an administrator user account, plus I run IIS as admin as well. Thanks, Paul. |
|
#4
|
|||
|
|||
|
I have tried to add the web site, and when I try to test settings, There are 2 results.
The first shows: Pass-through authentication successful The second shows: "Cannot verify access to path (C:\Test Website)." Any ideas? |
|
#5
|
|||
|
|||
|
First, I'd avoid using spaces in directory or file names.
Did you add your directory as a virtual directory to IIS? If you didn't among other things file permissions on the directory won't be correct for IIS. |
|
#6
|
|||
|
|||
|
Quote:
how do I add my folder as a virtual directory? |
|
#7
|
|||
|
|||
|
Quote:
Use the IIS management console and follow the instruction in the online help. |
|
#8
|
|||
|
|||
|
cheers, ill look into this tonight
|
|
#9
|
|||
|
|||
|
I'm not around my vista computer right now to see what the exact step-by-step is. In previous versions of IIS you'd open the IIS management console, navigate to your web site in the tree, right-click and 'add virtual directory'. Some development tools will set up the vd for you when you publish your new web.
|
|
#10
|
|||
|
|||
|
Quote:
thanks, I finally got it sorted. I had to add the VD, and then give priviledges to the IIS_USRS for the folder. Now the site runs, but I have a problem with links, so I've posted another issue in the IIS forums lol |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > View asp.net websites using IIS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|