Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have built a mvc 5 application with Sql Server CE 4.0 as my back end. This is a live application. Now i'd like to deploy this application to my customers computer having windows 7. I tried many times in my own development computer to deploy to local IIS, but its not working. Am having many problems

1. During publishing , am unable to select the Compact edition database. it shows Database not selected.

2. I tried to deploy with out DB, when browsing only directories are listed . Am unable to view login page.

I need help . If any one can guide my how to deploy.
Posted
Updated 18-Feb-15 1:38am
v3

SQL Server CE is not meant for Web applications, it doesn't support simultaneous access. Use SQL Server Express LocalDB instead.
 
Share this answer
 
I solved it my self.Just published the application via File System and added the needed dll for SQL Server CE 4.0. Now its working fine.
 
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