Click here to Skip to main content
16,012,082 members

Comments by nummer31 (Top 5 by date)

nummer31 9-Nov-11 11:34am View    
the .sdf database is already added to my project
as i created it inside the Visual Studio
When using Setup project method there's only a .exe and .msi file produced
if i just right click on my project and Publish it
there are other files produced and as well as the .sdf database is there
but still the same problem; program cannot locate the database
here's a screen shot of solution explorer and the installer produced: http://www.mypicx.com/11092011/sqlce/
nummer31 9-Nov-11 8:36am View    
Yes, that matter is solved now.
I tried to create installer first by 'Publishing' it
and then by creating a Setup project for deployment
in both cases, i get the error that "The database cannot be found."
and neither can i locate the database file in the setup directory
where did i go wrong now ?
nummer31 8-Nov-11 17:22pm View    
i did exactly what u told me to
then i Published my application and installed it
but the database was not included in the published directory
when there needs to be a connection made to the database from the application
i get an error: 'Unable to load DLL "Sqlceme35.dll" '
Please suggest on this matter
nummer31 5-Nov-11 14:00pm View    
Nice! Nice!
Thank you very much sir
I'll give it a try
Even though your solution answers my question
I'll keep the question open
In case, I need to reach you for further questions
I hope that's okay
nummer31 5-Nov-11 13:17pm View    
Thank you sir for your reply
this is the first lead I got in days
So, i create the database in SQL Server normally but make the connection using SqlCEConnection ?
In that case, can I use Visual Studio's Setup and Deployment feature for creating the Installer ?