ASP,IIS and files

Results 1 to 3 of 3

Thread: ASP,IIS and files

  1. #1
    nobody Guest

    Default ASP,IIS and files

    I have a VB com component with a function that reads a string from a file.<BR>If the client for this is in VB, it works perfectly.<BR>If the component is called from ASP under IIS in NT, it says <BR>path/file access error.<BR>why is it so?

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP,IIS and files

    I&#039ve done a couple VB ActiveX DLLs here at work. I always put them in the INetPub directory, but a co-worker has had success actually adding them to his project. I suspect that if the DLL is placed *above* the INetPub level (for example, in WinNT or System32, it cannot be used by IIS..<BR><BR>Good luck!<BR><BR>Mike

  3. #3
    Join Date
    Dec 1969

    Default RE: ASP,IIS and files

    I dont agree with that. If the DLL was not registered properly, your program wouldn&#039t be able to instantiate an object in the first place. Check the system ath variables to see if your application is searching in the right path. The web server path would be different and you must use SERVER.MAPPATH to dynamically determine the path<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts