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
FIM2003Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FIM2003Author Commented:
Upgrades OS, didn't find a solution to the original issue.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.