472,986 Members | 2,983 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Connection string - Trusted_Connection=Yes

My asp application works well when i set up a default user for the asp
application.

i wish to integrate user with SQL server by using "Trusted_Connection=Yes"

it works well within the domain workstations (within LAN)

however some workstations (workgroup) are out of the domain, such as remote
workstations by VPN.

i try to add domain login details at those remote workstations but still
fails.

how can i do? Thanks.

tony
Sep 13 '07 #1
2 5181
tony wong wrote:
My asp application works well when i set up a default user for the asp
application.

i wish to integrate user with SQL server by using
"Trusted_Connection=Yes"

it works well within the domain workstations (within LAN)

however some workstations (workgroup) are out of the domain, such as
remote workstations by VPN.

i try to add domain login details at those remote workstations but
still fails.

how can i do? Thanks.
AFAIK, it cannot be done. Trusted credentials have to come from within
the domain
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Sep 13 '07 #2
"tony wong" <x3*@netvigator.comwrote in message
news:uY**************@TK2MSFTNGP05.phx.gbl...
My asp application works well when i set up a default user for the asp
application.

i wish to integrate user with SQL server by using "Trusted_Connection=Yes"

it works well within the domain workstations (within LAN)

however some workstations (workgroup) are out of the domain, such as
remote
workstations by VPN.

i try to add domain login details at those remote workstations but still
fails.

how can i do? Thanks.
I'm not sure that I see the problem. If you want connections to the SQL
server to use the user credentials you would have turned off anonymous
access and turned on Windows integrated access.

The out of domain workstations should popup a domain logon dialog when an
attempt is made to access these pages.

--
Anthony Jones - MVP ASP/ASP.NET
Sep 14 '07 #3

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

Similar topics

8
by: ZRexRider | last post by:
Hi, I have an application that uses MS-SQL Linked tables. I have a utility routine that drops all links and re-establishes them. It works great when my connection string is a DSN connection...
10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
1
by: Jennifer | last post by:
I've inherited a C# program that inserts some records from a text file into a table. Everything worked fine until I was asked to change the server and database that the tables are on. Now I am...
3
by: Maellic | last post by:
Hi, The website I am working on is built with ASP.NET and connects to a SQL Server 2000 database. The web server and database are on the same machine. I have recently tried to modify the timeout...
5
by: Mythran | last post by:
I have a test server and a development machine. I have SQL Server installed on both, the installations are pretty much identical. Both servers are in the same domain. When I run my application...
4
by: Avon | last post by:
Hi there, I am very sorry for my not perfect English. I've got very simple question. Is it possible to have stored procedure with 2 result tables and then from my application to refer to this...
1
by: bindurajeesh | last post by:
I am using the following code and it works when I have aspnet as a bona fide user in the sql server database. Why doesn't the use of trusted connection allow me as logged in user and dbo of...
1
by: Chris | last post by:
hi I have big problem. I am writing a small win application. It will work on remote MS SQL database (2005). Firstly, I need to log on to the server. The server supports remote connections and sql...
1
by: Aykut Canturk | last post by:
Can I use SqlExpress2005 AttachDatabase feature with classic ADO connections in my .asp pages ? But I need ConnectionString. Although I searched the web for couple of weeks I still coulnd't find...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.