Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Unable to view the DotImage and DotTwain image.

Last post 02 Sep 2008, 4:55 PM by loufranco. 1 replies.
Sort Posts: Previous Next
  •  02 Sep 2008, 4:45 PM 15436

    Unable to view the DotImage and DotTwain image.

    Hi,
    We are getting a problem at our client's site when trying to access our application. It looks like there is an access issue between the ScanControl.DLL and the server. Do you have any idea what to do to solve this problem?
    Please note that we have other customers which are fine with the applications and this is the first time we encounter this problem. 
    Thank you.
     
    Below is the message from the FusionBindError file:
     
    *****	IEHOST Error Log (Wednesday, 27 August 2008 10:15) 	*****
    
    
    
    URL: 		http://mccm-web-1/MSOW/ScanControl.dll
    Zone: 		2
    Assembly Name:	ScanControl.dll
    Type Name:	ScanControl.MSOW.WebScan
    
    
    
    ----- Thrown Exception -----
    
    
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
       at System.Net.HttpWebRequest.CheckFinalStatus()
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.HttpWebRequest.GetResponse()
       at Atalasoft.Imaging.AtalaLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
       at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
       at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
       at System.ComponentModel.LicenseManager.IsValid(Type type, Object instance, License& license)
       at Atalasoft.Twain.Acquisition.f()
       at Atalasoft.Twain.Acquisition.g()
       at Atalasoft.Twain.Acquisition..ctor()
       at ScanControl.MSOW.WebScan.InitializeComponent()
       at ScanControl.MSOW.WebScan..ctor()
       --- End of inner exception stack trace ---
    
    Server stack trace: 
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateComInstanceFrom(String assemblyName, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
       at System.AppDomain.CreateComInstanceFrom(String assemblyFile, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.AppDomain.CreateComInstanceFrom(String assemblyFile, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
       at Microsoft.IE.SecureFactory.CreateInstanceWithSecurity(Int32 dwFlag, Int32 dwZone, String pURL, String uniqueIdString, String link, String licenses)
    
    
  •  02 Sep 2008, 4:55 PM 15439 in reply to 15436

    Re: Unable to view the DotImage and DotTwain image.

    In order for the Scanner control to load, it needs to get the license file from your server.  But it's getting an HTTP 502 error when it does this.

     You should run fiddler on the client side and see exactly what is being requested (look for the request for the .lic file).  You will also see in fiddler, that the 502 is being returned.

     Put the URL directly in your browser -- and you will also get the 502 -- this is something that needs to be fixed in either the URL that you are setting up or the server that is serving it.

     Here is how we recommend using Fiddler

     http://www.atalasoft.com/KB/emailarticle.aspx?id=10189

    if you need more help, please open a support case

     http://www.atalasoft.com/support

View as RSS news feed in XML