Error Type:Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC driver for Oracl [message #76976] |
Wed, 28 April 2004 21:53 |
S. M. Waqas Shabir
Messages: 30 Registered: January 2004
|
Member |
|
|
Helloe!
I was having no problem with my intranet based site just before when i had not installed windows 2000 advance server's service pack.
Ever since i have installed that service pack, my asp page crashes by giving following output:
--------------------------------------------------------------
-
The page cannot be displayed -
- There is a problem with the page you are trying to reach and it cannot be displayed. -
-
----------------------------------------------------------------------
Please try the following:
<LI id=instructionsText1>Click the [url="javascript:location.reload()"]Refresh[/url] button, or try again later.
- Open the
<SCRIPT>
[<]!--
if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
{
Homepage();
}
//--[>]
</SCRIPT>
pms home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
----------------------------------------------------------------------
Technical Information (for support personnel)
- Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[[Microsoft]][[ODBC driver for Oracle]][[Oracle]]ORA-12640: Authentication adapter initialization failed
/EADzPMS/Log.asp, line 173
- Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
- Page:
GET /EADzPMS/Log.asp
- Time:
Thursday, April 29, 2004, 10:46:07 AM
- More information:
Microsoft Support
-
--------------------------------------------------------------
I dont know what the hell just happened.
I also give you the code of asp page along with the include file that creates connection string:
My Log.asp file has following code:
--------------------------------------------------------------
[<]!--#INCLUDE FILE="Include/Connection.inc"--[>]
[<]!--#INCLUDE FILE="Include/Cosmetics.inc"--[>]
[<]!--#INCLUDE FILE="Include/ADOVBS.inc"--[>]
[<]!--#INCLUDE FILE="Include/ASPFunc.asp"--[>]
[<]!--#INCLUDE FILE="Include/ValidationFuncs.js"--[>]
<script language="JavaScript">
function validate(form)
{
var alphabetsOnly = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
var txtBox;
//validate name
txtBox=form.elements[[1]].value;
if (isEmpty(txtBox))
{
alert("Required field is empty!");
form.elements[[1]].focus();
return false;
}
else
{
if(isWhitespace(txtBox))
{
alert("Required field is empty!");
form.elements[[1]].focus();
return false;
}
}
//everything is just fine...
return true;
}
</script>
<html>
<head>
META TAG REMOVED http-equiv="Content-Language" content="en-us">
META TAG REMOVED name="GENERATOR" content="Microsoft FrontPage 5.0">
META TAG REMOVED name="ProgId" content="FrontPage.Editor.Document">
META TAG REMOVED http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>EAD's Project Management System</title>
</head>
<body topmargin="0" leftmargin="0">
-
-
<map name="FPMap2">
<area alt="Click here to go to Home/Index Page!"
href="index.html" shape="rect" coords="0, 2, 342, 35">
</map>[img]Pix/OutsidePMS/TopBar.gif"
align="absmiddle" width="779" height="34" usemap="#FPMap2"> -
-
-
- <img border="0"
src="Pix/OutsidePMS/FullShinyBar.bmp"
width="340" height="11"> -
-
-
-
LOGIN FORM -
-
[sp]
-
[<]%
If InStr(1,Request.ServerVariables("Query_String"),"IncInfo=1",vbTextCompare) <> 0 Then
%[>]
-
Incorrect Login
information![sp][sp] -
[<]%
End If
%[>]
-
%=MainTableWorkingAreaColor%[>]]
Note: Select the
required wing, enter
valid user name and
password then press
"Submit" button.[sp][sp]
-
- [sp][sp]
-
FORM TAG REMOVED action="LoginProcess.asp"
name="LoginForm"
method="post"
onSubmit="return validate(this);"
style="font-family: Arial Black; color: #002400; font-weight: bold">
- [sp][sp]Wing:[sp]<select
Name="WingCode"
style="font-family: Verdana; font-size: 8pt">
[<]%
Set RS_Wing= Server.CreateObject("ADODB.Recordset")
Q_Wing= "SELECT W_CODV35P, W_DESCRIPTIONVH FROM Wing WHERE UPPER(W_STATUSV1) = 'Y' AND UPPER(W_VERIFSTATUSV1) = 'Y' ORDER BY W_DESCRIPTIONVH "
RS_Wing.Open Q_Wing,ConStr
If NOT RS_Wing.EOF AND NOT RS_Wing.BOF Then
Do While NOT RS_Wing.EOF
%[>]
<option selected
value="[<]%=RS_Wing.Fields("W_CODV35P")%[>]">
[<]%
Response.write(RS_Wing.Fields("W_DESCRIPTIONVH"))
RS_Wing.MoveNext
Loop
%[>]</option>
</select>
[<]%
End If
RS_Wing.Close
Set RS_Wing = Nothing
%[>] -
- [sp][sp]
-
-
User
Name:[sp] -
-
<input type="text"
name="UserName"
size="20"
style="font-family: Verdana; font-size: 8pt; color: #000000"> -
-
%=MainTableWorkingAreaColor%[>]]
Password:[sp] -
-
<input type="password"
name="Password"
size="20"
style="font-family: Verdana; font-size: 8pt; color: #000000"> -
-
-
[sp][sp]<a
href="ForgotPwd.asp">Forgot
Password![/url] -
-
<input type="submit"
value="Submit"
name="B1"
style="font-family: Verdana; font-size: 10px; font-weight: bold; background-color: #E7CF94"> -
-
-
<input type="reset"
value="Reset"
name="B2"
style="font-family: Verdana; font-size: 10px; font-weight: bold; background-color: #E7CF94"> -
FORM TAG REMOVED >
- [sp][sp]
-
- [sp]
-
-
-
-
-
-
</body>
</html>
_______________________________________________________
My Connection.inc file has following code:
--------------------------------------------------------------
[<]%
dim ConStr
ConStr="DRIVER={Microsoft ODBC for Oracle};UID=system; pwd=manager;"
'No of Top Officials of EAD
TopOfficials=5
%[>]
--------------------------------------------------------------
Looking eagerly for a quick positive response.
Thanks in anticipation.
|
|
|