473,396 Members | 1,773 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,396 software developers and data experts.

Connections Strings

Hello,

I have created a web site that is being run on a Web Server (Computer #1)
and information from the web site is stored in an access (Jet 4.0) database
on another computer (Computer #2). Computer #2 is a domain controller and
has a folder that is shared to hold the database. When the web visitor
click's "Submit" an error occurs and I believe it is because the connection
string cannot access the shared folder on the domain. How should I solve
this problem?

1) Should I add the Web User Account as a member of the domain?

2) Should I (if possible, and if so how) add the domain "UserName" and
"Password" to the connection string so that when the data is being sent it
gains access to the shared folder on the domain?

If I am barking up the wrong tree, please let me know.

Any suggestions will be greatly appreciated.

Thank,

Chuck
Nov 19 '05 #1
2 1077
You have to create an account in the domain, in computer 1 configure in the
IIS > your application's properties > Directory Security > Anonymous access
and authentication > Change gue user for anonymous access for that user;
then in the folder of computer 2 give enough permissions for the same domain
user to access the files.

-IFS

"Charles A. Lackman" <Ch*****@CreateItSoftware.net> wrote in message
news:ez**************@TK2MSFTNGP10.phx.gbl...
Hello,

I have created a web site that is being run on a Web Server (Computer #1)
and information from the web site is stored in an access (Jet 4.0)
database on another computer (Computer #2). Computer #2 is a domain
controller and has a folder that is shared to hold the database. When the
web visitor click's "Submit" an error occurs and I believe it is because
the connection string cannot access the shared folder on the domain. How
should I solve this problem?

1) Should I add the Web User Account as a member of the domain?

2) Should I (if possible, and if so how) add the domain "UserName" and
"Password" to the connection string so that when the data is being sent it
gains access to the shared folder on the domain?

If I am barking up the wrong tree, please let me know.

Any suggestions will be greatly appreciated.

Thank,

Chuck

Nov 19 '05 #2
On Wed, 15 Dec 2004 11:09:53 -0800, "Charles A. Lackman" <Ch*****@CreateItSoftware.net> wrote:

¤ Hello,
¤
¤ I have created a web site that is being run on a Web Server (Computer #1)
¤ and information from the web site is stored in an access (Jet 4.0) database
¤ on another computer (Computer #2). Computer #2 is a domain controller and
¤ has a folder that is shared to hold the database. When the web visitor
¤ click's "Submit" an error occurs and I believe it is because the connection
¤ string cannot access the shared folder on the domain. How should I solve
¤ this problem?
¤
¤ 1) Should I add the Web User Account as a member of the domain?
¤
¤ 2) Should I (if possible, and if so how) add the domain "UserName" and
¤ "Password" to the connection string so that when the data is being sent it
¤ gains access to the shared folder on the domain?
¤
¤ If I am barking up the wrong tree, please let me know.
¤
¤ Any suggestions will be greatly appreciated.

Once you start accessing remote resources from the web server you're operating under a delegation
scenario. I don't know what type of authentication your web application is implementing but if you
use Basic (w/o SSL) with impersonation you should be able to transparently pass credentials to the
remote resource.

The alternative is to implement Kerberos delegation:

http://support.microsoft.com/default...b;en-us;810572
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 19 '05 #3

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

Similar topics

4
by: Jeremy Ames | last post by:
I have a problem with one of connections using the wrong connection string. I have a form that has three late bound sql connections. Each connection is local to the function that it used in. The...
3
by: Jeremy Ames | last post by:
Can someone please help with this? Unfortunately, that did not work. "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote in message...
0
by: caseyoconnor2 | last post by:
I have a SQL Server development box and a Clustered SQL Server Production box which is run by our enterprise level admins. In order to direct my C# front end from my development box to the...
5
by: Simon Harvey | last post by:
Hi everyone, As I understand it, storing an applications SQL Server connection string in the web.config file is a security risk. I'm wondering then, what the simplest solution is to this...
1
by: Gina L. Hernandez | last post by:
Hello: I have a WEB application written in ADO.NET. From this application I open connections to AS/400 database and my SQL Database, my ADO.NET application and the databas share the same...
23
by: Randall Nortman | last post by:
I assume I'm not the first person to have encountered this, but I couldn't find anything in the FAQ or on the mailing lists recently. My apologies if this is already documented somewhere... My...
3
by: Adam | last post by:
I'm wondering how widespread this problem is. I had an application written in ASP.NET 1.1. It worked fine. Then I converted it to ASP.NET 2.0. Now, I'm getting the error that I've seen others...
2
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I'm getting a little confused here. I'm creating a demo in ASP.Net 2.0. I've had to shift databases a couple of times and apparently Visual Studio is automatically adding new connection strings....
7
by: John | last post by:
Hi Can I have an array of type OleDb.OleDbConnection that has strings as subscription values? The reason I need this is my app reads a configuration file with db names and their locations and it...
3
by: Girish | last post by:
I have two application running in one server, both have same sqlserver connection strings in their web.config files. i want to combine both connection strings in one config file. please suggest...
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:
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.