Cassini VS 2003 aspx project creation error

R

Randall Parker

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/Download/Default.aspx?tabindex=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?
 
J

Juan T. Llibre

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/
======================================
 
R

Randall Parker

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

Randall Parker

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

Juan T. Llibre

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 said:
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?
 
R

Randall Parker

Juan said:
re:


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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top