Click here to Skip to main content
15,888,142 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can i detect if a path is valid. Pin
picazo14-Aug-09 4:03
picazo14-Aug-09 4:03 
AnswerRe: How can i detect if a path is valid. Pin
Luc Pattyn14-Aug-09 4:08
sitebuilderLuc Pattyn14-Aug-09 4:08 
GeneralRe: How can i detect if a path is valid. Pin
Saksida Bojan14-Aug-09 5:05
Saksida Bojan14-Aug-09 5:05 
QuestionC# and JavaScript. [modified] Pin
Evgeni5714-Aug-09 3:34
Evgeni5714-Aug-09 3:34 
AnswerRe: C# and JavaScript. Pin
Evgeni5717-Aug-09 1:41
Evgeni5717-Aug-09 1:41 
QuestionLogging Pin
Saksida Bojan14-Aug-09 3:02
Saksida Bojan14-Aug-09 3:02 
AnswerRe: Logging Pin
0x3c014-Aug-09 3:20
0x3c014-Aug-09 3:20 
QuestionAccess OleDb on x64 Pin
V.14-Aug-09 2:43
professionalV.14-Aug-09 2:43 
all,

I had an application that could access an mdb file via OleDb (Provider=Microsoft.Jet.OLEDB.4.0).
I received a new machine now, which is an x64 and it stopped working. It only works if I open up the solution and press F5 (doesn't matter if it is release or debug). So I did some searching and changed the provider (Provider=Microsoft.ACE.OLEDB.12.0) which works the same as above and also used a target x86 platform to build the application (I read x64 wasn't supported). Same behaviour. double clicking the exe fails to open the database, pressing F5 works without problems.

Here's the error:
Error: Could not connect to database: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\vmalisse\Desktop\astrid_v21_result.mdb;User Id=admin;Password=;.<br />
error: The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.


Can anyone point me to the problem? I'm not quite sure what exactly is wrong.

thanks.

V.

Stop smoking so you can: Enjoy longer the money you save.
Moviereview Archive

AnswerRe: Access OleDb on x64 Pin
Hristo-Bojilov14-Aug-09 22:20
Hristo-Bojilov14-Aug-09 22:20 
GeneralRe: Access OleDb on x64 Pin
V.17-Aug-09 23:43
professionalV.17-Aug-09 23:43 
Questionlog4net doesn't log in myProcess.OutputDataReceived Pin
buchstaben14-Aug-09 1:53
buchstaben14-Aug-09 1:53 
QuestionSqlDataReader-Ouput Parameter And SqlConnection Pin
Nagaraj Muthuchamy14-Aug-09 1:12
professionalNagaraj Muthuchamy14-Aug-09 1:12 
AnswerRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Ashfield14-Aug-09 1:17
Ashfield14-Aug-09 1:17 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Nagaraj Muthuchamy14-Aug-09 1:25
professionalNagaraj Muthuchamy14-Aug-09 1:25 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Coding C#14-Aug-09 1:29
Coding C#14-Aug-09 1:29 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Ashfield14-Aug-09 2:57
Ashfield14-Aug-09 2:57 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Pete O'Hanlon14-Aug-09 3:01
mvePete O'Hanlon14-Aug-09 3:01 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Ashfield14-Aug-09 5:05
Ashfield14-Aug-09 5:05 
QuestionDisabling a button on one form from another. Pin
False Chicken14-Aug-09 0:28
False Chicken14-Aug-09 0:28 
AnswerRe: Disabling a button on one form from another. Pin
DaveyM6914-Aug-09 0:53
professionalDaveyM6914-Aug-09 0:53 
AnswerRe: Disabling a button on one form from another. Pin
DaveyM6914-Aug-09 1:00
professionalDaveyM6914-Aug-09 1:00 
GeneralRe: Disabling a button on one form from another. Pin
False Chicken14-Aug-09 1:06
False Chicken14-Aug-09 1:06 
AnswerRe: Disabling a button on one form from another. Pin
Hristo-Bojilov14-Aug-09 1:08
Hristo-Bojilov14-Aug-09 1:08 
GeneralRe: Disabling a button on one form from another. Pin
False Chicken14-Aug-09 1:15
False Chicken14-Aug-09 1:15 
GeneralRe: Disabling a button on one form from another. Pin
DaveyM6914-Aug-09 1:39
professionalDaveyM6914-Aug-09 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.