It's become very common now to use SharePoint servers as Web servers.
For this activity it's necessary to allow anonymous access to the SharePoint portal or a specific site collection.
The routine that required here is pretty simple, but if you miss one of the steps the result is a site that you cannot reach…
Required steps:
1. Modify authentication provider: Central Administration > Application Management > Application Security. Select the required Web Application and change the Zone to anonymous.
All sites under that Web Application are now anonymous enabled.
2. On the Site Collection: Site Action > Site Settings > Advanced Permissions
Select Anonymous Access.
SharePoint 2007 enabled us to allow Anonymous Access to Sites, Document Libraries and lists.
3. When we need to enable Anonymous Access for lists and libraries we need to check this option and browse to the lists or library.
4. From the dropdown menu on the setting tab: Permissions and Management > Permissions for this document library. Select Anonymous Access.
Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts
Monday, November 23, 2009
Tuesday, August 18, 2009
Moving SharePoint DataBase to another SQL Server
This is a guide I wrote to help make this procedure as easy as it can.
You can find more information about "Moving SP to another SQL server" in this site:
microsoft
It is essential to know if you are moving the SP DB to to a different database server or a server with the same name!
This guide is for moving the DB's to a different database server.
Part 1
On the server that is running the Central Administration Web site, stop the following services:
· Microsoft Single Sign-On service
· Office Document Conversions Launcher service
· Office Document Conversions Load Balancer service
· Office SharePoint Server Search service
· Windows SharePoint Services Administration service
· Windows SharePoint Services Search service
· Windows SharePoint Services Timer service
· Windows SharePoint Services Tracing service
· Windows SharePoint Services VSS Writer service
Stop the IIS – CMD - iisreset /stop.
Backup the Content databases for the following SP sites :
· SP site Content DB
· SP Mysite Content DB
· Shared Services DB
· Shared Services Search DB
Backup the top level site with STSADM command:
Stsadm –o backup –url http://spsite/ –filename %system root%:\SPsite.bak
Stsadm –o backup – url http://spmysite/ –filename %system root%:\SPmysite.bak
Part 2
Copy the DB's (LDF & MDF) to the new SQL server:
· SP site Content DB
· SP Mysite Content DB
· Shared Services DB
· Shared Services Search DB
Attach the DB's to the new SQL server – Take online
Run the STSADM command:
stsadm -o renameserver -oldservername-newservername
You can find more about "renameserver" command in this link:
STSADM
Part 3
Log in to the Central Admin.
Start up and configure the services on the farm
Create all web applications exactly as before – use temp DB when you build the DB's.
Redirect the web application to the origin DB's - Application management > content database:
Disconnect all the DB’s for the web applications
Reconnect the origin DB's.
In Central Administration – restore the SSP: Central Administration > Application Management > Manage this Farm's Shared Services - restore the SSP
It worked for me, I hope it'll work for you…
You can find more information about "Moving SP to another SQL server" in this site:
microsoft
It is essential to know if you are moving the SP DB to to a different database server or a server with the same name!
This guide is for moving the DB's to a different database server.
Part 1
On the server that is running the Central Administration Web site, stop the following services:
· Microsoft Single Sign-On service
· Office Document Conversions Launcher service
· Office Document Conversions Load Balancer service
· Office SharePoint Server Search service
· Windows SharePoint Services Administration service
· Windows SharePoint Services Search service
· Windows SharePoint Services Timer service
· Windows SharePoint Services Tracing service
· Windows SharePoint Services VSS Writer service
Stop the IIS – CMD - iisreset /stop.
Backup the Content databases for the following SP sites :
· SP site Content DB
· SP Mysite Content DB
· Shared Services DB
· Shared Services Search DB
Backup the top level site with STSADM command:
Stsadm –o backup –url http://spsite/ –filename %system root%:\SPsite.bak
Stsadm –o backup – url http://spmysite/ –filename %system root%:\SPmysite.bak
Part 2
Copy the DB's (LDF & MDF) to the new SQL server:
· SP site Content DB
· SP Mysite Content DB
· Shared Services DB
· Shared Services Search DB
Attach the DB's to the new SQL server – Take online
Run the STSADM command:
stsadm -o renameserver -oldservername
You can find more about "renameserver" command in this link:
STSADM
Part 3
Log in to the Central Admin.
Start up and configure the services on the farm
Create all web applications exactly as before – use temp DB when you build the DB's.
Redirect the web application to the origin DB's - Application management > content database:
Disconnect all the DB’s for the web applications
Reconnect the origin DB's.
In Central Administration – restore the SSP: Central Administration > Application Management > Manage this Farm's Shared Services - restore the SSP
It worked for me, I hope it'll work for you…
Monday, August 3, 2009
Lockdown Feature
When publishing Web portal, most of the time we to want prevent users from accessing the application pages: _layouts/…/default.aspx
The reason to activate this feature in an internet environment is to change the permissions level of the anonymous users group Limited Access privilege. Because there is no way to change these permissions through the UI, we need to use this Feature.
The Lockdown feature removes the View Application Pages permission, and the Use Remote Interfaces permission. This is helpful in preventing users from accessing application pages on a public facing/Internet web site
The Command:
stsadm -o activatefeature -url-filename ViewFormPagesLockDown\feature.xml
Note: this is the same like on all features, we can deactivate this feature (unlocked):
stsadm -o deactivatefeature -url-filename ViewFormPagesLockDown\feature.xml
Link to Microsoft LockDown syntax: LINK
The reason to activate this feature in an internet environment is to change the permissions level of the anonymous users group Limited Access privilege. Because there is no way to change these permissions through the UI, we need to use this Feature.
The Lockdown feature removes the View Application Pages permission, and the Use Remote Interfaces permission. This is helpful in preventing users from accessing application pages on a public facing/Internet web site
The Command:
stsadm -o activatefeature -url
Note: this is the same like on all features, we can deactivate this feature (unlocked):
stsadm -o deactivatefeature -url
Link to Microsoft LockDown syntax: LINK
Wednesday, June 3, 2009
PDF iFilter in MOSS Systems
How to install the PDF iFilter & Add to your system pdf files that are searchable with Icon.
Download the latest Adobe PDF IFilter from
adobe
Stop the IIS service.
Run the Adobe PDF IFilter Setup file on your MOSS server.
Download from the Web ICPDF.GIF icon and save it on your Server.
Copy the ICPDF.GIF file to: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images"
Open: "C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12 \Template\ Xml\ DOCICON.XML"
Add the following to syntax for the .pdf type:
Run iisreset
Add the .pdf file type in the following list:
Central Administration - Shared Services (SSP) - Search Settings - File Types
Add the new file type: pdf
Perform a full crawl of your SharePoint content source.
Download the latest Adobe PDF IFilter from
adobe
Stop the IIS service.
Run the Adobe PDF IFilter Setup file on your MOSS server.
Download from the Web ICPDF.GIF icon and save it on your Server.
Copy the ICPDF.GIF file to: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images"
Open: "C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12 \Template\ Xml\ DOCICON.XML"
Add the following to syntax for the .pdf type:
Run iisreset
Add the .pdf file type in the following list:
Central Administration - Shared Services (SSP) - Search Settings - File Types
Add the new file type: pdf
Perform a full crawl of your SharePoint content source.
Monday, May 18, 2009
Rename Content DB when moving Databases from MOSS servers
When we need to copy/move Database from MOSS server to another MOSS, there are times that we need to change the Content DB (WSS_Content) name.
The fastest way to do so is to backup the DataBase on the source server SQL and restore the DataBase to the destination server SQL. On the restore window in SQL we can determine the name of the DataBase that we want to restore. Now we can name the DataBase whatever we want.
The fastest way to do so is to backup the DataBase on the source server SQL and restore the DataBase to the destination server SQL. On the restore window in SQL we can determine the name of the DataBase that we want to restore. Now we can name the DataBase whatever we want.
Wednesday, January 14, 2009
Folders that may want to excluded from antivirus
If you have seeing the error “Access Denied” when you are trying to upload new documents, it’s likely that you have antivirus Vs Moss problems. Ther are some folders that may want to exclude from antivirus scanning on system with MOSS 2007. most of the time it solved the problem.
If you don't have antivirus agent for MOSS on your system, you may want to leave out those folders. Scanning them will cause errors and weird behavior when files are uploaded.
I recommend excluding the “Microsoft Office Servers” folder. Located in: %drive%\Program Files\Microsoft Office Servers
If you - for some reason - don’t want to exclude this folder you may want to exclude the Following folders:
%drive%\\Program Files\Microsoft Office Servers\12.0\Data. (or different folder that holds the Index files)
%drive%\\Program Files\Microsoft Office Servers\12.0\Logs
%drive%\\Program Files\Microsoft Office Servers\12.0\Bin
More on this topics in Microsoft KB952167.
link to KB952167: http://support.microsoft.com/kb/952167
Subscribe to:
Posts (Atom)
