We have migrated our servers to Cloud (AWS). We are using SSRS 2008R2. We are facing an issue while opening few attachments in the reports ( not all the attachments ).
We get the following error :
Server Error in '/OpenAttachments' Application.
The remote Server returned an error: (404) Not Found.
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.
Exception Details: System.Net.WebException: The remote server returned an error: (404) Not Found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The remote server returned an error: (404) Not Found.]
System.Net.HttpWebRequest.GetResponse() +8674060
WebApplication1.WebForm1.Page_Load(Object sender, EventArgs e) in C:\Users\fdsfsdfsdfn\Documents\Visual Studio 2012\Projects\WebApplication1\WebApplication1\OpenAtt.aspx.vb:17
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
Most of the attachments are working fine. This is happening with only a few attachments.
Thanks in advance.
Surya
Related
I'm new to WebLogic server and I'm trying to run WLS application with IntelliJ. The app runs well, then I log in through the log in screen of my web app, but after that I get an error in the console :
<15 avr. 2021 11 h 47 CEST> <Error> <HTTP> <BEA-101020> <[ServletContext#1146411793[app:my-app-ear_ear_exploded module:/my-app path:null spec-version:4.0]] Servlet failed with an Exception
java.lang.UnsupportedOperationException
at javax.faces.application.Application.getResourceHandler(Application.java:287)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:588)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
I have already searched on Google and could not find an answer (the Oracle documentation says that BEA-101020 error code states that an error occured and that we should read logs, but logs are not very explicit). Maybe it has something to do with the path: null?
Any help would be greatly appreciated
A .net application works at a server which SQL Server 2005 , now we relocate the application to the new server which is SQL Server 2008.
Below is the error when I try to get a report from application:
Server Error in '/Importal' Application.
The request failed with HTTP status 404: Not Found. 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.
Exception Details: System.Net.WebException: The request failed with
HTTP status 404: Not Found.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The request failed with HTTP status 404: Not Found.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) +431225
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +204
Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.LoadReport(String
Report, String HistoryID) +69
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String
Report, String HistoryID) +67
[MissingEndpointException: The attempt to connect to the report server
failed. Check your connection information and that the report server
is a compatible version.]
Microsoft.SqlServer.ReportingServices2005.Execution.MissingEndpointException.ThrowIfEndpointMissing(WebException
e) +4027725
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String
Report, String HistoryID) +107
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +121
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1
parameters) +67 ImportPerformanceKPI.btnList_Click(Object sender,
EventArgs e) +425
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1565
You will need to configure Reporting Services on your new SQL Server if it's not configured.
You've probably done that.
Inside the error, we have:
[MissingEndpointException: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. ]
Next make sure that your application is pointed at the new instance of SQL Server (it was looking for a 2005 instance). And then check that your application will work with SSRS 2008.
I need a small help
I have created a small physioit app for windows phone 8.
I have added facebookclient loginbutton in my xaml file.
Now when there is no data connection in my phone and when I run the code, it gives me TargetInvocationException and my app crashes.
Here is the exception I am getting –
innerException
{Facebook.WebExceptionWrapper: The remote server returned an error: NotFound. --->
System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---}
System.Exception {Facebook.WebExceptionWrapper}
How can I catch this exception?
I am using the facebook sdk to create the loginbutton
Here is the code snippet
<facebookControls:LoginButton
x:Name="loginButton"
Grid.Row="2"
Margin="5"
HorizontalAlignment="Right"
FetchUserInfo="True"
ApplicationId="xxxxxx"
SessionStateChanged="OnFacebookSessionStateChanged"
UserInfoChanged="OnFacebookUserInfoChanged"
AuthenticationError="LoginButtonAuthenticationError" />
Can you please help me out.
You could use NetworkInterface to check whether data connection is available or not and then allow the login button to do its action.
Something like this..
if(System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable())
//Allow login button
else
//Message user - no internet connection
I have several computers that can render a large report with no issues, however, several other computers cannot render the report and crash reporting services.
We have SQL Server 2008 R2 SP1 and we have observed that the reporting services application's memory usage increases from 300MB to 1,2GB when this report is being rendered.
Here we have the log file when this report crashes:
rshost!rshost!4cf0!06/26/2013-10:33:38:: e ERROR: WriteCallback(): failed to write in write callback.
rshost!rshost!4cf0!06/26/2013-10:33:38:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000063D2400.
rshost!rshost!106c!06/26/2013-10:33:38:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
rshost!rshost!106c!06/26/2013-10:33:38:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000063D2400.
httpruntime!ReportServer_0-1!106c!06/26/2013-10:33:38:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportServer_0-1!106c!06/26/2013-10:33:38:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-1-130167083080132500. ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
--- End of inner exception stack trace ---;
Any idea of what could produce this error? Why this apperars in some computers and everything OK in other?
Thanks in advance.
If you are using the Server Reporting Services (the online interface) and the problem appears for the end users (reading only your report) and the most important you are sure that the report is working properly.
You might try to cache the report first. That might solve your problem and also make the end user more happy since the report will be loading extremely fast.
You can read about caching here: https://learn.microsoft.com/en-us/sql/reporting-services/report-server/caching-reports-ssrs
and here some old instruction how to set up the caching:
http://bhushan.extreme-advice.com/caching-ssrs-reports/
BTW you should also make sure that:
-users have the same rights as you
-the files are up to date and available for all of the users
It is hard to say from here what could be the issue. Try your luck with cache if it won't help to fix this problem... It will definitely bring your reporting and happines of you clients to the new level.
Cheers,
Kacper
I am trying add custom HttpModule MyHttpModuler to Reporting service. But when i deployed my custom HttpModule to SSRS located in remote machine. then browser some report in the report manage site. I got some error in my page . I used to check the log file under the SSRS log folder to find out what happened. and I always find some exception info logged in it. But the exception log don't show the code line number .
The example of log could be like below.
library!ReportServer_0-1!728!08/22/2012-13:36:29:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at HandlerLib.MyHttpModuler.TryAuthenticate(HttpApplication context)
at HandlerLib.MyHttpModuler.Application_BeginRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Is there any way to show the code line of exception log so that I can know more detail of my codes flaw? thanks