VS.NET 2003 - Can't connect to IIS

M

MGFoster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using the MS Book _C# Step by Step_. Chapter 27: Intro ASP.Net.

I try to create a new ASP.NET Web application (EmployeeInfo) according
to the book's instructions & get error:

"A connection with the server could not be established."

O/S: Windows XP Pro.
The IIS (World Wide Web Publishing Service) is running.
The folder "EmployeeInfo" is Web Shared.
TCP/IP is running (how else could I send this msg).

Why can't VS.NET recognize that IIS is running?

Thanks for any help.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQI3kG4echKqOuFEgEQLRCgCg/i6fYvARdmHsyf6Eo5FY1qUf6k4AoL7H
5YAktBSjQyzqnDnziKDnp6am
=rJTO
-----END PGP SIGNATURE-----
 
M

Mark Fitzpatrick

Make sure that the FrontPage Server extensions are installed also (they
should be as they are a default option when installing XP Pro). What url are
you trying to create the site at? I only ask because sometimes a book has an
example, like http://mycomputer/ as the URL and when reading the book,
inadvertently copy that. Make sure that you're trying to create a web at
http://localhost/EmployeeInfo/ Also, you'll probably need to make this into
a FP-enabled web. You can do this throught he IIS MMC and right-click on the
virtual server (Default Web Site), select New | Server Extensions Web | and
enter in the exact same name as the virtual directory (web shared
directory). After that, right-click on the virtual server again and select
All Tasks | Check Server Extensions.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
M

MGFoster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for your reply.

The project URL is http://localhost/EmployeeInfo.

I'd already created the EmployeeInfo in the default web site, but did
the New | Server Extensions anyway. Checked the server extensions. Got
the following:

PROBLEM: The folder "/EmployeeInfo/_vti_bin" is not executable. Marking
it executable.
CORRECTED
PROBLEM: Do you want FrontPage to tighten security as much as possible
for all FrontPage webs?
CORRECTED

Tried creating Web Application project again - failed w/ same error
message. Ran the Check Server Extensions again. The same problems were
reported & corrected. Curious as to why the first corrections didn't
persist, I re-ran the Check Server Extensions again. The same
problems/corrections were produced. Why don't the corrections persist?

BTW, here is the complete error message when trying to create the
ASP.NET project:

"The Web server reported the following error when attempting to create
or open the Web project located at the following URL:
'http://localhost/EmployeeInfo.' 'A connection with the server could not
be established.'"

Thanks again.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQJFg14echKqOuFEgEQIvPQCg3pdWpLabycDgr3Py6QBZxFDlt4IAoO+6
ye1wK5T00mMZRM1lyb1Z6rlA
=vC+e
-----END PGP SIGNATURE-----
 
M

MGFoster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Because of the non-persistance of the corrections to the folder _vti_bin
"is not executable" I looked at the properties of that folder using
Windows Explorer & found it to be Read-Only. I removed the Read-Only
property.

Ran the ASP.NET create project again & got error that the version of
ASP.NET was not 1.1. So I ran the program
c:\winnt\microsoft.net\framework\v1.1.4322\aspnet_regiis.exe -lv to find
out which version of ASP.NET was installed. It reported v1.1.4322.
Since VS.NET was reporting that v1.1 wasn't installed I decided to re
install ASP.NET using the v1.1.4322\aspnet_regiis.exe. It is supposed
to:

"Install this version of ASP.NET and update scriptmaps
at the IIS metabase root and for all scriptmaps below
the root. Existing scriptmaps of lower version are
upgraded to this version."

After the re-installation I was able to create the ASP.NET project.

I don't know why my installation of Visual Studio 2003.NET didn't
register ASP.NET ver 1.1 w/ the IIS.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQJLd+IechKqOuFEgEQKYwgCgtJCl5hVzZtz+q1Vxt5cebvCPf/kAoJ+t
IxQc/1j8vvVOWGja3OHw0gDs
=fID7
-----END PGP SIGNATURE-----
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top