Print Page | Close Window

[SOLVED] Error only on Windows 2003

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18217
Printed Date: 15 November 2024 at 9:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Error only on Windows 2003
Posted By: Michael163
Subject: [SOLVED] Error only on Windows 2003
Date Posted: 13 April 2011 at 10:58am
I have built a little application with ReportControl. When I close the application an error occurs ("The instruction on "0x72e5b17f" referenced memory at "0x00000020". The memory could not be "read". Click on OK to terminate the program").
When I delete following code no error appears anymore.

    ReportControlGlobalSettings.UseResourceFileLocale = True
    ReportControlGlobalSettings.ResourceFile = App.Path & "\Resources\ReportControl.ResourceDe.xml"


This error appears only on Windows2003 and not on Windows7!

What can I do?


Product: Xtreme Report Control ActiveX v15.0.2
Platform: Windows2003 32-Bit
Language: Visual Basic 6.0




Replies:
Posted By: SuperMario
Date Posted: 13 April 2011 at 1:42pm
If you add these 2 lines to our Report Sample do you see the same?  I just tried on Windows Server 2003 and it works fine.


Posted By: SuperMario
Date Posted: 13 April 2011 at 2:17pm
Also please try to "close" xml with
ReportControlGlobalSettings.ResourceFile = "" on exit.


Posted By: Michael163
Date Posted: 14 April 2011 at 6:16am
Release the resource file was it.

Thank you SuperMario.





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net