I have a .NET assembly (ScanControl.dl l), which accesses a scanner on my client's local machine and allows them to scan a page (Scan()).
I have an ASP.NET web application with a page which will (theoretically) use this control to allow a user to scan a page into my database (Scan.aspx).
I serve the control as an object on the page, like so:
The ScanControl is a .NET assembly, so I have to strong sign it and add some stuff into the .NET configuration to allow it to run, but in general, when I view the page on my dev machine or on any clean machine in my office or any clean virtual machine anywhere, or any of the office laptops, the thing works and I can interface to my scanner and scan a page. However, the exact same code doesn't work on my customer's client machine.
The customer has their own server on which they run the server-side stuff, so the web app is running under local intranet at both locations.
Some further investigation on a couple of their machines identifies that the ScanControl.dll is not being downloaded from the web page. I can use gacutil.exe to discover this:
This is different to the behaviour on my machine, where the control is definitely being downloaded.
So my question is: Does anyone know of some security policy or some firewall/proxy server/IE settings that might prevent their browser from downloading the DLL? I thought I'd have problems running the downloaded DLL, but I never thought I'd have problems downloading it in the first place!
Eagerly awaiting your replies =)
I have an ASP.NET web application with a page which will (theoretically) use this control to allow a user to scan a page into my database (Scan.aspx).
I serve the control as an object on the page, like so:
Code:
<object id="scanningObj" height="300px" width="500px" classid="ScanControl.dll#ScanControl"></object>
The customer has their own server on which they run the server-side stuff, so the web app is running under local intranet at both locations.
Some further investigation on a couple of their machines identifies that the ScanControl.dll is not being downloaded from the web page. I can use gacutil.exe to discover this:
Code:
gacutil.exe /ldl
So my question is: Does anyone know of some security policy or some firewall/proxy server/IE settings that might prevent their browser from downloading the DLL? I thought I'd have problems running the downloaded DLL, but I never thought I'd have problems downloading it in the first place!
Eagerly awaiting your replies =)
Comment