How to display exception details on a page? - orchardcms

Instead of "Oops. Something went wrong ... sorry. An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back"
When an exception happens I want to display the error message and stack trace on the page. How can I do that? On my local dev machine, I want to be able to see the full error details.
Thanks.

Look at app_data\logs. The full details should be there.

Related

Jenkins - Login Page shows up, but getting securityRealm / finishLogin ErrorID=e160bxxx-aaa-yyy-zzzz

Jenkins version: 2.89.4 / 2.89.4.2-rolling
I can see the login page (clicking right top Log in link). Sometime it brings the login page (where a user can enter username / password) -OR- it's taking me straight to an error.. in either case.
Error:
In the address bar, I see this URL value:
http://jenkins-dev-server:8080/securityRealm/finishLogin?code=bc2c6a5a-b898-4a6b-96h7-e7jhcba59ytg
An error occurred processing your request. Ask your Jenkins administrator to look up details. ErrorID=gh425da7-0y78-4068-b2h9-c2bed48ke6sa
Stack trace suppressed by the suppress stack trace plugin
One of the job's status before this happened was showing FAILED (Red ball) but looking into the job's console output shows NO "error|failed|fail|aborted|fatal|memory" related errors (case in-sensitive). The last line in the console output is just a valid expected output (for ex: echo "hello world") nothing after that.
So it seems like, Jenkins home's mount (df -kvh ${JENKINS_HOME}) was 100% full. I know! new to the team.
Will implement some good monitoring as soon as I get some elevated
access.

UWP - Incorrect behaviour when Trial Expired

According to documentation when trial is expired and user opens the app, a message would be shown. But my app closes after showing splash screen without any message in this case.
There is the same question on the Microsoft's forum, but I can't write anything there (it returns me unexpected error when I try to submit my question) and there is no answer.
I get the following line in my event log:
App failed with error: No applicable app licenses found. See the Microsoft-Windows-Twin/Operational log for additional information.
Additional information:
< Data Name="ErrorCode" >-1058406399< /Data >
This is Microsoft's bug and they promise to fix it. You can get more details on the msdn-forum.

ListView in sharepoint 2013

I am getting following error when I use pagination of view.
Unable to render the data. If the problem persists, contact your web
server administrator.Correlation
ID:c64a4e9d-64d2-3009-f658-7f1c8b0faebc
When I checked the Logs from ULSViewer I got these errors messages
Error while executing web part: System.ArgumentException: The
specified view is invalid. at
Microsoft.SharePoint.SPViewCollection.get_Item(Guid guid) at
Microsoft.SharePoint.ApplicationPages.InplaceViewEditor.get_View()
at
Microsoft.SharePoint.ApplicationPages.InplaceViewEditor.RenderListView()
at
Microsoft.SharePoint.ApplicationPages.InplaceViewEditor.Execute(String
strCmd) at
Microsoft.SharePoint.ApplicationPages.InplaceViewEditor.OnLoad(EventArgs
e)
Forced due to logging gap, cached # 12/24/2015 10:59:32.88, Original
Level: Verbose] No data was found on the incoming client request
Proxy response returned error: 'The remote server returned an error:
(601).'
Could you please check and let me know what is the issue? I am not able to resolve it.
Thanks in advance.
Best Regards,
Manoj.
Have you added the custom web parts or add custom code?
For troubleshooting the issue, you could check things below:
Create a new list view to check if the same issue will occur.
Do an IIS reset to check if it can work.

Microsoft CRM Error Report

We created a new organization and trying to use it but we are getting below error. Please give some idea how to resolve/dig this issue.
An unhandled exception occured 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.
Error Details: Exception of type 'System.web.HttpUnhandledException'
was thrown.
Thanks

Unable to fail C# test using assert.fail method

I am creating a test in codedUI, VS2013. I am using assert.fail(failuredescripion) inside my exception class. But I am getting the below mentioned error:
An exception of type 'Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException' occurred in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll but was not handled in user code
Additional information: Assert.Fail failed.
Can anyone please suggest how to achieve this?
I want the failure to be recorded forcefully.
I found answer from this MSDN post
This error is happening because of the exception options. Need to add an exception for the assert namespace and disable both user handled and Thrown in Debug-->Exceptions

Resources