Last post May 21, 2012 07:32 PM by Sparkers
May 21, 2012 04:08 PM|hmelton67|LINK
When our website is deployed to the production server, I get a "Login Failed...untrusted domain" error when I try to log in using the log in form provided by visual studio. From the error logs I see that the website is trying to log in to the SQL server
AppNetServices database with the local administrator...of course, this won't work. I am very new to asp.net so I am not sure where the website is getting the hostname\administrator user from. The log on works on the development server but not the production
I have no idea what to check or what needs fixing. Any help would be greatly appreciated! Thanks in advance!
May 21, 2012 04:18 PM|Sparkers|LINK
Could you please check the connection string in the We.Config and also see the db settings.
May 21, 2012 04:49 PM|sukumarraju|LINK
Taken from the service where the app is hosted.
Add fully qualified/connectionString with username and password in Web.config for the ASPNETServices database.
Let me know further queries.
EDIT: Also refer
May 21, 2012 06:20 PM|hmelton67|LINK
I can't find the machine.config file. I am trying to use Windows authentication...should I use SQL authentication instead? My connectionstring is the following:
Datasource=SQL2;Inital Catalog=AppNetServices;Integrated Security=True
May 21, 2012 07:32 PM|Sparkers|LINK
Does your Production Server Use a DB called SQL2?
While Configuring teh Connection String try to use SQL Connection..