Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
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 September 22nd, 2003, 08:05 PM
Authorized User
 
Join Date: Sep 2003
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Store ASP.NET files in other than C:\Inetpub

How does one create an ASP.NET solution that stores files in some location other than C:\Inetpub. I typically like to store all my data on my D-Drive so that if I ever have to reinstall my OS, I don't inadvertantly lose stuff. Unfortunately, I can't seem to find a way to store ASP.NET solutions, ASPX, HTML and other files on my D-Drive. Thanks.

- Roger Nedel

  Nedel Software Solutions
  rnedel@nedelsoft.com
__________________
Cheers.

- Roger Nedel
 
Old September 23rd, 2003, 01:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, you can do it like this if you are using Windows...

Make the folder that you would like to put your project in using e.g. Windows Explorer. Then right-click the folder and choose 'Properties'. Choose the 'Web Sharing' tab and click 'Share this folder'. You can now choose the name to share it as e.g. 'supergeil'.

Now you have a possibility to access this folder using...

http:\\localhost\supergeil

If you do a project using VS 7.0 you can start a new ASP.NET application (e.g.) and when the dialog appears select the location to be http:\\localhost\supergeil

This will set up the new project, and you will see a lot of new files in the folder you created. When you are to save the project make sure that you do this on the D drive as well.

Hope this helps ;)

Jacob.


 
Old September 23rd, 2003, 05:21 AM
Authorized User
 
Join Date: Sep 2003
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jacob:

Thanks for the info. Worked as advertised.

- Roger Nedel

Nedel Software Solutions
rnedel@nedelsoft.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Execute Store Procedure with Asp.net in NHi mukeshhaval .NET Framework 3.5 0 October 15th, 2008 04:49 AM
How to store word doc in sql server using asp.net kv Priya .NET Framework 2.0 2 November 28th, 2006 09:38 AM
Store ? in Oracle9i using asp.net web form nandini_net_in ASP.NET 2.0 Professional 0 October 17th, 2006 12:42 AM
Store problem in asp.net web application tj3157 VB.NET 2002/2003 Basics 3 February 1st, 2006 12:56 AM
asp & text files as data store? raa BOOK: Beginning ASP 3.0 1 November 20th, 2003 06:17 AM





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