Hello,
I've seen some similar threads on here but no resolution. I have an app written with VB Express 2008 which uses SQL Compact Edition 3.5, the DB that comes shipped with VB Express 2008.
When I publish, I can run the app on my machine (development machine).
When I try and install on another machine, it is giving this error:
Note that this path: E:/Development Projects/Application 1/DB_App1.sdf
...is specific to my machine (development machine) but the error is popping up when trying to install on another machine. Obviously the other machine doesn't have the same directory structure as mine.
I would think ClickOnce would be smart enough to use a relative path when accessing the .sdf file. Or I am not smart enough to tell it how
Sometimes the simplest things are the most difficult!
What am I missing? How can I make my app deployable to any other machine?
I'm aware of the .NET Framework and SQL CE pre-requisites, don't think those are the issues, both are included in the install. The issue seems to be related to the literal path to the .sdf DB file not being found on other target machines.
I know ClickOnce uses a target directory deeply nested underneath Documents and Settings to house all of the application components. I checked and the .sdf file is there. But when my app runs it is still using my local machine path, E:/Development Projects/Application 1/DB_App1.sdf.
Any ideas?

Thanks,
Scott
I've seen some similar threads on here but no resolution. I have an app written with VB Express 2008 which uses SQL Compact Edition 3.5, the DB that comes shipped with VB Express 2008.
When I publish, I can run the app on my machine (development machine).
When I try and install on another machine, it is giving this error:
VB.NET:
object: sql sever compact ADO.NET Data Provider
Method: Void ProcessResults(Int32)
Error: OS Error: The OS storage system (ram, cf, sd or ipsm) is not responding. Retry the operation.
(E:/Development Projects/Application 1/DB_App1.sdf)"
Note that this path: E:/Development Projects/Application 1/DB_App1.sdf
...is specific to my machine (development machine) but the error is popping up when trying to install on another machine. Obviously the other machine doesn't have the same directory structure as mine.
I would think ClickOnce would be smart enough to use a relative path when accessing the .sdf file. Or I am not smart enough to tell it how
What am I missing? How can I make my app deployable to any other machine?
I'm aware of the .NET Framework and SQL CE pre-requisites, don't think those are the issues, both are included in the install. The issue seems to be related to the literal path to the .sdf DB file not being found on other target machines.
I know ClickOnce uses a target directory deeply nested underneath Documents and Settings to house all of the application components. I checked and the .sdf file is there. But when my app runs it is still using my local machine path, E:/Development Projects/Application 1/DB_App1.sdf.
Any ideas?
Thanks,
Scott