Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
myConnection = new SqlCeConnection("Data Source=ExampleDB.sdf")

error : Can't find PInvoke DLL 'sqlceme35.dll'.
Posted
Updated 29-May-11 0:57am
v2

The error message is clear that the system unable to find a dll, try reinstalling the pack!

http://goo.gl/AKgzg[^]

Vallarasu S.
 
Share this answer
 
Comments
thatraja 29-May-11 10:32am    
Spot on, 5!
Prasanta_Prince 29-May-11 12:33pm    
my 5.
If you want to connect the Local Database and Windows Authentication then as i shown below
myconnection=new SqlConnection("Data Source='SqlServername';Database='Databasename';Integrated Security=True");


If u connect with the server database and with SQL Server Authentication

Data Source='IPADDRESS';Database='DATABASE NAME';User='USERNAME';password='PASSWORD'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900