2010-04-08 7 views
0

Je reçois des erreurs folles en essayant de créer des variations dans Sharepoint. Est-ce que quelqu'un a vu cette erreur?Variations Sharepoint Erreur

PublishingPage::AttemptPairUpWithPage() Ends. this: http://wseasp05/PT/Paginas/Destaque1.aspx, destPageUrl: /ES/Paginas/Destaque1.aspx 
Begin DeploymentWrapper::SynchronizePeerPages(), sourcePage = Paginas/Destaque1.aspx  
DeploymentWrapper::SynchronizePeerPages(), synchronizeDestUrl = /ES/Paginas/Destaque1.aspx 
Access to the path 'C:\Windows\TEMP\11c7c12e-030d-4860-a942-f5ab71f0930d\ExportSettings.xml' is denied.  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)  at System.IO.FileInfo.Create()  at Microsoft.SharePoint.Deployment.Ex... 
...portDataFileManager.Initialize()  at Microsoft.SharePoint.Deployment.SPExport.InitializeExport()  at Microsoft.SharePoint.Deployment.SPExport.Run()  
Export Completed.  
DeploymentWrapper.SynchronizePeerPages() catches UnauthorizedAccessException. Spawn failed for /ES/Paginas/Destaque1.aspx 
End of DeploymentWrapper.SynchronizePeerPages() 

Merci d'avance.

Répondre

0

Intéressant.

'C:\Windows\TEMP\11c7c12e-030d-4860-a942-f5ab71f0930d\ExportSettings.xml' is denied. 
  • S'il vous plaît, vérifiez que l'utilisateur qui est connecté SharePoint a accès à ce fichier (particularry que temp dossier )
  • Si le code est en cours d'exécution en tant que tâche de minuterie, vérifier que l'utilisateur est en cours d'exécution service de minutage a ces autorisations.
  • Peut-être que vous avez juste besoin d'exécuter le code dans le contexte du compte de l'application ? Utilisez SPSecurity.RunWithElevatedPrivileges alors (et vérifiez que l'application compte du pool peut accéder à ce fichier)

Ou peut-être problème pour accéder à /ES/Paginas/Destaque1.aspx. Soit , vérifiez que l'utilisateur a les autorisations appropriées.

Questions connexes