Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Error opening database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Barnett - 30 Sep 2006 14:12 GMT
I've developed a test application on my PC that uses the JET Engine. The
connection string is very basic and is constructed as follows:
   connectionString = String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source='{0}'", modelName);

On the development PC, this works fine. On a test PC, I get a message:
   The format of the initialisation string does not conform to
specification starting at index 33

Since the same string works on the development PC, I'm taking this to mean
that there are missing drivers on the target PC. I thought I could sort this
by installing MDAC 2.8, but when I went to the downloads site, it explicitly
says that JET and OLEDB aren't included.

What do I need to get installed to be able to open my database? Or am I
wrong and there is a format error?

Thanks
Steve
Michael Nemtsev - 30 Sep 2006 17:56 GMT
Hello Steve,

try to download previous version of MDAC.
They remove old drives from one of 2.x version

SB> I've developed a test application on my PC that uses the JET Engine.
SB> The
SB> connection string is very basic and is constructed as follows:
SB> connectionString =
SB> String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data
SB> Source='{0}'", modelName);
SB> On the development PC, this works fine. On a test PC, I get a
SB> message:
SB> The format of the initialisation string does not conform to
SB> specification starting at index 33
SB> Since the same string works on the development PC, I'm taking this
SB> to mean that there are missing drivers on the target PC. I thought I
SB> could sort this by installing MDAC 2.8, but when I went to the
SB> downloads site, it explicitly says that JET and OLEDB aren't
SB> included.
SB>
SB> What do I need to get installed to be able to open my database? Or
SB> am I wrong and there is a format error?
SB>
SB> Thanks
SB> Steve
---
WBR,
Michael  Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.