Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows mobile prerequisites for application developed on VS2008 using .NETFRameWork3.5 & SQL Compact 3.5

Posted on 2012-12-24
14
Medium Priority
?
570 Views
Last Modified: 2013-12-27
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.armv4i.CAB
2.      2-sqlce.ppc.wce5.armv4i.CAB
3.      3-sqlce.repl.ppc.wce5.armv4i.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
0
Comment
Question by:RamzyNEbeid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
14 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 38718488
What is the path EXACTLY that is being used? (You can get that infor from debugging)

e.g Program files? I need to know EXACTLY
0
 

Author Comment

by:RamzyNEbeid
ID: 38718496
Program files\Application name \ database.sdf

N.B: this error is on the windows mobile.

thanks
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 38718506
Make sure you have two backslashes "\\Program Files\.."
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:RamzyNEbeid
ID: 38718511
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.armv4i.CAB
2.      2-sqlce.ppc.wce5.armv4i.CAB
3.      3-sqlce.repl.ppc.wce5.armv4i.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]
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 38718514
Ok. Did you try the solution before on a device?
0
 

Author Comment

by:RamzyNEbeid
ID: 38718525
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,
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 38718528
Did you change your connection string with the two backslashes?
0
 

Author Comment

by:RamzyNEbeid
ID: 38718535
no i didnt at all.
0
 

Author Comment

by:RamzyNEbeid
ID: 38720038
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?
0
 

Accepted Solution

by:
RamzyNEbeid earned 0 total points
ID: 38720971
i fix all my problems
now i want to know how can i put many CAB files in one CAB to be installed on windows mobile.

thnaks,
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 38721092
0
 

Author Comment

by:RamzyNEbeid
ID: 38777310
i still looking and didnt get it

please i need more help

thanks,
0
 
LVL 16

Expert Comment

by:hjgode
ID: 39626926
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently asked a question (http://www.experts-exchange.com/Programming/Smartphones/Android/Q_28684946.html) about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question