Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 July 10th, 2004, 05:37 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble creating new asp page

HI Everyone
Lets see if someone can help me, i am new to ASP and am having trouble creating a ASP page, when i go to create a ASP page it simple won't let me create one, it comes up with an error.

It says:

The Default web access mode for this file is set to file share, but the project folder at 'http://localhost/WebApplication1'cannot be opened with the path '\\umar\wwwroot$\WebApplication1'does not exist or you do not have access.

What would you like to do?

Retry using a different file share path
 location: \\umar\wwwroot$\WebApplication1
Try opening the project with FrontPage Server Extensions.

So if someone can help me out that would be great thanks

 
Old July 10th, 2004, 06:12 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oops forgot to say that i am trying to do everything on my home machine, as i want to learn ASP, and umar is the name of the machine, under xp.

 
Old July 10th, 2004, 06:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You also forgot to say what program and technology you are using.
Webapplication1 smells like an ASP.NET project in Visual Studio .NET, but you have posted your question in a "classic" ASP forum.

I think you should elaborate a bit about your setup, and if you're using ASP.NET you may be better of posting in one of the ASP.NET forums.

And if you're running on a local system, why not simply use C:\Inetpub\wwwroot instead of using a share? Did you even create that hidden share for the wwwroot folder?

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old July 10th, 2004, 07:22 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry if i posted this in the wrong section. Yeh i am using Visual Studio.Net

I didn't create the wwwroot folder at all, i have a folder created for my asp projects, but it won't let me start up a asp page even with that.

Cheers



 
Old July 10th, 2004, 07:41 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You cannot choose just any location for your project files; they need to mapped somewhere in IIS as well.

Look in IIS under the Default Web Site. Where does the root of your site point to? Usually, that is c:\inetpub\wwroot, so you can create projects under that folder that then map to http://localhost/Webapplication1 for example.

Do you have IIS installed at all?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old July 10th, 2004, 09:11 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi umzi,

Let me tell you that the best tool you could find to debug classic ASP is Visual Studio.Net. So, go on with that.

Make sure that IIS still pointing to wwwroot directory, because Visual Studio allows you to create different projects on this wwwroot without having to modify the path in IIS every time you use a different project. Visual Studio, talks to IIS to take care about it.

Also, make sure to select Properties on Solution Explorer window. Then under "Configuration Properties" + "Debugging", check the box "ASP Debugging".

After this you should be able to debug ASP, executing the code step by step, and seeing the values of variables on the fly.

This is a good tool even for ASP.
 
Old July 10th, 2004, 11:03 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Willfree thanks for the advice.
But the thing is, i can't even make a asp.net page, everytime i double click on aps application to make a asp.net page i get the error that was stated above.

And Imar yeh i do have IIS installed.

Sorry if i am being a pain, i really don't know what to do.



 
Old July 11th, 2004, 05:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I asked this before, but: Where does the root of localhost point to in IIS? And what happens when you type in http://localhost in your browser?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
asp:menu trouble Russel ASP.NET 2.0 Basics 0 December 4th, 2006 01:05 AM
ASP.NET C# - Trouble with checkbox booksnore2 General .NET 1 October 5th, 2004 11:46 PM
trouble creating array Tachyon Beginning PHP 3 June 28th, 2004 11:25 AM
Trouble creating a Copy Record command on a Form Ron V Access 0 May 19th, 2004 01:36 PM
trouble creating package for project omb Pro VB 6 4 August 14th, 2003 08:38 AM





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