Upgrade error and prescan.exe

So you tried to run MOSS 2007 beta 2 install and do an upgrade but you got an error.  The error said something like:

Failed to initialize SharePoint Products and Technologies upgrade.

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: The pre-upgrade scan tool has not yet been run on all servers in the farm.  You must run the pre-upgrade scan tool before you can continue with the upgrade process.  Run the tool from the following path: c:\program files\common files\Microsoft shared\web server extensions\12\bin\prescan.exe.  After you have reviewed any issues found by the tool, you can run psconfig.exe again to continue the upgrade process. 

So you took the error message to heart, found the prescan.exe, double clicked on it and then tried to double click on psconfig.exe and nothing happened.  Sounds about right to me.  What the error message should have told you to do is:

1.  Open a cmd prompt
2.  Type cd\ and press enter
3.  Type cd program files\common files\microsoft shared\web server extensions\12\bin and press enter
4.  Now type prescan.exe /c preupgradescanconfig.xml /all and press enter
5.  Now when it completes it will give you a log file to review for errors.  Assuming you have no errors you can move to the next step.  If you do have errors then deal with them.  :)  Aren't I helpful? 
6.  Type in psconfigui.exe and press enter. 
7.  Now go back through the upgrade process hopefully without error this time.

These are the instructions that Microsoft meant to include.  :)  Hope they help you. 

Shane
SharePoint Help

Published Wed, Jun 7 2006 2:59 by Shane
Filed under: ,

Comments

# re: Upgrade error and prescan.exe

Wednesday, July 05, 2006 8:25 PM by Ivan Wilson

Thanks Shane - this has helped me several times

# re: Upgrade error and prescan.exe

Thursday, July 27, 2006 2:12 PM by Matt Martin

Thanks, this is exactly the fix I needed.

# re: Upgrade error and prescan.exe

Thursday, October 05, 2006 11:03 PM by Erwin

I get the following when I try to run prescan.exe This program requires Windows SharePoint Services v2.

# re: Upgrade error and prescan.exe

Friday, October 06, 2006 9:48 AM by Shane

Can you tell me what you are doing when you run it?   Are you on a machine that has v2 and v3?  Shane

# re: Upgrade error and prescan.exe

Tuesday, October 24, 2006 4:49 AM by Prem

I have the same error message at the command prompt: "This program requires windows sharepoint services v2". (resulting from a clean MOSS install including TR) Can't find anything on Google/groups on it. Any suggestions?

# re: Upgrade error and prescan.exe

Tuesday, October 24, 2006 5:36 AM by Jorn

I'm getting This program requires Windows SharePoint Services v2 also, when running prescan.exe /c preupgradescanconfig.xml /all. Don't know if the server has both v2 and v3..

# re: Upgrade error and prescan.exe

Friday, October 27, 2006 9:45 AM by Rob Hensley

I'm getting the same thing. My situation is this.... I have a working WSS v2 server and I have a new WSS v3 B2TR2 server. I copied the content database off of the WSS v2 server and put it on athe WSS v3 server's database. I then added that Content Database and that is where I was told to run the prescan utility. So, when I try and run the prescan utility on my WSS v3 server, I get the error about not having WSS v2, which I don't. However, I don't want to run this against my WSS v2 server for fear of mucking things up there. Any help with this sort of situation? I guess what I'm trying to do is the data-migrating form of an upgrade process. Thanks, Rob

# re: Upgrade error and prescan.exe

Monday, November 20, 2006 7:50 AM by Marcus Ferbrache

Hi Shane, I have been following the “Deploy new server farm and migrate content” upgrade instructions.  I have run prescan.exe on my v2 database and get no errors (only one unghosted page).  I then backup my v2 database, restore it to a new database and run stsadm -o addcontentdb to add the v2 database to my v3 installation, but still get "The pre-upgrade scan tool has not yet been run".  Any ideas? Thanks, Marcus

# preupgradescanconfig.xml

Friday, December 08, 2006 5:55 PM by John Kleb

I don't understand where to go to get this .xml file short of installing MOSS2007 on a test server.  Is it available for download anywhere you know of?

# re: Upgrade error and prescan.exe

Wednesday, December 13, 2006 7:16 AM by Pieter Maertens

Hi,

I'm working on a SBS 2003 and therefore when you install wss 3.0 you have to do a side-by-side installation.

But when I try to do a prescan it gave me this warning:

---

Preupgrade scan failed with the following error:

System.InvalidOperationException: the connectionstring property has not been initialized.

at System.Data.SqlClient.SqlConnection.Open ()

at microsoft.sharepoint.preupgradereport.scan.run(stringCollection argsList)

at Microsoft.Sharepoint.PreUpgradeReport.MainLoop.Main(string[] args)

----

Could you help me? when I try to run the configuration wizard it stops when he's running the 2 step...

Hope you can help me...

Regards,

Pieter

# re: Upgrade error and prescan.exe

Friday, December 15, 2006 9:12 AM by Kevin Cornwell

The preupgradescanconfig.xml file is not present on my machine.  Why would that happen?  Do I need to build it from scratch?  What is in it?  

Thanks, Kevin C

# re: Upgrade error and prescan.exe

Tuesday, January 23, 2007 9:26 AM by Steve

Shane:

After running the prescan.exe I have 340 unghosted pages (out of 62,353 total pages scanned).  What is the best way to reghost these PRIOR to upgrading to WSS V3?  I don't think manually working with them post-upgrade in order to "fix" them and make the additional functionality in v3 available is an option.  Thanks

# re: Upgrade error and prescan.exe

Friday, February 09, 2007 11:04 AM by Gary Waddle

Thank you! This worked and saved me a huge headache. I really, really appreciate this!

Thanks again,

Gary

# SKU and SKU upgrade err

Monday, February 19, 2007 4:57 AM by Natie

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: SharePoint Products and Technologies cannot be configured.  The current installation mode does not support SKU to SKU upgrades because there exists an older version of Windows SharePoint Services that must be upgraded first.

# re: Upgrade error and prescan.exe

Tuesday, February 20, 2007 4:24 PM by MOSS Newbie

I copied over the content database from SQL 2000/SPS2003 and did a restore on my new SQL 2005/MOSS2007. When i try to add the content database from sql 2000/SPS2003, it is asking me to run the prescan.exe tool. But when i run the tool, i get the following error.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>PRESCAN.EXE /ALL

0%

Preupgrade scan failed with the following error:

System.InvalidOperationException: The ConnectionString property has not been ini

tialized.

  at System.Data.SqlClient.SqlConnection.Open()

  at Microsoft.SharePoint.PreupgradeReport.Scan.Run(StringCollection argsList)

  at Microsoft.SharePoint.PreupgradeReport.MainLoop.Main(String[] args)

and the log files in the local setting show this

02/20/2007 17:10:33 Error: Failed to get connection string to config db.

02/20/2007 17:10:33 System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.SharePoint.PreupgradeReport.Scan.get_configDbConnectionString()

What am I doing wrong?

# re: Upgrade error and prescan.exe

Thursday, March 08, 2007 12:17 PM by Zitrus1974

Perfect Thanks so much, this is exactly the fix I needed.!!!!

# re: Upgrade error and prescan.exe

Tuesday, March 20, 2007 2:29 PM by TDiAvant

Thanks, thats just saved me a phone call to microsnot.

# re: Upgrade error and prescan.exe

Thursday, March 29, 2007 12:56 PM by Marc Ferrazzano

Prescan ran with out a glitch, but still can not move to the second step.

Any ideas ?

# re: Upgrade error and prescan.exe

Thursday, March 29, 2007 1:19 PM by Shane

So you can't get the configuration wizard to run?  Try navigating to the Start > All programs > Microsoft Office Server > SharePoint Products and Technologies Configuration Wizard

# re: Upgrade error and prescan.exe

Thursday, March 29, 2007 1:24 PM by Marc Ferrazzano

I get the error when I run the wizard from command or from navigation.

# re: Upgrade error and prescan.exe

Thursday, April 05, 2007 4:38 AM by Daniel W.

Hi, I'm working on SharePoint Server 2003 with WSS 2.0 an tried to compute the given command

prescan.exe /c preupgradescanconfig.xml /all

Sadly the following error lines were produced in the report:

---------------------

04/05/2007 11:08:49 Skipping virtual server: [...]. Server state = NeedExtend. Most likely this virtual server is not extended with WSS v2.

04/05/2007 11:08:49 Skipping virtual server: [...]. Server state = NeedUpgrade. Most likely this virtual server is not extended with WSS v2.

04/05/2007 11:08:49 Scan finished without failure.

---------------------

I tried to reinstall or repair WSS 2.0 (also with SP2) but it doesn't help :(

And without computing prescan.exe I cant't install WSS 3.0 or MOSS 2007.

Can anybody help me or has the same prob ?

Daniel W. (dawa15@gmx.de)

# re: Upgrade error and prescan.exe

Thursday, April 05, 2007 4:51 AM by agusto xaverius

I already follow your instruction and it's works.

Thank you

# Upgrade error and prescan.exe

Thursday, April 05, 2007 4:52 AM by Agusto Xaverius P.S

So you tried to run MOSS 2007 beta 2 install and do an upgrade but you got an error. The error said something

# re: Upgrade error and prescan.exe

Thursday, April 12, 2007 5:00 PM by Frustrated at Microsoft

I'm getting the same thing as Natie --

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: SharePoint Products and Technologies cannot be configured.  The current installation mode does not support SKU to SKU upgrades because there exists an older version of Windows SharePoint Services that must be upgraded first.

I'm missing the preupgradescanconfig.xml, so I tried to run prescan.exe \all, which ran without errors.

ARRRRRRRRRGGGGGGGGGGGGHHHHHHHH!!!!!!!!!!!!

# Your Friend Prescan What it Does Part 2

Tuesday, May 01, 2007 3:36 PM by Joel Oleson's SharePoint Land

Between Shane's prescan post (view comments for more details) , Bill's prescan wisdom and a few of my

# re: Upgrade error and prescan.exe

Thursday, May 03, 2007 1:17 PM by Kevin

Thank you so much!! This solved my problems and let me throw away the RolAids!!! :)

# re: Upgrade error and prescan.exe

Friday, June 15, 2007 3:19 AM by Justin

I am also receiving the following error:

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: SharePoint Products and Technologies cannot be configured.  The current installation mode does not support SKU to SKU upgrades because there exists an older version of Windows SharePoint Services that must be upgraded first.

Very frustrating. Any ideas?

# re: Upgrade error and prescan.exe

Saturday, June 30, 2007 4:06 AM by Vijay

Thank you very much. Your suggestion solved my problem.

- Jako Vijay.

Singapore.

# re: Upgrade error and prescan.exe

Thursday, August 02, 2007 4:06 AM by Dean Pullen

I found this error:

"An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: SharePoint Products and Technologies cannot be configured.  The current installation mode does not support SKU to SKU upgrades because there exists an older version of Windows SharePoint Services that must be upgraded first."

Was resolved by removing sharepoint services 2.0 via the add/progam control panel.

The sharepoint server setup then worked.

# re: Upgrade error and prescan.exe

Tuesday, August 14, 2007 10:29 PM by Pat

i got this error after i run prescan.exe /c preupgradescanconfig.xml /all

0%

Preupgrade scan failed with the following error:

System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

  at System.Data.SqlClient.ConnectionPool.CreateConnection()

  at System.Data.SqlClient.ConnectionPool.UserCreateRequest()

  at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)

  at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean&

isInTransaction)

  at System.Data.SqlClient.SqlConnection.Open()

  at Microsoft.SharePoint.PreupgradeReport.Scan.Run(StringCollection argsList)

  at Microsoft.SharePoint.PreupgradeReport.MainLoop.Main(String[] args)

i dont know where is the log files and what is exactly cause this error, please help,T.T

# re: Upgrade error and prescan.exe

Monday, August 20, 2007 11:54 AM by Sandy

Justin and Others getting the Sku2Sku upgrade error message - look at the following:

support.microsoft.com/.../en-us

# re: Upgrade error and prescan.exe

Monday, August 20, 2007 11:55 AM by Sandy

For Justin - sku2sku upgrade errors, look at this

support.microsoft.com/.../en-us

# re: Upgrade error and prescan.exe

Wednesday, August 22, 2007 10:16 AM by Daniel Duque

That solved everything, thank you very much!!

# re: Upgrade error and prescan.exe

Thursday, December 20, 2007 6:30 AM by Piyush

12/20/2007 06:46:21 Error: Cannot get SPSite from URL:\all

12/20/2007 06:46:21 System.UriFormatException: Invalid URI: The format of the URI could not be determined.

  at System.Uri.Parse()

  at System.Uri..ctor(String uriString, Boolean dontEscape)

  at System.Uri..ctor(String uriString)

  at Microsoft.SharePoint.SPSite.a(String A_0, SPVirtualServer A_1, a A_2, Int32 A_3)

  at Microsoft.SharePoint.SPSite..ctor(String strUrl)

  at Microsoft.SharePoint.PreupgradeReport.Scan.GetSPSite(String url)

12/20/2007 06:46:21 Error: Cannot get SPSite from URL:\all

12/20/2007 06:46:21 System.UriFormatException: Invalid URI: The format of the URI could not be determined.

  at System.Uri.Parse()

  at System.Uri..ctor(String uriString, Boolean dontEscape)

  at System.Uri..ctor(String uriString)

  at Microsoft.SharePoint.SPSite.a(String A_0, SPVirtualServer A_1, a A_2, Int32 A_3)

  at Microsoft.SharePoint.SPSite..ctor(String strUrl)

  at Microsoft.SharePoint.PreupgradeReport.Scan.GetSPSite(String url)

12/20/2007 06:46:21 Scan finished with failure.

Can anyone tell me what is the problem and how to fix this.

# re: Upgrade error and prescan.exe

Saturday, June 07, 2008 6:34 AM by **********

--------------------

Thursday, August 02, 2007 4:06 AM by Dean Pullen

I found this error:

"An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: SharePoint Products and Technologies cannot be configured.  The current installation mode does not support SKU to SKU upgrades because there exists an older version of Windows SharePoint Services that must be upgraded first."

Was resolved by removing sharepoint services 2.0 via the add/progam control panel.

The sharepoint server setup then worked.

---------------------------

Thank you! This worked

# re: Upgrade error and prescan.exe

Monday, March 30, 2009 3:56 PM by Rachel

I have been trying to migrate/upgrade a difficult DB. I was able to mitigate the errors from the prescan on my v2 box, and run the prescan again. I had the db copied to my v3 sql instance. I try to attach it via cmd to v3 and i get and error saying that the prescan tool has not been run.... any suggestions on what I can do?

# re: Upgrade error and prescan.exe

Saturday, December 12, 2009 4:12 AM by Harish

Hi shane

I am upgrading WSS 3.0 to MOSS 2007.

I have isntalled Moss2007 server on top of Wss and run the prescan before going through the Sharepoint Wizard.

I have followed your steps for prescan but still I get the same message "this program requires windows sharepoint services v2" Did I miss anything ???

Please guide me

Thanks

Harish

# microsoft.sharepoint.postsetupconfiguration.postsetupconfigurationtaskexception was thrown

Sunday, January 31, 2010 3:23 AM by Navin

i have WSS 3.0 installed on machine

i tried to upgrade sp1 to sp2 then it will start showing error message that

"Failed to upgrade Sharepoint Products and technologies Configuration wizard"

any help would be great support.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: