Pages

Showing posts with label Issue List. Show all posts
Showing posts with label Issue List. Show all posts

Thursday, June 23, 2016

Sharepoint 2013: “Access Denied” Error Message While Activating A Timerjob Site-Feature or Custom Web Part Feature

Error:
ULS: Access denied. w3wp.exe (0x1E30) – 6615 – Critical under /_layouts/ManageFeatures.aspx?Scope=Site
Getting a error message while activating a timerjob site-feature (on a production system with uac) as farm and local administrator on a sharepoint site.
Solution:
1) Execute this powershell script as farmadmin:
function Set-AccessDenied-False()
{
# load sharepoint api libs
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) > $null
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Administration”) > $null# get content web service
$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
# turn off remote administration security
$contentService.RemoteAdministratorAccessDenied = $false
# update the web service
$contentService.Update()
}
Set-AccessDenied-False




2) App pool recycle or iisreset
3) Active your feature again

Saturday, March 14, 2015

All SharePoint Sites Not working After Installed March 2015 Microsoft Patches

Operating Sytem: windows server 2003
Sharepoint Server : Sharepoint Server 2007
DB Server : MS SQL Server 2005
We have several Windows Server 2003 boxes available , and last night, tech admin guys had installed their Microsoft March 2013 Security patches around 12 installed.
This morning, users cannot access sharepoint sites they were previously able to, and are prompted for credentials. When entering their credentials, authentication seems to fail.
Users always frustrating even they has entered correct domain name,user name and password.
But I am an share point admin, I tested the sites inside the server using system account and normal users account, which is working fine.
When i am accessing the share point sites from other laptop or system using normal account, it is keep on prompting credentials.
I checked windows event logs,sharepoint logs and DB logs, we didnt get any clue regarding that issue, so we asked to tech admin to uninstall all Mar 2013 patches installed by last night, he only unistalled two web front end servers and DB servers and AD server. Then i tested again it is again prompting user name and password for normal users.

Solution:

Finally the sites are working for all users, Because Tech admin should forget to uninstall the patches on the two Domain Controller server.
Mainly Uninstall this patches KB 3002657
After that We checked the share point sites can be accessible to all user's without prompting credentials
We also referred the below sites, thanks for your valuable suggestion and gave sleeping time by tonight otherwise ...we might be spent to research for other parameters, my courtesy in the below sites, bcos we found the root cause of the issue for installed  Mar 2015 patches denoted in the below site.
http://serverfault.com/questions/674541/has-march-2015-patch-tuesday-broken-2003-shares

Thursday, October 9, 2014

Certificate Validation errors in SharePoint 2013

I got client investigating performance issues – the Portal pages were sometimes taking a very long time to load. Page load times were inconsistent, and the browser would spend a long time “Connecting…”, before content would load on the page. Checking the event logs, we saw a frequent error message:

Error:

A certificate validation operation took 30008.7312 milliseconds
and has exceeded the execution time threshold. 
If this continues to occur, it may represent a configuration issue. 
Please see
http://go.microsoft.com/fwlink/?LinkId=246987 for more details.

 I did something similar before and had to generate a cert via powershell. So I done the following in the SharePoint Management Shell:
$rootCert = (Get-SPCertificateAuthority).RootCertificate
$rootCert.Export(“Cer”) | Set-Content C:\root.cer –Encoding Byte


The Certificate file will be saved on the C drive


 Once done I went back into the certificates snap in and imported the certificate into the trusted root certificate authorities. Once done the bulk of the errors disappeared 

Then I added Host entry of the web app port number in that host file entries

Friday, September 26, 2014

Error 1603 installing AppFabric 1.1 for Windows Server 2012

I just uninstall the AppFabric and re-install the installer would run for a while and then error out with the following message:

Issue:

AppFabric installation failed because installer MSI returned with error code: 1603

Solution:

Removing the extra double quote " in the path of PSModules in Environment Profiles helped in solving this issue on Win server 2012





 

Thursday, May 29, 2014

Login failed for user:The user is not associated with a trusted SQL server connection.



Login failed for user:The user is not associated with a trusted SQL server connection.

I had received the following error message "ERROR “Unknown SQL Exception 18452 occured. Additional error information from SQL Server is included below. Login failed.
Login failed for user:The user is not associated with a trusted SQL server connection in Event Viewer when sharepoint server trying to connect SQL server.

        
Cause:
           This issue because of connectivity credentials has changed.

Fix/Solution/Workaround:

The whole day I am searching and fixing the issues, please do any steps



   1.     Kindly Check the accounts used by the Central Admin application pool
in the  IIS setting, and then check the accounts used by the various SharePoint services (in MMC). They are Windows SharePoint Serivces Administration, Windows SharePoint Serivces Search, and Windows SharePoint Serivces Timer.
   2.     check the time zone and date and time between AD and SQL server, if any changes, please correct it and restart the client machine
   3.     Still if you face the issue, run the following command on client machine
   4.     gpudpate /force
   5.     gpupdate /sync

   6.     Still if you face the issue, rejoin the SQL machine in th domain(in my case, i have rejoin the domain)

    7.     I fixed and got resolution based on first step 1