Crystal Reports problem - crystal-reports

I'm having problem in the following line:
rd.PrintOptions.PaperSize = PaperSize.PaperFanfoldStdGerman;
it throws an exception saying HRESULT: 0x8002000B (DISP_E_BADINDEX))
if I skip this line, the same error eccurs here:
rd.PrintOptions.ApplyPageMargins(config)
Did anyone have this problem before?
thanks!

My guess is that your line before is failing and as such gets reported on the next call.
Check the line before
rd.PrintOptions.PaperSize = PaperSize.PaperFanfoldStdGerman;

Fixed!
The problem was a field that did not exist in the DataSet.

Related

Deploying MoonMail resoruces AwsMarketplaceNotificationsQueuePolicy

I'm getting an invalid parameter error on AwsMarketplaceNotificationsQueuePolicy while creating the stack.
Has anyone run into a similar problem?
I've had the same problem. In my case, the reason was a missing variable - awsMarketplaceUserArn in the _meta/variables/s-variables-<stage>-<region>.json file.

Dropbox API v2 error message

When trying to get a delta result/cursor in the Java API:
client.files.listFolderBuilder(BASE_DIR).recursive(true).start();
I get the following error message:
com.dropbox.core.v2.DbxFiles$ListFolderException: Exception in list_folder: ListFolderError.{".tag":"path","path":{".tag":"other"}}
As far as I can tell it doesn't really say what is wrong. Any suggestions on what to do?
It seems that the reason was that my BASE_DIR ended with a slash. Removing the trailing slash of the path seems to have fixed the problem.

Timthumb.php: internal image not found

I'm getting the following error when using the Timthumb.php script from (http://www.binarymoon.co.uk/projects/timthumb/):
The following error(s) occured:
Could not find the internal image you specified.
Query String : src=http://www.xxxxxxxxx.com/templatename/wp-content/uploads/2010/09/mainimage.jpg
TimThumb version : 2.8.10
I'm not sure whats going on, the internal image does exist, when I try resizing an external image (http://farm3.static.flickr.com/2340/2089504883_863fb11b0a_z.jpg&h=200&w=120), the script works with no issues.
Any thoughts appreciated.
Regards,
Stephen
There is timthumb.php file with problem fixed by someone here:
http://code.google.com/p/timthumb/issues/detail?id=363
and here:
http://code.google.com/p/timthumb/issues/detail?id=315

Error Domain=NSXMLParserErrorDomain Code=64 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)"

What deos the error 64 in NSXMLParserDomain Code=64 mean? I am using an NSXMLParser to parse my XML data. But i am getting the above mentioned error. Can someone please help me on this?
I found it out. The error comes when the XMl contains errors at the start up. U can validate the XMl using w3schools here http://www.w3schools.com/xml/xml_validator.asp[How to validate an XML]1
Its also happens if the XML contains some extra line before the xml tag starts.

How to troubleshoot "DataMember Not Found" in ActiveReports

ActiveReports seems like a powerful flexible tool, but if you make a mistake anywhere, you get an exception "data member not found. please check your datasource and datamember properties".
There is no indication as to which datasource/datamember is at fault or what subreport the problem lies in, but Active Reports must know this!
The stack trace is no use, as the error is thrown after the report.run() method is invoked from deep within code generated by Active Reports itself.
Does anybody have a solution other than commenting out one subreport after another and checking all fields in turn?
I was getting the same error while trying to pass a raw dataset to a report as below:
...
Dim rpt as New ActiveReport
With rpt
.DataSource = _data
.Run()
End With
...
I specified a table in the dataset and the error went away.
...
.DataSource = _data.Tables(0)
...
`
Unfortunately I don't know a way to immediately tell which subreport that error is coming from. Indeed, that error message should be improved when you're using subreports. I will report it to the ActiveReports development team.