Previous Next

Thread: Known issues in running an ISAPI dll via IIS when its not on the C:\ drive

Last post 05-28-2008 12:48 PM by islandcat. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-15-2008, 10:52 AM

    • islandcat
    • Not Ranked
    • Joined on 05-15-2008, 10:26 AM
    • Posts 2
    • islandcat

    Known issues in running an ISAPI dll via IIS when its not on the C:\ drive

    Any assistance on this issue thats turned into a head scratcher is greatly appreciated.

     I have an ISAPI dll which has been provided to me by a third party. This dll is accessed via a link in the main website like so - mydllfile.dll?var1=value&var2=value. The dll is stored in a separate folder under the website root folder.

    When the described setup is on the C:\ drive, it all works perfectly but when I have the identical setup, using the same virtual directory (just pointing the D: drive), when I try to access the dll via the link, I get a 400 file not found error.

     So on C: it works, but the identical setup on the D: drive fails. I've checked that the C: drive is not hard coded into the dll. Are there any issues known about trying to run dll's that are located on a drive that is not the same one as IIS is installed upon please?

  • 05-20-2008, 3:58 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 966
    • anilr

    Re: Known issues in running an ISAPI dll via IIS when its not on the C:\ drive

    Are you sure you are getting a 400 and not a 404.2 ?  That would mean that you need to add your ISAPI extension to the WebSvcExtRestriction list - you may already have the c:\path added, but not the d:\path.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-28-2008, 12:48 PM In reply to

    • islandcat
    • Not Ranked
    • Joined on 05-15-2008, 10:26 AM
    • Posts 2
    • islandcat

    Re: Known issues in running an ISAPI dll via IIS when its not on the C:\ drive

    Excellent -  that was it - thanks for your help :)

Page 1 of 1 (3 items)
Page view counter