IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 22nd, 2008, 02:51 PM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old June 22nd, 2008, 07:51 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,976 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 59 m 48 sec
Reputation Power: 802
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

Reply With Quote
  #3  
Old June 23rd, 2008, 03:48 AM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old June 23rd, 2008, 07:40 AM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old June 23rd, 2008, 07:58 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,976 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 59 m 48 sec
Reputation Power: 802
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.

Reply With Quote
  #6  
Old June 24th, 2008, 12:36 PM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
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.


how do I add my folder as a virtual directory?

Reply With Quote
  #7  
Old June 25th, 2008, 12:33 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,976 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 59 m 48 sec
Reputation Power: 802
Quote:
how do I add my folder as a virtual directory?

Use the IIS management console and follow the instruction in the online help.

Reply With Quote
  #8  
Old June 25th, 2008, 01:19 AM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
cheers, ill look into this tonight

Reply With Quote
  #9  
Old June 25th, 2008, 10:06 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,976 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 59 m 48 sec
Reputation Power: 802
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.

Reply With Quote
  #10  
Old July 16th, 2008, 09:30 AM
eyeballpauluk eyeballpauluk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 19 eyeballpauluk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 5 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
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.


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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > View asp.net websites using IIS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT