Tony
Tony

Reputation: 53

How to deploy ASP.NET MVC4 application with SQL Server CE to Azure website

I deployed a ASP.NET MVC4 app with SQL Server CE database, but I'm getting

Sorry, an error occurred while processing your request

I am using VS2012 to publish this app to azure website. How can I solve this issue? Thanks.

Upvotes: 2

Views: 2733

Answers (2)

Csaba Toth
Csaba Toth

Reputation: 10697

Here is a good article to follow on the subject: http://www.dotnetcurry.com/showarticle.aspx?ID=883 Unfortunately with VS 2013 Compact edition is not supported any more, so things are somewhat tricky.

Upvotes: 1

cory-fowler
cory-fowler

Reputation: 4088

To summarize and so an answer can get marked on this to help the next person that comes by.

When running into issues on FTP is a handy debugging tool which enables you to:

  • Verify that the dll exists in your bin directory
    • Sometimes the .gitignore file blocks directories from being checked in
  • Verify that your web.config file has the proper version of the assembly configured
    • NuGet can help, but it's ultimately up to you to verify your dependencies

Upvotes: 2

Related Questions