473,386 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

a real challange: Login Failed for user 'NT Authority\Anonymous LOGON'

Hello experts,

Im looking for a true expert to solve this.

I have a web application which displays a simple select from a table.

I have set impersination to true in the web config
I have Integrated Security = SSPI in my connection string
I have set authentication mode= windows
I have set my IIS to use Windows Authentication

I can run the application and when it comes up it shows half the text,
but once its gets to the data grid (where the SQL connection occurs),
it gives me the
Login Failed for user 'NT Authority\Anonymous LOGON' error.

Im trying to let any user with proper windows authentication to run the
application. This will be for a compnay wide web form that will let
users see a data table from SQL.

I have looked online for countless hours. I have found no solutions.

It seems the applcation gets proper authentication but it cant send it
to the SSPI connection string. Meaning the application gets the proper
authentication, but it doesnt send it to SQL.

Any idea people?

regards,

Stas K.

Jul 5 '06 #1
2 1304
BTW,

The Application is on a seperate machine than the SQL server.

regards,
Stas K.

Jul 5 '06 #2
On your IIS, you should not allow "anonymous access" by going to ->IIS
manager->your web app->right-click->select "Properties..."->select
"Directory Security" tab->click "Edit..." button->uncheck "Enable anonymous
access".
"Sorcerdon" <so*******@gmail.comwrote in message
news:11*********************@v61g2000cwv.googlegro ups.com...
Hello experts,

Im looking for a true expert to solve this.

I have a web application which displays a simple select from a table.

I have set impersination to true in the web config
I have Integrated Security = SSPI in my connection string
I have set authentication mode= windows
I have set my IIS to use Windows Authentication

I can run the application and when it comes up it shows half the text,
but once its gets to the data grid (where the SQL connection occurs),
it gives me the
Login Failed for user 'NT Authority\Anonymous LOGON' error.

Im trying to let any user with proper windows authentication to run the
application. This will be for a compnay wide web form that will let
users see a data table from SQL.

I have looked online for countless hours. I have found no solutions.

It seems the applcation gets proper authentication but it cant send it
to the SSPI connection string. Meaning the application gets the proper
authentication, but it doesnt send it to SQL.

Any idea people?

regards,

Stas K.

Jul 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Maellic | last post by:
Hi, The website I am working on is built with ASP.NET and connects to a SQL Server 2000 database. The web server and database are on the same machine. I have recently tried to modify the timeout...
10
by: et | last post by:
I have an asp.net program that uses a connection string, using integrated security to connect to a sql database. It runs fine on one server, but the other server gives me the error that "Login...
3
by: gderosa | last post by:
I have been getting that dreaded error in my application: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. I have had my application in the test environment, impersonating it using a...
4
by: eruth | last post by:
There are loads of post on this, but nothing that seems to cover my exact problem ;) I have an ASP.Net 1.1 web application running on my local machine. I want to connect to an SQL 2005 server...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.