• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 963
  • Last Modified:

Connect to SQL Server 2008 via integrated security from iis 5.1

I'm trying to connect to SQL Server 2008 via integrated security from IIS 5.1 and get the following error:

Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

How do I change the account the application is using to a domain account?  (SQL account is not an option)  Here is my connection string:  connectionString="Data Source=databasename;Initial Catalog=database;Integrated Security=True"

Thanks
0
FIM2003
Asked:
FIM2003
  • 4
  • 2
1 Solution
 
tigin44Commented:
if you want to use an account from a different domain with windows authentication there should be a trust relation between the domains. once the trust defined then you can use integrated security for the other domain users otherwise the windows authentication will fail as in your case. by the way the domain trusts can be defined by the domain admins and there alse should be a decision to do this...
0
 
FIM2003Author Commented:
both the SQL Server and IIS server is in the same domain.  I think I'm just needing to know how to change the IIS user from the local user account.
0
 
Julian HansenCommented:
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
FIM2003Author Commented:
No, didn't help.  Getting the same error message.
0
 
Julian HansenCommented:
Any reason this is still IIS5.1 - can't be on an OS still supported by Microsoft?
0
 
FIM2003Author Commented:
Upgraded machine to Windows 7 and IIS 6.1
0
 
FIM2003Author Commented:
Upgrades OS, didn't find a solution to the original issue.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now