Error An Unexpected Error Has Occurred Sharepoint 2010
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this an unexpected error has occurred in quickbooks site About Us Learn more about Stack Overflow the company Business Learn an unexpected error has occurred sharepoint 2010 new site collection more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x sharepoint 2010 an unexpected error has occurred web parts maintenance page Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up An
An Unexpected Error Has Occurred Sharepoint 2013
unexpected error has occurred up vote 1 down vote favorite I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but when I was trying to deploy the same an unexpected error has occurred sharepoint 2007 on clients machine it was giving me the "An unexpected error has occurred." Error. The scenario is, There is not visual studio install on my clients machine so what I was doing is I simply copying my solution folder in 12'hives LAYOUT folder along with the bin folder. Then when I was try to access it by hitting the URL http://[machineName]/_layouts/[MyCustomFolder]/default.aspx it was giving me the error mention above. Can anyone help me to solve this issue..? Thanks in advance.. Sachin sharepoint moss wss share|improve this question asked Jan 4 '10 at 6:24 Sachin 3393830 We can just provide unknown answers for unexpected errors. Please add more log details etc. And note the SO is not a support site. Its for programming. But perhaps someone had the same experience may help. –Chathuranga Chandrasekara Jan 4 '10 at 6:29 add a comment| 3 Answers 3 active oldest votes up vote 5 down vote Unexpected error might be anything, You need to see what is the root cause of the Error, Open the Web.Config file of the IIS SharePoint WebSite Search for the CallStack and change it to CallStack="true" Se
instead of "an unexpected error has occurred?"--read on, this post will describe how to do just that.I'm sure every SharePoint developer has run across the an unexpected error has occurred sharepoint 2013 central administration infamous "unexpected error:" So… All you have to do is look in
An Unexpected Error Has Occurred Sharepoint Import Spreadsheet
the extremely friendly ULS logs, conveniently located at: For SharePoint 2010:%Program Files%\Common Files\Microsoft Shared\Web Server Extensions\14\LOGSFor SharePoint
An Unexpected Error Has Occurred Changes To Your Data Cannot Be Saved Sharepoint
2007:%Program Files%\Common Files\Microsoft Shared\Web Server Extensions\12\LOGSAnd then, starting from the most recent file, start searching for the "Correlation ID" mentioned in the error. Note, there are quite a few http://stackoverflow.com/questions/1997803/an-unexpected-error-has-occurred ULS readers available that can make this a bit easier. However, also note, that, if you have multiple web front ends, it can be a task just figuring out which server logs to even look at.When I eventually found the right log file and searched through using that Correlation ID until I found an error, I discovered http://dereksan.blogspot.com/2011/02/sharepoint-20072010an-unexpected-error.html this:02/02/2011 13:53:00.91 w3wp.exe (0x1A80) 0x0464 SharePoint Foundation Runtime tkau Unexpected Microsoft.Reporting.WebForms.MissingReportServerConnectionInformationException: In remote mode, the Report Viewer control requires session state be enabled or Report Server connection information specified in the config file. atMicrosoft.Reporting.WebForms.ReportViewer.EnsureSessionOrConfig() at Microsoft.Reporting.WebForms.SessionKeepAliveOperation.CreateRequest(ReportViewer viewer) at Microsoft.Reporting.WebForms.ReportViewerClientScript.SetViewerInfo(ReportViewer viewer, String reportAreaId, String promptAreaRowId, String docMapAreaId, String fixedTableId, String promptSplitterId, String docMapSplitterId, String docMapHeaderOverflowId, String directionCacheId, String browserModeCacheId) at Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e) at System.W... 4384d11b-0b4a-4164-ab5e-9643ab891e27In this particular case, I can see that I am using a control that requires Session State, but it's not enabled. Wouldn't it have been nice if instead of having to go through all of that log searching I could have just gotten a message like this:So, the first thing I do in my development environment is configure a few items in the web.config so that I get real error messages on the page. Please make sure that you do NOT use these settings in production, because aside from not wanting end users to see the hideous yellow and red error message and stack trace, these settings caus
for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://sharepoint.stackexchange.com/questions/24665/user-profile-service-an-unexpected-error-has-occurred Business Learn more about hiring developers or posting ads with us SharePoint Questions Tags http://code2care.org/2015/an-unexpected-error-has-occurred/ Users Badges Unanswered Ask Question _ SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top User Profile Service = “An unexpected error has an unexpected occurred.” up vote 1 down vote favorite 1 This is for a new SP 2010 install. I have a server running SP 2010. In IIS I have created an empty web site, "share.example.com". In SP Central Admin, I have created a web application bound to the IIS site, and that's working fine. In Central Admin > App Mgmt > Service Apps (shorthand there), I delete the default "User Profile Service" and create an unexpected error a new instance, bound to my web application, and using typical default values, as works in other cases. My user profile servce gets created, but when I click "Manage" in the ribbon, I get the SP 2010 error screen. "Error An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 7be01822-5ad0-465a-9df2-45fc6a1cb86d Date and Time: 12/5/2011 8:15:57 AM " (the Coorelation ID changes each time). I have deleted-and-redone that service many times, also changing the name of the re-created service too. No luck. Messed with changing default values, etc. No love. Nothing. Using ULS Viewer, nothing obvious crosses my path, and I'm not getting much luck with it. Google and Bing have not been my friends on this, although some other posts over on msdn make me suspect it's possibly the web site name != netbios name, but I haven't looked into it yet. Any suggestions on solving this puzzle? service user share|improve this question edited Dec 6 '12 at 19:39 ali Jafer 15k11634 asked Dec 5 '11 at 17:21 Alan M 81321731 1) Check to see if the User Profile Service and User Profile Sync Service are running on the server (see Services on Server in Central Admin) 2) In the ULS logs, what is the error associated with
votes When SharePoint throws an error, it just says "An unexpected error has occurred" and expects the developer to put more efforts for finding the exact issue. That is quite frustrating at times !! A generic and most famous SharePoint error looks like below. Generic SharePoint error - An unexpected error has occurred
The "Troubleshoot issues with Microsoft SharePoint Foundation." is not helpful at all. The error message might not seem helpful at first, but it provides you 2 important parameters which are helpful in troubleshooting the actual issue - Correlation ID – It is a GUID associated with the error messages which is logged by SharePoint Date and Time – The Time Stamp when this error occurred The SharePoint Logs are stored on your Server – HIVE\LOGS (usually HIVE is – C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions) Scan through all your logs, find the relevant log (based on date-time) which should have your error details (use the 'Date and Time' value). Then open the file and search for the 'Correlation ID', this will give you more specific details about the error. This could take up some time for reaching the exact error and issue. Is there an easier way ? -Yes. PowerShell Merge-SPlogfile - Use this PowerShell command to filter logs based on Correlation ID http://code2care.org/2015/merge-splogfile-sharepoint-correlation-id-error SharePoint ULS Log Viewer - This is free Codeplex tool for viewing ULS logs http://ulsviewer.codeplex.com Move to the Top Tags : SharePoint Have a Question or something to say? Write a Comment! Posts related to SharePointSharePoint Managed Metadata Hidden Taxonomy List - TaxonomyHiddenListSharePoint Server 2016 IT Preview - new improved Features and EnhancementsSharePoint 2010 August 2015 Update KB3055049 - Duplicate Document ID issue bug fixedSharePoint PowerShell - How