I'm trying to deploy my crystal reports windows application project on clients computer.
the problem is I can't to load reports.
I installed CRRuntime_32bit_13_0_1 on client computer to solve the problem
but I encounter another error which appears when I try to load any of reports, the error is :
unhandled exception has occurred in your application, if you click continue, the application will ignore this error and attempt to continue. if you click quit, the application will close immediately,
when I click Continue button, my report loads without any data loaded.
what is the solution? the error detail is :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
It sounds like the path to the data source is incorrect I would recommend ensuring that the path not only exists but has the right permissions.
thanks a lot,
I used manual addressing in assigning report file for my reportDocument.load() method
when program loads on client computer, address goes invalid.
the problem solved!
instad of using reportDocument and manual addressing I make new object from each report file (which haves .cs class) and assing it to crystalreportwiewer.reportsource:
Rad.ExecuteForms.Forms.Reports.CrystalReport1 noticeMainReport = new Reports.CrystalReport1();
noticeMainReport.SetDataSource(Main);
noticeMainReport.VerifyDatabase();
crystalReportViewer1.ReportSource = noticeMainReport;
Related
I have a legacy VB6 application where I am able to open all reports and even refresh them (with their existing parameter entries). However, when I refresh reports that don't have any parameters I get error -2147483638/Automation error. This happens when I try to re-set the report source. It seems like the rptviewer.IsBusy flag is still set to True and stays that way indefinitely for these specific reports. If that's the issue, why does the report viewer control stay busy perpetually and how can I "stop" it? It doesn't seem like the report control is busy in the program as I am able to access the report in other ways.
While rptViewer.IsBusy
DoEvents
Wend
rptViewer.ReportSource = m_CrxReport '' Error occurs here
rptViewer.ViewReport
Again, I don't have any issues opening these reports and I don't have any issues opening and/or refreshing reports that request parameters. Any help would be greatly appreciated.
P.S. The viewer control is version 10 (I know, it's old)
I have a legacy system that has a CMS server set up to generate Crystal Reports all from the same database. Users will input the required parameters in a front end application, which then passes it to the CMS to generate the report in a CrystalReportViewer.jsp page. The report titles as shown in both the CMC console and InfoView is as follows:
PersonnelDetailsA
PersonnelDetailsB
PersonnelDetailsC
After a recent update to the application (which did not touch on the Crystal Report functionality at all), users reported that they were unable to generate a report for PersonnelDetailsB (A and C were both working fine). The stated error message that they got was
Report source could not be retrieved from the state object
After some googling and trial and error on our development setup, I figured out that the error was caused by the CMS not being able to find the report requested, so my immediate, and actually only, hypothesis was that the report name my application passed to the CMS was wrong (the only way I've managed to reproduce the error). So I went and verified it in the production InfoView.
Turns out I was dead wrong. All the report names are correct.
As far as I know, nothing has changed with the set up of the CMS in production. The reports worked fine prior to our application update and I've verified that we did not make any changes in our application that would affect the Crystal Report functionality. In fact all the reports work perfectly in our development setup. Yet something clearly went wrong when we deployed to production. All 3 reports are in the same folder, and yet one of them cannot be found even when the correct report name is provided.
What am I missing here? What other way would cause the CMS to throw that specific error beside not being able to find the report in question?
I am beginner in using Visual FoxPro. I am trying to create a simple application which contains a form with a few textboxes. The problem is that the application window does not appear when I run the executable file which I build.
The code for the program is:
PROCEDURE main_app
_SCREEN.Activate
_SCREEN.WindowState = 2
_SCREEN.backcolor = RGB(128, 128, ;
128)
_SCREEN.Caption = ""
_SCREEN.refresh()
SET TALK OFF
SET DELETED ON
SET EXCLUSIVE OFF
CLEAR ALL
CLEAR
CLOSE ALL
DO FORM simpleform LINKED
READ EVENTS
RETURN
*MESSAGEBOX('Msg')
ENDPROC
In the form I have a few textboxes and a button. When the button is clicked then some code is executed. If I run the application from the IDE everything works fine but if I create the executable this does not display any window, still the process appears in the task manager. If I uncomment the MessageBox then this will appear even if I run the exe file. I don't know a way to trace the problem outside the IDE, maybe there is still a library needed that I am not aware.
I am using Visual FoxPro 9.0
Would someone be able to help me out?
If you can provide me with a link to a very simple application exe which uses just one form and finishes when the form is closed I would very much appreciate it.
Thanks in advance
I tried creating a brand new project, new code and new form just as you described. I copied your code and ran, but it never displayed the form.
If this is the main app in your project, you don't need the initial
PROCEDURE main_app
just remove this line as there is nothing CALLING the "Main_App" and thus is never getting called to ultimately call your form.
Just comment it out, save your project and run it... See what you get, it SHOULD work.
** PROCEDURE main_app
The problem was that I did not set the screen visibility to true.
Hi every one and sorry for my poor English.
Im' trying to use the plugin profiler in Dynamics CRM 2011 but I can't really success to use it.
First, when i try to Profile an asynchronous plugin i'm not able to Download the error Log file (fine with synchronous, th message dialog pop and i can click on the link button to download it)
Is that possible to use Plugin profiler on asynchronous plugin ?? If yes, how i download the error log file ? I know asynchronous plugin are not executed at the same place, that probably why i d'ont have the dialog message but i can see the task have been executed in the "Parameters" "systems task" in the CRM itself. The status of the task is waiting. I can see in the error details something like the error log but i'm not able to download it.
Second, with synchronous plugin it work fine. I'm able to download the error log file and put it in the plugin registration debug tool. But when I attach my process and run the start execution my plugin stop at this line wich work fine when the plugin execute itself normally :
IOrganizationServiceFactory serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
//This line i got null references exception
serviceFactory.GetType().GetProperty("ProxyTypesAssembly").SetValue(serviceFactory, typeof(Account).Assembly, null);
I got a null reference exception. This line needed to use early bound in plugin. (If i remove this line i got some error during the plugin execution : "Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type '....'."
After doing some test it's the property he can't get with the Plugin Profiler :
//Null
var myProperty = serviceFactory.GetType().GetProperty("ProxyTypesAssembly");
I got null reference for the property with Plugin Profiler but during a normal execution of the plugin this work fine. Any ideas ??
Thx a lot !
For async plugin you have to select another Profile storage. You need "Persist to Entity" option, not the "Exception". That is step 6 from this link
Hope that helps.
I am using SQL lite database in my iPhone app. I have a refresh button on my Home screen and upon click of then refresh button I parse data from my web service and store the results into a SQL lite database. When I click on refresh button repeatedly I get an error. The error occurs after a variable number of clicks/refreshes each time. The error is:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was: 0xe00805 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib, 10): image not found"`
After this error, my app crashes and when I logged the error it gives me an error "Unable to open database"
Please help me to resolve this error.
Thanks
Sandy
It would appear that the debugger is having a problem loading the data formatters that create the displays for various datatypes in the debugger window's variable display panel. If you've added any customer formatters, you should remove them.
Try running the program without the debugger and see if you get a crash. If so, the problem is in the app. If not, it's most likely in Xcode itself. I would test a dummy project and see if you get the same error.
It's possible there is hellish recursion somewhere in your code. I have seen that bring the debugger down but not with this error message.