Hi, i’m using Viewer 2.16 in mvc project and there’s a problem with resources url generation. With IIS Express it works well, but with Local IIS, when opening a document, there’s a lot of 404 errors. The problem is due to the fact that the resource url is http://localhost//Get, instead of http://localhost//document-viewer/Get…
Hi Pavel, the problem is that on Global.asax i don’t have access to Context.Request to calcolate the url…
I tried the first option but doesn’t seems to work. Can be depend on the .UseHttpHandlers(false) setted on script block generation ?
Its the string value builded in the previous line, sorry for the bad indentation!
Thanks for the snipped, i tried it and works well!