Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 6 ASP Classic - Error '8002801d'

Status
Not open for further replies.

iron01

IS-IT--Management
Mar 15, 2012
2
US
I am on Windows Server 2003 for Small Business.

I receive the following error:

error '8002801d'

/Pqts/Validate.asp, line 7

Following are the VBScript:

<% Option Explicit

'on error resume next%>



<%

Response.Buffer=true 'this is line 7

Response.CacheControl = "no-cache" 'this is line 8

Response.AddHeader "Pragma", "no-cache" 'line 9

Response.Expires = -1 'line 10

session.timeout=120 'line 11

Dim UserID, UserPassed, UserRole 'line 13

Dim Pwd 'line 14

UserID= trim(Request.Form("UID")) 'line 16

Response.Write err.number 'line 18



%>

If I comment out line 7 line 8 throws the same error and each following line wil throw the error except the two line with the Dim statements until you get to Response.Write that will work.

I have reinstalled IIS6 and made sure that the 'ACTIVE SERVER PAGES' are allowed.

I have tried reregisterin the asp.dll.

There is a 'logon.asp' page that does not contain any vbscript and that works fine.

If I use the ON ERROR RESUME NEXT and response.write err.number --> -2147319779
but no other err values have information.
 
The reported line is NOT where the error actually is, just where it occurs.

is the any thing before the option explicit maybe from a include or a UTF marker your editor left in there?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
There are no other lines of any type code above the 'Option Explicit'.

There was a global.asa file but I removed from the folder to the MyDocuments folder and was still receiving the same error. Nothing from the Global.asa page is being used in this application.
 
Have you checked which suggests that the error message is thrown because a Create Object / Library has not been correctly registered, there are a few fixes suggested in the threads there too.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top