remi plz help me to read this small image, i just uploaded clone2.tif regards
On May 16, 5:57 pm, johny <[email protected]> wrote: > its working now . > many thanks to remi for timely response. > > On May 15, 10:14 am, Remi Thomas <[email protected]> wrote: > > > You have to install C++ 2008 SP1 > > Get link on the tessnet2 web page. > > > On 15 mai, 23:25, johny <[email protected]> wrote: > > > > i re-installed the Microsoft Visual C++ 2005 SP1 Redistributable > > > Package. > > > > still same error > > > > Could not load file or assembly 'tessnet2' or one of its dependencies. > > > An attempt was made to load a program with an incorrect format. > > > Description: An unhandled exception occurred during the execution of > > > the current web request. Please review the stack trace for more > > > information about the error and where it originated in the code. > > > > On May 15, 9:11 am, johny <[email protected]> wrote: > > > > > when i deploy new dll file by add reference its showing this error > > > > > Could not load file or assembly 'tessnet2' or one of its dependencies. > > > > An attempt was made to load a program with an incorrect format. > > > > Description: An unhandled exception occurred during the execution of > > > > the current web request. Please review the stack trace for more > > > > information about the error and where it originated in the code. > > > > > Stack Trace: > > > > > [BadImageFormatException: Could not load file or assembly 'tessnet2' > > > > or one of its dependencies. An attempt was made to load a program with > > > > an incorrect format.] > > > > System.Reflection.Assembly.nLoad(AssemblyName fileName, String > > > > codeBase, Evidence assemblySecurity, Assembly locationHint, > > > > StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean > > > > forIntrospection) +0 > > > > System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, > > > > Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean > > > > forIntrospection) +211 > > > > System.Reflection.Assembly.InternalLoad(String assemblyString, > > > > Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean > > > > forIntrospection) +141 > > > > System.Reflection.Assembly.Load(String assemblyString) +25 > > > > System.Web.Configuration.CompilationSection.LoadAssemblyHelper > > > > (String assemblyName, Boolean starDirective) +98 > > > > > [ConfigurationErrorsException: Could not load file or assembly > > > > 'tessnet2' or one of its dependencies. An attempt was made to load a > > > > program with an incorrect format.] > > > > System.Web.Configuration.CompilationSection.LoadAssemblyHelper > > > > (String assemblyName, Boolean starDirective) +724 > > > > > System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory > > > > () +297 > > > > System.Web.Configuration.CompilationSection.LoadAssembly > > > > (AssemblyInfo ai) +71 > > > > System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +39 > > > > System.Web.Compilation.BuildManager.GetReferencedAssemblies > > > > (CompilationSection compConfig) +203 > > > > System.Web.Compilation.WebDirectoryBatchCompiler..ctor > > > > (VirtualDirectory vdir) +163 > > > > System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal > > > > (VirtualDirectory vdir, Boolean ignoreErrors) +68 > > > > System.Web.Compilation.BuildManager.BatchCompileWebDirectory > > > > (VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) > > > > +253 > > > > System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath > > > > virtualPath) +148 > > > > System.Web.Compilation.BuildManager.GetVPathBuildResultInternal > > > > (VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, > > > > Boolean allowBuildInPrecompile) +618 > > > > System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert > > > > (HttpContext context, VirtualPath virtualPath, Boolean noBuild, > > > > Boolean allowCrossApp, Boolean allowBuildInPrecompile) +105 > > > > System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory > > > > (VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, > > > > Boolean noAssert) +147 > > > > System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath > > > > (VirtualPath virtualPath, Type requiredBaseType, HttpContext context, > > > > Boolean allowCrossApp, Boolean noAssert) +81 > > > > System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext > > > > context, String requestType, VirtualPath virtualPath, String > > > > physicalPath) +56 > > > > > System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler > > > > (HttpContext context, String requestType, VirtualPath virtualPath, > > > > String physicalPath) +112 > > > > System.Web.HttpApplication.MapHttpHandler(HttpContext context, > > > > String requestType, VirtualPath path, String pathTranslated, Boolean > > > > useAppConfig) +352 > > > > > System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute > > > > () +183 > > > > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, > > > > Boolean& completedSynchronously) +191 > > > > > regards > > > > > On May 15, 8:54 am, johny <[email protected]> wrote: > > > > > > Remi > > > > > > i deploy the new dll file but same error. > > > > > Appreciate your response. > > > > > plz find the solution for me . > > > > > > thanks and regards > > > > > > On May 15, 4:29 am, Remi Thomas <[email protected]> wrote: > > > > > > > Johny, > > > > > > > Get the latest bin and try, it works after a small > > > > > > correction.http://www.pixel-technology.com/freeware/tessnet2/bin.zip > > > > > > > Rémi > > > > > > > On May 15, 4:42 pm, johny <[email protected]> wrote: > > > > > > > > for attached file > > > > > > > down in the list > > > > > > > clone.rar johny 2.8 MB 7:26am > > > > > > > > On May 15, 2:26 am, johny <[email protected]> wrote: > > > > > > > > > i attached code plz check clone.rar > > > > > > > > its work fine on development server > > > > > > > > but on IIS it gives error > > > > > > > > about attached project i put website-start option check use > > > > > > > > custom > > > > > > > > server and base url=http://localhost/testfrmImg > > > > > > > > > so u need to add testfrmimg folder to iss by right click on the > > > > > > > > folder > > > > > > > > click on web sharing and click on share this folder and add > > > > > > > > alias > > > > > > > > testfrmImg. > > > > > > > > > then run project on debug mode > > > > > > > > > On May 15, 1:07 am, Remi Thomas <[email protected]> wrote: > > > > > > > > > > Hi, > > > > > > > > > > Can you give me your project and the problematic image ? > > > > > > > > > Use the mail at the bottom of tessnet2 web page to send the > > > > > > > > > zip (or > > > > > > > > > rar). > > > > > > > > > > Rémi > > > > > > > > > > On May 15, 12:14 pm, johny <[email protected]> wrote: > > > > > > > > > > > i deploy tessnet2.dll and tessnet2.pdb > > > > > > > > > > result is the same > > > > > > > > > > on debug mode stuck on the line > > > > > > > > > > List<tessnet2.Word> result = ocr.DoOCR(image, > > > > > > > > > > Rectangle.Empty); > > > > > > > > > > showing: > > > > > > > > > > An unhandled exception of type > > > > > > > > > > 'System.StackOverflowException' > > > > > > > > > > occurred in tessnet2.DLL > > > > > > > > > > > and without debug > > > > > > > > > > page cannot be display > > > > > > > > > > > plz let me now any work around for this . > > > > > > > > > > > regards > > > > > > > > > > > On May 14, 5:28 am, Remi Thomas <[email protected]> > > > > > > > > > > wrote: > > > > > > > > > > > > Ok, I need more information. > > > > > > > > > > > Take the new > > > > > > > > > > > bin.ziphttp://www.pixel-technology.com/freeware/tessnet2/bin.zip > > > > > > > > > > > and deploy tessnet2.dll and tessnet2.pdb to have more > > > > > > > > > > > info from the > > > > > > > > > > > debugger > > > > > > > > > > > > Give stack trace here. > > > > > > > > > > > > Rémi > > > > > > > > > > > > On May 14, 6:36 pm, johny <[email protected]> wrote: > > > > > > > > > > > > > Rémi , k_a_bahar its not working still having the same > > > > > > > > > > > > error > > > > > > > > > > > > > regards > > > > > > > > > > > > > On May 14, 2:00 am, k_a_bahar <[email protected]> > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > Looks like the error still happens but not for all > > > > > > > > > > > > > documents! I tried > > > > > > > > > > > > > a few different documents and got that error for only > > > > > > > > > > > > > one of them. > > > > > > > > > > > > > This happens for me on Vista x86 but works fine on > > > > > > > > > > > > > Server 2003 x64. > > > > > > > > > > > > > Also restarted IIS but the same thing happens again. > > > > > > > > > > > > > > On May 14, 5:43 pm, johny <[email protected]> > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > still the same problem for me ,can u pls attached > > > > > > > > > > > > > > that dll and send to > > > > > > > > > > > > > > my email > > > > > > > > > > > > > > > On May 14, 1:33 am, k_a_bahar <[email protected]> > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > You can download it > > > > > > > > > > > > > > > fromhttp://www.pixel-technology.com/freeware/tessnet2/. > > > > > > > > > > > > > > > > On May 14, 5:31 pm, johny > > > > > > > > > > > > > > > <[email protected]> wrote: > > > > > > > > > > > > > > > > > plz paste the link of that dll here > > > > > > > > > > > > > > > > > regards > > > > > > > > > > > > > > > > > On May 14, 1:02 am, k_a_bahar > > > > > > > > > > > > > > > > <[email protected]> wrote: > > > > > > > > > > > > > > > > > > Thanks Rémi. I just downloaded the latest > > > > > > > > > > > > > > > > > version and it works without > > > > > > > > > > > > > > > > > a problem. > > > > > > > > > > > > > > > > > > On May 14, 4:47 pm, Remi Thomas > > > > > > > > > > > > > > > > > <[email protected]> wrote: > > > > > > > > > > > > > > > > > > > Did you try with the DLL I put yesterday at > > > > > > > > > > > > > > > > > > 4pm (GMT+1) ? > > > > > > > > > > > > > > > > > > > There is a big difference with previous > > > > > > > > > > > > > > > > > > version (same version number, > > > > > > > > > > > > > > > > > > I should have change it) > > > > > > > > > > > > > > > > > > The last one is compile in native mode. > > > > > > > > > > > > > > > > > > The previous one was compile in managed > > > > > > > > > > > > > > > > > > mode but there was a problem > > > > > > > > > > > > > > > > > > with AppDomain and static variables (see my > > > > > > > > > > > > > > > > > > web page). > > > > > > > > > > > > > > > > > > > Rémi > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

