473,806 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_computerna me 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 10241
Hi,

Try following steps:

1. Start / Run, type cmd

2. Type cd \wwwroot\admins cripts

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*******@gmai l.com> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.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_computerna me 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\syst em32\inetsrv\as p.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\syst em32\inetsrv\as p.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*******@gmai l.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_computerna me 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.ScriptTi meout 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.ScriptTi meout 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

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

Similar topics

3
2498
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 perform the task within "Write". 1-10 different threads may call "Write" simultaneously and continuously, some in a greedy manner. That is to say that some of the threads calling "Write" will take all they can get, while other threads may only call...
11
8776
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 upgraded to Server 2003, it returns a 404 file not found error. I'm positive the file is there/spelled right. I changed it to .txt and it displays the text in the user's browser. So there's little question that this is some "security" addition, to...
8
10785
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 access the Classic ASP components of the application you are presented with this useless error message: "The system cannot find the file specified" The ASP.NET applications are contained within one directory, for instance...
1
3120
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: - Setting the charset, codepage of the page - changed the responseEncoding in web.config to Big5 - hardcoded Response.ContentEncoding to 950 (codepage of Big5) - Change the file encoding to Big5 (in save option) None of them work.
2
2123
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 problem. Can enybody help me!!!! Server Error in '/Koulu/tietokannat' Application. -------------------------------------------------------------------------------- The Microsoft Jet database engine cannot open the file...
3
7256
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 and HTML pages run fine. Classic ASP Pages don't. I get the 404 Error - Page or server not Found. I have tried everything I could find information on and still won't work.
2
1000
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. I tried taking out includes and bypassing some code. I've also checked both the Application and Event logs on the server and there doesn't seem to be anything obvious there. I'm not using any components. Can anybody give me an idea as to what...
8
1943
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. Instead of the classic web server->database server setup, what they have at my workplace instead is: Apache on a frontend server -needing to connect to IIS on a backend server -needing to connect to SQL Server on the same backend server. This setup...
1
4210
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 old class library and registered the new .net dll using regasm using /codebase and registered the dll in the GAC. I can access the dll using a vbscript that just does this: dim o set o = createobject( "DataAccess_NET.DataAccess" ) Wscript.Echo...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10620
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10372
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.