ASP.NET connection string problem
Posted on 2015-01-27
Using Visual Studio 2013, I created a local database to handle memberships and roles. When I try to login on the desktop version, everything works fine. When I tried to login on the server version of the website, I got an error message. Another expert said I need to get rid of the LocalDB connection string, and replace it with something like this:
<add name="DefaultConnection" connectionString="Server=126.96.36.199,1533;Database=aspnet-WillowLane1-f59c4ece-32dd-40f4-9451-1620648a0486.mdf;Uid=xxxxxx;Password=xxxxxx;"
I don't get the error anymore, but my logins always fail. When I created the database, I was never asked for a username and password. What should I be using?