Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old February 10th, 2005, 06:04 PM
scottb scottb is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: UK
Posts: 30 scottb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 58 m
Reputation Power: 4
Question Where to define site?

Hi



I am designing a website in ASP and am using Dreamweaver MX 2004. I am unsure whether to define the site in C:\\documents and settings\scott\my documents\Fairfield or to make the root folder in the wwwroot directory IIS?



I have chosen my testing server as C:\Inetpub\wwwroot\Fairfield.



Is this ok?

Reply With Quote
  #2  
Old February 10th, 2005, 08:31 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
You don't want to put a website in your profile, IIS won't have access to the pages. I recommend you make new websites as new virtual directories under \Inetpub\wwwroot\

Or if you have a server version of windows you can create multiple sites.
__________________
======
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 February 11th, 2005, 02:39 AM
scottb scottb is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: UK
Posts: 30 scottb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 58 m
Reputation Power: 4
Smile

Thanks for the reply.

So just to clarify, i don't define the site root in my user area, instead put it in the wwwroot directory, for example, wwwroot/Fairfield, for the fairfield website im designing.

I was wondering why dreamweaver wasn't allowing me to preview the asp pages correctly!

Cheers again

Reply With Quote
  #4  
Old February 11th, 2005, 08:54 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
I don't use Dreamweaver and don't know what it needs, but putting a web into your My Documents folder will usually cause problems somewhere along the line.

Keep in mind that even on your own computer IIS is running as a service, usually under a different user account with different permissions allowed.

Reply With Quote
  #5  
Old February 12th, 2005, 07:37 AM
scottb scottb is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: UK
Posts: 30 scottb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 58 m
Reputation Power: 4
Smile

Cheers

I looked at a few mshelp documents and changed all the permissions for the ULSR_scott account. It seems to have done the trick!

I was wondering however, when i assign my access database file with a DNS, is it OK for me to keep it in my user area, i.e. My Docs or should i also place it in the wwwroot directory of IIS?

Just in your opinion what would you say is better?

Many thanks

Reply With Quote
  #6  
Old February 12th, 2005, 07:53 AM
kboek's Avatar
kboek kboek is offline
Consuming Human
ASP Free Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Norway
Posts: 823 kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 11 h 19 m 18 sec
Reputation Power: 102
Send a message via MSN to kboek
Facebook
Did you find out yet? Access databases should preferably NOT be in your wwwroot or subdir of wwwroot, since this enables anyone that accesses your website to download the access database when they know the name and the path (I remember a minor local bank got stuck with this once, oops!)

Place the database somewhere else on your disk and make sure that the ASPNET account (or, in Win2003, the Local Network account) has access to it.
__________________
Solutions brought to you by Raskenlund ICT & Media

Reply With Quote
  #7  
Old February 12th, 2005, 08:20 AM
scottb scottb is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: UK
Posts: 30 scottb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 58 m
Reputation Power: 4
Thought that may pose a problem!

So i can just put it in my c: drive somewhere and if i move it it should still work as that is the point of DNS?

Or am i confused!

Reply With Quote
  #8  
Old February 12th, 2005, 09:08 AM
kboek's Avatar
kboek kboek is offline
Consuming Human
ASP Free Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Norway
Posts: 823 kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 11 h 19 m 18 sec
Reputation Power: 102
Send a message via MSN to kboek
Facebook
Quote:
Originally Posted by scottb
Thought that may pose a problem!

So i can just put it in my c: drive somewhere and if i move it it should still work as that is the point of DNS?

Or am i confused!

You have - of course - to adjust your DSN, because your DSN points to where your Access file actually is stored. Once you did that, it should be no problem to connect to the database (assuming that you set the correct rights on the directory where the access file resides)

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Where to define site?


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