I'm trying to get a particular scenario to work with an ASP page and having trouble - not sure if its possible or not..
I have a web site with an ASP page that invokes an ActiveX dll. That ActiveX dll does some SQL calls to determine where a particular proprietary formatted binary image file is on any one of several MAPPED Drives (from the web server). Once he figures out which Mapped drive to go to to read a file, the ActiveX programs uses a 32bit c DLL to open and read the binary image to extract a section of data.
This works great when I use a fat32 test app (calling the components from my local workstation)
When I moved everything to a webserver (as well as map the drives as appropriate on the web server to the remote servers the binary data is on), everything works (asp page and the activex component) except the 32bit c dll. The activex dll can call the 32bit c dll, but the 32bit c dll can't seem to read or open a file from a mapped network drive.
Is there a workaround?, or is this how its supposed to behave..
thanks, rod ellison
Comments
:
: I have a web site with an ASP page that invokes an ActiveX dll. That ActiveX dll does some SQL calls to determine where a particular proprietary formatted binary image file is on any one of several MAPPED Drives (from the web server). Once he figures out which Mapped drive to go to to read a file, the ActiveX programs uses a 32bit c DLL to open and read the binary image to extract a section of data.
:
: This works great when I use a fat32 test app (calling the components from my local workstation)
: When I moved everything to a webserver (as well as map the drives as appropriate on the web server to the remote servers the binary data is on), everything works (asp page and the activex component) except the 32bit c dll. The activex dll can call the 32bit c dll, but the 32bit c dll can't seem to read or open a file from a mapped network drive.
:
: Is there a workaround?, or is this how its supposed to behave..
: thanks, rod ellison
:
:
I would suspect the file access permission is the show stopper here, please see if have any error messages?
Neo Gigs
http://communities.msn.com.my/VisualBasicwithNeo
That was it.. I ended up recompiling the ActiveX Dll as a (No transaction MTS dll) and set it up in MTS to run with appropriate security rights. (it was having trouble file copying from the other box..)
thanks, rod
That was it.. I ended up recompiling the ActiveX Dll as a (No transaction MTS dll) and set it up in MTS to run with appropriate security rights. (it was having trouble file copying from the other box..)
thanks, rod