473,386 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

creating new project in VS.NET

I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?

Sam
Nov 17 '05 #1
7 1482
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?


In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #2
Rad
That's not really correct...

Now back to Sam's question -- Sam, since you mention this is IIS6 you're
dealing with... I also guess you might be using VS 2002... in which case,
you will need to ensure that .tmp extension is allowed in IIS.

VS places a file with .tmp extension in that file share, and then makes an
HTTP request for that same name using that URL shown in the error. If it
does not receive the same file, it throws the error you're seeing.

..tmp extension is prohibited in IIS6 by default, so you'll have to enable it
first.

PS. VS 2003 uses .htm extension, hence you would not run into this problem.
If you're using 2003, then you'd probably need to double-check that the
locations do really match.

"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?


In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

Nov 17 '05 #3
Strange I have projects in all sorts of places and VSNet has absolutely no
problems at all managing them.
"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?


In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

Nov 17 '05 #4
Rad,
How do you make .tmp extension allowed in IIS? Mapping?

"Rad" <as*******@hot.spam.mail.com> wrote in message
news:sv********************@twister.southeast.rr.c om...
That's not really correct...

Now back to Sam's question -- Sam, since you mention this is IIS6 you're
dealing with... I also guess you might be using VS 2002... in which case,
you will need to ensure that .tmp extension is allowed in IIS.

VS places a file with .tmp extension in that file share, and then makes an
HTTP request for that same name using that URL shown in the error. If it
does not receive the same file, it throws the error you're seeing.

.tmp extension is prohibited in IIS6 by default, so you'll have to enable it first.

PS. VS 2003 uses .htm extension, hence you would not run into this problem. If you're using 2003, then you'd probably need to double-check that the
locations do really match.

"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?


In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com


Nov 17 '05 #5
This is the information I got from Microsoft when fighting this battle. I'm
only repeating it.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

"Jason (MFT1)" <us****@newsgroup.pls> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
Strange I have projects in all sorts of places and VSNet has absolutely no
problems at all managing them.
"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
I am trying to figure out how to get VS.Net and IIS6 to work
together... I am working in domain nowhere.local. I have a W2K3
server named server1.nowhere.local that is running IIS6. I want it
to host a web site named jws.nowhere.local. Within II6 of server1,
I created a new web site as to allow one to serf to
jws.nowhere.local and see the simply default.htm doc. Then I have
shared that directories root such that the path to the default file
is: \\server1\jws$\default.html

Then when I try to create a new ASP.NET Web Application:

http://jws.nowhere.local/calendar

With a file share path of:

\\server1\jws$\calendar

-------------- I get this error --------------

The default Web access mode for this project is set to file share,
but the project folder at 'http://jws.nowhere.local/calendar' cannot
be opned with the path '\\server1\jws$\calendar'. The error
returned was:

Unable to create Web project 'calendar'. The file path
'\\server1\jws$\calendar' does not correspond to the URL
'http://jws.nowhere.local/calendar'. the two need to map to the
same server location

-------------- error --------------

The file path and the URL do point to the same location. What do I
need to do to get this setup correctly?


In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com


Nov 17 '05 #6
On Sun, 24 Aug 2003 at 22:14 GMT, MS News (MS ILM) wrote:
How do you make .tmp extension allowed in IIS? Mapping?


I just did some digging around and discovered that all you have to
do is add .tmp to the MIME types of the server. In other words,
open up properties on the server, click on the MIME Types... button
and add .tmp.

Sam
Nov 17 '05 #7
Rad
This one sucks :) It's actually a bug in VS... you DO have permissions --
you can confirm that by adding another type of file to the project (say an
xml file.. or something like that.. whatever's available on the menu)

I think there was a fix for it... you can call into support to request it
(no charge of course).

Optionally, you can use FrontPage Server Extensions instead -- they don't
exhibit this particular problem.
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:EH******************@fe3.columbus.rr.com...
Rad,

Ok,

I have moved onto the next step of my project and run into more
problems. I am simply trying to create a new webform and I am
getting an error:

Directory does not have write permission.

When I am on the development machine, I am able to create a new file
in \\server1\jws$\calendar. Where do I lack write permission? How
do I fix it?

Sam

On Sun, 24 Aug 2003 at 21:55 GMT, Rad wrote:
That's not really correct...

Now back to Sam's question -- Sam, since you mention this is IIS6 you're
dealing with... I also guess you might be using VS 2002... in which case, you will need to ensure that .tmp extension is allowed in IIS.

VS places a file with .tmp extension in that file share, and then makes an HTTP request for that same name using that URL shown in the error. If it does not receive the same file, it throws the error you're seeing.

.tmp extension is prohibited in IIS6 by default, so you'll have to enable it first.

PS. VS 2003 uses .htm extension, hence you would not run into this problem. If you're using 2003, then you'd probably need to double-check that the
locations do really match.

"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
"Sam Carleton" <sc**************@miltonstreet.com> wrote in message
news:kY******************@fe2.columbus.rr.com...
> I am trying to figure out how to get VS.Net and IIS6 to work
> together... I am working in domain nowhere.local. I have a W2K3
> server named server1.nowhere.local that is running IIS6. I want it
> to host a web site named jws.nowhere.local. Within II6 of server1,
> I created a new web site as to allow one to serf to
> jws.nowhere.local and see the simply default.htm doc. Then I have
> shared that directories root such that the path to the default file
> is: \\server1\jws$\default.html
>
> Then when I try to create a new ASP.NET Web Application:
>
> http://jws.nowhere.local/calendar
>
> With a file share path of:
>
> \\server1\jws$\calendar
>
> -------------- I get this error --------------
>
> The default Web access mode for this project is set to file share,
> but the project folder at 'http://jws.nowhere.local/calendar' cannot
> be opned with the path '\\server1\jws$\calendar'. The error
> returned was:
>
> Unable to create Web project 'calendar'. The file path
> '\\server1\jws$\calendar' does not correspond to the URL
> 'http://jws.nowhere.local/calendar'. the two need to map to the
> same server location
>
> -------------- error --------------
>
> The file path and the URL do point to the same location. What do I
> need to do to get this setup correctly?

In general, VS.NET wants to create web projects at
http://localhost/webproject. It's not very good with anyplace else.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com


--
See my links engine for a collection of sites that
might be of interest to you. Your additions will
make this engine more powerful global resource.
http://www.miltonstreet.com/scarleton/links/

Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dave | last post by:
I first started using HCW.exe to compile .rtf filew created with MS Word a couple of weeks ago. I used the file | new menu then selected New project in the dialog box and everything worked as...
3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
4
by: Nick | last post by:
Hi, I have a windows application, wherein the solution consists of 5 projects. When I try to create a setup and deployment project for this solution, I'm somehow unable to add anything in...
15
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
2
by: | last post by:
Hi all, I have vs.net 2003 locally installed on my XP PRO machine. I have a web server on the LAN which has a website configured at http://services. This is accessible via my web browser and...
0
by: MarkusPoehler | last post by:
I have several classic ASP projects running on Webserver. I would like to implement some .net functionalities. Because I need the references I have to "upgrade" the existing ones wit a new .net...
1
by: OxfordConsult | last post by:
I have a form and it is to creat a 'link' between a project and a company. Creating a record form this table will simply create a record in a databse with the company ID and project ID. Project ID is...
1
by: twdo | last post by:
OK. I am totally frustrated here. I have a setup project within Visual Studio. That setup project is calling a class library project by the use of Custom Actions. Within that class library (my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.