Saqlain Nawaz
Saqlain Nawaz

Reputation: 7

Deploy a project that includes entity framework and sql server 2014

I have Visual Studio 2015, and I am trying to create an installation package for a product of mine for selling purpose.

I have tried Installshield Limited Edition for Visual Studio but with that, the installer can't access the database on my client's computer. i have installed sql server 2014 on client's computer and attatched the database file to it but i am faced with the following error

enter image description here

I am not sure how to add the Entity Framework library and SQL Server database as they are not picked up or accessed automatically.

Upvotes: 0

Views: 192

Answers (1)

Camilo Terevinto
Camilo Terevinto

Reputation: 32068

From the error message you can clearly see:

.... Login failed for user 'SAWLAIN-PC...'

Your problem is a hard-coded connection string.

Upvotes: 1

Related Questions