Home | Advertising Info77 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Error 80004005 on my ASP Page
From: Pamela Brunette
Date: 4/19/2001 9:42:30 AM
IP: 206.191.41.50



 

Hi, I keep getting an error every other day on my ASP page which is posted on our Intranet site. The code looks OK to me but I can't fix this error:

Microsoft OLE DB Provider for ODBC Drivers error 80004005.
Cannot open database ( unknown ). It may not be a database that your application recognizes or the file may be corrupt.

Here is my code.........please try and help me.

<%


Dim Connection
Dim RS
Dim SQLStmt
Dim Branch, User_ID, FULL_NAME
dim MYNANE
Dim NAMELIST
Dim CALLSTR
Set Connection = Server.CreateObject ("ADODB.Connection")


Connection.Open "DSN=HRIS Access;"

SQLStmt = "SELECT Branch, User_ID, FULL_NAME"
SQLStmt = SQLStmt & " FROM TSB_Employee "
SQLStmt = SQLStmt & " WHERE Branch = 'ISAD'"

Set RS = Connection.Execute(SQLStmt)


%>

<% MYNAME = Request.ServerVariables("LOGON_USER")

Do While Not RS.EOF

NAMELIST = RS.Fields("User_ID")

NAMELIST = UCase(NAMELIST)
MYNAME = Ucase(MYNAME) %>



<%
If InStr(MYNAME, NAMELIST) <> 0 then
'call MenueEmpInf.AddItem(0,"Post Scriptum - Discussion Forums",6,6)
MENUSTR = "Post Scriptum - Discussion Forums"
CALLSTR = "call MenueEmpInf.AddItem(0,"""+MENUSTR+""",6,6)"

End if

RS.MoveNext
Loop

RS.close
%>


<% response.write(CALLSTR) %>

Any suggestions would be appreciated.

Thanks

Follow Up - Re: Error 80004005 on my ASP Page - sachim 4/20/2001 12:04:43 PM

Follow Up - Re: Error 80004005 on my ASP Page - Dan R. 4/20/2001 3:34:31 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com