Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code - rights problem
Message
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
01550269
Message ID:
01550458
Views:
69
I would check what the actual logged on account is in your application. Typically it'll be the Application Pool's Identity (Network Service or SYSTEM or whatever is configured for the AppPool).

To find out quickly, create a page and add this to it:

< %
Set oNetwork = CreateObject("WScript.Network")
Response.Write(oNetwork.UserName)
% >

and see what it returns. This will be the account you need permissions for and most likely you can configure it in the Application Pool Impersonation.

+++ Rick ---

>Hi All,
>
>spent years never looking at 2 very old classic asp projects and now both need moving fairly smartly. One, referenced in another thread, is being converted to .net but I have a problem with another that is moving server.
>Current setup is that the same server holds the files on the d drive and iis files on the c drive. New setup will have iic on it's own virtual server and the data files on a different server. I setup iis on the virtual server, loaded the vfpoledb and odbc drivers and think i have everything matching the old setup, however I get this error.
>
>ERROR
>Microsoft OLE DB Provider for ODBC Drivers error '80004005' 
>
>[Microsoft][ODBC Visual FoxPro Driver]Cannot open file k:\ireland\dft.dbc. 
>
>/pops/connection.asp, line 20 
>
>The code in question making the connection is
>
>Dim objConn1, ConnStr1
>Set objConn1 = Server.CreateObject("ADODB.connection")
>ConnStr1= "Driver=Microsoft Visual Foxpro Driver; " + _
>"UID=;SourceType=DBC;SourceDB=k:\ireland\dft.dbc"
>objConn1.Open ConnStr1
>
>I make 3 connections, the first one works but resides on the iss server, the second 2 are on the new server. I have played with the rights on the mapped K drive to the stage that everyone, the iusr, iwan, network users (and more) have full rights.
>Any ideas?
>
>~M
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform