Symptoms
When you try to open the Order Management Setup page in Business Portal in Microsoft Dynamics GP 10.0 or in Microsoft Dynamics GP 9.0, you receive the following error message:
Server Error in '/' Application
Access to the path "c:\inetpub\wwwroot\bin\~privatefile.dbauthentication.config" is denied. Exception Details:
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity that is used if the application is not impersonating. If the application is impersonating via <identity imprersonate="true"/>, the identity will be the anonymous user or the authenticated request user.
Cause
This problem occurs because the GPReg.dll file is missing or is not registered.
Resolution
To resolve this problem, follow these steps:
-
Verify that the GPReg.dll file is in the bin folder of the root directory for the Web site that you used to install Business Portal.
Note By default, the bin folder is in the following location:C:\Inetpub\wwwroot\bin
-
Manually register the GPReg.dll file. To do this, use one of the following methods:
-
Use the command prompt:
-
Click Start, click Run, type cmd in the Open box, and then click OK.
-
Change to the directory that contains the GPReg.dll file.
Note To change to the default location, type CD inetpub\wwwroot\bin at the command prompt, and then press ENTER. -
At the command prompt, type Regsvr32 GPReg.dll, and then press ENTER.
-
-
Use Microsoft Windows Explorer:
-
Right-click Start, and then click Explore.
-
Locate and then right-click the GPReg.dll file, point to Open with, and then click Choose Program.
-
In the Open With dialog box, click Browse.
-
In the Look In list, click the C:\Windows\System32 folder, click the Regsvr32.exe file, and then click Open.
-
-
More Information
Steps to reproduce the problem
-
In Business Portal, click Site Settings, click Application Settings, and then click Order Management Setup.
-
If you are prompted for a username and password, enter the username and password.
-
Click OK.