vbscript - ActiveX dll not working on IIS 8.5 -


activex dll not working on iis 8.5

we have classic asp application uses , activex dll generate image on fly. working find on window 2003 iis6. we're migrating windows 2012 , iis 8.5. dll registered on server, configured run under it's own app pool (no managed code, classic pipeline mode). it's virtual directory configured run application , has handler mapping *.dll point dll verbs execute access rights, same config iis6.

the asp code render html calling dll looks this:

<%dim spokedata dim jobname dim numofexperts dim thisdirno dim thissel dim papitype dim jobtype dim spokedatashort spokedata = trim(request.querystring("data")) jobname = trim(request.querystring("jobname")) numofexperts = trim(request.querystring("exp")) papitype = trim(request.querystring("papitype")) jobtype = trim(request.querystring("jobtype")) calcdate = trim(request.querystring("date")) scaleno = 1 20     thissel = mid(spokedata,(scaleno*2),1)     thisdirno = mid(spokedata,(scaleno*2)-1,1)     if thissel = "1" spokedatashort = spokedatashort & thisdirno else spokedatashort = spokedatashort & "0"  next response.write("<div id='wheel'><img style='margin-left:20px' src='http://www.example.com/jpwheel/jpwheel.dll?handler=render&nori=" & papitype & "&dir=" & spokedatashort & "&" & & "'></div>") %> 

the html lookslike this: <img src="http://www.example.com/jpwheel/jpwheel.dll?handler=render&amp;nori=n&amp;dir=55555050555000000000&amp;11/05/2015 16:05:24" style="margin-left:20px"> if try download directly 500 error (no error log unfortunately).

it working on iis6, not working on iis8.5. can cast light on migrating activex server-side dlls iis8.5? 1 thing haven't done check dependencies dll, can recommend tool that? i'm guessing windows 2003 coming end of life number of people running issues this.

the problem caused using incorrect handler mapping. had setup script map. needed module mapping following details:

  • request path: *.dll
  • executable: path jpwheel.dll
  • module: isapimodule
  • name: jpwheel

request restrictions: verbs, access required: script

feature permissions: read, script, execute

so it's working now.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -