Pages

Showing posts with label STSADM. Show all posts
Showing posts with label STSADM. Show all posts

Wednesday, February 15, 2012

SharePoint 2010 gradual upgrade migration method

SharePoint 2010 gradual upgrade method will be useful for large organization in which if they want to migrate some of the site collections from same web application to SharePoint 2010 and if some site collection they want to keep in MOSS 2007 or if they want to migrate remaining ones after sometime.

Microsoft introduced new commands in stsadm addzoneurl into SharePoint 2010 which will redirect any specified incoming request to MOSS 2007 site instead of SharePoint 2010 site URL if URL doesn’t exists into 2010 environment. This method is called “AAA redirect”.

Here is one example for gradual upgrade migration:
Suppose if we have 50 site collections into http://sp.webapplication.com/ web application URL and on a first phase we just want to migrate/move 25 site collections from 2007 to 2010 version, may be it is because of time concern and some other factors. In this case we can logically divide content database structure and we can only migrate 25 site collection/content databases to 2010 version and for remaining 25 site collection we can execute STSADM commands for adding zone url, which specify that if user is requesting any site collection url that is not exists into SharePoint 2010 environment then redirect user to SharePoint 2007 site collection  URL automatically.

Here are some reference links which talks about how we can use SharePoint 2010 gradual upgrade migration method and how we can redirect user from 2010 to 2007 URL if URL doesn’t exists.


Tuesday, December 15, 2009

Saturday, September 12, 2009

Object reference not set to an instance of an object. The Solution installation failed

I was getting error "Object reference not set to an instance of an object. The Solution installation failed" while adding and deploying my solution package from STSADM command, I have looked into my event log and SharePoint log to find out the exact error, I have found out that it’s related to Admin Content SQL database.  The current user who is executing the STSADM command must have full control access to this content database.

Then I run my solution package with service account and it ran well without any problem, here we can also add current user into content database and will give full control rights to current user to executing solution package.

Good Luck!

Monday, July 20, 2009

Error while deploying solution “This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application”

I was getting error while deploying solution through STSADM command, error was “This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application”

I have figured out that it’s giving me problem because of URL parameter into deploysolution STSADM command, after removing it from command, my solution package was working fine.

Reference Link:

http://snahta.blogspot.com/2008/08/this-solution-contains-no-resources.html

Sunday, September 14, 2008

Restoring SharePoint Site.

I was getting below error while executing follow steps.

1. Executed command for restoring SharePoint site.

stsadm -o deletesite -url %SITE% -deleteadaccounts false
stsadm -o restore -url %SITE% -filename %BACKUPFILE LOCATION%

Error: The site collection could not be restored. If this problem persists, please make sure the content databases are available and have sufficient free space.

Solution: I delete any unnecessary sites and also truncate logs for SQL database, so after that there was enough free space.

After this, I was able to restore SharePoint site successfully.

2. I had created new farm envirorment and trying to restore sharepoint site.

Error : Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.

Solution : I need to install/run infrastructure updates into my new created farm server, The Infrastructure Update contains the new Enterprise Search features that were shipped in Search Server 2008 and Search Server 2008 Express that were are not already in SharePoint Server 2007; this includes Federated Search capability, a unified administration dashboard and several Search core platform performance updates.

you can download updates from below location.

After doing installation, I was able to restore sharepoint site.