By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,383 Members | 1,996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,383 IT Pros & Developers. It's quick & easy.

Cassini VS 2003 aspx project creation error

P: n/a
Running XP Home which does not come with IIS. In response to advice received on this
forum I installed the Cassini web server to serve in place of IIS. See here for Cassini:
http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1

Trying to create an asp.net project in VS 2003. When I try to create the problem I
get this error:

"The default Web access mode for this project is set to file share, but the project
folder at 'http://localhost/WebApplication1' cannot be opened with the path
'\\MYMACHINE\wwwroot$\WebApplication1'. The error returned was:

Unable to create Web project 'WebApplication1'. The UNC share
'\\MYMACHINE\wwwroot$\WebApplication1' does not exist or you do not have access.

It asks me to retry with a different file share path. Well, can I then specific a
real file path rather than a URL path? Why did it fail?

When I started Cassini I gave it:
d:\mainpage
as the directory to start in. Should I create a subdir called WebApplication1 in
that mainpage directory?

It also gives me another option: "Try to open the project with FrontPage Server
Extensions". Should I do that instead?
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
re:
I installed the Cassini web server to serve in place of IIS.
That won't work with VS 2003.
VS 2003 *already* has a version of Cassini installed.

If you setup Cassini *and* VS.NET 2003, the internal
web servers will interfere with each other on port 80.

VS 2003 won't work with an external web server, like Cassini.

Have you tried to use the Web Matrix ?

http://www.asp.net/webmatrix/faq.aspx

The web matrix *will* work in XP Home and will allow you
to test web apps which you can then upload to production servers.

Other than that, I'd suggest -at least- an upgrade to XP Pro.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Randall Parker" <NOtechieSPAMpundit_please@future_avoidjunk_pundit .com> wrote in message
news:ea**************@TK2MSFTNGP14.phx.gbl... Running XP Home which does not come with IIS. In response to advice received on this
forum I installed the Cassini web server to serve in place of IIS. See here for Cassini:
http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1

Trying to create an asp.net project in VS 2003. When I try to create the problem I get
this error:

"The default Web access mode for this project is set to file share, but the project
folder at 'http://localhost/WebApplication1' cannot be opened with the path
'\\MYMACHINE\wwwroot$\WebApplication1'. The error returned was:

Unable to create Web project 'WebApplication1'. The UNC share
'\\MYMACHINE\wwwroot$\WebApplication1' does not exist or you do not have access.

It asks me to retry with a different file share path. Well, can I then specific a real
file path rather than a URL path? Why did it fail?

When I started Cassini I gave it:
d:\mainpage
as the directory to start in. Should I create a subdir called WebApplication1 in that
mainpage directory?

It also gives me another option: "Try to open the project with FrontPage Server
Extensions". Should I do that instead?

Nov 19 '05 #2

P: n/a
Juan,

But I do not believe on my machine that the version of Cassini from VS 2003 is
already running. When I first tried to create an ASP.Net Web Application project in
VS 2003 it complained:

"Visual Studio .NET cannot create or open the application because no Web server was
detected at this URL: 'http://localhost/WebApplication1'. Make sure the Web server is
installed and running."

I went thru the Tools menu bar item's sublist and tried poking around and could not
find the place where one activates it. Can you tell me where to go in VS 2003 to
activate its copy of Cassini?

Juan T. Llibre wrote:
re:
I installed the Cassini web server to serve in place of IIS.

That won't work with VS 2003.
VS 2003 *already* has a version of Cassini installed.

If you setup Cassini *and* VS.NET 2003, the internal
web servers will interfere with each other on port 80.

VS 2003 won't work with an external web server, like Cassini.

Have you tried to use the Web Matrix ?

http://www.asp.net/webmatrix/faq.aspx

The web matrix *will* work in XP Home and will allow you
to test web apps which you can then upload to production servers.

Other than that, I'd suggest -at least- an upgrade to XP Pro.

Nov 19 '05 #3

P: n/a
Juan,

I just checked the directory tree where VS 2003 is installed and there are no files
in that directory tree that fit Cassini*.*. So are you sure that VS 2003 comes with
Cassini?

Also, before I started up the Cassini that I downloaded URLs like these did not work:
http://127.0.0.1/
http://localhost
and then when I started up Cassini that I downloaded those URL worked.

So I do not see there is a collision going on between rival versions of Cassini.

Juan T. Llibre wrote:
re:
I installed the Cassini web server to serve in place of IIS.

That won't work with VS 2003.
VS 2003 *already* has a version of Cassini installed.

If you setup Cassini *and* VS.NET 2003, the internal
web servers will interfere with each other on port 80.

VS 2003 won't work with an external web server, like Cassini.

Have you tried to use the Web Matrix ?

http://www.asp.net/webmatrix/faq.aspx

The web matrix *will* work in XP Home and will allow you
to test web apps which you can then upload to production servers.

Other than that, I'd suggest -at least- an upgrade to XP Pro.

Nov 19 '05 #4

P: n/a
re:
I just checked the directory tree where VS 2003 is installed and there are no files in
that directory tree that fit Cassini*.*. So are you sure that VS 2003 comes with
Cassini?
Yes it does, but it's not *named* Cassini.
VS 2003 uses a modified version of Cassini.

re: Also, before I started up the Cassini that I downloaded URLs like these did not work:
http://127.0.0.1/
http://localhost
and then when I started up Cassini that I downloaded those URL worked.
They will work, alright, but VS 2003 won't work with them.

Again -under XP Home- Web Matrix is your best choice.

Web Matrix can use its internal server under XP Home. VS 2003 can't.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Randall Parker" <NOtechieSPAMpundit_please@future_avoidjunk_pundit .com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl... Juan,

I just checked the directory tree where VS 2003 is installed and there are no files in
that directory tree that fit Cassini*.*. So are you sure that VS 2003 comes with
Cassini? Also, before I started up the Cassini that I downloaded URLs like these did not work:
http://127.0.0.1/
http://localhost
and then when I started up Cassini that I downloaded those URL worked. So I do not see there is a collision going on between rival versions of Cassini. Juan T. Llibre wrote:
re:
I installed the Cassini web server to serve in place of IIS.

That won't work with VS 2003.
VS 2003 *already* has a version of Cassini installed.

If you setup Cassini *and* VS.NET 2003, the internal
web servers will interfere with each other on port 80.

VS 2003 won't work with an external web server, like Cassini.

Have you tried to use the Web Matrix ?

http://www.asp.net/webmatrix/faq.aspx

The web matrix *will* work in XP Home and will allow you
to test web apps which you can then upload to production servers.

Other than that, I'd suggest -at least- an upgrade to XP Pro.

Nov 19 '05 #5

P: n/a
Juan T. Llibre wrote:
re:
I just checked the directory tree where VS 2003 is installed and there are no files in
that directory tree that fit Cassini*.*. So are you sure that VS 2003 comes with
Cassini?
Yes it does, but it's not *named* Cassini.
VS 2003 uses a modified version of Cassini.


What is it called or how to I activate it?
Again -under XP Home- Web Matrix is your best choice.
Will VS 2003 use Web Matrix as its web server? Or do I have to give up on VS 2003 in
order to use Web Matrix?
Web Matrix can use its internal server under XP Home. VS 2003 can't.


Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.