Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm upgrading SharePoint 2007 to 2010 using attach and upgrade method.

When running database upgrade a series of similar errors are shown in upgrade log (could not find some temp file with an unpronounceable name).

Feature upgrade incomplete for Feature 'PublishingSite' (Id: 'f6924d36-2fa8-4f0b-b16d-06b7250180fa') in Site 'http://intranet10'. Exception: Exception has been thrown by the target of an invocation. (Inner Exception: Could not find file 'C:\Users\farmadminuser\AppData\Local\Temp\z-jynvy2.dll'.)

Feature upgrade incomplete for Feature 'PublishingWeb' (Id: '94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb') in Web 'http://intranet10'. Exception: Exception has been thrown by the target of an invocation. (Inner Exception: Could not find file 'C:\Users\farmadminuser\AppData\Local\Temp\3ldfh-oo.dll'.)

Can anybody shed some light on the issue?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Always, always, always run your ps shell as administrator.

share|improve this answer
1  
"Every day's a school day with SharePoint" :) –  James Love Nov 25 '11 at 20:18
    
Not every time it's that simple. –  Alexey Krasheninnikov Feb 12 at 15:54

Sometimes you need to forcefully activate publishing features from %HIVE%/template/features/*.xml by means of stsadm to work around this error.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.