I build an ASP.NET website on Visual Studio Community 2013, Using SQL Server database in C#.
I want To host it in Microsoft Azure. I sign in Microsoft Azure and publish my site on it.
When I try to select row from my database I get that error:
Exception Details: System.ComponentModel.Win32Exception: The system cannot find the file specified [Win32Exception (0x80004005): The system cannot find the file specified] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server.
My connectionString is:
string connStr = @"Data Source=(LocalDB)\v11.0;AttachDBFilename=""C:\Users\MyComp\Documents\Visual Studio 2013\Projects\Test\Test\App_Data\MyDB.mdf"";Integrated Security=True";
My Database have windows authentication
What and how I need to change to make this reading from db work?