Actually, that's exactly the problem. The application doesn't throw any good exception or error message.
The driver and the permission isn't the problem. I don't even get the chance to access the file. The error happens before it, when I try to set the connection string. I even tried it with a different driver, and a different path to the AccessDB. Nothing helps. I will now try to recreate the problem in a new prototype-project. If the error happens there, I can share the source code (that's what I currently can't do with the real sources). I'll give you a feedback what happened with my prototype-project. -- pmw On 23 Sep., 09:52, "kodali ranganadh" <[EMAIL PROTECTED]> wrote: > hamma... i think it won't happen like, until unless you missed some > dependences , check that is OLEDB drive is there in u r windows xp pc, and u > have a permission to access database file ?i am sure that it should give > some exception > > > > On Tue, Sep 23, 2008 at 11:44 AM, CK <[EMAIL PROTECTED]> wrote: > > > Do you have the same version of .net on both machines? > > > On 22 Sep, 12:17, pmw <[EMAIL PROTECTED]> wrote: > > > Hey guys > > > > Got a problem with a VB.NET application. If I compile it in Windows > > > Vista, it doesn't work in Windows XP. > > > > The error happens when I try to declare a public OleDb object. Here > > > the source: > > > > >>Public DatabaseConnection As New OleDb.OleDbConnection > > > > The error only shows up, when I try to fill the ConnectionString. > > > > >>DatabaseConnection.ConnectionString = > > "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\AccessDatabase.mdb;Persist > > Security Info=False;" > > > > It works fine in Windows Vista, but not in Windows XP. > > > > But: > > > If I compile the application in Windows XP, then it works also with > > > it. No error shows up then. > > > > So my question is: How can this happen, and did anyone ever had this > > > problem? > > > > Thanks for your help. > > > > -- > > > pmw- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
