On Wed, Apr 24, 2013 at 3:15 PM, LimTim <[email protected]> wrote:

> I am developing a website.
>
> I want to use widows credential to log onto SQL server for connection
> strings
> So I have added code
>
>
> When I run Webpage i get error
>
>
>
> System.Data.SqlClient.SqlException: Login failed for user 'NT 
> AUTHORITY\ANONYMOUS LOGON'
>
>
>
> --------------
>
>
You need to define a USER in SQL Server because NT Authority, the "user"
that is currently designated as your web site on the server has no rights
on the server.

Now take that connection string in you .Config and tweak it to present the
new user you just defined.

HTH

-- 
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell

-- 
-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

--- 
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to