473,387 Members | 1,476 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,387 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
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
1 2771
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
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 going through enterprise manager. I am using...
2
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 ,because when I set it to call a package from my...
2
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 Binary Data in SQL Server in a Colum of Type Image....
3
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 on the same local machine. Prior to...
4
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 my own computer, the program would access any...
7
by: =?Utf-8?B?TWFjaHVnYQ==?= | last post by:
My web.config contains: <authorization> <deny users="?" /> </authorization> <authentication mode="Windows" /> <identity impersonate="true" userName="" password="" /> My connection string...
4
by: kanepart2 | last post by:
I am making a simple program to use display SQL data using C# SqlConnection myConnection = new SqlConnection(@"Trusted_Connection=yes;database=*****database name*****;connection timeout=30"); ...
0
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 connection properties to establish a connection w/ SQL...
0
jeffstl
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 error when run Query Engine Error:...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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.