Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / October 2005



Tip: Looking for answers? Try searching our database.

With dababase password I get Could not find installable ISAM

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DBARNETT@CCC.HSHS.ORG - 31 Oct 2005 02:53 GMT
Hi

I've tried everything I can think of and nothing seems to work.
If I don't have a password on the database, everything works fine.
If I put a password on it,
I get -2147467259(80004005) could not find installable ISAM.

I'm running
Windows XP Pro Ver 5.1.2600(sp2) build 2600
Visual Basic 6.0 Pro (sp6)
Access 2000 ver 9.0.4402 sr-1

1.  I downloaded and installed sp6 for Visual Studio
2.  I found and registered msrd2x40.dll and msrd3x40.dll

Below is a simplified version of what fails for me.
Any help is greatly appreciated.

Thanks
Dennis

Dim WithEvents cn1 As Connection
Dim rs1 As ADODB.Recordset

Private Sub Command1_Click()

   GProvider = "Microsoft.Jet.OLEDB.4.0"
   GConnectionString = "C:\VBISAM\ABC.mdb Password=pleasehelp"
   'GConnectionString = "C:\VBISAM\ABC.mdb"

   Set cn1 = New Connection
   cn1.Provider = GProvider
   cn1.ConnectionString = GConnectionString
   cn1.Open
   cn1.CursorLocation = adUseClient

   Set rs1 = New Recordset
   rs1.Open "Select * from Owner order by [FULL NAME]", _
                  cn1, adOpenDynamic
                 
   cn1.Close
   Set rs1 = Nothing
     
End Sub
Veign - 31 Oct 2005 02:58 GMT
You need a connection string like:
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
          "Data Source=c:\somepath\mydb.mdb;" & _
          "Jet OLEDB:Database Password=MyDbPassword"

Additional Connection string information

ADO Connection Strings (Carl Prothman):
http://www.carlprothman.net/Default.aspx?tabid=81

Connection Strings:
http://www.connectionstrings.com

Signature

Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--

> Hi
>
[quoted text clipped - 40 lines]
>
> End Sub
DBARNETT@CCC.HSHS.ORG - 31 Oct 2005 04:01 GMT
Thank you very much.

The new connection string syntax worked great... :)
google@kaeldowdy.com - 31 Oct 2005 03:00 GMT
Two quick ideas...

You might need a semi colon between the database path and the password
attribute.

Also, is the [Owner] table linked to a text file or something like
that?  That's when I usually get that ISAM error, but it's probably
just the connection string.  Check out
http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForMicrosoftJet
for some good info on connection strings for Access/Jet.

Kael
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.