Something happened and I do not know what or how. It's been working but after a recent change and after Publishing, I get this error,
Server Error in '/' Application.
Connection string "StarterSite" was not found.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Connection string "StarterSite" was not found.
Source Error:
Line 1: @{Line 2: WebSecurity.InitializeDatabaseConnection("StarterSite", "UserProfile", "UserId", "Email", true); Line 3: // WebMail.SmtpServer = "mailserver.example.com"; Line 4: // WebMail.EnableSsl = true; |
Source File: c:\HostingSpaces\apokonco\apokon.com\wwwroot\_AppStart.cshtml Line:2