Question : SqlCeConnection

I have used the below Code  and tried to connect the database using Sqlceconnection Class. after deploying in the device It is throwing exception in the Connection.open()statement  as "Unspecified Error".


Please provide the solution. Thanks in advance
Code Snippet:
1:
2:
3:
4:
Dim oConnection as SqlceConnection
   pConnectionString = "Data Source= " + GetAppPath() + "\MOBIHUB.sdf;"
            oConnection = New SqlCeConnection(pConnectionString)
            oConnection.Open()
Open in New Window Select All

Answer : SqlCeConnection

What SQL CE version are you running? try updating it on using the latest one.

Random Solutions  
 
programming4us programming4us