[RESOLVED] "An unexpected error has occurred"

Topics: User Forum
Aug 22, 2012 at 4:19 PM

Hi - I have installed SLK and followed the instructions from fragged.nu to get a test application up and running, but I am getting the following error. How anyone encountered this before? This happens when I select 'E-Learning Actions' from the context menu, step #12 in the approach linked above.

Error

An unexpected error has occurred.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 14b2520e-f91b-4e34-9a03-6aff11ff9b0f

Date and Time: 22/08/2012 16:15:42

Many thanks,

 

Brian

Aug 22, 2012 at 4:41 PM
Edited Aug 22, 2012 at 4:42 PM

Hi.

If you use SP 2010, look the log file with date of create "22/08/2012 16:15" in directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Logs

if SP 2007 - C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs

find the text error with code 14b2520e-f91b-4e34-9a03-6aff11ff9b0f and write it here.

Aug 23, 2012 at 12:35 PM

Thanks Dimitriy.

The excerpt is below. I was thinking of removing SLK and starting again from scratch.

08/22/2012 16:15:42.01 w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         General                       90hv Unexpected Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:    at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean throwException)     at Microsoft.SharePoint.SPFile.get_TimeLastModified()     at Microsoft.LearningComponents.SharePoint.CachedPackage.GetLastModifiedTime(CachedFileInfo fileInfo)     at Microsoft.LearningComponents.SharePoint.CachedPackage.LockCacheDirectory(String lockFileName, String cacheDir, CachedFileInfo fileInfo)     at Microsoft.LearningComponents.SharePoint.CachedPackage.LockCache(String lockFileName, String cacheDir, CachedFileInfo fileInfo)     at Microsoft.LearningComponents.SharePoint.CachedPackage..ctor(SharePointCacheSettings settings, SharePoint... 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.01* w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         General                       90hv Unexpected ...FileLocation packageLocation, Boolean cacheAsPackage, ICachePackageTest cacheTester)     at Microsoft.LearningComponents.SharePoint.CachedPackage..ctor(SharePointCacheSettings settings, SharePointFileLocation packageLocation, Boolean cacheAsPackage)     at Microsoft.LearningComponents.SharePoint.SharePointPackageReader.<get_FileSystemPackageReader>b__4()     at Microsoft.LearningComponents.SharePoint.SharePointPackageReader.RunWithCurrentUserPrivileges(CodeToRunElevated codeToRun)     at Microsoft.LearningComponents.SharePoint.SharePointPackageReader.get_FileSystemPackageReader()     at Microsoft.LearningComponents.SharePoint.SharePointPackageReader.FileExists(String filePath)     at Microsoft.LearningComponents.PackageValidator.Validate(PackageReader packageReader)     at Microsoft.ShareP... 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.01* w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         General                       90hv Unexpected ...ointLearningKit.ApplicationPages.ActionsPage.LoadSlkObjects()     at Microsoft.SharePointLearningKit.ApplicationPages.ActionsPage.get_NonELearning()     at Microsoft.SharePointLearningKit.ApplicationPages.ActionsPage.OnPreRender(EventArgs e)     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_sharepointlearningkit_actions_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.Syste... 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.01* w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         General                       90hv Unexpected ...m.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRunt... 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.01* w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         General                       90hv Unexpected ...ime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.06 w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         Runtime                       tkau Unexpected System.InvalidOperationException: Script controls may not be registered before PreRender.    at System.Web.UI.ScriptControlManager.RegisterScriptControl[TScriptControl](TScriptControl scriptControl)     at System.Web.UI.ScriptManager.RegisterScriptControl[TScriptControl](TScriptControl scriptControl)     at Telerik.Web.UI.RadDataBoundControl.RegisterScriptControl()     at Telerik.Web.UI.RadRating.ControlPreRender()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at System.Web.UI.HtmlControls.HtmlHead.AddedControl(Control control, Int32 index)     at Bamboo.ListCustomColumn.BambooCustomActionRatingColumn.OnPreRender(EventArgs e)     at System.Web.UI... 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.06* w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         Runtime                       tkau Unexpected ....Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 14b2520e-f91b-4e34-9a03-6aff11ff9b0f08/22/2012 16:15:42.08 w3wp.exe (0x17D4)                       0x1614 SharePoint Foundation         Performance                   nask High     An SPRequest object was not disposed before the end of this thread.  To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it.  This object will now be disposed.  Allocation Id: {D432D603-9EB4-4830-A935-0E0A3136CED7}  To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks = true. 14b2520e-f91b-4e34-9a03-6aff11ff9b0f

Aug 23, 2012 at 3:58 PM

Hi Dimitriy - I completely removed my install (of SLK) and started again and it now works. Thanks again.

Brian

Jun 24, 2013 at 11:09 AM
brianomuiri wrote:
Hi - I have installed SLK and followed the instructions from fragged.nu to get a test application up and running, but I am getting the following error. How anyone encountered this before? This happens when I select 'E-Learning Actions' from the context menu, step #12 in the approach linked above. Error An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 14b2520e-f91b-4e34-9a03-6aff11ff9b0f Date and Time: 22/08/2012 16:15:42 Many thanks,   Brian
I have the same problem, unexpected error occurred, from the E-Learning actions, or Assign to Site or to self, i can access the error logs but cannot find an associated program to open it, tried Notepad and Word Pad, but both cannot open the error log file.usage, Correlation ID 3c4aceec-1f6b-42ca-932e-5e6643d54814

Please Assist
Jun 25, 2013 at 8:39 AM
Hi khumas - you are trying to open the wrong file. In your directory you should see .log files and .usage files. You need to open the .log file which is text.

However this did not help me - I just completely removed my SLK install and reinstalled and it worked the second time.

Brian