Solved

Upgrade Sharepoint 2.0 to 3.0 Prescan failure

Posted on 2009-07-13
6
720 Views
Last Modified: 2012-05-07
I am attemptint to upgrade our current Sharepoint site from 2.0 to 3.0. To do this I have setup a new server from scratch. It is a virtual server with 2GB or RAM allotted running Windows Server Standard 2003. I have installed Sharepoint 2.0 with no issues. I installed SQL 2005 Express (after a few attempts to upgrade using the MSDE it loads) and have all databases loaded on that SQL instance. I have restored a backup of our sharepoint site to this new server and it works perfectly... no issues at all. It is actually much better than I expected. Anyway, my next step os to run the Prescan.exe prior to trying to do the Upgrade In-Place option. No matter what I do the prescan fails with the following error:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
System.Security.SecurityException: Request for the permission of type System.Sec
urity.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutra
l, PublicKeyToken=b77a5c561934e089 failed.
   at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet granted
Set, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permT
oken)
   at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken,
CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32
 unrestrictedOverride)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S
tackCrawlMark& stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFr
omProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encodin
g, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append)
   at System.IO.File.CreateText(String path)
   at Microsoft.SharePoint.PreupgradeReport.Scan.InitLogFiles()
Failed>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This error occured when I originally installed with Sharepoint just creating the default MSDE instance. I figured it was some sort of SQL security issue so I installed SQL 2005 Express and ensured that the ID I am using is a SysAdmin in SQL (it is). This is a completely clean install of everything and I am stuck. Any help would be appreciated.

Thank you!
0
Comment
Question by:mcdchr
  • 2
  • 2
  • 2
6 Comments
 
LVL 19

Expert Comment

by:MsShadow
ID: 24842649
Does the user that you are doing the prescan with has access to all the content on the SharePoint site?
0
 
LVL 19

Expert Comment

by:MsShadow
ID: 24842652
have*
0
 

Author Comment

by:mcdchr
ID: 24842714
Thanks.

I have tried with both my local administrator and domain administrator account to no avail. This account does have access to all Sharepoint conent unless I am missing something.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 11

Expert Comment

by:andrei_teodorescu
ID: 24843746
Did you ran the prescan with the account that is farm administrator?
0
 
LVL 11

Accepted Solution

by:
andrei_teodorescu earned 500 total points
ID: 24843755
did you ran the executable from a network folder?
0
 

Author Comment

by:mcdchr
ID: 24843775
Andrei! Thanks!!!!! That was my problem - I had the prescan.exe on a network folder.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now