Problem using and ACTIVEX method from ASP 
Author Message
 Problem using and ACTIVEX method from ASP

I am having problems with the following line of code in an ActiveX DLL
method

   dtmFile = FileDateTime(strPathname)

If the method is invoked by and ASP page it works if strPathname is a
file
on the server hosting the ASP page; but it doesn't work if the file is
on
another computer networked to the server.

If the method is invoked by and application running on the same machine,

it works in both cases.

It appears that ACTIVEX methods invoked from an ASP page don't have
permission to access files on a computer other than the server hosting
the
ASP page. Is there a configuration setting somewhere the I need to set
to
get this to work?

I have tried using DCOMCNFG to set the Identity of the DLL but it only
allows one to set the identity of ACTIVEX EXEs.

--

Bug Tracking Doesn't Have To Be Complicated
http://www.*-*-*.com/
http://www.*-*-*.com/



Tue, 28 Jan 2003 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problem using and ACTIVEX method from ASP

2. Problem using AXTIVEX DLL method from ASP

3. Problems when using Err.Raise in a public method of an activex

4. Problems when using Err.Raise in a public method of an activex

5. Problems when using Err.Raise in a public method of an activex

6. Using the "Check" method in ASP

7. using ado addnew method w/ asp

8. Problem using VB to retrieve ASP/XML using ADO recordset

9. Invoking ActiveX methods using strings

10. Running ASP or ASP remote method from WebClass Respond block

11. Problem using Crystal report ActiveX installed with VB and used in VC.

 

 
Powered by phpBB® Forum Software