Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all..
i m getting one string as a output from my ActiveX to website after processing..
i m calling ActiveX like this:

C#
var obNewAXComponent = new ActiveXObject("AXComponent.AXComp");

                       var obj = obNewAXComponent.GetScanImage();
                       if (obj != "") {
                           document.getElementById('<%= txtimgstring.ClientID %>').value = obj;
                           document.getElementById('<%= btnStrToImg.ClientID %>').click();
                           
                       }


after getting object when i am calling click event my website is crashing
my obj contains very long string in MB
so this is the reason my website is crashing
Did anyone have any solution by which i can avoid crashing??
please help me
thank you..
God bless you all..:)
Posted
Updated 15-Aug-12 20:52pm
v2

1 solution

What kind of error you are getting?

It seems, you might be getting validation request error.
If yes, you need to set validationRequest=false

If you are getting session timeout error, then the picture is different.

If you are getting different error, please specify the error details.

Hope this helps.
cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900