Tarl, thanks for the immediate answer, but it doesn't matter. If I change the string to something like: "Provider=MSDAOSQL.1;Password=dba;Persist Security Info=True;User ID=dba;Data Source=TST";
the same error occurs :-( so, how to proceed ? ....GERD.... ----- Original Message ----- From: "Tarl Carpenter" <[EMAIL PROTECTED]> To: "Gerd K�nig" <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 8:44 PM Subject: Re: open connection to sapdb with C# (.NET Beta 2) > I may just be nuts but don't you have to make a call to msda_o_sql? for the > provider becasue you are using a DAO connection? > ----- Original Message ----- > From: "Gerd K�nig" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 29, 2002 12:22 PM > Subject: open connection to sapdb with C# (.NET Beta 2) > > > > Hi to all, > > > > I have some problems to open a connection to sapdb with C# in .Net Beta2 > > (German Version). > > My code looks like: > > > > string strAccessConn = "Provider=MSDASQL.1;Password=dba;Persist Security > > Info=True;User ID=dba;Data Source=TST;Extended > > Properties=\"DSN=TST;UID=dba;PWD=dba;SERVERDB=TST;SERVERNODE=ginfizz;\""; > > > > //or: string strAccessConn="Provider=MSDASQL.1;Password=dba;Persist > Security > > Info=True;User ID=dba;Data Source=TST"; > > > > OdbcConnection myAccessConn = new OdbcConnection(strAccessConn); > > > > myAccessConn.Open(); > > > > > > > > The error occurs in the line "myAccessConn.Open()". The error-message is: > > "Eine nicht behandelte Ausnahme des Typs 'System.Data.Odbc.OdbcException' > > ist in system.data.odbc.dll aufgetreten > > Zus�tzliche Informationen: Systemfehler." > > > > The database is installed on my local computer, independant from the > > connect-strings mentioned above. > > I've also installed ODBC.Net which provides me with the OdbcConnection > > functionality. > > > > So, how to solve the problem, any ideas ? or, the much better way, can > > someone provide me with a sample program which demonstrates working with > > SapDB and C# ? > > > > > > thanks in advance ..................... GERD ................ > > > > > > > > > > > > > > > > > > _______________________________________________ > > sapdb.general mailing list > > [EMAIL PROTECTED] > > http://listserv.sap.com/mailman/listinfo/sapdb.general > > > > > > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
