Home | Advertising Info28 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 what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: OLE DB SOS
From: Ben Hwa
Date: 1/20/2000 3:08:27 AM
IP: 165.21.83.156



 

Hello there,

1) I am trying the OLE DB connection with an Access97 db file, password protected. (The Access97 is not install in my machine - NT 4 Workstation with IIS 2.0)

The code is :
<%
dim conn

conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/Px/Px_pw.mdb") & ";Password=px"
conn.Open
%>

But encouter the following error :
Microsoft JET Database Engine error 80040e4d
Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

Is it because the Access97 is not install in the machine? Or there is something else?

2) So I remove the password & try the following :
<%
dim conn, cmd, rs
dim sSQL

sSQL = "SELECT Phonebook.ReceipentName, Phonebook.PagerNo, Phonebook.ExtensionNo, DeptPhonebookTbl.DeptName"
sSQL = sSQL & " FROM DeptPhonebookTbl RIGHT JOIN PhoneBook ON DeptPhonebookTbl.ReceipentName = PhoneBook.ReceipentName"
sSQL = sSQL & " WHERE PhoneBook.Hidden = No"
sSQL = sSQL & " Order By Phonebook.ReceipentName"

set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/Px/Px.mdb")
conn.Open

set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sSQL, conn, adOpenForwardOnly, adLockReadOnly

do while not rs.eof
Response.Write(rs("ReceipentName")) & ("</BR>")
rs.MoveNext
loop

rs.close
set rs=nothing

conn.c


 

   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.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net 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