467,858 Members | 1,612 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,858 developers. It's quick & easy.

using forms or windows authentication for Login in MSSql Server(integratedsecurity)

Hi ng,
i have an Asp.net webapplication on a remote Windows Server 2003.
I created on the remote server a windows account and i use the "only
windows authentification" in sql server 2000.

The name and passwort for the windows account are the same like the
credentials in asp.net.

The user can login with his name and password in login.aspx. (normally
forms authentication)
The user will redirect to his own site which gets datas from the sql
server. But the sql server doesnt sent datas because of the
authentification.

the sql server doesnt accept the credentials from asp.net.

How do i get this, to use the "integrated windows security" in sql
server with the the credentials from asp.net.

It is also possible for me to change the forms authentication to windows
authentication, i tried this and it doesnt works too.

any idea?
thx
Nov 19 '05 #1
  • viewed: 2473
Share:
1 Reply
If you want to use integrate authentication then you usually should not log
in the web page using Forms authentication but instead windows
authentication. This way the credentials could be propagated. Also make
sure the windows user you're talking about have a login created in SQL
Server mapped to his windows account.

http://aspnet.4guysfromrolla.com/articles/031204-1.aspx
Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ann Marinas | last post: by
4 posts views Thread by AlexDP | last post: by
7 posts views Thread by =?Utf-8?B?TWFjaHVnYQ==?= | last post: by
4 posts views Thread by kanepart2 | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.