Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: RE: aspx digest: April 13, 2002


Message #1 by "Tony Arslan" <tarslan@n...> on Mon, 15 Apr 2002 08:51:11 -0500
Igor, 
My guess is that you might not have Server Extensions installed on your
machine. Although IIS is installed automatically, sever extensions are
not. So Why don't you check the following:
1. Go to control Panel
2. Add/Remove Programms
3. Add/Remove Windows Components
4. Click IIS and click Details

Server Extensions need to be checked.
I hope it works. Good Luck

Tony

-----Original Message-----
From: ASP+ digest [mailto:aspx@p...] 
Sent: Saturday, April 13, 2002 6:00 PM
To: aspx digest recipients
Subject: aspx digest: April 13, 2002


-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------

The URL for this list is: http://p2p.wrox.com/list.asp?list=aspx
ASPX Digest for Saturday, April 13, 2002.

1. Re: Trouble creating ASP.NET application
2. Re: Trouble creating ASP.NET application
3. Re: Trouble creating ASP.NET application
4. Re: Trouble creating ASP.NET application
5. Re: Trouble creating ASP.NET application
6.
=?gb2312?Q?=B4=F0=B8=B4:=5Baspx=5D_Re:_Trouble_creating_ASP.NET_applicat
ion?
7. Re: Trouble creating ASP.NET application
8. Re: Trouble creating ASP.NET application

----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Norman" <norman_lm_fung@h...>
Date: Sat, 13 Apr 2002 05:28:57
X-Message-Number: 1

I am having problem creating ASP.NET web service projects. 

IIS 5.0 is installed on this WIN2000 Adv Server. And VS.net of course.

I created a virtual directory and configured basic authentication. Then:

ATTEMPT 1:
(1) new project>c#>ASP.net service>
(2) Browse for the project directory. But virtual directory does not 
appear in the "Project Location" dialog box.
    Only "real" directory can be found in the dialog.
(3) Having no other option, I selected one of the "real" directory for
my 
the project location.
    The directory is C:\Inetpub\wwwroot\ASP Projects\
    Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP 
Projects\" and "Everyone" has read/write access to this directory.
(4) After clicking "Open" in the "Project Location" dialog box, I return

to "New Project" dialog box.
    At this point, the "name" edit box AND "OK" button are greyed out.

ATTEMPT 2:
(1) new project>c#>ASP.net service>
(2) In "New Project" dialog box, I accept the default setting:

	"name" edit box = "WebService1"    .... This edit box was greyed

out!
	"location" edit box = http://localhost/WebService1
(3) Clicked "OK" on "New Project" dialog box.
(4) Visual Studio.net attempt to create the project... Then error msg:

	"Web Access Failed"

	 The default access mode set to this project is set to file
share, 
but the project folder at 'http://localhost/WebService1' cannot be
opened 
with path 'c:\inetpub\wwwroot\WebService1'.
 	 The error returned was:

		Unable to create Web project 'WebService1'. The file 
path 'c\inetpub\wwwroot\WebService1' does not correspond to 
URL 'http://localhost/WebService1'. The two need to map to the same
server 
location. HTTP Error 500: Server Error.

(5) Then I have two options:

	"What would u like to do?"

	"Retry using a different file share path..."
	"Try to open the project with FrontPage Server Extension"

Both attempt to create the project failed! Help!


> Hi,
> I am having some troubles with creating of new asp.net application 
> with Visual Studio (final release). When I select File|New|... VS ask 
> me for project location. Then I put http://wwwmy-proj/WebApplication1.

> I get message box, that Web Access Failed, because VS can't open the 
> folder \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open page 
> http://wwwmy_proj using IE. What can be the problem?
> 
> We are using IIS 5.0. Host header name wwwmy-proj is working on port 
> 80.
> 
> How can we setup up our development environment which will support
multiple
> developers (projects) on one server?
> How is your "environment" built?
> 
> Best regards,
> Igor
> 
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Norman" <norman_lm_fung@h...>
Date: Sat, 13 Apr 2002 05:38:27
X-Message-Number: 2

Hi. I am having problem creating ASP.NET web service projects. 

IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET of 
course.

I created a virtual directory and configured basic authentication. Then:

ATTEMPT 1:
(1) new project>c#>ASP.net service>
(2) Browse for the project directory. But virtual directory does not 
appear in the "Project Location" dialog box.
    Only "real" directory can be found in the dialog.
(3) Having no other option, I selected one of the "real" directory for
my 
the project location.
    The directory is C:\Inetpub\wwwroot\ASP Projects\
    Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP 
Projects\" and "Everyone" has read/write access to this directory.
(4) After clicking "Open" in the "Project Location" dialog box, I return

to "New Project" dialog box.
    At this point, the "name" edit box AND "OK" button are greyed out.

ATTEMPT 2:
(1) new project>c#>ASP.net service>
(2) In "New Project" dialog box, I accept the default setting:

	"name" edit box = "WebService1"    .... This edit box was greyed

out!
	"location" edit box = http://localhost/WebService1
(3) Clicked "OK" on "New Project" dialog box.
(4) Visual Studio.net attempt to create the project... Then error msg:

	"Web Access Failed"

	 The default access mode set to this project is set to file
share, 
but the project folder at 'http://localhost/WebService1' cannot be
opened 
with path 'c:\inetpub\wwwroot\WebService1'.
 	 The error returned was:

		Unable to create Web project 'WebService1'. The file 
path 'c\inetpub\wwwroot\WebService1' does not correspond to 
URL 'http://localhost/WebService1'. The two need to map to the same
server 
location. HTTP Error 500: Server Error.

(5) Then I have two options:

	"What would u like to do?"

	"Retry using a different file share path..."
	"Try to open the project with FrontPage Server Extension"

Both attempt to create the project failed! Help!




> Hi,
> I am having some troubles with creating of new asp.net application 
> with Visual Studio (final release). When I select File|New|... VS ask 
> me for project location. Then I put http://wwwmy-proj/WebApplication1.

> I get message box, that Web Access Failed, because VS can't open the 
> folder \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open page 
> http://wwwmy_proj using IE. What can be the problem?
> 
> We are using IIS 5.0. Host header name wwwmy-proj is working on port 
> 80.
> 
> How can we setup up our development environment which will support
multiple
> developers (projects) on one server?
> How is your "environment" built?
> 
> Best regards,
> Igor
> 
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Manuj Sarpal" <manujsarpal@h...>
Date: Sat, 13 Apr 2002 07:23:39 +0100
X-Message-Number: 3

Norman

First when have you installed IIS is important.
IIS spould be installed before installing Visual studiodot net.

Well if done so..
Try to make a virtual directory in iis mapping file to any directory you
want. Now open visual studio and try to set the project at same virtual
directory..

Hope it helps ..

If it dosen't mail me .. what it says..

Manuj

----- Original Message -----
From: "Norman" <norman_lm_fung@h...>
To: "ASP+" <aspx@p...>
Sent: Saturday, April 13, 2002 5:38 AM
Subject: [aspx] Re: Trouble creating ASP.NET application


> Hi. I am having problem creating ASP.NET web service projects.
>
> IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET of 
> course.
>
> I created a virtual directory and configured basic authentication. 
> Then:
>
> ATTEMPT 1:
> (1) new project>c#>ASP.net service>
> (2) Browse for the project directory. But virtual directory does not 
> appear in the "Project Location" dialog box.
>     Only "real" directory can be found in the dialog.
> (3) Having no other option, I selected one of the "real" directory for

> my the project location.
>     The directory is C:\Inetpub\wwwroot\ASP Projects\
>     Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP 
> Projects\" and "Everyone" has read/write access to this directory.
> (4) After clicking "Open" in the "Project Location" dialog box, I 
> return to "New Project" dialog box.
>     At this point, the "name" edit box AND "OK" button are greyed out.
>
> ATTEMPT 2:
> (1) new project>c#>ASP.net service>
> (2) In "New Project" dialog box, I accept the default setting:
>
> "name" edit box = "WebService1"    .... This edit box was greyed
> out!
> "location" edit box = http://localhost/WebService1
> (3) Clicked "OK" on "New Project" dialog box.
> (4) Visual Studio.net attempt to create the project... Then error msg:
>
> "Web Access Failed"
>
> The default access mode set to this project is set to file share, but 
> the project folder at 'http://localhost/WebService1' cannot be opened 
> with path 'c:\inetpub\wwwroot\WebService1'.
>   The error returned was:
>
> Unable to create Web project 'WebService1'. The file
> path 'c\inetpub\wwwroot\WebService1' does not correspond to URL 
> 'http://localhost/WebService1'. The two need to map to the same server

> location. HTTP Error 500: Server Error.
>
> (5) Then I have two options:
>
> "What would u like to do?"
>
> "Retry using a different file share path..."
> "Try to open the project with FrontPage Server Extension"
>
> Both attempt to create the project failed! Help!
>
>
>
>
> > Hi,
> > I am having some troubles with creating of new asp.net application 
> > with Visual Studio (final release). When I select File|New|... VS 
> > ask me for project location. Then I put 
> > http://wwwmy-proj/WebApplication1. I get message box, that Web 
> > Access Failed, because VS can't open the folder 
> > \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open page 
> > http://wwwmy_proj using IE. What can be the problem?
> >
> > We are using IIS 5.0. Host header name wwwmy-proj is working on port

> > 80.
> >
> > How can we setup up our development environment which will support
> multiple
> > developers (projects) on one server?
> > How is your "environment" built?
> >
> > Best regards,
> > Igor
> >
> >
> >
> > _________________________________________________________
> >
> > Do You Yahoo!?
> >
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to 
> unsubscribe send a blank email to 
>

----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Norman Fung" <norman_lm_fung@h...>
Date: Sat, 13 Apr 2002 15:26:14 +0000
X-Message-Number: 4

Thanx Manuj

>>IIS spould be installed before installing Visual studiodot net.

Yes, I am doing this on WIN Adv Server. And IIS is installed by default 
right?

>>Now open visual studio and try to set the project at same virtual 
>>directory..

Under the "New Project" dialog, only "real directory" is available for 
selection from the "New Project" dialog. "Virtual directory" are NOT
there 
and therefore I cant select them!?

Help!! It's been two days and I tried a few things like setting
"everyone 
write" permission for those "Real" directories and annoynomous access on

IIS... Nothing worked!


>From: "Manuj Sarpal" <manujsarpal@h...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] Re: Trouble creating ASP.NET application
>Date: Sat, 13 Apr 2002 07:23:39 +0100
>
>Norman
>
>First when have you installed IIS is important.
>IIS spould be installed before installing Visual studiodot net.
>
>Well if done so..
>Try to make a virtual directory in iis mapping file to any directory 
>you want. Now open visual studio and try to set the project at same 
>virtual directory..
>
>Hope it helps ..
>
>If it dosen't mail me .. what it says..
>
>Manuj
>
>----- Original Message -----
>From: "Norman" <norman_lm_fung@h...>
>To: "ASP+" <aspx@p...>
>Sent: Saturday, April 13, 2002 5:38 AM
>Subject: [aspx] Re: Trouble creating ASP.NET application
>
>
> > Hi. I am having problem creating ASP.NET web service projects.
> >
> > IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET 
> > of course.
> >
> > I created a virtual directory and configured basic authentication. 
> > Then:
> >
> > ATTEMPT 1:
> > (1) new project>c#>ASP.net service>
> > (2) Browse for the project directory. But virtual directory does not

> > appear in the "Project Location" dialog box.
> >     Only "real" directory can be found in the dialog.
> > (3) Having no other option, I selected one of the "real" directory 
> > for
>my
> > the project location.
> >     The directory is C:\Inetpub\wwwroot\ASP Projects\
> >     Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP 
> > Projects\" and "Everyone" has read/write access to this directory.
> > (4) After clicking "Open" in the "Project Location" dialog box, I 
> > return to "New Project" dialog box.
> >     At this point, the "name" edit box AND "OK" button are greyed 
> > out.
> >
> > ATTEMPT 2:
> > (1) new project>c#>ASP.net service>
> > (2) In "New Project" dialog box, I accept the default setting:
> >
> > "name" edit box = "WebService1"    .... This edit box was greyed
> > out!
> > "location" edit box = http://localhost/WebService1
> > (3) Clicked "OK" on "New Project" dialog box.
> > (4) Visual Studio.net attempt to create the project... Then error 
> > msg:
> >
> > "Web Access Failed"
> >
> > The default access mode set to this project is set to file share, 
> > but the project folder at 'http://localhost/WebService1' cannot be
>opened
> > with path 'c:\inetpub\wwwroot\WebService1'.
> >   The error returned was:
> >
> > Unable to create Web project 'WebService1'. The file
> > path 'c\inetpub\wwwroot\WebService1' does not correspond to URL 
> > 'http://localhost/WebService1'. The two need to map to the same
>server
> > location. HTTP Error 500: Server Error.
> >
> > (5) Then I have two options:
> >
> > "What would u like to do?"
> >
> > "Retry using a different file share path..."
> > "Try to open the project with FrontPage Server Extension"
> >
> > Both attempt to create the project failed! Help!
> >
> >
> >
> >
> > > Hi,
> > > I am having some troubles with creating of new asp.net application
>with
> > > Visual Studio (final release). When I select File|New|... VS ask 
> > > me
>for
> > > project location. Then I put http://wwwmy-proj/WebApplication1. I 
> > > get message box, that Web Access Failed, because VS can't open the

> > > folder \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open 
> > > page http://wwwmy_proj using IE. What can be the problem?
> > >
> > > We are using IIS 5.0. Host header name wwwmy-proj is working on 
> > > port
>80.
> > >
> > > How can we setup up our development environment which will support
> > multiple
> > > developers (projects) on one server?
> > > How is your "environment" built?
> > >
> > > Best regards,
> > > Igor
> > >
> > >
> > >
> > > _________________________________________________________
> > >
> > > Do You Yahoo!?
> > >
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > >
> > ---
> > Change your mail options at http://p2p.wrox.com/manager.asp or to 
> > unsubscribe send a blank email to 
> >
>
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Manuj Sarpal" <manujsarpal@h...>
Date: Sat, 13 Apr 2002 17:09:58 +0100
X-Message-Number: 5



 Norman ..

 1.Well now I would like you to test any aspx page and put in folder
where  your iis is installed and try to run it like
http://localhost/someaspx.aspx  page.  If this runs sucessfull then your
iis has mapped aspx. in the server  otherwise there is some problem in
installtion

 2. If the above runs fine then .Create a virtual directory .. ie "some
virtual directory" in IIS5.0 map it to some folder  now when you are
creating new web project IN DOT NET IDE you can make the  path as
http:/localhost/somevirtualdirectory/projectname

 This will automaticaly create your web project at the virtual directory
path.

 if the above doesnt works go through the attached a file , which has
prereqistes for  running dotnet web applications..


 May be this helps.
 Manuj




Web Project Requirements
If you want to create Web projects on this machine, you must first
install additional components. To create Web projects, both Internet
Information Services (IIS) and FrontPage Server Extensions (FPSE) must
be installed and configured. You can, however, create Web projects on
remote machines that have these components installed and configured.

Preparing a machine to be a Web server includes the steps below, to be
completed in the following order. Some of these steps may be optional
depending on your machine configuration:

Download Security Updates
Install IIS and FPSE
Configure FPSE
Install Security Updates
Return to setup
Configure IIS on Windows .NET Servers
If you are running Windows .NET Server or later, see
http://support.microsoft.com/support/kb/articles/Q312/0/73.asp for
late-breaking information about installing and configuring these
components.


1. Download Security Updates
Before enabling these components, you must download the latest security
updates. Go to http://msdn.microsoft.com/vstudio/security/ to download
the latest security updates for these components. Unless you installed
your operating system via a network, you should disconnect your machine
from the network until you have completed step 4, Install Security
Updates listed below. If you do not disconnect, your machine could be
susceptible to viruses between installing the components and applying
the latest security updates.

2. Install IIS and FPSE

To install Internet Information Services and FrontPage Server Extensions
For Windows 2000, on the Start menu, choose Settings, and then choose
Control Panel. For Windows XP and later, on the Start menu, choose
Control Panel. Choose Add/Remove Programs. In the Add/Remove Programs
dialog box, choose Add/Remove Windows Components. In the Windows
Component Wizard, select Internet Information Services (IIS). With
Internet Information Services (IIS) selected, choose Details. If
FrontPage <version number> Server Extensions are not already selected,
select the check box. Click OK. Choose Next to begin installing.


Note:  After completing Visual Studio setup, users who installed Visual
Studio on a Windows .NET server machine must run the Security Lockdown
Wizard. For more information, see the section Configuring IIS for
Windows ..NET Server machines below.

3. Configure FPSE
The following steps are required if you are installing on a Windows 2000
or XP operating system with Windows FAT16 or FAT32 file systems. By
default, FrontPage Server Extensions are configured when installed on
Windows 2000 or XP with a NTFS file system. On Windows .NET Server and
later, FPSE needs to be enabled in the IIS Security Lockdown Wizard,
regardless of your file system type.

Caution:   If you are using FAT16 or FAT32 file system, it is strongly
recommended that you convert to NTFS before following the steps below.
Running FrontPage Server Extensions on a FAT file system allows any
anonymous user to author on your web server.

To configure FrontPage Server Extensions on Windows 2000
On the Start menu, choose Settings, and then choose Control Panel.
Select Administrative Tools, and then select Computer Management. In the
Computer Management dialog box, expand the Services and Applications
node, and then expand the Internet Information Services node.
Right-click Default Web Site, choose All Tasks, and then choose
Configure Server Extensions.
Note: If the Configure Server Extensions menu command is missing,
FrontPage Server Extensions are already installed and configured. Choose
Next on the first page of the Server Extensions Configuration Wizard.
Choose Yes in the Warning dialog box. Choose No for configuring the mail
server settings, and then choose Next. Choose Finish.

To configure FrontPage Server Extensions on Windows XP
On the Start menu, choose Control Panel, and then select Performance and
Maintenance. Select Administrative Tools, and then select Computer
Management. In the Computer Management dialog box, expand the Services
and Applications node, and then expand the Internet Information Services
node. Expand the Web sites node. Right-click Default Web Site, choose
All Tasks, and then choose Configure Server Extensions.
Note: If the Configure Server Extensions menu command is missing,
FrontPage Server Extensions are already installed and configured. Choose
Next on the first page of the Server Extensions Configuration Wizard.
Choose Yes in the Warning dialog box. Choose No for configuring the mail
server settings, and then choose Next. Choose Finish.

To enable and configure FrontPage Server Extensions on Windows .NET
Server and later On the Start menu, choose Control Panel, and then
select the Performance and Maintenance category. Select Administrative
Tools, and then select Computer Management. In the Computer Management
dialog box, expand the Services and Applications node, and then expand
the Internet Information Services node. Right-click your machine name in
the left pane and choose Security. Click Next on the first screen of the
IIS Security Lockdown Wizard. Verify that HTTP: is set to Automatic and
click Next. In the Request Handlers list, check each instance of Enable
FrontPage Server Extensions / SharePoint. Click Next. Click Finish to
complete the wizard. In the Computer Management dialog box, expand the
Web sites node. Right-click Default Web Site, choose All Tasks, and then
choose Configure Server Extensions.
Note: If the Configure Server Extensions menu command is missing,
FrontPage Server Extensions are already installed and configured. Click
Submit on the Extend virtual server with FrontPage Server Extensions
2002 page.


4. Install Security Updates
Run the security updates you downloaded in step 1, Download Security
Updates. After applying the updates, you can safely reconnect to the
network.

5. Return to setup
You can return to setup by running Setup on CD1 or DVD of the Visual
Studio product you are installing.

6. Configure IIS on Windows .NET Servers
After installing Visual Studio .NET on Windows .NET Server, Advanced
Server, or Datacenter Server, ASP.NET is not enabled by default. To
develop Web projects successfully, you must run the Security Lockdown
Wizard after completing Visual Studio .NET Setup. For your convenience,
you can print these instructions or save this file to your local machine
for reference after completing setup.

Caution: If you run this wizard before Visual Studio .NET setup is
complete, the correct version of ASP.NET might not be enabled. During
Visual Studio ..NET Setup, a different version of ASP.NET is installed.
This wizard should be run after setup to ensure the latest version is
enabled.

To configure IIS after running setup on Windows .NET Servers
On the Start menu, choose All Programs.
Choose Administrative Tools and then choose Internet Information
Services. Right-click your machine name in left pane and choose
Security. Click Next on the first screen of the IIS Security Lockdown
Wizard. Verify that HTTP: is set to Automatic and click Next. In the
Request Handlers list, check ASP.NET and each instance of
n:\WINDOWS\Microsoft.NET\Framework\<version number>\aspnet_isapi.dll.
Click Next. Click Finish to complete the wizard.

----- Original Message -----
From: "Norman Fung" <norman_lm_fung@h...>
To: "ASP+" <aspx@p...>
Sent: Saturday, April 13, 2002 4:26 PM
Subject: [aspx] Re: Trouble creating ASP.NET application


> Thanx Manuj
>
> >>IIS spould be installed before installing Visual studiodot net.
>
> Yes, I am doing this on WIN Adv Server. And IIS is installed by 
> default right?
>
> >>Now open visual studio and try to set the project at same virtual 
> >>directory..
>
> Under the "New Project" dialog, only "real directory" is available for

> selection from the "New Project" dialog. "Virtual directory" are NOT 
> there and therefore I cant select them!?
>
> Help!! It's been two days and I tried a few things like setting 
> "everyone write" permission for those "Real" directories and 
> annoynomous access on IIS... Nothing worked!
>
>
> >From: "Manuj Sarpal" <manujsarpal@h...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >Date: Sat, 13 Apr 2002 07:23:39 +0100
> >
> >Norman
> >
> >First when have you installed IIS is important.
> >IIS spould be installed before installing Visual studiodot net.
> >
> >Well if done so..
> >Try to make a virtual directory in iis mapping file to any directory 
> >you want. Now open visual studio and try to set the project at same 
> >virtual directory..
> >
> >Hope it helps ..
> >
> >If it dosen't mail me .. what it says..
> >
> >Manuj
> >
> >----- Original Message -----
> >From: "Norman" <norman_lm_fung@h...>
> >To: "ASP+" <aspx@p...>
> >Sent: Saturday, April 13, 2002 5:38 AM
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >
> >
> > > Hi. I am having problem creating ASP.NET web service projects.
> > >
> > > IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET

> > > of course.
> > >
> > > I created a virtual directory and configured basic authentication.
Then:
> > >
> > > ATTEMPT 1:
> > > (1) new project>c#>ASP.net service>
> > > (2) Browse for the project directory. But virtual directory does 
> > > not appear in the "Project Location" dialog box.
> > >     Only "real" directory can be found in the dialog.
> > > (3) Having no other option, I selected one of the "real" directory

> > > for
> >my
> > > the project location.
> > >     The directory is C:\Inetpub\wwwroot\ASP Projects\
> > >     Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP 
> > > Projects\" and "Everyone" has read/write access to this directory.
> > > (4) After clicking "Open" in the "Project Location" dialog box, I
return
> > > to "New Project" dialog box.
> > >     At this point, the "name" edit box AND "OK" button are greyed 
> > > out.
> > >
> > > ATTEMPT 2:
> > > (1) new project>c#>ASP.net service>
> > > (2) In "New Project" dialog box, I accept the default setting:
> > >
> > > "name" edit box = "WebService1"    .... This edit box was greyed
> > > out!
> > > "location" edit box = http://localhost/WebService1
> > > (3) Clicked "OK" on "New Project" dialog box.
> > > (4) Visual Studio.net attempt to create the project... Then error 
> > > msg:
> > >
> > > "Web Access Failed"
> > >
> > > The default access mode set to this project is set to file share, 
> > > but the project folder at 'http://localhost/WebService1' cannot be
> >opened
> > > with path 'c:\inetpub\wwwroot\WebService1'.
> > >   The error returned was:
> > >
> > > Unable to create Web project 'WebService1'. The file
> > > path 'c\inetpub\wwwroot\WebService1' does not correspond to URL 
> > > 'http://localhost/WebService1'. The two need to map to the same
> >server
> > > location. HTTP Error 500: Server Error.
> > >
> > > (5) Then I have two options:
> > >
> > > "What would u like to do?"
> > >
> > > "Retry using a different file share path..."
> > > "Try to open the project with FrontPage Server Extension"
> > >
> > > Both attempt to create the project failed! Help!
> > >
> > >
> > >
> > >
> > > > Hi,
> > > > I am having some troubles with creating of new asp.net 
> > > > application
> >with
> > > > Visual Studio (final release). When I select File|New|... VS ask

> > > > me
> >for
> > > > project location. Then I put http://wwwmy-proj/WebApplication1. 
> > > > I
get
> > > > message box, that Web Access Failed, because VS can't open the
folder
> > > > \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open page 
> > > > http://wwwmy_proj using IE. What can be the problem?
> > > >
> > > > We are using IIS 5.0. Host header name wwwmy-proj is working on 
> > > > port
> >80.
> > > >
> > > > How can we setup up our development environment which will 
> > > > support
> > > multiple
> > > > developers (projects) on one server?
> > > > How is your "environment" built?
> > > >
> > > > Best regards,
> > > > Igor
> > > >
> > > >
> > > >
> > > > _________________________________________________________
> > > >
> > > > Do You Yahoo!?
> > > >
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > >
> > > >
> > > >
> > > ---
> > > Change your mail options at http://p2p.wrox.com/manager.asp or to 
> > > unsubscribe send a blank email to 
> > >
> >
> >---
> >Change your mail options at http://p2p.wrox.com/manager.asp or to 
> >unsubscribe send a blank email to 
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
>
>
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to 
> unsubscribe send a blank email to 
>

----------------------------------------------------------------------

Subject:
=?gb2312?Q?=B4=F0=B8=B4:=5Baspx=5D_Re:_Trouble_creating_ASP.NET_applicat
ion?
From: "wang xiaohai" <chinappig@h...>
Date: Sun, 14 Apr 2002 00:09:56 +0800
X-Message-Number: 6


------=_NextPart_001_0001_01C1E348.B583AAA0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

That's impossible....I just can find the virtual path input textbox with
= a default name when I select "Asp.net WebService".Please confirm
whether = you select the "window service" project wizard.....

----- =D4=AD=CA=BC=D3=CA=BC=FE -----
=B7=A2=BC=FE=C8=CB: Norman
=B7=A2=CB=CD=CA=B1=BC=E4: 2002=C4=EA4=D4=C213=C8=D5 12:23
=CA=D5=BC=FE=C8=CB: ASP+
=D6=F7=CC=E2: [aspx] Re: Trouble creating ASP.NET application

I am having problem creating ASP.NET web service projects

IIS 5.0 is installed on this WIN2000 Adv Server. And VS.net of course.

I created a virtual directory and configured basic authentication. Then:

ATTEMPT 1:
(1) new project>c#>ASP.net service>
(2) Browse for the project directory. But virtual directory does not
appear in the "Project Location" dialog box.
    Only "real" directory can be found in the dialog.
(3) Having no other option, I selected one of the "real" directory for
my the project location.
    The directory is C:\Inetpub\wwwroot\ASP Projects\
    Before this, I configured sharing for "C:\Inetpub\wwwroot\ASP
Projects\" and "Everyone" has read/write access to this directory.
(4) After clicking "Open" in the "Project Location" dialog box, I return
to "New Project" dialog box.
    At this point, the "name" edit box AND "OK" button are greyed out.

ATTEMPT 2:
(1) new project>c#>ASP.net service>
(2) In "New Project" dialog box, I accept the default setting:

"name" edit box =3D "WebService1"    .... This edit box was greyed
out!
"location" edit box =3D http://localhost/WebService1
(3) Clicked "OK" on "New Project" dialog box.
(4) Visual Studio.net attempt to create the project... Then error msg:

"Web Access Failed"

The default access mode set to this project is set to file share, but
the project folder at 'http://localhost/WebService1' cannot be opened
with path 'c:\inetpub\wwwroot\WebService1'. The error returned was:

Unable to create Web project 'WebService1'. The file
path 'c\inetpub\wwwroot\WebService1' does not correspond to
URL 'http://localhost/WebService1'. The two need to map to the same
serve= r location. HTTP Error 500: Server Error.

(5) Then I have two options:

"What would u like to do?"

"Retry using a different file share path..."
"Try to open the project with FrontPage Server Extension"

Both attempt to create the project failed! Help!


> Hi,
> I am having some troubles with creating of new asp.net application 
> with Visual Studio (final release). When I select File|New|... VS ask 
> me for project location. Then I put http://wwwmy-proj/WebApplication1.

> I get message box, that Web Access Failed, because VS can't open the 
> folder \\wwwmy-proj\wwwroot$\WebApplication1. I can easily open page 
> http://wwwmy_proj using IE. What can be the problem?
>
> We are using IIS 5.0. Host header name wwwmy-proj is working on port 
> 80
..
>
> How can we setup up our development environment which will support
multiple
> developers (projects) on one server?
> How is your "environment" built?
>
> Best regards,
> Igor
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to =B4
=D3=CD=F8=D5=BE=B5=C3=B5=BD=B8=FC=B6=E0=D0=C5=CF=A2=A1=A3MSN Explorer
=C3= =E2=B7=D1=CF=C2=D4=D8:http://explorer.msn.com/lccn


----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Minh T. Nguyen" <nguyentriminh@y...>
Date: Sat, 13 Apr 2002 10:05:33 -0700
X-Message-Number: 7

Norman,

> (2) Browse for the project directory. But virtual directory does not
> appear in the "Project Location" dialog box.
>     Only "real" directory can be found in the dialog.

No, don't click on the "Browse" button, but actually type in a
location!! Just type it in the textbox like
"http://localhost/NormasWebPortal" and the OK button will become active.
It will create for you the virtual directory and all.


>		Unable to create Web project 'WebService1'. The file
>path 'c\inetpub\wwwroot\WebService1' does not correspond to 
>URL 'http://localhost/WebService1'. The two need to map to the same
server 
>location. HTTP Error 500: Server Error.

Seems like you tried this before. Did you try to give it a completely
new name, like "localhost/ajsdklfjsadlf" ? Just make sure that you
entered something that is new. Remember that you actually  never have to
go to the IIS snap in to create and delete your virtual directories.
VS.NET does this all for your if properly installed.

Good luck,
Minh.


----------------------------------------------------------------------

Subject: Re: Trouble creating ASP.NET application
From: "Norman Fung" <norman_lm_fung@h...>
Date: Sat, 13 Apr 2002 21:16:49 +0000
X-Message-Number: 8

Thanx for the feedback first of all. But I tried. Completely new name!

I am wondering... Since it's WIN2000 Advance Server, IIS is installed by

default. And therefore, IIS must be installed BEFORE I installed Visual 
Studio.NET.

Perhaps the trouble is due to the fact that I installed MS FrontPage
after 
Visual Studio.NET?

And one more question: Do u think WIN 2000 folder sharing and security 
attributes has anything to do with it? Do I have to add "Interactive
User" 
or a member of "VS Developers" in order for Visual Studio to access a 
particular folder? I delete almost "Everyone" access for all folders
except 
IIS root.

And where can I "set" IIS root? Maybe that's the reason? Look at the 
following error msg:

<ERROR MSG
	"Web Access Failed"

	 The default access mode set to this project is set to file
share, but the 
project folder at 'http://localhost/WebService1' cannot be opened with
path 
'c:\inetpub\wwwroot\WebService1'.
	 The error returned was:

		Unable to create Web project 'WebService1'. The file
path 
'c\inetpub\wwwroot\WebService1' does not correspond to URL 
'http://localhost/WebService1'. The two need to map to the same server 
location. HTTP Error 500: Server Error.

/ERROR MSG>

Remember. I set 'location' TO 'http://localhost/WebService1'

This is the default folder path. And the above error msg is what I got
after 
clicking ok and VS attempted to create the project.

Thanx!!

Norm

>From: "Minh T. Nguyen" <nguyentriminh@y...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] Re: Trouble creating ASP.NET application
>Date: Sat, 13 Apr 2002 10:05:33 -0700
>
>Norman,
>
> > (2) Browse for the project directory. But virtual directory does not

> > appear in the "Project Location" dialog box.
> >     Only "real" directory can be found in the dialog.
>
>No, don't click on the "Browse" button, but actually type in a 
>location!! Just type it in the textbox like 
>"http://localhost/NormasWebPortal" and the OK button will become 
>active. It will create for you the virtual directory and all.
>
>
> >		Unable to create Web project 'WebService1'. The file
> >path 'c\inetpub\wwwroot\WebService1' does not correspond to URL 
> >'http://localhost/WebService1'. The two need to map to the same
>server
> >location. HTTP Error 500: Server Error.
>
>Seems like you tried this before. Did you try to give it a completely 
>new name, like "localhost/ajsdklfjsadlf" ? Just make sure that you 
>entered something that is new. Remember that you actually  never have 
>to go to the IIS snap in to create and delete your virtual directories.

>VS.NET does this all for your if properly installed.
>
>Good luck,
>Minh.
>
>
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 




_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




---

END OF DIGEST



  Return to Index