Click here to Skip to main content
14,668,490 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

SQL Server CE is not meant for Web applications, it doesn't support simultaneous access. Use SQL Server Express LocalDB instead.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100