473,390 Members | 1,301 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,390 software developers and data experts.

IIS 5.1 on XP Pro cannot serve ASP classic

Hi all,

I just got a new laptop, Windows XP Pro SP2. I installed IIS 5.1 using
add/remove Windows Components.
I installed Visual Studio 6 SP6 and Visual Studio .Net (I need both of
them).
Exact same setup was working fine on my old laptop.

On the new laptop:
IIS will serve .aspx and .html pages no problem.
When I try a classic .asp page, I get -2147467259 (0x80004005) as my
only response, and Error 500 in the IIS log. No events in the event
log, no other information anywhere that I can find.
I gave IUSR_computername full permissions to the wwwroot directory: no
luck.
I tried copying the entire inetsrv directory from my old laptop to the
new one (including asp.dll), but IIS goes completely haywire, so I had
to restore the original directory.

Any ideas on how to tackle this? If at least I could find a bit more
information about the actual error somewhere!

Regards,
Assaf

May 30 '06 #1
12 10207
Hi,

Try following steps:

1. Start / Run, type cmd

2. Type cd \wwwroot\adminscripts

3. Run the following command:

Adsutil set /w3svc/Appisolated 0

4. Run iisreset to restart IIS server

5. Try browsing ASP page

If this does not help please provide some information:

-Did you enable ASP pages in IIS 5.1?

-Which version of .NET Framework are you using?

Regards,

Anton Pegan
"spinkysam" <sp*******@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
Hi all,

I just got a new laptop, Windows XP Pro SP2. I installed IIS 5.1 using
add/remove Windows Components.
I installed Visual Studio 6 SP6 and Visual Studio .Net (I need both of
them).
Exact same setup was working fine on my old laptop.

On the new laptop:
IIS will serve .aspx and .html pages no problem.
When I try a classic .asp page, I get -2147467259 (0x80004005) as my
only response, and Error 500 in the IIS log. No events in the event
log, no other information anywhere that I can find.
I gave IUSR_computername full permissions to the wwwroot directory: no
luck.
I tried copying the entire inetsrv directory from my old laptop to the
new one (including asp.dll), but IIS goes completely haywire, so I had
to restore the original directory.

Any ideas on how to tackle this? If at least I could find a bit more
information about the actual error somewhere!

Regards,
Assaf

May 30 '06 #2
Hi Anton,

Not sure what you mean by enabling ASP pages in IIS 5.1. In the past
they were always enabled by default after installing.
Anyway, when I go to IIS manager -> Default Web Site Properties -> Home
Directory -> Configuration... -> Mappings, I see the .asp extension
mapped to c:\Windows\system32\inetsrv\asp.dll, which I assume means ASP
is enabled?

I'm using .Net framework v1.1.4322.2032.
Though I'm not sure why .Net should enter the picture. When you install
the .Net framework, it shouldn't affect the DLLs in charge of serving
classic ASP pages (inetsrv/asp.dll, etc.), should it?

Regards,
Assaf

May 30 '06 #3
Hi Anton,

Not sure what you mean by enabling ASP pages in IIS 5.1. In the past
they were always enabled by default after installing.
Anyway, when I go to IIS manager -> Default Web Site Properties -> Home
Directory -> Configuration... -> Mappings, I see the .asp extension
mapped to c:\Windows\system32\inetsrv\asp.dll, which I assume means ASP
is enabled?

I'm using .Net framework v1.1.4322.2032.
Though I'm not sure why .Net should enter the picture. When you install
the .Net framework, it shouldn't affect the DLLs in charge of serving
classic ASP pages (inetsrv/asp.dll, etc.), should it?

Regards,
Assaf

May 30 '06 #4
On 30 May 2006 00:58:22 -0700, "spinkysam" <sp*******@gmail.com>
wrote:
When I try a classic .asp page, I get -2147467259 (0x80004005) as my
only response, and Error 500 in the IIS log. No events in the event
log, no other information anywhere that I can find.


See:

http://www.aspfaq.com/show.asp?id=2009
http://www.aspfaq.com/show.asp?id=2413

Jeff
May 30 '06 #5
spinkysam wrote:
Hi all,

I just got a new laptop, Windows XP Pro SP2. I installed IIS 5.1 using
add/remove Windows Components.
I installed Visual Studio 6 SP6 and Visual Studio .Net (I need both of
them).
Exact same setup was working fine on my old laptop.

On the new laptop:
IIS will serve .aspx and .html pages no problem.
When I try a classic .asp page, I get -2147467259 (0x80004005) as my
only response, and Error 500 in the IIS log. No events in the event
log, no other information anywhere that I can find.
I gave IUSR_computername full permissions to the wwwroot directory: no
luck.
I tried copying the entire inetsrv directory from my old laptop to the
new one (including asp.dll), but IIS goes completely haywire, so I had
to restore the original directory.

Any ideas on how to tackle this? If at least I could find a bit more
information about the actual error somewhere!

http://www.aspfaq.com/show.asp?id=2147
http://www.aspfaq.com/show.asp?id=2413
http://www.aspfaq.com/show.asp?id=2226
http://www.aspfaq.com/show.asp?id=2109

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 30 '06 #6
Hi all,

Anton - thanks for your suggestions. I did try to unregister and
re-register asp.dll and succeeded, but still no luck on IIS.
I also ran the steps in your previous post - no luck.
Always with iisreset after every step.

For information, the page I'm trying is simply:
<% Response.Write "<h1>Hello world</h1>" %>
When I say I get no other text, I mean literally no other text. The
full response is:
"-2147467259 (0x80004005)" - no ASP error number, no nothing.

Regarding the many suggestions from pages on aspfaq.com:

*http://www.aspfaq.com/show.asp?id=2147*
I tried "cscript synciwam.vbs" as suggested. No luck.
*http://www.aspfaq.com/show.asp?id=2226*
Not getting any events in event viewer (let alone number 36)
*http://www.aspfaq.com/show.asp?id=2109*
Using Firefox, not IE :) (but getting identical behaviour on IE when I
turn off friendly errors)
*http://www.aspfaq.com/show.asp?id=2009*
Not trying to access a database
*http://www.aspfaq.com/show.asp?id=2413*
Since I'm not getting any message at all, the only possible culprit on
this page is setting Server.ScriptTimeout to a negative value - in my
case, it's the default (90 seconds)

Is there any other known reason out there for an 0x80004005 error with
no message at all?

Going a bit crazy here, so any help would be appreciated.

Regards,
Assaf

May 30 '06 #7

spinkysam wrote:
Hi all,

Anton - thanks for your suggestions. I did try to unregister and
re-register asp.dll and succeeded, but still no luck on IIS.
I also ran the steps in your previous post - no luck.
Always with iisreset after every step.

For information, the page I'm trying is simply:
<% Response.Write "<h1>Hello world</h1>" %>
When I say I get no other text, I mean literally no other text. The
full response is:
"-2147467259 (0x80004005)" - no ASP error number, no nothing.

Regarding the many suggestions from pages on aspfaq.com:

*http://www.aspfaq.com/show.asp?id=2147*
I tried "cscript synciwam.vbs" as suggested. No luck.
*http://www.aspfaq.com/show.asp?id=2226*
Not getting any events in event viewer (let alone number 36)
*http://www.aspfaq.com/show.asp?id=2109*
Using Firefox, not IE :) (but getting identical behaviour on IE when I
turn off friendly errors)
*http://www.aspfaq.com/show.asp?id=2009*
Not trying to access a database
*http://www.aspfaq.com/show.asp?id=2413*
Since I'm not getting any message at all, the only possible culprit on
this page is setting Server.ScriptTimeout to a negative value - in my
case, it's the default (90 seconds)

Is there any other known reason out there for an 0x80004005 error with
no message at all?

Going a bit crazy here, so any help would be appreciated.

Regards,
Assaf


In IIS, go to the properties for the web site directory you are trying
to access (probably default) and try setting the application protection
to Low. See if that does the trick.

--
Mike Brind

May 30 '06 #8
Hi Mike,

Amazing, that did the trick! Who would have thought it?
Thank you - I definitely owe you a pint for that one.

Regards,
Assaf

May 30 '06 #9

spinkysam wrote:
Hi Mike,

Amazing, that did the trick! Who would have thought it?
Thank you - I definitely owe you a pint for that one.

Regards,
Assaf


To be fair, it is one of the first suggestions in the first link that
Bob provided (http://www.aspfaq.com/show.asp?id=2147), and it has come
up as a solution on this news group before.

--
Mike Brind

May 30 '06 #10
Mike Brind wrote:
Is there any other known reason out there for an 0x80004005 error
with no message at all?

Going a bit crazy here, so any help would be appreciated.

Regards,
Assaf


In IIS, go to the properties for the web site directory you are trying
to access (probably default) and try setting the application
protection to Low. See if that does the trick.

I've never had to do this. What is the root problem that would make
someone have to do this?

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 30 '06 #11
Bob Barrows [MVP] wrote:
Mike Brind wrote:
Is there any other known reason out there for an 0x80004005 error
with no message at all?

Going a bit crazy here, so any help would be appreciated.

Regards,
Assaf


In IIS, go to the properties for the web site directory you are
trying to access (probably default) and try setting the application
protection to Low. See if that does the trick.

I've never had to do this. What is the root problem that would make
someone have to do this?

Ah! I had forgotten about IWAM account problems. The answer can be found
here:
http://support.microsoft.com/default.aspx?kbid=309051

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 30 '06 #12

Bob Barrows [MVP] wrote:
Bob Barrows [MVP] wrote:
Mike Brind wrote:
Is there any other known reason out there for an 0x80004005 error
with no message at all?

Going a bit crazy here, so any help would be appreciated.

Regards,
Assaf

In IIS, go to the properties for the web site directory you are
trying to access (probably default) and try setting the application
protection to Low. See if that does the trick.

I've never had to do this. What is the root problem that would make
someone have to do this?

Ah! I had forgotten about IWAM account problems.


So it's true then... you really have forgotten more than most of us
will ever know!

:-)

--
Mike Brind

May 30 '06 #13

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

Similar topics

3
by: Chris Tanger | last post by:
I am creating a class that has a method "Write" that I wish to make threadsafe. The method must block calling threads until the task performed in write is complete. Only 1 thread at a time can...
11
by: Mark J. McGinty | last post by:
Greets, One site I've written allows the user to install an IE extension menu (not malware at all) by downloading/merging a short .REG file. Worked like a peach on Win2K Server, now that I...
8
by: Michael | last post by:
I am running a web server (IIS) on Windows 2003 SP 1. My ASP.NET C# applications run fine. However, my application is a combination of Classic ASP and C#. For some reason when you attempt to...
1
by: Jason Chan | last post by:
Some chinese characters data (in Big5 encoding) is stored in database. I tried to display the data in an aspx but the characters cannot display correctly. I tried anything I think is related: -...
2
by: Enska | last post by:
I have problems connecting my access database I get information .. I cant use my database and I'm administrator on my computer so permission shutnot bee problem, but I dont know Where is the...
3
by: spikerdallas | last post by:
I am running Windows Server 2003 Standard with Service Pack 2 and IIS 6.0 I migrated our website from IIS 5.0 from one server to another. I enabled dynamic content through Web Services ASP.NET...
2
by: JimO | last post by:
I'm using classic ASP. I made a change to a page and I got a Page Cannot Be Displayed error. I changed the code back and now I get the same thing. Other pages can run and access the db server. ...
8
by: sgottenyc | last post by:
Hello, If you could assist me with the following situation, I would be very grateful. In my current position, we have to use a non-traditional server setup to serve PHP-generated web pages....
1
by: jdub33 | last post by:
I have a web project that used a vb6 class library. The asp page would call a createobject() to access the class library. I recently updated the vb6 class library to .net2005. I unregistered the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.