473,385 Members | 1,848 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,385 software developers and data experts.

Client to IIS to SQL Server

I am completely stumped and hopefully someone will be able to give me
some guidance.

Here's our problem:
We are getting an 'NT AUTHORITY\ANONYMOUS LOGON' error randomly when
accessing our database from an asp.net web page. I know that's a vague
description, but it's as good as I can get. We clear the error by
logging off and on the client machine. Here's some of the details of
our setup.

IIS 5.0 Windows 2000 Server (stand alone machine)
SQL Server 2000 SP 4 on a W2K machine (stand alone machine - separate
from IIS)
Client is running XP SP 2.

For the most part everything works fine, but every once in awhile (once
or twice a week), the page throws this error. We have a page that shows
the username on IIS by doing a System.Environment.UserName and it shows
the authenticated user (not anonymous). Our web.config uses
impersonation=true. Now, I am still trying to understand the difference
between System.Environment.UserName and
HttpContext.Current.User.Identity.Name, but that's a different story.
Can anyone help me out? Any would be greatly appreciated.

Dec 4 '06 #1
1 959

Uzytkownik "czuvich" <cz*****@gmail.com>
news:11**********************@j72g2000cwa.googlegr oups.com...
>I am completely stumped and hopefully someone will be able to give me
some guidance.

Here's our problem:
We are getting an 'NT AUTHORITY\ANONYMOUS LOGON' error randomly when
accessing our database from an asp.net web page. I know that's a vague
description, but it's as good as I can get. We clear the error by
logging off and on the client machine. Here's some of the details of
our setup.
the authenticated user (not anonymous). Our web.config uses
impersonation=true. Now, I am still trying to understand the difference
between System.Environment.UserName and
Once I had problem with this error. The reason was:
1. Workstation wasn't in domain
2. Windows has problem with SPN when and it throws this error.

Regards
Jacek
Dec 5 '06 #2

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

Similar topics

5
by: Matt | last post by:
I think this is the basic concept in ASP server-side development. My boss told me web application is NOT client-server application. I argued with him because browser is the client, and the server...
2
by: Microsoft | last post by:
I'm about to start converting my application from a old-style monolith exe (with flat files and limited database support for sharing some of the data) to a layered .NET SQL server version. I have...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
0
by: Harley | last post by:
Hello, I am just learning the tcp/ip functions etc under vb.net so please look over me if this is obviouse. I have been all over looking into any functions that I didn't totaly understand and...
4
by: rs | last post by:
how I the client tell the server that the socket is closed? or this there an even that informs the server that the clients socket is close? Oh, I am using vb.net 2003 Thanks
10
by: Ben | last post by:
Hi, I made an application in classic asp (reservation of books and video stuffs for students) and want to migrate to asp.net. The user has to chose a date, then pushung on a submit button. The...
2
by: Frank Swarbrick | last post by:
I am trying to understand "client authentication" works. My environment is DB2/UDB LUW 8.2 on zSeries SLES9 as the database server and DB2 for VSE 7.4 as the client. We currently have DB2/LUW set...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.