PC Review


Reply
Thread Tools Rate Thread

connection problem (using SQLCE)

 
 
Grisha0
Guest
Posts: n/a
 
      9th Feb 2005
Hi,
i'm trying to connect to a datbase across my LAN.
i'm using a standard connetion string... although i got error..
sorry for my english..
best regards
grisha

Code:
System.Data.SqlServerCe.SqlCeConnection polaczenie = new
System.Data.SqlServerCe.SqlCeConnection();
polaczenie.ConnectionString= "Data Source=192.168.0.200,1433;Network
Library=DBMSSOCN;Initial Catalog=GRP;User ID=bla;Password=bla;";
[error]
An unhandled exception of type 'System.ArgumentException' occurred in
System.Data.SqlServerCe.dll

Additional information: Unknown connection option in connection string:
network library.
[/error]
 
Reply With Quote
 
 
 
 
Dan Bass
Guest
Posts: n/a
 
      9th Feb 2005
"Network Library" is not valid in the connection string...

see this:
http://msdn.microsoft.com/library/de...pushtopic2.asp
[beware of line wraps]

"Grisha0" <(E-Mail Removed)> wrote in message
news:cucvgg$478$(E-Mail Removed)...
> Hi,
> i'm trying to connect to a datbase across my LAN.
> i'm using a standard connetion string... although i got error..
> sorry for my english..
> best regards
> grisha
>
>
Code:
> System.Data.SqlServerCe.SqlCeConnection polaczenie = new
> System.Data.SqlServerCe.SqlCeConnection();
> polaczenie.ConnectionString= "Data Source=192.168.0.200,1433;Network
> Library=DBMSSOCN;Initial Catalog=GRP;User ID=bla;Password=bla;";
>
>
> [error]
> An unhandled exception of type 'System.ArgumentException' occurred in
> System.Data.SqlServerCe.dll
>
> Additional information: Unknown connection option in connection string:
> network library.
> [/error]



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie SQlCe Connection question Bob Clegg Microsoft Dot NET Compact Framework 2 16th Aug 2004 09:50 PM
SQLCE Problem on Create TABLE Enver A Microsoft Dot NET Compact Framework 3 18th Jun 2004 09:22 AM
RE: SQLCE Problem on Create Table Enver A Microsoft Dot NET Framework 0 16th Jun 2004 11:45 AM
RE: SQLCE Problem on Create Table Enver A Microsoft ADO .NET 0 16th Jun 2004 11:45 AM
SQLCE Problem on Create Table Enver A Microsoft ADO .NET 3 15th Jun 2004 07:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:18 PM.