SSRS report hang in loading - ssrs-2008

I have accidentally deleted a data source from the SSRS Report Server. After I have re-created the data source and have deployed all the reports again to the report server (I have deleted all reports and re-deployed them), all the reports hang in "Loading ...". Also, I found the following error message in the SSRS log file:
Unhandled exception:
Microsoft.Reporting.WebForms.HttpHandlerInputException: Missing URL
parameter: IterationId at
Microsoft.Reporting.WebForms.HandlerOperation.GetAndEnsureParam(NameValueCollection
urlQuery, String paramName) at
Microsoft.Reporting.WebForms.ReportImageOperation.PerformOperation(NameValueCollection
urlQuery, HttpResponse response) at
Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext
context) at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
Anyone have any idea what it means and how I can fix this problem?

Its clear from the error message that your URL is missing a parameter named IterationId.
You might want to refer to this where it suggests concatenating &IterationId=0 at the end of the URL.
What that actually does is adding &IterationID=0 to the end of the URL
HttpContext.Current.RewritePath(u.PathAndQuery + "&IterationId=0");

Related

How to get the server's error message when `Net::LDAP::schema` fails?

I wrote some Perl program that uses $ldap->schema to get the server's schema.
So far the servers used returned a schema.
However I have one server does returns just undef, so I tried passing some dn => 'CN=Schema,CN=Configuration,...' to schema().
Unfortunately I still get an undef result.
Trying to get the schema using ldapsearch, I see an error message from the server like:
text: 000004DC: LdapErr: DSID-0C090A71, comment: In order to perform this operation a successful bind must be completed on the connection., ...
I'd like to get the server's error message from the $ldap->schema method.
How can I do that using the 0.44 version of Net::LDAP (I know it's a bit old meanwhile)?
It doesn't report any details. But you could trace through it with the debugger, or make a copy of it and add debugging statements.

SOAP Web Service Client error, While consuming the service

I am getting this error while using SOAP web service client with axis 1. I had created stub from the wsdl file and tried to consume it then I got this error. wsdl is given to me by someone else.
error in msg parsing: xml was empty, did't parse!
below is the error message and stack trace for the same. Anyone can help.?
In order to fix the javax.activation.DataHandler issue you must add the JavaBeans Activation Framework activation.jar in your classpath.
In order to fix the javax.mail.internet.mimeMultipart issue you must add the Java Mail API mail.jar in your classpath.
The warning messages printed in your console shows that the above jars are not in the classpath.
There are several common reasons to receive the message:
error in msg parsing: xml was empty, did't parse!
The most obvious is that no message was sent. If you have some way of inspecting your transport channel, that would be worth looking at.
Also, the xml message could have been sent in an unexpected character set, e.g. A header declares it to be "Utf-8" but it is really "Win-1252", sometimes you can get away with that if you only use 7-bit ASCII characters, but anything in the 8-bit plane will cause it to bomb.
Also, the xml message could have had a byte order mark unexpectedly inserted at the beginning of the message.
Also, the xml message might not have the document declaration ( starting in the first byte of the message, that violates the specification, and often causes parsers to puke and claim that no message was found.
All things considered with this error message, the parser was not able to find a valid xml message that it could parse, so it didn't. You need to grab the data on the transport channel and figure out what exactly is wrong to resolve the issue.

Debugging Transformer Errors in Mirth Connect Server Log

Fairly new to Mirth, so looking for advice in regards to debugging/getting more information from errors reported in the Server Log in Mirth Connect. I know what channel this is originating from, but that's about it. This error is received 10 times for each message coming through. It should be noted that the channel is working properly except for this error cluttering up the logs.
The Error:
ERROR (transformer:?): TypeError: undefined is not an xml object.
What I've Tried:
Ruled out Channel Map variables (mappers), they don't have null default values, they match up with vars in the incoming xml message, even changed to Javascript transformers to modify the catch to try to narrow down the issue, but no luck.
Modified external javascript source files to include more error handling (wrapped each file in a try/catch that would log with identifying info) but this didn't change the result at all.
Added a new Alert to send info if errors are received, but this alert never fired.
Anything else to try? Thanks for any/all help!
This is a Rhino message that happens when you use an e4x operator on a variable that isn't an xml object. The following two samples will both throw the same error you are seeing when obj is undefined. Otherwise, 'undefined' in your error will be replaced with obj.toString();
// Putting a dot between the variable and () indicates an xml filter
// instead of a function call
obj.('test');
// Two consecutive dots returns all xml descendant elements of obj
// named test instead of retrieving a property named test from obj.
obj..test;

JasperServer content viewing throws index out of bound exception

We are trying to access the content of Jasperserver using below URL.
http://localhost:8080/jasperserver-pro/fileview/fileview/
When we try to hit this URL, we are getting below error.
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.jaspersoft.jasperserver.war.control.ContentRepositoryFileView.renderMergedOutputModel(ContentRepositoryFileView.java:58)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1216)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
Can anyone help us why we are getting this error? We have reports configured in the server and we are not sure why we are getting this error .
You have to specify right URL to the specific content resource, for example:
http://localhost:8080/jasperserver-pro/fileview/fileview/public/SomeReport.pdf
where /public/SomeReport.pdf is a path to the content resource. The content resource can be any of pdf, txt, xml, csv, etc but not any of JapserServer resources like reports, adhoc views, domains and etc.

Rest v2 report execution success, check status of the report 404 error

I run http://localhost:8081/jasperserver/rest_v2/reportExecutions with the relevant reportExecutionRequest and it returns 200 ok message. The following is the result of the post request.
<reportExecution>
<exports>
<export>
<id>5eb00aeb-0f42-4195-8aec-b306535c325f</id>
<outputResource>
<contentType>application/pdf</contentType>
<fileName>ReportTest1.pdf</fileName>
<outputFinal>false</outputFinal>
</outputResource>
<status>ready</status>
</export>
</exports>
<reportURI>/reports/test/ReportTest1</reportURI>
<requestId>8da22862-35b7-448a-8169-e282d12a02f5</requestId>
<status>ready</status>
<totalPages>0</totalPages>
</reportExecution>
But i can't access the report using http://localhost:8081/jasperserver/rest_v2/reportExecutions/5eb00aeb-0f42-4195-8aec-b306535c325f/status. Is totalpages 0 is the problem?.
You put wrong GUID into status check URL. It must come from <requestId> element (or requestId property in JSON response), not <id> in <export> block.
So, proper status check address for example is http://localhost:8081/jasperserver/rest_v2/reportExecutions/8da22862-35b7-448a-8169-e282d12a02f5/status.
And both calls must be performed with same session cookie, basic authentication will lead to 404 on status check or generated output retrieval.
Yes. If totalpages are 0 then there is no report that could be shown to you.
You might want to include a band in your report that is printed every time anyway so a report is generated in any case. That way you would get an empty report instead of nothing.