Hello Community
Edit My Profile in My Site displayed an error that "An unexpected error occurred" with a
Correlation ID. I have tried to read the logs in the 14 hive Logs folder but unsuccessfully.
I was able to understand Event Viewer logs, there was supposed to be 4 possibilities
one was wheter UPS was running, the other was clearing the cache and the other 2 I also fixed
I even recreated the Search Service Application, Metadata and UPS but when I fixed the problems
the error still occurred.
Then I used a Powershell command that displayed output but the Output doesn't make sense
because it is saying the login failed associated with the database that was created by the Search
Service application when it was created.
But how can that username be related to the Search Service database? Below is the output:
Area : SharePoint Foundation
Category : Logging Correlation Data
Level : Medium
EventID : xmnv
Message : Name=Request (GET:http://site/_layouts/EditProfile.aspx?accountname=Server1%User1)
Area : SharePoint Foundation
Category : Logging Correlation Data
Level : Medium
EventID : xmnv
Message : Site=/
Area : SharePoint Server
Category : Database
Level : High
EventID : 880i
Message : System.Data.SqlClient.SqlException: Cannot open database "SrchSvc_DB_5e06e8c82d5446e39da18d70a5a7e78e" r
equested by the login. The login failed. Login failed for user Server1\User1. at System.Data.SqlCli
ent.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlCli
ent.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser
.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkC
opyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLog
in(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo server
Info, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) a
t System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean re
directedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnecti
onString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient
.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Ob
ject providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at Sy
stem.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvi
derInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionF
actory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions opti
ons) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.
Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderB
ase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFa
ctory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenCo
nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.S
qlConnection.Open() at Microsoft.Office.Server.Data.SqlSession.OpenConnection()
Area : SharePoint Server
Category : Database
Level : High
EventID : 880k
Message : at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQu
eryData monitoringData, Boolean retryForDeadLock) at Microsoft.Office.Server.Data.SqlSession.ExecuteRead
er(SqlCommand command, Boolean retryForDeadLock) at Microsoft.Office.Server.Search.Administration.Schema
Database.GetSchemaHighLevelInfo() at Microsoft.Office.Server.Search.Administration.Schema.get_LastChange
Time() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyM
appings(Guid partitionID, SearchServiceApplicationProxy searchAppProxy) at Microsoft.Office.Server.Admin
istration.UserProfileApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName) a
t Microsoft.Office.Server.UserProfiles.Co...
Area : SharePoint Server
Category : Database
Level : High
EventID : 880j
Message : SqlError: 'Cannot open database "SrchSvc_DB_5e06e8c82d5446e39da18d70a5a7e78e" requested by the login. Th
e login failed.' Source: '.Net SqlClient Data Provider' Number: 4060 State: 1 Class: 11 Procedure: '' Lin
eNumber: 65536 Server: Server1\Servers
Area : SharePoint Server
Category : Database
Level : High
EventID : 880j
Message : SqlError: 'Login failed for user Server1\User1.' Source: '.Net SqlClient Data Provider' Number: 18456
State: 1 Class: 14 Procedure: '' LineNumber: 65536 Server: Server1\Servers
Area : SharePoint Server
Category : Database
Level : High
EventID : tzku
Message : ConnectionString: 'Data Source=Server1\Servers;Initial Catalog=SrchSvc_DB_5e06e8c82d5446e39da18d70a5a
7e78e;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout
: 15
Area : SharePoint Foundation
Category : Runtime
Level : Unexpected
EventID : tkau
Message : System.Data.SqlClient.SqlException: Cannot open database "SrchSvc_DB_5e06e8c82d5446e39da18d70a5a7e78e" r
equested by the login. The login failed. Login failed for user Server1\User1. at System.Data.SqlClie
nt.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClie
nt.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.
Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCo
pyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogi
n(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverI
nfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) at
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean red
irectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectio
nString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient.
SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Obj
ect providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at Sys
tem.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProvid
erInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFa
ctory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions optio
ns) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.D
ata.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderBa
se.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFac
tory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenCon
nection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.Sq
lConnection.Open() at Microsoft.Office.Server.Data.SqlSession.OpenConnection() at Microsoft.Office.S
erver.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringDat
a, Boolean retryForDeadLock) at Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command
, Boolean retryForDeadLock) at Microsoft.Office.Server.Search.Administration.SchemaDatabase.GetSchemaHig
hLevelInfo() at Microsoft.Office.Server.Search.Administration.Schema.get_LastChangeTime() at Microso
ft.Office.Server.Administration.UserProfileApplicationProxy.SynchronizeManagedPropertyMappings(Guid partitio
nID, SearchServiceApplicationProxy searchAppProxy) at Microsoft.Office.Server.Administration.UserProfile
ApplicationProxy.GetManagedPropertyMapping(Guid partitionID, String propertyName) at Microsoft.Office.Se
rver.UserProfiles.CoreProperty.GetManagedPropertyMapping(String propertyName) at Microsoft.Office.Server
.UserProfiles.CoreProperty.get_ManagedPropertyName() at Microsoft.SharePoint.Portal.WebControls.ProfileP
ropertyLoader.ApplyFormattingEx(ProfileManagerBase objManager, Dictionary`2 highlightedProperties, Property
prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch) at Microsoft.SharePoint.Porta
l.WebControls.ProfileUI.LoadProfileTable() at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadCont
rol(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.
Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control
.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.U
I.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint
, Boolean includeStagesAfterAsyncPoint)
Area : SharePoint Foundation
Category : Monitoring
Level : Medium
EventID : b4ly
Message : Leaving Monitored Scope (Request (GET:http://site/_layouts/EditProfile.aspx?accountname=Server1%User1)). Execution Time=88.6628049095625
What does that username have to do with the database created by Search Service Application creation
and why can't I "Edit my profile" in My Profile?
Thank you
Shabeaut









