473,405 Members | 2,349 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,405 software developers and data experts.

Yet another login problem

SAL
Hello,
I'm a total asp.net newbie. I'm developing a web app and on my machine I
login to a sql server just fine using NT Authentication via the connection
string as:

Integrated Security=True

However, when I try to open the .aspx page from another machine I get the
"Login in failed for user NT Authority\Anonymous Logon

Can someone tell me why this is happening on my test machine but not on my
development machine? I'm logged in as myself on both machines and I have
access to the database as me.

Thanks for any help
Steve
Dec 13 '06 #1
3 1157
Hi,
I think your all queries will be answered in the following URL:
http://www.devhood.com/messages/mess...hread_id=72204

Thanks and Regards,
manish bafna

"SAL" wrote:
Hello,
I'm a total asp.net newbie. I'm developing a web app and on my machine I
login to a sql server just fine using NT Authentication via the connection
string as:

Integrated Security=True

However, when I try to open the .aspx page from another machine I get the
"Login in failed for user NT Authority\Anonymous Logon

Can someone tell me why this is happening on my test machine but not on my
development machine? I'm logged in as myself on both machines and I have
access to the database as me.

Thanks for any help
Steve
Dec 13 '06 #2
SAL
Thank you so much. Apparently, all I had to do was to add the
Trusted_Connection=True attribute to the connection string. I already had
the Integrated Security=True attribute but that wasn't enough evidently.
Unless something else has change between yesterday and this morning, that
was the trick.

S

"Manish Bafna" <Ma*********@discussions.microsoft.comwrote in message
news:83**********************************@microsof t.com...
Hi,
I think your all queries will be answered in the following URL:
http://www.devhood.com/messages/mess...hread_id=72204

Thanks and Regards,
manish bafna

"SAL" wrote:
>Hello,
I'm a total asp.net newbie. I'm developing a web app and on my machine I
login to a sql server just fine using NT Authentication via the
connection
string as:

Integrated Security=True

However, when I try to open the .aspx page from another machine I get the
"Login in failed for user NT Authority\Anonymous Logon

Can someone tell me why this is happening on my test machine but not on
my
development machine? I'm logged in as myself on both machines and I have
access to the database as me.

Thanks for any help
Steve

Dec 13 '06 #3
SAL
Alright, I take it back. It didn't work after all. I'm still getting the
same "Login in failed for user NT Authority\Anonymous Logon"
Error.

I'm trying some of the stuff in this link that you provided but haven't had
success yet. One question is, how to force a user login???

S

"Manish Bafna" <Ma*********@discussions.microsoft.comwrote in message
news:83**********************************@microsof t.com...
Hi,
I think your all queries will be answered in the following URL:
http://www.devhood.com/messages/mess...hread_id=72204

Thanks and Regards,
manish bafna

"SAL" wrote:
>Hello,
I'm a total asp.net newbie. I'm developing a web app and on my machine I
login to a sql server just fine using NT Authentication via the
connection
string as:

Integrated Security=True

However, when I try to open the .aspx page from another machine I get the
"Login in failed for user NT Authority\Anonymous Logon

Can someone tell me why this is happening on my test machine but not on
my
development machine? I'm logged in as myself on both machines and I have
access to the database as me.

Thanks for any help
Steve

Dec 14 '06 #4

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

Similar topics

4
by: Sniffer-Dog | last post by:
Hi I just wondered if anyone can spot anything wrong with the following? I have now added the session_start(); as the first command in the code to all the pages needing it. When I click on a...
5
by: Simon | last post by:
Hi, I have a Login.php page that logs the user in and out. I has two forms within the page, (depending on what we are trying to do), either one to log in or out. The form calls itself using a...
1
by: John Davis | last post by:
I put a little login (username and password textfields) in a web page, and once the user able to login, I want the username and password textfields will disappear, and replace with text " has...
0
by: Mike | last post by:
I can not figure out what is going on here. I hope somebody can please help!!! I've got an intranet ASP3 application running on a Win2k server. This application requires a login, so the user...
1
by: Wayne Smith | last post by:
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0 Operating System: Microsoft Windows 2000 Professional I am trying to protect a portion of a web site by allowing users to...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
2
by: Rujuta Gandhi | last post by:
Hi All, I am facing a very crucial problem. Im developing a web application using .net studio 2005(beta). I want my Login.aspx page to be secured(https) for encrypted login information...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: RN1 | last post by:
I am working on WinXP Pro SP3, .NET 2.0 & SQL Server 2005 (Windows Authentication). When I run a ASPX page that connects to SQL Server, the following error gets generated: Login failed for user...
10
by: DavidPr | last post by:
When I logout as one user and log in under a different user, it opens with the last user's information. User 1 - Unsername: Davey Jones User 2 - Unsername: David Smith I log out from Davey...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.