"ASP.NET 1.1 not installed ... " error

J

John Grandy

Open a .sln containing a web-app and receive the "ASP.NET 1.1 not installed
.... " error .....

I've never know the root cause of this error. I've always dealt with it by
closing the web-app , deleting the contents of the

\{web-app}\bin\

directory and re-opening the web-app.
 
J

JIMCO Software

John said:
Open a .sln containing a web-app and receive the "ASP.NET 1.1 not
installed ... " error .....

I've never know the root cause of this error. I've always dealt with
it by closing the web-app , deleting the contents of the

\{web-app}\bin\

directory and re-opening the web-app.


Root causes can be many. When you open a project in VS.NET, a GET request
is made for a non-existant file called get_aspx_ver.aspx. The response
should contain a header with the version of ASP.NET that's running. If it
doesn't get back 1.1.4322, it assumes you aren't running 1.1. That means
that if an error occurs during that request, you will see this message.

You can get a Netmon trace, check IIS logs, make a request for an ASP.NET
page and see what happens, etc. to try and get to the REAL root cause.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003
 
J

John Grandy

Hi Jim, and thanks for the response.

Where would I find the IIS logs ?

And how would I go about a NETMON trace ?
 
M

Mr Newbie

The reason is most likely because you installed IIS AFTER you installed
Visual Stuio 2003 or something similar. There is a way to get around this
with any luck. Make sure IIS is installed first.

Run the following command from the framework directory

Directory of
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

This should fix it.

Regards
 
J

John Grandy

<<<
Run the following command from the framework directory

Directory of
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
Hi, and thanks for the response.

This I have tried. Re-installing ASP.NET does not solve my problem.
 
J

JIMCO Software

John said:
Hi Jim, and thanks for the response.

Where would I find the IIS logs ?

And how would I go about a NETMON trace ?

IIS logs are usually in c:\windows\system32\logfiles.

Regarding a Netmon, you can use either Netmon if you have it or Ethereal. I
have a tutorial on my site on Ethereal on my Web site:

http://www.jimcoaddins.com/tutorials/auth/default.aspx

Ignore the fact that it deals with FrontPage. You just want to know how to
capture packets and analyze the result.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003
 
J

John Grandy

Here it is .... it does include GET /get_aspx_ver.aspx

But what to make of this ? I chose the "Do not open the application"
option when I opened the .sln in VS03 ...

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-09-19 16:50:33
#Fields: time c-ip cs-method cs-uri-stem sc-status
16:50:33 127.0.0.1 GET /vs107648036729736250_tmp.htm 200
16:50:33 127.0.0.1 GET /_vti_inf.html 404
16:50:34 127.0.0.1 POST /_vti_bin/shtml.dll 200
16:50:34 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:50:34 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:50:40 127.0.0.1 GET /metro-edata.xsd 200
16:51:48 127.0.0.1 GET /get_aspx_ver.aspx 302
16:51:52 127.0.0.1 GET /vs186827750029736250_tmp.htm 200
16:51:52 127.0.0.1 GET /_vti_inf.html 404
16:51:52 127.0.0.1 POST /_vti_bin/shtml.dll 200
16:51:52 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:51:52 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:51:52 127.0.0.1 GET /get_aspx_ver.aspx 302
16:51:59 127.0.0.1 GET /rd_home.aspx 302
16:54:18 127.0.0.1 GET /vs-96983208429736250_tmp.htm 200
16:54:18 127.0.0.1 GET /_vti_inf.html 404
16:54:18 127.0.0.1 POST /_vti_bin/shtml.dll 200
16:54:18 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:54:18 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
16:54:18 127.0.0.1 GET /get_aspx_ver.aspx 500
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-09-19 18:35:42
#Fields: time c-ip cs-method cs-uri-stem sc-status
18:35:42 127.0.0.1 GET /vs-25127935429736264_tmp.htm 200
18:35:42 127.0.0.1 GET /_vti_inf.html 404
18:35:42 127.0.0.1 POST /_vti_bin/shtml.dll 200
18:35:42 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
18:35:42 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
18:35:45 127.0.0.1 GET /metro-edata.xsd 200
18:35:48 127.0.0.1 GET /get_aspx_ver.aspx 302
18:35:52 127.0.0.1 GET /rd_home.aspx 302
18:38:39 127.0.0.1 GET /vs151382041129736265_tmp.htm 200
18:38:39 127.0.0.1 GET /_vti_inf.html 404
18:38:39 127.0.0.1 POST /_vti_bin/shtml.dll 200
18:38:39 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
18:38:39 127.0.0.1 POST /_vti_bin/_vti_aut/author.dll 200
18:38:39 127.0.0.1 GET /get_aspx_ver.aspx 302
18:38:39 127.0.0.1 GET /rd_home.aspx 302
 
J

JIMCO Software

John said:
Here it is .... it does include GET /get_aspx_ver.aspx

But what to make of this ? I chose the "Do not open the
application" option when I opened the .sln in VS03 ...

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-09-19 16:50:33
#Fields: time c-ip cs-method cs-uri-stem sc-status
16:51:48 127.0.0.1 GET /get_aspx_ver.aspx 302

You are being redirected (see the 302) when this is served. Are you
redirecting in global.asax? What about Forms authentication?

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003
 
J

John Grandy

This log does not span any actual running of my web-app (either in debug or
runtime modes). It only spans opening the .sln in VS03.

I just found out that there is a commercial control (RichTextBox.dll) in the
web project.

Perhaps this explains the behavior ... ?
 
J

JIMCO Software

John said:
This log does not span any actual running of my web-app (either in
debug or runtime modes). It only spans opening the .sln in VS03.

That doesn't matter. Because VS.NET is making a request against the app,
code in global.asax will run and Forms Auth (if enabled) will be in effect.

What is the location header from the 302?

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003
 

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