Microsoft KB Archive/873266

= You may receive the “Microsoft Access has encountered a problem and needs to close” error message when you try to create a new database or to open an existing database in Access 2002 =

Article ID: 873266

Article Last Modified on 11/14/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).

Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
When you try to create a new database or to open an existing database by using Microsoft Access 2002, Access 2002 may quit unexpectedly. Additionally, you may receive the following error message:

Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.



CAUSE
This problem occurs if you redirect the Application Data folder to a different folder on your computer by using a Group Policy. Access 2002 cannot recognize the target folder if the target folder name is not Application Data. The Application Data folder name must be used in the folder redirection path for the Application Data folder.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft Office XP. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

307841 How to obtain the latest Office XP service pack

If you continue to experience this problem after you install Office XP SP3, you must modify the Group Policy and the folder redirection path of the Application Data folder. You do this so that the target folder name is Application Data. To do this, follow these steps:
 * 1) Open Group Policy Editor of the domain or of the organizational unit that you want to manage.
 * 2) In the left pane of the Group Policy window, expand User Configuration, expand Windows Settings, and then expand Folder Redirection.
 * 3) Right-click Application Data, and then click Properties.
 * 4) In the Application Data Properties dialog box, click the Target tab.

Make sure that the target folder is named Application Data in the Target folder location box.

For example, the folder redirection path looks similar to the following:

\\ \ \Application Data

Note The placeholder  is a placeholder for the name of your computer. The placeholder  is a placeholder for the path of the folder that is shared on your computer.
 * 1) Click OK, and then close the Group Policy window.
 * 2) Log off, and then log on to your computer as a user of the domain or of the organizational unit.
 * 3) Start Access 2002.
 * 4) Open the Northwind.mdb sample database.

Notice that you can open the Northwind.mdb sample database successfully.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Steps to reproduce the problem
 On the computer that is the domain controller for your domain, locate the folder that must contain the target folder for the Application Data folder. Right-click the folder that you located in step 1, and then click Properties. Click the Sharing tab, click the Share this folder option, and then click Caching. In the Caching Settings dialog box, click to select the Allow caching of files in this shared folder check box, click Automatic Caching for Documents in the Setting drop-down list, and then click OK.

For more information about creating redirected folders, click the following article number to view the article in the Microsoft Knowledge Base:

274443 How to dynamically create security-enhanced redirected folders by using folder redirection in Windows 2000 and in Windows Server 2003

 Click OK.</li> Click Start, point to Settings, and then click Control Panel.</li> In Control Panel, double-click Administrative Tools.</li> In the Administrative Tools window, double-click Active Directory Users and Computers.</li> In the Active Directory Users and Computers window, right-click the Active Directory container of the domain or of the organizational unit that you want to manage, and then click Properties.</li> Click the Group Policy tab.</li> Click Default Domain Policy in the Group Policy Object Links column, and then click Edit.

Note The Default Domain Policy Group Policy object is used as an example. You can also create a new policy to apply the settings for all the users in the domain or in the organizational unit.</li> In the left pane of the Group Policy window, expand User Configuration, expand Windows Settings, and then expand Folder Redirection.</li> Right-click Application Data, and then click Properties.</li> In the Application Data Properties dialog box, click the Target tab, and then click Basic - Redirect everyone's folder to the same location in the Setting list.</li> Type the following path in the Target folder location box:

\\ \ \ApplicationData

Note The placeholder  is a placeholder for the name of your computer. The placeholder  is a placeholder for the path of the folder that you share on your computer.</li> Click OK, and then close the Group Policy window.</li> Log off, and then log on to your computer as a user of the domain or of the organizational unit.

Make sure that the following registry value contains the path that you entered in step 15:

</li> Start Access 2002.</li> Try to open the Northwind.mdb sample database.

Notice that you cannot open the Northwind.mdb sample database successfully. Also, you receive the error message that is mentioned in the &quot;Symptoms&quot; section.</li></ol>

<div class="references_section">