472,326 Members | 2,311 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

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?
Nov 19 '05 #1
1 2663
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.

Nov 19 '05 #2

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

Similar topics

by: Jono Price | last post by:
Hi, Does anyone here know whether it is possible to change the authentication method of a SQL server instance programmatically, rather than...
by: Ray5531 | last post by:
Hello, I'm calling a DTS package from my asp.net application.Apparently because of permission issue I canot run the package within the sql server...
by: Chucker | last post by:
Hi Community, I think I can store Binary Data in SQL Server but when I try to retrieve it, I always only get one byte. I think I stored my...
by: Ann Marinas | last post by:
Hi there, I am currently developing an ASP.NET program that connects to a SQL Server 2000 database. I also have SQL Server 2005 Express installed...
by: AlexDP | last post by:
My program has to access an SQL Server DB file that is in the same folder as the executable. i dont want to setup a server. i was able to do this on...
by: =?Utf-8?B?TWFjaHVnYQ==?= | last post by:
My web.config contains: <authorization> <deny users="?" /> </authorization> <authentication mode="Windows" /> <identity impersonate="true"...
by: kanepart2 | last post by:
I am making a simple program to use display SQL data using C# SqlConnection myConnection = new...
by: aj | last post by:
SQL Server 2005 MS JDBC driver 1.1 OK - I've gotten to the point where I understand specifying integratedSecurity=true; in the JDBC URL...
by: jeffstl | last post by:
After checking the box "Force Protocol Encryption" on SQL Server Network Utility there are several Crystal reports that begin to throw the following...
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.