Friday, July 18, 2014

How to start workflow in PowerShell after sp2010 sp2

To start workflow in PowerShell script should be easy. Below is the one I used for long time.

$itemCurrent = $list.GetItemById($itemId) 
$wfRunOption = [Microsoft.SharePoint.Workflow.SPWorkflowRunOptions]::Synchronous 
$wf = $manager.StartWorkFlow($itemCurrent,$assoc,$data,$wfRunOption) 

However, after installing SP2010 SP2, it stopped working with "Failed on Start" workflow status.

I know "system account" cannot trigger workflow. So, it should be easy to fix: we can get the SPSite object under another user's token. Below is the script

$web = Get-SPWeb -Identity $webURL 
$user=$web.EnsureUser("domainName\anotherUser")
$token = $user.UserToken;
$impSite= New-Object Microsoft.SharePoint.SPSite($webURL, $token);
$web.Dispose()
$web = $impSite.OpenWeb()
$manager = $web.Site.WorkFlowManager 
$list = $web.Lists[$listName] 

However, nothing is changed. Still the same error: "Failed on Start".

I did some searching on Internet, which leads to pages like here and here. None of them resolve the problem.

Then I RDP to SharePoint server desktop as another user which has enough rights of database and site collection, and run PowerShell script manually. Still same. This is weird.

As last resort, I RDP to SharePoint server as a farm admin and then run the "SharePoint 2010 Management Shell" as a different user (which has enough rights, such as "domainName\SomeUser"). It worked!

I don't understand it although feel quite happy.

(I would really appreciate it if you can explain that in comments)

[update 20140718]

If still got error "Failed on Start", please check ULS log.  If the error message is similar to the one below, you need to grant windows local admin rights to "domainName\SomeUser", which is used to run "SharePoint 2010 Management Shell".

Errors in ULS:

Workflow Compile Failed while loading AuthorizedTypes from config: An error occurred creating the configuration section handler for System.Workflow.ComponentModel.WorkflowCompiler/authorizedTypes: Could not find file 'C:\Users\0efang\AppData\Local\Temp\qklxfvr3.dll'. (C:\inetpub\wwwroot\wss\VirtualDirectories\appsdev.unitingcare.local80\web.config line 654)

RunWorkflow: Microsoft.SharePoint.SPException: An error occurred creating the configuration section handler for System.Workflow.ComponentModel.WorkflowCompiler/authorizedTypes: Could not find file 'C:\Users\0efang\AppData\Local\Temp\qklxfvr3.dll'. (C:\inetpub\wwwroot\wss\VirtualDirectories\appsdev.unitingcare.local80\web.config line 654)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.<>c__DisplayClasse.b__c()    
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.DoCompileNewAppDomain(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, SPWeb web, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.CompileBytes(Byte[] xomlBytes, Byte[] rulesBytes, Boolean doTestCompilation, String assemblyName, SPWeb web, Boolean forceNewAppDomain)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)    
 at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback)    
 at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)    
 at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)    
 at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)

Microsoft.SharePoint.SPException: An error occurred creating the configuration section handler for System.Workflow.ComponentModel.WorkflowCompiler/authorizedTypes: Could not find file 'C:\Users\0efang\AppData\Local\Temp\qklxfvr3.dll'. (C:\inetpub\wwwroot\wss\VirtualDirectories\appsdev.unitingcare.local80\web.config line 654)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.SubCompiler.DoCompile(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.<>c__DisplayClasse.b__c()    
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.DoCompileNewAppDomain(WorkflowCompilerParameters parameters, String xomlSource, String assemblyName, SPWeb web, CompilationPacket& packet, DirectoryInfo& tempDir)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.CompileBytes(Byte[] xomlBytes, Byte[] rulesBytes, Boolean doTestCompilation, String assemblyName, SPWeb web, Boolean forceNewAppDomain)    
 at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)    
 at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback)    
 at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)    
 at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)    
 at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)

Friday, June 20, 2014

Error - Unable to retrieve topology component health states

I think many issues may cause this error message. Recently I also got this issue all of sudden.

Some people suggest to Repair SharePoint under Control Panel, restarting search servers, reinstall Search Service Application, change the service account, or recreate entirely the search service application and components.

My question is, why it worked before?

Then I noticed the post from Joel Plaut. Joel mentioned that we could change "memoryLimitMegabytes" settings in "noderunner.exe.config" to reduce the memory consumption, that rang the bell in my mind.

I got this problem in Development environment (SP1 + CU201406). Apart from a separate SQL Server instance, the farm contains 2 virtual machines, and each have 8GB RAM. Since I started "Microsoft SharePoint Foundation Web Application" on both servers, the hardware resource is far below the minimum requirement from MSDN.

So, I kept all web applications running on one machine, and moved most of the other services, such as "Search Services" and "Distributed Cache service" to the other VM.

After restarting "Search Host Controller Service", Bing! The problem is fixed!

Tuesday, June 17, 2014

"v15.master" "belltown.master" "overlay.master" are gone!

When reading "Professional SharePoint 2013 Administration", I noticed that "v15.master" "belltown.master" "overlay.master" were not there under "Master Pages" gallery folder.

I am pretty sure they were there a while ago, and, when googling it, there are so many posts mentioned these three master pages. Now, what we have in "Publishing Portal" site is below:



Adrian noticed this issue in the post , but didn't provide the reason. Considering the publish time of that post, I assume the change was made by SharePoint 2013 Public Update March 2013. However, Microsoft didn't mention this change in Description of the SharePoint Foundation 2013 update: March 12, 2013 and Description of the SharePoint Server 2013 update: March 12, 2013

In my opinion, use "seattle.master" and "oslo.master" to replace "v15.master" "belltown.master" "overlay.master" is good. It's more reasonable.

Anyway, this is the reality and we have to accept it. :-)

Below are two screenshots to compare the major differences.

seattle.master:


oslo.master:

Tuesday, June 10, 2014

Interesting error message caused by SharePoint cumulative update

Not sure the problem starts from which CU.

After installing CU April, 2014, I got the error below from SharePoint log when trying to open personal site.
And so, users could not open their personal sites.

It's new to me. As a quick fix, I granted access right of database SP_EnterpriseSearch to the application pool service account, which fixed the problem.

But, why do we need that?

One day later, when got some spare time, I decided to do some further investigation. However, all work well even if I revoke the access rights from the application pool service account!

So, my guess is, after running "SharePoint 2010 Products Configuration Wizard", we need to wait for a while so SharePoint Timer can run some job to reset some data initialization.

How long is the "a while"? I don't know the exact number, but 24 hours should be enough.

============

06/08/2014 00:25:34.18 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880i High     System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 tim... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880i High     ...erExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvid... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880i High     ...erInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.S... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880i High     ...erver.Data.SqlSession.OpenConnection() ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High       at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.Co... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High     ...reProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenI... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High     ...nternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTex... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High     ...tWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     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.PERSON_ASPX__1056203612.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Bool... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High     ...ean& 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.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 ... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880k High     ...flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880j High     SqlError: 'Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.'    Source: '.Net SqlClient Data Provider' Number: 4060 State: 1 Class: 11 Procedure: '' LineNumber: 65536 Server: 'DB_SharepointPRD\SHAREPOINT' ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       880j High     SqlError: 'Login failed for user 'DomainName\_SPAppPool'.'    Source: '.Net SqlClient Data Provider' Number: 18456 State: 1 Class: 14 Procedure: '' LineNumber: 65536 Server: 'DB_SharepointPRD\SHAREPOINT' ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.18 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Database                       tzku High     ConnectionString: 'Data Source=sp2010db;Initial Catalog=SP_EnterpriseSearch;Integrated Security=True;Enlist=False;Connect Timeout=15'    ConnectionState: Closed ConnectionTimeout: 15 ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.20 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pm5 High     Url Path: "/person.aspx" ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.20 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pm6 High     ********** SQL exception happens - Start dump ********** ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.20 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pm7 High     SqlException Info, Source: .Net SqlClient Data Provider Number: 4060 State: 1 Class: 11 Server: DB_SharepointPRD\SHAREPOINT Message: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'. Procedure:  Line: 65536 ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.20 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pm8 High     ********** SQL exception happens - End dump ********** ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     a... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...t System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boo... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...lean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnecti... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...on(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChil... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...drenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInte... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...rnal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at Syst... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...em.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.Sq... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...lInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConne... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...ction owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ... retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase ob... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...jManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ....RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Bo... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Portal Server       Runtime                       7pma Exception ...olean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Source: .Net SqlClient Data Provider Server: DB_SharepointPRD\SHAREPOINT LineNumber: 65536 ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Server             Unified Logging Service       c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 06d8f9f3 "sharepoint portal server", 0e001b67 "14.0.7015.0", ea364808 "system.data", 0200c627 "2.0.50727.0", 4ca2ba0b "wed sep 29 14:01:15 2010", 00002745 "00002745", 00000011 "00000011", 54cb9616 "sqlexception:4060:1", 37706d61 "7pma" ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21 w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 time... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...rExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvide... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...rInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Se... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...rver.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at ... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     a... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...t System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)  ... ccbafe59-38a6-443a-b4a9-4ea83f7576a1
06/08/2014 00:25:34.21* w3wp.exe (0x0AF0)                       0x1F98 SharePoint Foundation         Runtime                       tkau Unexpected ...   at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ccbafe59-38a6-443a-b4a9-4ea83f7576a1


06/08/2014 00:25:42.63 w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Monitoring                     b4ly High     Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=7.6224771584098 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Server             Database                       tzku High     ConnectionString: 'Data Source=sp2010db;Initial Catalog=SP_EnterpriseSearch;Integrated Security=True;Enlist=False;Connect Timeout=15'    ConnectionState: Closed ConnectionTimeout: 15 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pm5 High     Url Path: "/person.aspx" 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pm6 High     ********** SQL exception happens - Start dump ********** 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pm7 High     SqlException Info, Source: .Net SqlClient Data Provider Number: 4060 State: 1 Class: 11 Server: DB_SharepointPRD\SHAREPOINT Message: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'. Procedure:  Line: 65536 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pm8 High     ********** SQL exception happens - End dump ********** 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     a... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...t System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boo... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...lean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnecti... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...on(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChil... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...drenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInte... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...rnal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at Syst... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...em.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.Sq... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...lInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConne... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...ction owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ... retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase ob... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...jManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ....RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Bo... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Portal Server       Runtime                       7pma Exception ...olean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Source: .Net SqlClient Data Provider Server: DB_SharepointPRD\SHAREPOINT LineNumber: 65536 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Server             Unified Logging Service       c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 06d8f9f3 "sharepoint portal server", 0e001b67 "14.0.7015.0", ea364808 "system.data", 0200c627 "2.0.50727.0", 4ca2ba0b "wed sep 29 14:01:15 2010", 00002745 "00002745", 00000011 "00000011", 54cb9616 "sqlexception:4060:1", 37706d61 "7pma" 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67 w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 time... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...rExpire, SqlConnection owningObject)     at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)     at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvide... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...rInfo, DbConnectionPool pool, DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Se... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...rver.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at ... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     a... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...t System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)  ... 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:42.67* w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Runtime                       tkau Unexpected ...   at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 8aeb36d2-4bc2-4b3c-9454-75f62f5ce4ab
06/08/2014 00:25:43.96 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Logging Correlation Data       xmnv Medium   Name=Request (GET:http://mysite.DomainName.local:80/person.aspx) 8ce4bc37-3df1-4ed3-b559-e2f7133254ef
06/08/2014 00:25:43.98 w3wp.exe (0x0AF0)                       0x193C SharePoint Foundation         Logging Correlation Data       xmnv Medium   Name=Request (GET:http://mysite.DomainName.local:80/person.aspx) fec51a94-96dd-4e16-9142-8c68a87de278
06/08/2014 00:25:43.98 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Logging Correlation Data       xmnv Medium   Name=Request (GET:http://mysite.DomainName.local:80/person.aspx) 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:43.98 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Logging Correlation Data       xmnv Medium   Site=/ 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:43.98 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Monitoring                     b4ly High     Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=7.79735972029965 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Server             Database                       tzku High     ConnectionString: 'Data Source=sp2010db;Initial Catalog=SP_EnterpriseSearch;Integrated Security=True;Enlist=False;Connect Timeout=15'    ConnectionState: Closed ConnectionTimeout: 15 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pm5 High     Url Path: "/person.aspx" 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pm6 High     ********** SQL exception happens - Start dump ********** 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pm7 High     SqlException Info, Source: .Net SqlClient Data Provider Number: 4060 State: 1 Class: 11 Server: DB_SharepointPRD\SHAREPOINT Message: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'. Procedure:  Line: 65536 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pm8 High     ********** SQL exception happens - End dump ********** 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String pr... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...opertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection chi... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...ldren)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Po... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...rtal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.     at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.S... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...qlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContai... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...nerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPa... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Portal Server       Runtime                       7pma Exception ...rtPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Source: .Net SqlClient Data Provider Server: DB_SharepointPRD\SHAREPOINT LineNumber: 65536 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Server             Unified Logging Service       c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 06d8f9f3 "sharepoint portal server", 0e001b67 "14.0.7015.0", ea364808 "system.data", 0200c627 "2.0.50727.0", 4ca2ba0b "wed sep 29 14:01:15 2010", 000020f4 "000020f4", 0000012a "0000012a", 54cb9616 "sqlexception:4060:1", 37706d61 "7pma" 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01 w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Runtime                       tkau Unexpected System.Data.SqlClient.SqlException: Cannot open database "SP_EnterpriseSearch" requested by the login. The login failed.  Login failed for user 'DomainName\_SPAppPool'.    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)     at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)     at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)     at System.Data.SqlClient.SqlConnection.Open()     at Microsoft.Office.Server.Data.SqlSession.OpenConnection()     at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.Office.Server.Da... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Runtime                       tkau Unexpected ...ta.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)     at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHighLevelInfo()     at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy)     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName)     at Microsoft.Office.Server.UserProfiles.CoreProperty.get_ManagedPropertyName()     at Microsoft.SharePoint.Portal.WebControls.Profil... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Runtime                       tkau Unexpected ...ePropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch)     at Microsoft.SharePoint.Portal.WebControls.ProfileDetailsViewer.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWr... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Runtime                       tkau Unexpected ...iter output)     at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter ... 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec
06/08/2014 00:25:44.01* w3wp.exe (0x0AF0)                       0x0EA4 SharePoint Foundation         Runtime                       tkau Unexpected ...writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 6a7dd15e-7a33-4e05-8cb2-0c602edac0ec