简体   繁体   中英

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

在此处输入图片说明

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

From the error message you can clearly see:

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

Your problem is a hard-coded connection string.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM