Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: Trouble creating ASP.NET application


Message #1 by "Norman" <norman_lm_fung@h...> on Sat, 13 Apr 2002 05:28:57
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
> 
> 
> 
Message #2 by "Norman" <norman_lm_fung@h...> on Sat, 13 Apr 2002 05:38:27
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
> 
> 
> 
Message #3 by "Manuj Sarpal" <manujsarpal@h...> on 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
> >
> >
> >
>
Message #4 by "Norman Fung" <norman_lm_fung@h...> on Sat, 13 Apr 2002 15:26:14 +0000
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
> > >
> > >
> > >
> >
>




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

Message #5 by "Manuj Sarpal" <manujsarpal@h...> on Sat, 13 Apr 2002 17:09:58 +0100

 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
> > > >
> > > >
> > > >
> > >
> >
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
>
Message #6 by "Minh T. Nguyen" <nguyentriminh@y...> on 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.

Message #7 by "Norman Fung" <norman_lm_fung@h...> on Sat, 13 Apr 2002 21:16:49 +0000
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.
>
>




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

Message #8 by "Minh T. Nguyen" <nguyentriminh@y...> on Sat, 13 Apr 2002 20:52:02 -0700
Norman,

	Maybe you installed Win2K without IIS (IIS is an option you can
turn off, but usually by default it is installed). Anyhow, I don't know
what MS Frontpage does to IIS. I guess there is only one way to find
out, by just uninstalling Frontpage, then reinstalling IIS (Add/Remove
Programs-->Windows Components), then repairing VS.NET (use the repair
option available at the installation of VS.NET). But that will be a lot
of work and time.

	You can set the IIS root as followed: Start/Control
Panel/Administrative Tools/Internet Information Services. Then open up
the tree branch to Internet Information Services/YOURCOMPUTERNAME (local
computer)/Web Sites/Default Web Site. Right click on Default Web Site
and choose Properties. Click on the Home Directory tab, and you can set
the root in the "Local Path" textbox--it's usually defaulted to
c:\inetpub\wwwroot. Try giving more people rights to that folder (start
with the VS Developers user account, yourself and also the ASPNET
(aspnet_wp) account.

	The error message you are getting basically says that the
virtual directory needs to map to the physical directory in which the
solution file (the .sln) file resides. However, when you let VS.NET
create the directory, it should do all this work for you. The only way
to mess up the mapping that I can think of is to manually change the
"Local Path" of the virtual directory AFTER you have set up the project
already. That's why I encourage you to try out complete new names, not
just "WebService1" which might have already been created for you the
last time you tried. Or alternatively, try manually deleting both the
virtual and the physical directory.

Good luck!
Minh.

-----Original Message-----
From: Norman Fung [mailto:norman_lm_fung@h...] 
Sent: Saturday, April 13, 2002 2:17 PM
To: ASP+
Subject: [aspx] Re: Trouble creating ASP.NET application


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

Message #9 by "Norman Fung" <norman_lm_fung@h...> on Sun, 14 Apr 2002 07:39:59 +0000
Hi Minh,

thanks for the help, but I still havent solved the problem. I set:

(1) the sharing/security attribute of Inetpub folder to ( "everyone" 
read/write/full control)
(2) IIS server security: annoynomous access allowed - IUSER

Quote:
"Try giving more people rights to that folder (start
with the VS Developers user account, yourself and also the ASPNET
(aspnet_wp) account."

Does Visual Studio "impersonate" VS Developers by default? Or "Interactive 
User"??

Thanx and hope ...

Norman




>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 20:52:02 -0700
>
>Norman,
>
>	Maybe you installed Win2K without IIS (IIS is an option you can
>turn off, but usually by default it is installed). Anyhow, I don't know
>what MS Frontpage does to IIS. I guess there is only one way to find
>out, by just uninstalling Frontpage, then reinstalling IIS (Add/Remove
>Programs-->Windows Components), then repairing VS.NET (use the repair
>option available at the installation of VS.NET). But that will be a lot
>of work and time.
>
>	You can set the IIS root as followed: Start/Control
>Panel/Administrative Tools/Internet Information Services. Then open up
>the tree branch to Internet Information Services/YOURCOMPUTERNAME (local
>computer)/Web Sites/Default Web Site. Right click on Default Web Site
>and choose Properties. Click on the Home Directory tab, and you can set
>the root in the "Local Path" textbox--it's usually defaulted to
>c:\inetpub\wwwroot. Try giving more people rights to that folder (start
>with the VS Developers user account, yourself and also the ASPNET
>(aspnet_wp) account.
>
>	The error message you are getting basically says that the
>virtual directory needs to map to the physical directory in which the
>solution file (the .sln) file resides. However, when you let VS.NET
>create the directory, it should do all this work for you. The only way
>to mess up the mapping that I can think of is to manually change the
>"Local Path" of the virtual directory AFTER you have set up the project
>already. That's why I encourage you to try out complete new names, not
>just "WebService1" which might have already been created for you the
>last time you tried. Or alternatively, try manually deleting both the
>virtual and the physical directory.
>
>Good luck!
>Minh.
>
>-----Original Message-----
>From: Norman Fung [mailto:norman_lm_fung@h...]
>Sent: Saturday, April 13, 2002 2:17 PM
>To: ASP+
>Subject: [aspx] Re: Trouble creating ASP.NET application
>
>
>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
>
>
>to unsubscribe send a blank email to leave-aspx-1080664N@p...

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Message #10 by "Manuj Sarpal" <manujsarpal@h...> on Sun, 14 Apr 2002 08:51:49 +0100
Norman.

Can I know the format type of your Hardisk..
It should be NTFS by default to give best results....


Manuj

----- Original Message -----
From: "Norman Fung" <norman_lm_fung@h...>
To: "ASP+" <aspx@p...>
Sent: Sunday, April 14, 2002 8:39 AM
Subject: [aspx] Re: Trouble creating ASP.NET application


> Hi Minh,
>
> thanks for the help, but I still havent solved the problem. I set:
>
> (1) the sharing/security attribute of Inetpub folder to ( "everyone"
> read/write/full control)
> (2) IIS server security: annoynomous access allowed - IUSER
>
> Quote:
> "Try giving more people rights to that folder (start
> with the VS Developers user account, yourself and also the ASPNET
> (aspnet_wp) account."
>
> Does Visual Studio "impersonate" VS Developers by default? Or "Interactive
> User"??
>
> Thanx and hope ...
>
> Norman
>
>
>
>
> >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 20:52:02 -0700
> >
> >Norman,
> >
> > Maybe you installed Win2K without IIS (IIS is an option you can
> >turn off, but usually by default it is installed). Anyhow, I don't know
> >what MS Frontpage does to IIS. I guess there is only one way to find
> >out, by just uninstalling Frontpage, then reinstalling IIS (Add/Remove
> >Programs-->Windows Components), then repairing VS.NET (use the repair
> >option available at the installation of VS.NET). But that will be a lot
> >of work and time.
> >
> > You can set the IIS root as followed: Start/Control
> >Panel/Administrative Tools/Internet Information Services. Then open up
> >the tree branch to Internet Information Services/YOURCOMPUTERNAME (local
> >computer)/Web Sites/Default Web Site. Right click on Default Web Site
> >and choose Properties. Click on the Home Directory tab, and you can set
> >the root in the "Local Path" textbox--it's usually defaulted to
> >c:\inetpub\wwwroot. Try giving more people rights to that folder (start
> >with the VS Developers user account, yourself and also the ASPNET
> >(aspnet_wp) account.
> >
> > The error message you are getting basically says that the
> >virtual directory needs to map to the physical directory in which the
> >solution file (the .sln) file resides. However, when you let VS.NET
> >create the directory, it should do all this work for you. The only way
> >to mess up the mapping that I can think of is to manually change the
> >"Local Path" of the virtual directory AFTER you have set up the project
> >already. That's why I encourage you to try out complete new names, not
> >just "WebService1" which might have already been created for you the
> >last time you tried. Or alternatively, try manually deleting both the
> >virtual and the physical directory.
> >
> >Good luck!
> >Minh.
> >
> >-----Original Message-----
> >From: Norman Fung [mailto:norman_lm_fung@h...]
> >Sent: Saturday, April 13, 2002 2:17 PM
> >To: ASP+
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >
> >
> >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
> >
> >
> >to unsubscribe send a blank email to leave-aspx-1080664N@p...
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
Message #11 by "Norman Fung" <norman_lm_fung@h...> on Sun, 14 Apr 2002 07:51:51 +0000
All drives are NTFS. Does it matter if u install SQL server before or after 
Visual Studio?


>From: "Manuj Sarpal" <manujsarpal@h...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] Re: Trouble creating ASP.NET application
>Date: Sun, 14 Apr 2002 08:51:49 +0100
>
>Norman.
>
>Can I know the format type of your Hardisk..
>It should be NTFS by default to give best results....
>
>
>Manuj
>
>----- Original Message -----
>From: "Norman Fung" <norman_lm_fung@h...>
>To: "ASP+" <aspx@p...>
>Sent: Sunday, April 14, 2002 8:39 AM
>Subject: [aspx] Re: Trouble creating ASP.NET application
>
>
> > Hi Minh,
> >
> > thanks for the help, but I still havent solved the problem. I set:
> >
> > (1) the sharing/security attribute of Inetpub folder to ( "everyone"
> > read/write/full control)
> > (2) IIS server security: annoynomous access allowed - IUSER
> >
> > Quote:
> > "Try giving more people rights to that folder (start
> > with the VS Developers user account, yourself and also the ASPNET
> > (aspnet_wp) account."
> >
> > Does Visual Studio "impersonate" VS Developers by default? Or 
>"Interactive
> > User"??
> >
> > Thanx and hope ...
> >
> > Norman
> >
> >
> >
> >
> > >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 20:52:02 -0700
> > >
> > >Norman,
> > >
> > > Maybe you installed Win2K without IIS (IIS is an option you can
> > >turn off, but usually by default it is installed). Anyhow, I don't know
> > >what MS Frontpage does to IIS. I guess there is only one way to find
> > >out, by just uninstalling Frontpage, then reinstalling IIS (Add/Remove
> > >Programs-->Windows Components), then repairing VS.NET (use the repair
> > >option available at the installation of VS.NET). But that will be a lot
> > >of work and time.
> > >
> > > You can set the IIS root as followed: Start/Control
> > >Panel/Administrative Tools/Internet Information Services. Then open up
> > >the tree branch to Internet Information Services/YOURCOMPUTERNAME 
>(local
> > >computer)/Web Sites/Default Web Site. Right click on Default Web Site
> > >and choose Properties. Click on the Home Directory tab, and you can set
> > >the root in the "Local Path" textbox--it's usually defaulted to
> > >c:\inetpub\wwwroot. Try giving more people rights to that folder (start
> > >with the VS Developers user account, yourself and also the ASPNET
> > >(aspnet_wp) account.
> > >
> > > The error message you are getting basically says that the
> > >virtual directory needs to map to the physical directory in which the
> > >solution file (the .sln) file resides. However, when you let VS.NET
> > >create the directory, it should do all this work for you. The only way
> > >to mess up the mapping that I can think of is to manually change the
> > >"Local Path" of the virtual directory AFTER you have set up the project
> > >already. That's why I encourage you to try out complete new names, not
> > >just "WebService1" which might have already been created for you the
> > >last time you tried. Or alternatively, try manually deleting both the
> > >virtual and the physical directory.
> > >
> > >Good luck!
> > >Minh.
> > >
> > >-----Original Message-----
> > >From: Norman Fung [mailto:norman_lm_fung@h...]
> > >Sent: Saturday, April 13, 2002 2:17 PM
> > >To: ASP+
> > >Subject: [aspx] Re: Trouble creating ASP.NET application
> > >
> > >
> > >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
> > >
> > >
> > >to unsubscribe send a blank email to leave-aspx-1080664N@p...
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
> >
> >
>



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Message #12 by "Manuj Sarpal" <manujsarpal@h...> on Sun, 14 Apr 2002 09:01:13 +0100
I have no idea but I myself installed sql server later..


----- Original Message -----
From: "Norman Fung" <norman_lm_fung@h...>
To: "ASP+" <aspx@p...>
Sent: Sunday, April 14, 2002 8:51 AM
Subject: [aspx] Re: Trouble creating ASP.NET application


> All drives are NTFS. Does it matter if u install SQL server before or
after
> Visual Studio?
>
>
> >From: "Manuj Sarpal" <manujsarpal@h...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >Date: Sun, 14 Apr 2002 08:51:49 +0100
> >
> >Norman.
> >
> >Can I know the format type of your Hardisk..
> >It should be NTFS by default to give best results....
> >
> >
> >Manuj
> >
> >----- Original Message -----
> >From: "Norman Fung" <norman_lm_fung@h...>
> >To: "ASP+" <aspx@p...>
> >Sent: Sunday, April 14, 2002 8:39 AM
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >
> >
> > > Hi Minh,
> > >
> > > thanks for the help, but I still havent solved the problem. I set:
> > >
> > > (1) the sharing/security attribute of Inetpub folder to ( "everyone"
> > > read/write/full control)
> > > (2) IIS server security: annoynomous access allowed - IUSER
> > >
> > > Quote:
> > > "Try giving more people rights to that folder (start
> > > with the VS Developers user account, yourself and also the ASPNET
> > > (aspnet_wp) account."
> > >
> > > Does Visual Studio "impersonate" VS Developers by default? Or
> >"Interactive
> > > User"??
> > >
> > > Thanx and hope ...
> > >
> > > Norman
> > >
> > >
> > >
> > >
> > > >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 20:52:02 -0700
> > > >
> > > >Norman,
> > > >
> > > > Maybe you installed Win2K without IIS (IIS is an option you can
> > > >turn off, but usually by default it is installed). Anyhow, I don't
know
> > > >what MS Frontpage does to IIS. I guess there is only one way to find
> > > >out, by just uninstalling Frontpage, then reinstalling IIS
(Add/Remove
> > > >Programs-->Windows Components), then repairing VS.NET (use the repair
> > > >option available at the installation of VS.NET). But that will be a
lot
> > > >of work and time.
> > > >
> > > > You can set the IIS root as followed: Start/Control
> > > >Panel/Administrative Tools/Internet Information Services. Then open
up
> > > >the tree branch to Internet Information Services/YOURCOMPUTERNAME
> >(local
> > > >computer)/Web Sites/Default Web Site. Right click on Default Web Site
> > > >and choose Properties. Click on the Home Directory tab, and you can
set
> > > >the root in the "Local Path" textbox--it's usually defaulted to
> > > >c:\inetpub\wwwroot. Try giving more people rights to that folder
(start
> > > >with the VS Developers user account, yourself and also the ASPNET
> > > >(aspnet_wp) account.
> > > >
> > > > The error message you are getting basically says that the
> > > >virtual directory needs to map to the physical directory in which the
> > > >solution file (the .sln) file resides. However, when you let VS.NET
> > > >create the directory, it should do all this work for you. The only
way
> > > >to mess up the mapping that I can think of is to manually change the
> > > >"Local Path" of the virtual directory AFTER you have set up the
project
> > > >already. That's why I encourage you to try out complete new names,
not
> > > >just "WebService1" which might have already been created for you the
> > > >last time you tried. Or alternatively, try manually deleting both the
> > > >virtual and the physical directory.
> > > >
> > > >Good luck!
> > > >Minh.
> > > >
> > > >-----Original Message-----
> > > >From: Norman Fung [mailto:norman_lm_fung@h...]
> > > >Sent: Saturday, April 13, 2002 2:17 PM
> > > >To: ASP+
> > > >Subject: [aspx] Re: Trouble creating ASP.NET application
> > > >
> > > >
> > > >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
> > > >
> > > >
> > > >to unsubscribe send a blank email to leave-aspx-1080664N@p...
> > >
> > > _________________________________________________________________
> > > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> > >
> > >
> > >
> >
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
Message #13 by "Jeff Edwards" <jeff.edwards@s...> on Sun, 14 Apr 2002 10:42:58 -0500
Did you install this on a Domain Controller? If you will find that you
ASPNET account that was created as a domain account and VS.NET expects
it to be a machine account.

http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q315158&L
N=EN-US&rnk=2&SD=tech&FR=1&qry=ProcessModel&src=DHCS_MSPSS_tech_SRCH&SPR
=NETFRAME&

Check out this URL...

-----Original Message-----
From: Norman Fung [mailto:norman_lm_fung@h...] 
Sent: Sunday, April 14, 2002 2:52 AM
To: ASP+
Subject: [aspx] Re: Trouble creating ASP.NET application

All drives are NTFS. Does it matter if u install SQL server before or
after 
Visual Studio?


>From: "Manuj Sarpal" <manujsarpal@h...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] Re: Trouble creating ASP.NET application
>Date: Sun, 14 Apr 2002 08:51:49 +0100
>
>Norman.
>
>Can I know the format type of your Hardisk..
>It should be NTFS by default to give best results....
>
>
>Manuj
>
>----- Original Message -----
>From: "Norman Fung" <norman_lm_fung@h...>
>To: "ASP+" <aspx@p...>
>Sent: Sunday, April 14, 2002 8:39 AM
>Subject: [aspx] Re: Trouble creating ASP.NET application
>
>
> > Hi Minh,
> >
> > thanks for the help, but I still havent solved the problem. I set:
> >
> > (1) the sharing/security attribute of Inetpub folder to ( "everyone"
> > read/write/full control)
> > (2) IIS server security: annoynomous access allowed - IUSER
> >
> > Quote:
> > "Try giving more people rights to that folder (start
> > with the VS Developers user account, yourself and also the ASPNET
> > (aspnet_wp) account."
> >
> > Does Visual Studio "impersonate" VS Developers by default? Or 
>"Interactive
> > User"??
> >
> > Thanx and hope ...
> >
> > Norman
> >
> >
> >
> >
> > >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 20:52:02 -0700
> > >
> > >Norman,
> > >
> > > Maybe you installed Win2K without IIS (IIS is an option you can
> > >turn off, but usually by default it is installed). Anyhow, I don't
know
> > >what MS Frontpage does to IIS. I guess there is only one way to
find
> > >out, by just uninstalling Frontpage, then reinstalling IIS
(Add/Remove
> > >Programs-->Windows Components), then repairing VS.NET (use the
repair
> > >option available at the installation of VS.NET). But that will be a
lot
> > >of work and time.
> > >
> > > You can set the IIS root as followed: Start/Control
> > >Panel/Administrative Tools/Internet Information Services. Then open
up
> > >the tree branch to Internet Information Services/YOURCOMPUTERNAME 
>(local
> > >computer)/Web Sites/Default Web Site. Right click on Default Web
Site
> > >and choose Properties. Click on the Home Directory tab, and you can
set
> > >the root in the "Local Path" textbox--it's usually defaulted to
> > >c:\inetpub\wwwroot. Try giving more people rights to that folder
(start
> > >with the VS Developers user account, yourself and also the ASPNET
> > >(aspnet_wp) account.
> > >
> > > The error message you are getting basically says that the
> > >virtual directory needs to map to the physical directory in which
the
> > >solution file (the .sln) file resides. However, when you let VS.NET
> > >create the directory, it should do all this work for you. The only
way
> > >to mess up the mapping that I can think of is to manually change
the
> > >"Local Path" of the virtual directory AFTER you have set up the
project
> > >already. That's why I encourage you to try out complete new names,
not
> > >just "WebService1" which might have already been created for you
the
> > >last time you tried. Or alternatively, try manually deleting both
the
> > >virtual and the physical directory.
> > >
> > >Good luck!
> > >Minh.
> > >
> > >-----Original Message-----
> > >From: Norman Fung [mailto:norman_lm_fung@h...]
> > >Sent: Saturday, April 13, 2002 2:17 PM
> > >To: ASP+
> > >Subject: [aspx] Re: Trouble creating ASP.NET application
> > >
> > >
> > >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
> > >
> > >
> > >to unsubscribe send a blank email to leave-aspx-1080664N@p...
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device:
http://mobile.msn.com
> >
> >
> >
>



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



Message #14 by "Minh T. Nguyen" <nguyentriminh@y...> on Sun, 14 Apr 2002 15:11:03 -0700
Norman,

	"(1) the sharing/security attribute of Inetpub folder to (
"everyone" read/write/full control)"

	Did you make sure to set it to all the subfolder's? Not just the
inetpub\wwwroot folder? On the security tab, click on advanced and check
"Replace permission entries on all child objects with entries show
here...."

	"Does Visual Studio "impersonate" VS Developers by default?"

	I don't know, it just so happens that it shows up in my computer
in my wwwroot (well, I don't use wwwroot, I have a special folder, but
that's where IIS is set to).

	Hm.. I am out of ideas. Try this one here:
	
http://www.gotdotnet.com/team/csharp/Information/Whitepapers/howtosolved
ebuggerproblems.doc 

	This is a winword document explaining possible scenarios and
fixes if you can't debug. Maybe it will apply to you as well, although
you don't have a debug problem.

Good luck,
Minh.

Message #15 by "Norman Fung" <norman_lm_fung@h...> on Mon, 15 Apr 2002 01:53:38 +0000
Thanx Jeff!!

It's working now. I dont remember I ever set my machine up as a domain 
controller (how can u check anyway?).

Anyway, I edited machine config. And now I can do all that I intended to do. 
Thanx again! That's a big help.

Norman


>From: "Jeff Edwards" <jeff.edwards@s...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] Re: Trouble creating ASP.NET application
>Date: Sun, 14 Apr 2002 10:42:58 -0500
>
>Did you install this on a Domain Controller? If you will find that you
>ASPNET account that was created as a domain account and VS.NET expects
>it to be a machine account.
>
>http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q315158&L
>N=EN-US&rnk=2&SD=tech&FR=1&qry=ProcessModel&src=DHCS_MSPSS_tech_SRCH&SPR
>=NETFRAME&
>
>Check out this URL...
>
>-----Original Message-----
>From: Norman Fung [mailto:norman_lm_fung@h...]
>Sent: Sunday, April 14, 2002 2:52 AM
>To: ASP+
>Subject: [aspx] Re: Trouble creating ASP.NET application
>
>All drives are NTFS. Does it matter if u install SQL server before or
>after
>Visual Studio?
>
>
> >From: "Manuj Sarpal" <manujsarpal@h...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >Date: Sun, 14 Apr 2002 08:51:49 +0100
> >
> >Norman.
> >
> >Can I know the format type of your Hardisk..
> >It should be NTFS by default to give best results....
> >
> >
> >Manuj
> >
> >----- Original Message -----
> >From: "Norman Fung" <norman_lm_fung@h...>
> >To: "ASP+" <aspx@p...>
> >Sent: Sunday, April 14, 2002 8:39 AM
> >Subject: [aspx] Re: Trouble creating ASP.NET application
> >
> >
> > > Hi Minh,
> > >
> > > thanks for the help, but I still havent solved the problem. I set:
> > >
> > > (1) the sharing/security attribute of Inetpub folder to ( "everyone"
> > > read/write/full control)
> > > (2) IIS server security: annoynomous access allowed - IUSER
> > >
> > > Quote:
> > > "Try giving more people rights to that folder (start
> > > with the VS Developers user account, yourself and also the ASPNET
> > > (aspnet_wp) account."
> > >
> > > Does Visual Studio "impersonate" VS Developers by default? Or
> >"Interactive
> > > User"??
> > >
> > > Thanx and hope ...
> > >
> > > Norman
> > >
> > >
> > >
> > >
> > > >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 20:52:02 -0700
> > > >
> > > >Norman,
> > > >
> > > > Maybe you installed Win2K without IIS (IIS is an option you can
> > > >turn off, but usually by default it is installed). Anyhow, I don't
>know
> > > >what MS Frontpage does to IIS. I guess there is only one way to
>find
> > > >out, by just uninstalling Frontpage, then reinstalling IIS
>(Add/Remove
> > > >Programs-->Windows Components), then repairing VS.NET (use the
>repair
> > > >option available at the installation of VS.NET). But that will be a
>lot
> > > >of work and time.
> > > >
> > > > You can set the IIS root as followed: Start/Control
> > > >Panel/Administrative Tools/Internet Information Services. Then open
>up
> > > >the tree branch to Internet Information Services/YOURCOMPUTERNAME
> >(local
> > > >computer)/Web Sites/Default Web Site. Right click on Default Web
>Site
> > > >and choose Properties. Click on the Home Directory tab, and you can
>set
> > > >the root in the "Local Path" textbox--it's usually defaulted to
> > > >c:\inetpub\wwwroot. Try giving more people rights to that folder
>(start
> > > >with the VS Developers user account, yourself and also the ASPNET
> > > >(aspnet_wp) account.
> > > >
> > > > The error message you are getting basically says that the
> > > >virtual directory needs to map to the physical directory in which
>the
> > > >solution file (the .sln) file resides. However, when you let VS.NET
> > > >create the directory, it should do all this work for you. The only
>way
> > > >to mess up the mapping that I can think of is to manually change
>the
> > > >"Local Path" of the virtual directory AFTER you have set up the
>project
> > > >already. That's why I encourage you to try out complete new names,
>not
> > > >just "WebService1" which might have already been created for you
>the
> > > >last time you tried. Or alternatively, try manually deleting both
>the
> > > >virtual and the physical directory.
> > > >
> > > >Good luck!
> > > >Minh.
> > > >
> > > >-----Original Message-----
> > > >From: Norman Fung [mailto:norman_lm_fung@h...]
> > > >Sent: Saturday, April 13, 2002 2:17 PM
> > > >To: ASP+
> > > >Subject: [aspx] Re: Trouble creating ASP.NET application
> > > >
> > > >
> > > >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
> > > >
> > > >
> > > >to unsubscribe send a blank email to leave-aspx-1080664N@p...
> > >
> > > _________________________________________________________________
> > > Send and receive Hotmail on your mobile device:
>http://mobile.msn.com
> > >
> > >
> > >
> >
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
>




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

Message #16 by "Norman" <norman_lm_fung@h...> on Mon, 15 Apr 2002 23:49:44
Hi, I am having the same problem too. I thought I solved it by editing 
Machine.config ... ProcessModel tag... I changed username 
to "Administrator" and reset the passwd accordingly. This work - for some 
time and i could "create" and work with ASP.net web service project - 
UNTIL reboot!

And now, I have no idea what the heck is the cause...

norm



> 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
> 
> 
> 
Message #17 by "Norman" <norman_lm_fung@h...> on Sat, 20 Apr 2002 21:45:09
Hi Igor,

Have u solved the problem yet? I am still struggling. Please send me an 
email:

norman_lm_fung@h...

Thanx!

Norman


> 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
> 
> 
> 

  Return to Index