473,373 Members | 1,010 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,373 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 2769
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 going through enterprise manager. I am using...
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...
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....
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...
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...
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...
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"); ...
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...
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:...
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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$) { } ...
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...
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
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.