SQL CE, can't get MVC 4 app to work with it

Discussion in 'General troubleshooting' started by shepov, Feb 14, 2013.

  1. I was trying to deploy simple MVC demo app to my account. I tried 300 thing and nothing seem to work. my site is shepov.com/exercise, that is the app, and I can't get it to work no matter what I do. I used nuget to get all of the dependencies but I guess it is not enough, or the version is wrong or some ddl, or something isn't wright.

    All I wanted to ask, does anyone have an app sample with MVC 4.x and SQL compact?

    PLEASE!!!
     
  2. Open up your web.config file and see if your SQL CE connection string is correct, it needs to point to the SDF file in your App_Data directory and not |Data Source|.
     

Share This Page