Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 5th, 2004, 10:04 PM
Authorized User
 
Join Date: Jan 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default developing aspx outside wwwroot folder

hi all

is there anyway to develop aspx pages in other directories other than the wwwroot folder in inetpub?

when i tried to develop aspx in 'my documents', i got server error messages, and i cant seem to find an appropriate article in microsoft that addresses this issue

 
Old April 6th, 2004, 12:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

You can change the root folder by opening IIS, right-clicking on "Default Web Site" or you current site name, then clicking properties. Then go to the Home Directory tab and change the local path to what you want.

J
 
Old April 6th, 2004, 07:37 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Or you can set up another Virtual Directory and point it to your My Documents folder.

 
Old April 6th, 2004, 09:52 AM
Authorized User
 
Join Date: Jan 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i did what both of u suggested, and dats how i got the server error messages, so i was wondering does it have anything to do with rights, security settings etc??

 
Old April 6th, 2004, 09:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

What were the error messages?

 
Old April 6th, 2004, 12:09 PM
Authorized User
 
Join Date: Jan 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default

server error in '/' appplication

go http://www.clansalvage.com/error.jpg for the screen that appears

 
Old April 6th, 2004, 12:24 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The applications run under and different user account than you are logged in as. Your "my documents" directory most likely doesn't allow access to that user account. I wouldn't recommend putting an application in the my documents folder. Create a directory at the root of the drive for all your applications, or one for each application or whatever you choose. Just avoid a place that will cause permission conflicts.
 
Old April 6th, 2004, 09:58 PM
Authorized User
 
Join Date: Jan 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm..ok...10x






Similar Threads
Thread Thread Starter Forum Replies Last Post
Rename web site, aspx, folder in VS 2005? cJeffreywang BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 July 9th, 2007 11:40 AM
link to a document on my hard disk out wwwroot crmpicco HTML Code Clinic 9 April 13th, 2007 09:07 AM
How to donwload file from wwwroot? okboy ASP.NET 2.0 Basics 6 January 13th, 2007 11:28 AM
allow others on same network to view my wwwroot crmpicco HTML Code Clinic 2 September 29th, 2005 06:35 AM
Update Problem under wwwroot folder theokrtz Classic ASP Databases 4 June 8th, 2004 07:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.