Microsoft KB Archive/331894

= BUG: Event Error 5107 When You Try to Save Partner2.xml =

Article ID: 331894

Article Last Modified on 2/19/2003

-

APPLIES TO


 * Microsoft .NET Passport 2.5
 * Microsoft .NET Passport 2.5 Software Development Kit

-



This article was previously published under Q331894



SYMPTOMS
When you try to save the Partner2.xml file to your local hard disk on a clean install of the operating system, event error 5107 is generated and you receive the following error message:

Save of document D:\WINNT\System32\MicrosoftPassport\partner2.xml failed with error = 0x80070005 (General access denied error) when trying to save the fetched file to disk.



CAUSE
This error occurs because the ASP.NET user account (the account that ASP.NET runs under) does not have write permissions for the folder where the Partner.xml file is located.



RESOLUTION
To resolve this problem, add the ASP.NET user account to the Access Control List (ACL), and then grant write permissions for the correct folder.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce the Behavior

 * 1) Install Passport 2.5 SDK on a computer that has a clean install of the operating system.
 * 2) Set up a Passport Web site.
 * 3) Rename the current Partner2.xml file.
 * 4) Reset Internet Information Services (IIS).
 * 5) Start Passport Site Setup.
 * 6) Notice that 5107 error events appear in the event viewer.
 * 7) Open the System32\MicrosoftPassport folder. Notice that the Partner2.xml file does not appear in this folder.

Keywords: kbbug kbpending KB331894

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.