central admin etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
central admin etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

7 Şubat 2013 Perşembe

Sharepoint 2010 Access Denied Error for all users

Hi,
This problem cost me 2,5 days to figure it out.

I needed to change the service password of the server, after I did that (along with changing managed account pass, iis app pool passes and all services credentials) I could not login to one of my Web App !

I ve got "Access Denied" error even for admins..

Solution was to delete the Web App and creating a new one and associating the old content db with this new web app.

Steps:

- Delete Web App via Central Admin (Click Delete - On upcoming window choose delete IIS but NOT delete Content DB)
- Created new web App with same name but with different content_db name. (we are just going to replace it anyway)
- Make the new web App content db offline:  CA - Application Management - Manage Content Databases-Select the db, Make the Database Status- Offline
- Run the following stsadm command to bind the old content db:
stsadm -o addcontentdb -url http://yourwebapp:port -databasename yourcontentdb -databaseserver yoursqlserver
Thats all



Other solutions I ve tried:

- Check if db is read only: (CA - Application Management - Manage Content Databases-Select the db Check the status) or Run this SQL:
SELECT name, is_read_only
FROM sys.databases
- Check if Site Collection is read only  (locked) CA - Application Management - Configure quatas and locks
- Check if the IIS folders permissions are OK: Go to IIS folder of the WEb App, check the security tab and check if your user is in the admin users. (WPG ADMIN, Administrators, etc.)
- Check the IIS Application Pool user-passwords are OK
- Check the all the Services running have the right credentials (Run services.msc checked all the services using this account)
- Check if the user in Web App User Policy (Object Cache): CA - Application Management - Select web app - Select User Policy on Top - Check the reader and superuser accounts (there are plenty of links in google..)
- Check if another page in the Web App is working: Just check http://yoursite/_layouts/settings.aspx. If it is working fine for all users, then you ve got something wrong in your homepage. Probably a webpart or a custom control does not have sufficent permission.



9 Ekim 2012 Salı

Cannot uninstall Language Pack 0 because it is not deployed

If you have this error, it means you are trying to uninstall a solution which is not installed (deployed).

So,
First check Central Administration - System Settings - Manage Farm Solutions - Check if your solution is deployed. If it is not, deploy it.

If you have trouble by deploying it, try to remove the solution. (Yeah, skip uninstall phase)

Removing solution PowerShell cmd:
Remove-SPSolution -Identity solution.wsp -Force
Removing solution stsadm cmd:
stsadm -o deletesolution -name solution.wsp -override

Add Solution PowerShell cmd:
Add-SPSolution D:\solution.wsp
Add Solution stsadm cmd:
stsadm.exe -o addsolution -filename D:\solution.wsp

Install Solution PowerShell cmd:
Install-SPSolution –Identity solution.wsp -GACDeployment -Force
Install Solution stsadm cmd:
stsadm -o deploysolution -name solution.wsp -immediate -allowCasPolicies -force -allowGacDeployment

24 Eylül 2012 Pazartesi

Sharepoint 2010 - Infopath Form deployment stuck on installing status

Hi,
Sometimes while deploying an Infopath 2010 form on SP server, it stucks on status "Installing".

Don't wait !

First, Cancel the scheduled job:

Go To Central Administration - System Settings - Manage Farm Solutions - Cancel the scheduled job

Then,

Just restart Sharepoint 2010 Timer and Sharepoint 2010 Administration services

To do that:

Open command line as admin

net stop "Sharepoint 2010 Timer"
net start "Sharepoint 2010 Administration"
net stop "Sharepoint 2010 Timer"
net start "Sharepoint 2010 Administration"

And try to deploy it again, hope it works : )

Cheers

21 Haziran 2012 Perşembe

Reinstall a WSP Package in Sharepoint 2010

Steps:
1. Retract
2. Delete Solution
3. Add Solution
4.Deploy Solution

1.Retract:
Go To Central Admin - System Settings - Manage Farm Solutions - Select and Retract the solution

2.Delete Solution:
Open PowerShell as Admin
Type
Remove-SPSolution –Identity YOUR_WSP_NAME.wsp

3.Add Solution:
Open 14 hive in cmd
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14
Run command:
stsadm.exe -o addsolution -filename D:\YOUR_WSP_NAME.wsp

4. Deploy Solution:
Go To Central Admin - System Settings - Manage Farm Solutions - Select and Deploy solution