Support Center

IsClientScriptBlockRegistered being triggered for ImageMan all of a sudden

Jason Taucher Apr 07, 2014 10:41AM EDT

Hello,

We're using the ImageMan Twain control on our ASP.NET site and it has stopped working for some reason. The pages that use that control show the .NET security settings alert found at the URL below.

http://www.data-tech.com/help/imnettwain/Using%20the%20controls%20in%20Internet%20Explorer.html

We have been using the method on that page for quite some time now. I tried modifying the .NET security settings using the instructions located at the bottom of that page, but we're still getting that security settings alert.

This is happening for all users across multiple pages out on our production servers and appears to have happened within the past month or so.

Any ideas?

1 Data Techniques Response

Up 0 Rated Down
DTI Support  Data Techniques Employee Apr 07, 2014 11:44AM EDT

Hello Jason,

In you subject you mention ISClientScriptBlockRegistered being triggered but thats a JS function from webforms and has nothing to do with the ImageMan.Net Twain components.


To make sure the Twain component can be downloaded you can confirm these steps:
1. Make sure you can navigate to the DTI.ImageMan.Twain.dll file in your browser by entering the URL in the address bar.
If you are not prompted to download the DLL (e.g. you receive a 404 resource cannot be found error), then confirm the DLL was properly deployed and in the expected path.
If the DLL is in the proper path but you cannot download it, when using IIS 6/Windows 2003 or higher, make sure your application has the Scripts and Executables configuration option enabled. If the option is not selected then IIS will not download the ImageMan.Twain.dll file to the web client.

2. Check to see if the license file is downloadable by navigating to the DTI.ImageMan.Twain.dll.lic
If you cannot download the LIC file (e.g. you receive a 404 resource cannot be found error), please check to see if it is in the same directory as DTI.ImageMan.Twain.dll.
Check that the file is named correctly (DTI.ImageMan.Twain.dll.lic)
If the LIC file is in the proper path but you cannot download it, when using IIS 6/Windows 2003 or higher, make sure your application has the Scripts and Executables configuration option enabled.

I would suggest using the IE developer tools to look at the javascript console to confirm isnt some other error occurring.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us