JonMny
asked on
SQL CE in VB.Net Error!
I am trying to create an application for a Pocket pc using vb.net. When I deploy the application to the emulator I get the error
Unknown connection option in connection string provider
THis is the code
Dim LocalConnection As String = "Provider=Microsoft.SQLSER
Dim dbConn As New SqlCeConnection(LocalConne
I have sql server developer editoin installed as well as SQL server CE 2.0
http://www.codeproject.com/netcf/PocketPCwithSQLCE.asp
I use something like this
strProgramPath = "\Storage Card\kbb"
strLocalDatabaseFile = strProgramPath & "\KBBdb.sdf"
strLocalConnString = "Data Source=" & strLocalDatabaseFile
' Create SQL Server CE connection object.
'
cn = New SqlCeConnection(strLocalCo nnString)
strProgramPath = "\Storage Card\kbb"
strLocalDatabaseFile = strProgramPath & "\KBBdb.sdf"
strLocalConnString = "Data Source=" & strLocalDatabaseFile
' Create SQL Server CE connection object.
'
cn = New SqlCeConnection(strLocalCo
Try removing provider option
ASKER
none of these options work, I cannot leave out the provider it just gives me an error, the link used the exact same provider string that I did.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
please give me a refund