Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Problem using the Microsoft Text Driver and a UNC Path


Message #1 by "Tony Diana" <tony@l...> on Wed, 16 Jan 2002 14:34:24 -0500
I have a DSN called Text, which is just a standard Microsoft Text Driver. 



When I try to access a UNC Path, like the below example, IIS just hangs. 



Set adoConn = Server.CreateObject("ADODB.Connection")

adoConn.Open ("DSN=Text;DefaultDir=\\MYSERVER\MyShare")



The share "MyShare" gives permission to the Everyone group. 



Could anybody point me in the right direction?

Message #2 by "Phil Sayers" <philipsayers@m...> on Wed, 16 Jan 2002 14:39:52 -0500
Try mapping the share to a drive letter, then pointing your code at that

drive letter





-----Original Message-----

From: Tony Diana [mailto:tony@l...] 

Sent: Wednesday, January 16, 2002 2:34 PM

To: ASP Databases

Subject: [asp_databases] Problem using the Microsoft Text Driver and a

UNC Path



I have a DSN called Text, which is just a standard Microsoft Text

Driver. 



When I try to access a UNC Path, like the below example, IIS just hangs.





Set adoConn = Server.CreateObject("ADODB.Connection")

adoConn.Open ("DSN=Text;DefaultDir=\\MYSERVER\MyShare")



The share "MyShare" gives permission to the Everyone group. 



Could anybody point me in the right direction?






$subst('Email.Unsub').



Message #3 by "Tomm Matthis" <matthis@b...> on Wed, 16 Jan 2002 14:45:17 -0500
You have to setup a login on the target server for the IUSR_xxx account for

the web server...

Check MSDN for more info on this...



-- Tomm



> -----Original Message-----

> From: Tony Diana [mailto:tony@l...]

> Sent: Wednesday, January 16, 2002 2:34 PM

> To: ASP Databases

> Subject: [asp_databases] Problem using the Microsoft Text Driver and a

> UNC Path

>

>

> I have a DSN called Text, which is just a standard Microsoft Text Driver.

>

> When I try to access a UNC Path, like the below example, IIS just hangs.

>

> Set adoConn = Server.CreateObject("ADODB.Connection")

> adoConn.Open ("DSN=Text;DefaultDir=\\MYSERVER\MyShare")

>

> The share "MyShare" gives permission to the Everyone group.

>

> Could anybody point me in the right direction?

>




> $subst('Email.Unsub').



Message #4 by "Tony Diana" <tony@l...> on Wed, 16 Jan 2002 14:48:16 -0500
How would I map that drive so that it is available even when no user is

logged on to the machine?



In other words, if I logon as Admin and map the drive, won't the mapping go

away when I log him off, and no longer be available to ASP or IIS?



-----Original Message-----

From: Phil Sayers [mailto:philipsayers@m...]

Sent: Wednesday, January 16, 2002 2:40 PM

To: ASP Databases

Subject: [asp_databases] RE: Problem using the Microsoft Text Driver and

a UNC Path





Try mapping the share to a drive letter, then pointing your code at that

drive letter





-----Original Message-----

From: Tony Diana [mailto:tony@l...]

Sent: Wednesday, January 16, 2002 2:34 PM

To: ASP Databases

Subject: [asp_databases] Problem using the Microsoft Text Driver and a

UNC Path



I have a DSN called Text, which is just a standard Microsoft Text

Driver.



When I try to access a UNC Path, like the below example, IIS just hangs.





Set adoConn = Server.CreateObject("ADODB.Connection")

adoConn.Open ("DSN=Text;DefaultDir=\\MYSERVER\MyShare")



The share "MyShare" gives permission to the Everyone group.



Could anybody point me in the right direction?






$subst('Email.Unsub').








$subst('Email.Unsub').




  Return to Index