0

I have a MVC project created in visual studio 2012 all work fine with Debug, but then I publish it... I have an Error.

enter image description here

If I comment the Autentification the project work good and show all data from database. thank you a lot for help

Silvia Parfeni
  • 518
  • 1
  • 6
  • 17
  • 1
    I think this can Help you http://stackoverflow.com/questions/1391503/a-network-related-or-instance-specific-error-occurred-while-establishing-a-conne – Moraru Viorel Aug 06 '16 at 09:49

1 Answers1

1

If you are connecting from Windows Machine A to Windows Machine B (server with SQL Server installed) and are getting this error, you need to do the following:

On Machine B: ....

complet source: Why did a network-related or instance-specific error occur while establishing a connection to SQL Server?

Community
  • 1
  • 1
Moraru Viorel
  • 350
  • 1
  • 16