Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all 21070 articles
Browse latest View live

SharePoint 2013 site is opened with the old FedAuth Cookie after logout.

$
0
0

I am having one issue and that is I developed a portal in sharepoint 2013 form based web application, the membership provider is using SQL server as User base. the testers are testing with burp tool , and they found that they can open the site with old fedauth cookie which they saved before logout. initially I used the default signout.aspx page, later I used custom signout.aspx page and used all kind of possible code to sign it out , I used the below code , but still the site is opened with the old securitytoken, I think after logout the authenticationToken is not destroyed.

varauthCookie = Request.Cookies[FormsAuthentication.FormsCookieName];

           

// Clear .ASPAUTH cookie key.


           

if(authCookie !=null)

            {

               

varmyCookie =newHttpCookie(authCookie.Name) { Expires = DateTime.Now.AddDays(-1) };

                Response.Cookies.Add(myCookie);

            }

           

SPIisSettingsiisSettingsWithFallback = Site.WebApplication.GetIisSettingsWithFallback(Site.Zone);

           

if(iisSettingsWithFallback.UseClaimsAuthentication)

            {

               

//delete all cookies


               

// Clear session state.


               

if(Context.Session !=null)

                {

                   

                    Context.Session.Clear();

                    Context.Session.RemoveAll();

                    Session.Abandon();

                    Response.Cookies.Add(

newHttpCookie("ASP.NET_SessionId",""));

                    KillSession();

                }

               

if(HttpContext.Current != null)

                {

                   

intcookieCount =HttpContext.Current.Request.Cookies.Count;

                   

for(vari = 0; i < cookieCount; i++)

                    {

                       

varcookie =HttpContext.Current.Request.Cookies[i];

                       

if(cookie !=null)

                        {

                           

varcookieName = cookie.Name;

                           

varexpiredCookie =newHttpCookie(cookieName) { Expires = DateTime.Now.AddDays(-1) };

                           

HttpContext.Current.Response.Cookies.Add(expiredCookie);// overwrite it


                        }

                    }

                   

// clear cookies server side


                   

HttpContext.Current.Request.Cookies.Clear();

                }

 

                Microsoft.IdentityModel.Web.

FederatedAuthentication.SessionAuthenticationModule.SignOut();

                Microsoft.IdentityModel.Web.

FederatedAuthentication.SessionAuthenticationModule.DeleteSessionTokenCookie();

                Microsoft.IdentityModel.Web.

FederatedAuthentication.SessionAuthenticationModule.Dispose();               

                Page.ClientScript.RegisterStartupScript(

this.GetType(),"cle","windows.history.clear",true);



SharePoint Configuration Wizard is failed for 2016

$
0
0

I'm building new brand new test environment for SharePoint Server 2016.

Everything wen well till configuration wizard.

Failed to register SharePoint services.
An exception of type System.Xml.XmlException was thrown.  Additional exception information: Invalid character in the given encoding. Line 19, position 50.
System.Xml.XmlException: Invalid character in the given encoding. Line 19, position 50.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
   at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
   at System.Xml.XmlTextReaderImpl.ParseComment()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance.Provision()
   at Microsoft.SharePoint.Administration.SPServerRoleManager.<>c__DisplayClass1.<ProvisionServiceInstance>b__0()
   at Microsoft.SharePoint.Administration.SPServerRoleManager.ConfigureServiceInstance(SPServiceInstance serviceInstance)
   at Microsoft.SharePoint.Administration.SPServerRoleManager.ConfigureServer(Boolean throwOnFailure)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
   at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

Logs not saying much

10/26/2016 07:26:36  1  INF                                                Created a label, name is FinishForm, text is An exception of type System.Xml.XmlException was thrown.  Additional exception information: Invalid character in the given encoding. Line 19, position 50.
10/26/2016 07:26:36  1  INF                                              Leaving function PsconfigLabel.CommonStuff
10/26/2016 07:26:36  1  INF                                            Leaving function PsconfigLabel.PsconfigLabel
10/26/2016 07:26:36  1  INF                                            Entering function StringResourceManager.GetResourceString
10/26/2016 07:26:36  1  INF                                              Resource id to be retrieved is FinishFormInstructionsFailLabel for language

Please advise

Thanks

Fresh SharePoint 2013 Setup

$
0
0

Hello All,

I have installed SharePoint 2013 on the server and SQL Server 2008 R2 SP1.

I started the command New-SPConfigurationDatabase and the command is stuck with no error or logs.

I can see the config DB created in the SQL Server. Please let me know what can be the issue. It is already more than 2 hrs.

Regards,


Vaibhav Antriwale


SharePoint 2013 Workflow Settings Randomly Changed

$
0
0

Hello,

On 10/3/16 the "Remove Workflow" setting for all 2010 workflows in my production environment were changed to "Allow". This resulted in previous versions of workflows to run, causing thousands of emails to be sent out and hundreds of item updates. I've confirmed with my team that nobody updated anything to cause a mass list/library settings change. Has anyone experienced this and/or know how this could have happened?

Thanks,
Alicia

How to set Administrators and permissions in Business Data Connectivity Service using powershell

$
0
0

While we are creating Managed Metadata service using powershell, New-SPMetadataServiceApplication have property -AdministratorAccount and -FullAccessAccount to set Administrator and permissions.

but in New-SPBusinessDataCatalogServiceApplication i have not found properties like that.

How can i add users in administrators and permissions?

Thanks

WARNING: Unable to start job CollectLogFiles_******_1156808984 on server *******

$
0
0

I get above warning after running Merge-SPLogFile with -COrrelation switch from Central admin server.

Can anybody help to get rid of it?

HTTP 403 Forbidden when using "Edit Page"

$
0
0

I have a Web Application with Host Name Site Collections underneath.  I am a Site Collection Administrator for each site.

I have another Web Application (Intranet) that is not a HNSC and I too am a Site Collection Administrator.

These Web Applications both sit under the same Application Pool.

For the HNSC, I am unable to Edit a Page in the browser (IE or Firefox) - I get an "HTTP 403 Forbidden" Error (see below).  I can browse any page file, can edit settings, permissions, etc.  The Intranet Web Application works fine and I can edit pages.

I'm a bit confused as to where to look to resolve this - SP permissions seem okay.  Also, it used to allow editing so something must have changed at some point...  Something in the IIS Site permissions?

Access Denied when trying to edit page

$
0
0

all users (including farm admin) are having an issue editing existing pages on all sites on a give web app (another web app on the same server is fine.

Whenever a user goes to edit a page, they get a 403 error (https://ibin.co/2zalK70FhiPC.png). I've loked at ULS, Event Viewer, and ProcMon. 

ULS says: 

 SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://buildeagle.com/

and then 

	System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   	 at Microsoft.SharePoint.SPWeb.InitWeb()    	 at Microsoft.SharePoint.SPWeb.get_SecurableObjectImpl()    	 at Microsoft.SharePoint.SPSecurableObject.get_HasUniqueRoleAssignments()    	 at Microsoft.SharePoint.SPAccessRequestsUtility.TryGetAccessRequestListCore(SPWeb web, SPList& arl, Boolean ignoreRoleAssignments, Boolean& incompatibleListWithSameNameExists)    	 at Microsoft.SharePoint.SPAccessRequestsUtility.TryGetAccessRequestList(SPWeb web, SPList& arl, Boolean ignoreRoleAssignments)    	 at Microsoft.SharePoint.WebControls.AccessRequestsDialog.InitControls(SPWeb webAsSystem, SPList listAsSystem, SPListItem itemAsSystem, SPObjectType requestType)    	 at Microsoft.SharePoint.WebControls.AccessRequestsDialog.<>c__DisplayClass1.<OnLoad>b__0()    	 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    	 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    	 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    	 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    	 at Microsoft.SharePoint.WebControls.AccessRequestsDialog.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.UI.Control.LoadRecursive()    	 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 System.Web.HttpApplication.CallHandlerExecutionStep.System.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 rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    	 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    	 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    	 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    	 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    	 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

Windows event viewer is complaining about the Managed metadata service not running, but I don't think that's related, since the other web application isn't crashing.

Thanks for the help. 


SharePoint 2013 List Item Text Values Duplicating/Deleting

$
0
0

Hello,

I am updating items on a list that has a "Multiple lines of text" column and allows attachments. I attached a document (EDIT > Attach File) to the item and added a note to the text field and saved. I then made another update to the attachment without updating the text field and noticed that my previous note was duplicated. This continued to happen whenever I updated the same attachment. When I update any of the other columns and save I see the duplicated AND original note in the Multi lines of text column are deleted one by one.

Does anyone know how to stop both of these issues from happening?

Thanks,
Alicia

Problem with SharePoint Job - error is thrown in Event Viewer

$
0
0

Problem with Project Server services and SharePoint Job as below:

The Execute method of job definition Microsoft.SharePoint.Utilities.SPRerunDiscoveryJobDefinition (ID c6dc78f9-53ca-4ad9-a95a-8bbbad68f39f) threw an exception. More information is included below.
The validation of proof token is failed and possible cause is that the issuer of the proof token is not trusted or proof token has invalid claims in it. 


Do you now which SharePoint Job is responsible for that

SPRerunDiscoveryJobDefinition

job definition?

Thanx for any help!

Does sharepoint allow backup-ing a site collection and restoring the backup file on another site collection within the same web application

$
0
0

I am working on a SharePoint 2013 web application. and i am totally confused if SharePoint do or do not allow to backup and restore a copy of a site collection on the same web application.

now before around 1 year i read the following question link and the answers were mainly saying that we can not restore a copy of a site collection on the same web application, because we will get GUID conflicts ,etc.. "no its not possible to create a backup and restore within the same site collection, The ID's for site collection, sites, subsites and list/libs will be in conflict with each other."

but today i tried the following where i backup a site collection as follow:-

Backup-SPSite http://servername/1 -Path C:\test.bak
then i create a new site collection on the following URL http://servername/2

then i restore the backup file on the new site collection as follow:-

Restore-SPSite -Identity http://servername/2 -Path C:\test.bak -DatabaseServer servername\SharePoint  -DatabaseName WSS_Content    -force
and everything worked well,,, and i got two site collections at the following urlshttp://servername/1&http://servername/2 .. so not sure why i did not get any GUID conflict or IDs conflicts or any other exception as mentioned on the replies inside the question i provide a link for ?

Thanks



Incoming email settings for SharePoint 2013 Calendar

$
0
0

Hi,

What are the steps need to be taken care of to enable incoming email settings for SharePoint 2013 Calendar?

I have email id which was created in exchange. What are the other steps I need to take at server level to create entries in Calendar?

Thank you.


OK29

Windows and SharePoint patches combined?

$
0
0

Is MS now combining the monthly security patches into one package with no way to separate them out.

We normally apply SharePoint patches at a later time or just take care of them with a CU once tested.

I have gotten some conflicting information on this from non MS sources

thanks

themush

Site Owner unable to break the inheritance of permission Correlation ID: 6344b19d-8f55-200a-66e5-fc5268653204

$
0
0

We use Forum Pass (from Exostar company) to log on SharePoint. So the issue is we are a site under Marine site collection. We suddenly lost the permission to break permission inheritance for any apps in the site as the site owners.

What we have tried:

-         The sub-site under this trouble site functions well

-         I tried to ask my colleague to remove me from owner group and add me again, logged off and on again, didn’t work

-         I was removed from owner group and added as individual with full control, didn’t work

-         Tried each site owner, none of them can break the inheritance

-         Site Collection Admin could break the permission, but cannot fix the problem

Below are the notification I got in the error page.

¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨

Correlation ID: 6344b19d-8f55-200a-66e5-fc5268653204

¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨

You could save me a week’s time to re-configure and migrate if you could help me solve it JJ

Error on SharePoint CA Backup

$
0
0

Hello,

When I backup the Farm everything works properly and marks complteted without any errors except the SharePoint Central Administration v4. It throws the error: Object SharePoint Central Administration v4 failed in event OnPrepareBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
SPException: The Default Zone of this Web Application has no associated IIS Web site.  Is there anyway I could fix this?


Reif, Christopher


Move people from one OU to another OU

$
0
0

Hello SP Gurus - There were some organizational changes happened in my organization. When one person was move from the OU which was mapped with SharePoint UP. The user's mysite was marked for deletion. When we moved it back to the mapped OU, the new profile was created and hence new mysite was created for the users. All the user profile properties's data was lost. That was just a test. We now really need to move people around from one OU to another. Is it possible to preserve their mysite data after moving them into another OU?

Any insight will be helpful?

Thanks & Regards,

 

Khushi

Cannot find site lookup info for request Uri

$
0
0

Having the following errors in my uls logs, the addresses in question repeat for all 4 of my servers in the farm.

How can i resolve this?

0/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	General                       	adyrv	High	Cannot find site lookup info for request Uri http://SERVER04/.
10/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	Configuration                 	8059	Warning	Alternate access mappings have not been configured.  Users or services are accessing the site http://intranet.ers.com with the URL http://SERVER04.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://SERVER04 as an AAM response URL.  For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
10/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	General                       	adyrv	High	Cannot find site lookup info for request Uri http://SERVER04/.
10/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	Configuration                 	8059	Warning	Alternate access mappings have not been configured.  Users or services are accessing the site http://intranet.ers.com with the URL http://SERVER04.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://SERVER04 as an AAM response URL.  For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
10/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	Monitoring                    	b4ly	High	Leaving Monitored Scope (PreSendRequestHeaders). Execution Time=0.831111216649043
10/26/2016 15:29:04.16 	w3wp.exe (SERVER04:0x54CC)           	0x5FF4	SharePoint Foundation         	Micro Trace                   	uls4	Medium	Micro Trace Tags: 0 adyrv,0 adyrv,0 b4ly
10/26/2016 15:29:04.16 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	General                       	adyrv	High	Cannot find site lookup info for request Uri http://SERVER03/.
10/26/2016 15:29:04.16 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	Configuration                 	8059	Warning	Alternate access mappings have not been configured.  Users or services are accessing the site http://intranet.ers.com with the URL http://SERVER03.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://SERVER03 as an AAM response URL.  For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Foundation         	Monitoring                    	nasq	Medium	Entering monitored scope (ExecuteWcfServerOperation). Parent No
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Foundation         	Topology                      	e5mb	Medium	WcfReceiveRequest: LocalAddress: 'http://SERVER01.insurance.lan:32843/a779bde48b9444edadedbc75e10d1ba9/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:153899bc-13a7-4aea-8e51-b6b8c79af063'	ff27fe30-ba4e-4030-9748-c72e6ed7befb
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Server             	Taxonomy                      	fuc5	Medium	MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service ERS' starting.	ff27fe30-ba4e-4030-9748-c72e6ed7befb
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Server             	Taxonomy                      	fuc6	Medium	MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service ERS' completed.	ff27fe30-ba4e-4030-9748-c72e6ed7befb
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Foundation         	Micro Trace                   	uls4	Medium	Micro Trace Tags: 0 nasq,0 e5mb,0 fuc5,3 fuc6	ff27fe30-ba4e-4030-9748-c72e6ed7befb
10/26/2016 15:29:04.18 	w3wp.exe (SERVER01:0x2F30)           	0x240C	SharePoint Foundation         	Monitoring                    	b4ly	Medium	Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=4.25885133445731	ff27fe30-ba4e-4030-9748-c72e6ed7befb
10/26/2016 15:29:04.18 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	General                       	adyrv	High	Cannot find site lookup info for request Uri http://SERVER03/.
10/26/2016 15:29:04.18 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	Configuration                 	8059	Warning	Alternate access mappings have not been configured.  Users or services are accessing the site http://intranet.ers.com with the URL http://SERVER03.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URL http://SERVER03 as an AAM response URL.  For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
10/26/2016 15:29:04.18 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	Monitoring                    	b4ly	High	Leaving Monitored Scope (PreSendRequestHeaders). Execution Time=1.66976529139877
10/26/2016 15:29:04.18 	w3wp.exe (SERVER03:0x4A2C)           	0x42E0	SharePoint Foundation         	Micro Trace                   	uls4	Medium	Micro Trace Tags: 0 adyrv,1 adyrv,0 b4ly	


Moving site to site collection - site feed and Microfeed list pictures

$
0
0

Hello,

   I am trying to migrate a site to a site collection. I have tried both the Export-Import and Metalogix Content Matrix. Neither solution has been helpful when it comes to the pictures contained within the site feed. The content from the site feed does come across - text that is! However, the picture links are broke. The picture links point to the new site collection path twice which throws it off - for example /company/company instead of just /company. So, I can go in the microfeed list and see the path is wrong. However, the path information in the list is not editable. I even tried a form to get at the information and it didn't work either.

Everything else (so far tested) seems to be working in my tests.

So, migrating a site feed from a site to site collection - how do I insure the path for pictures is included so the site feed shows both text and embedded pictures? Or, how do I alter the path contained in the ContentData column in the Microfeed list?

Thanks for any help


Doug F, M.S., ITIL.

Application error when access /_layouts/15/EditProfile.aspx, Error=There was an internal problem connecting to or querying the database.

$
0
0

I am unable to edit user profiles under MySites. When a user clicks edit they get a correlation error. The profiles web app pool account doesn't have permission to access the Search Admin DB. I'm not sure what permission, if any, should be granted on that database.

SqlCommand: 'proc_MSS_GetSchemaHighLevelInfo'     CommandType: StoredProcedure CommandTimeout: 30
Exception in GetSchemaHighLevelInfo: Cannot open database "SharePoint_ServiceDB_SearchAdminDB" requested by the login. The login failed.  Login failed for user 'CONTOSO\mysitesvcacct'.
 at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
 at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
 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, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
 at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
 at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
 at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
 at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
 at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
 at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
 at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
 at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
 at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
 at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
 at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
 at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
 at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
 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.SqlSessionWrapper.ExecuteReader(SqlCommand command)
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.PrivateGetSchemaHighLevelInfo()
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
ProfileUI: Unhandled exception inside LoadProfileTable: Microsoft.Office.Server.Search.Administration.DatabaseException: There was an internal problem connecting to or querying the database.
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
 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 objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch, Boolean allowBooleanCheckbox)
 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.ProfileUI.LoadProfileTable()
ProfileUI: Unhandled exception inside LoadControl: Microsoft.Office.Server.Search.Administration.DatabaseException: There was an internal problem connecting to or querying the database.    a
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
 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 objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch, Boolean allowBooleanCheckbox)
 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.ProfileUI.LoadProfileTable()
 at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)
Application error when access /_layouts/15/EditProfile.aspx, Error=There was an internal problem connecting to or querying the database.
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
 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 objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch, Boolean allowBooleanCheckbox)
 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.ProfileUI.LoadProfileTable()
 at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)
 at System.EventHandler.Invoke(Object sender, 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.UI.Control.LoadRecursive()
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Microsoft.Office.Server.Search.Administration.DatabaseException: There was an internal problem connecting to or querying the database.
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
 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 objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch, Boolean allowBooleanCheckbox)
 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.ProfileUI.LoadProfileTable()
 at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)
 at System.EventHandler.Invoke(Object sender, 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.UI.Control.LoadRecursive()
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.Search.Administration.DatabaseException: There was an internal problem connecting to or querying the database.
 at Microsoft.Office.Server.Search.Administration.SchemaDatabase.WrapFunction[T](String functionName, Func`1 wrappedFunction)
 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 objManager, Dictionary`2 highlightedProperties, Property prop, Object[] propValue, Boolean ignoreFormat, Boolean allowLinkToSearch, Boolean allowBooleanCheckbox)
 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.ProfileUI.LoadProfileTable()
 at Microsoft.SharePoint.Portal.WebControls.ProfileUI.LoadControl(Object sender, EventArgs e)
 at System.EventHandler.Invoke(Object sender, 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.UI.Control.LoadRecursive()
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 at System.Web.UI.Page.HandleError(Exception e)
 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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Personal sites won't upgrade

$
0
0

I ran:

SELECT als.id, als.PlatformVersion, aw.Title, aw.FullUrl, aw.ProductVersion, als.Deleted
FROM dbo.AllSites als
     INNER JOIN dbo.AllWebs aw
  ON aw.Id = als.RootWebId

And found 30+ personal sites that are not updated. Yet I went through each one and ran the cmd:

upgrade-spsite -identity 

a couple days ago.

Server 2016 won't let me upgrade without upgrading all of these personal sites- it says they're still on 2010.


All of the personal sites are stored in the wss_content db.

Viewing all 21070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>