Click here to Skip to main content
12,818,664 members (28,768 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET ActiveX
hi all..
i m getting one string as a output from my ActiveX to website after processing..
i m calling ActiveX like this:

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 15-Aug-12 21:20pm
Updated 15-Aug-12 21:52pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 22 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100