RamzyNEbeid
asked on
Windows mobile prerequisites for application developed on VS2008 using .NETFRameWork3.5 & SQL Compact 3.5
Dear all
I did create my new windows mobile application using VS2008 and C#, .NETFRameWork3.5 & SQL Compact 3.5.
I when I try to test my application on windows mobile device I deploy the application from inside VS2008, everything is working very good.
But now I want to install this application on 340 devices.
The problem is I don’t know what are the required prerequisites to be installed on the device before installing my application?
Please note that our devices is Motorola MC70 & MC75 with operating system WM5 & WM6.5
I did small homework by installing the following:
1. 1-sqlce.dev.ENU.ppc.wce5.a rmv4i.CAB
2. 2-sqlce.ppc.wce5.armv4i.CA B
3. 3-sqlce.repl.ppc.wce5.armv 4i.CAB
4. 4-NETCFv35.wm.armv4i.cab
5. 5-NETCFv35.Messages.EN.wm. cab
6. Install my application.
But when I try to access the SDF database I have this error:
Access to the database file is not allowed.
[File name = Path\SDFName.sdf]
Please advise?
Thanks
I did create my new windows mobile application using VS2008 and C#, .NETFRameWork3.5 & SQL Compact 3.5.
I when I try to test my application on windows mobile device I deploy the application from inside VS2008, everything is working very good.
But now I want to install this application on 340 devices.
The problem is I don’t know what are the required prerequisites to be installed on the device before installing my application?
Please note that our devices is Motorola MC70 & MC75 with operating system WM5 & WM6.5
I did small homework by installing the following:
1. 1-sqlce.dev.ENU.ppc.wce5.a
2. 2-sqlce.ppc.wce5.armv4i.CA
3. 3-sqlce.repl.ppc.wce5.armv
4. 4-NETCFv35.wm.armv4i.cab
5. 5-NETCFv35.Messages.EN.wm.
6. Install my application.
But when I try to access the SDF database I have this error:
Access to the database file is not allowed.
[File name = Path\SDFName.sdf]
Please advise?
Thanks
ASKER
Program files\Application name \ database.sdf
N.B: this error is on the windows mobile.
thanks
N.B: this error is on the windows mobile.
thanks
Make sure you have two backslashes "\\Program Files\.."
ASKER
it is working i have no problem if i make deploy from within the VS2008.
but if i make these steps then i get this error:
1. 1-sqlce.dev.ENU.ppc.wce5.a rmv4i.CAB
2. 2-sqlce.ppc.wce5.armv4i.CA B
3. 3-sqlce.repl.ppc.wce5.armv 4i.CAB
4. 4-NETCFv35.wm.armv4i.cab
5. 5-NETCFv35.Messages.EN.wm. cab
6. Install my application.
Access to the database file is not allowed. [File name = Path\SDFName.sdf]
but if i make these steps then i get this error:
1. 1-sqlce.dev.ENU.ppc.wce5.a
2. 2-sqlce.ppc.wce5.armv4i.CA
3. 3-sqlce.repl.ppc.wce5.armv
4. 4-NETCFv35.wm.armv4i.cab
5. 5-NETCFv35.Messages.EN.wm.
6. Install my application.
Access to the database file is not allowed. [File name = Path\SDFName.sdf]
Ok. Did you try the solution before on a device?
ASKER
on the same device i use deploy from VS2008 and it works very good.
i then go back and uninstall all the CAB files that were installed during the deploy then i install them by my self and i face this error.
if then i use the deploy again then from VS2008 and it works very good.
thanks,
i then go back and uninstall all the CAB files that were installed during the deploy then i install them by my self and i face this error.
if then i use the deploy again then from VS2008 and it works very good.
thanks,
Did you change your connection string with the two backslashes?
ASKER
no i didnt at all.
ASKER
dear all
i noticed the problem which is when the SDF copied on the windows mobile it is copied as "Read Only"
if i remove this check box then everything is working fine.
how can i fix this problem when installing the CAB file?
i noticed the problem which is when the SDF copied on the windows mobile it is copied as "Read Only"
if i remove this check box then everything is working fine.
how can i fix this problem when installing the CAB file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i still looking and didnt get it
please i need more help
thanks,
please i need more help
thanks,
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
e.g Program files? I need to know EXACTLY