?
Solved

Problem opening dBase Driver connection in asp.net

Posted on 2009-02-12
8
Medium Priority
?
850 Views
Last Modified: 2013-11-29
I am trying to test an ASP.net application on a windows vista 64bit machine when I get the following error when trying to open the connection:

ERROR [IM003] Specified driver could not be loaded due to system error  193 (Microsoft dBASE Driver (*.dbf)).

I believe this is something to do with Vista 64bit because I can get it to run on other machines but I need to test it from this vista machine. Any ideas on how to make the dbase driver work with Vista 64bit?
0
Comment
Question by:jmarbutt
  • 4
  • 4
8 Comments
 
LVL 12

Expert Comment

by:CB_Thirumalai
ID: 23629039
0
 
LVL 2

Author Comment

by:jmarbutt
ID: 23629738
That was actually the first part of my question that I asked earlier in the day. I managed to get the ODBC driver to work when running the configuration program from the SysWOW64 folder but my problem now is I need to dynamically build the connection string in my app but I get this error.

So I guess I have been chasing this problem for a while and haven't come up with a good answer.
0
 
LVL 12

Expert Comment

by:CB_Thirumalai
ID: 23629939
Can you post the part of the code that gives the error?
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 2

Author Comment

by:jmarbutt
ID: 23630068
The InFolder = "c:\temp" which has my dbf files.
  OdbcConnection1.ConnectionString = "Driver={Microsoft dBASE Driver (*.dbf)};Dbq=" + InFolder + ";"
 
        Try
            OdbcConnection1.Open()
        Catch ex As Exception
        End Try
        If OdbcConnection1.State = ConnectionState.Open Then
            Return True
        Else
            Return False
        End If

Open in new window

0
 
LVL 12

Accepted Solution

by:
CB_Thirumalai earned 2000 total points
ID: 23640597
0
 
LVL 12

Expert Comment

by:CB_Thirumalai
ID: 23640614
0
 
LVL 2

Author Comment

by:jmarbutt
ID: 23650135
The answer for everyone else's benefit is to switch to 32bit under the advance configuration on the compile options.

This works but has caused some other minor issue with some 3rd party controls in my web application and I am researching that now.
0
 
LVL 2

Author Comment

by:jmarbutt
ID: 23650817
For others that are looking here is the solution for ASP.net
http://support.microsoft.com/default.aspx/kb/894435
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question