Article ID: 324291 - Last Review: August 15, 2007 - Revision: 5.2 Visio2002: Error in Sg.dll and "Visio Has Encountered a Problem and Needs to Close" Error Message When You Try to Start VisioThis article was previously published under Q324291 IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
On This PageSYMPTOMS When you start Microsoft Visio 2002, you may receive an
error message similar to the following: Microsoft Visio
has encountered a problem and needs to close. We are sorry for the
inconvenience. We have created an error report that you can send to help us improve Microsoft Visio. We will treat this report as confidential and anonymous. To see what data this error report contains, click here. App Name App Version Module Name Module Version Offset -------------------------------------------------------------------------- visio.exe 10.0.2420.4 sg.dll 10.0.2420.4 00036e8f CAUSE This problem may occur if the Shape Gallery data access
components are damaged. RESOLUTION To resolve this problem, install Windows Installer 2.0,
update the computer to use Microsoft Data Access Components (MDAC) 2.7 RTM and
Microsoft Jet 4.0 Service Pack 3 (SP3), and then remove and reinstall Visio. To
do so, follow these steps, in the order in which they are presented. Step 1: Install Windows Installer 2.0Update the Windows Installer files to the latest version. To do so, visit one of the following Microsoft Web sites, and then download and install Windows Installer 2.0.Note: Windows Installer 2.0 is included with Microsoft Windows XP. You do not have to perform this step if you are using Windows XP. For Microsoft Windows 98, Microsoft Windows 98 Second Edition (SE), and Microsoft Windows Millennium Edition (Me)Windows Installer 2.0 is available for download at the following Microsoft Web site:
Microsoft.com Download Center http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f%20&displaylang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f%20&displaylang=en) For Microsoft Windows NT 4.0 and Microsoft Windows 2000Windows Installer 2.0 is available for download at the following Microsoft Web site:
Microsoft.com Download Center http://www.microsoft.com/downloads/details.aspx?familyid=4B6140F9-2D36-4977-8FA1-6F8A0F5DCA8F (http://www.microsoft.com/downloads/details.aspx?familyid=4B6140F9-2D36-4977-8FA1-6F8A0F5DCA8F) Step 2: Update MDAC FilesUpdate the MDAC files that are installed on the computer to MDAC 2.7 RTM - Refresh (2.70.9001.0). To download and install MDAC 2.7 RTM - Refresh (2.70.9001.0), visit the following Microsoft Web site:
Microsoft Universal Data Access - MDAC 2.7 RTM - Refresh (2.70.9001.0) http://www.microsoft.com/downloads/details.aspx?FamilyID=b41304ca-874f-421d-8820-182f179779a4&DisplayLang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=b41304ca-874f-421d-8820-182f179779a4&DisplayLang=en) Step 3: Install Microsoft Jet 4.0 Service Pack 3 (SP3)Install Microsoft Jet 4.0 Service Pack 3 (SP3). To download and install Jet 4.0 SP3, visit the following Microsoft Web site:
Microsoft Universal Data Access - Microsoft Jet 4.0 Service Pack 3 Download Page http://www.microsoft.com/downloads/results.aspx?productID=&freetext=JET+service+pack&DisplayLang=en (http://www.microsoft.com/downloads/results.aspx?productID=&freetext=JET+service+pack&DisplayLang=en) Step 4: Remove and Reinstall Visio, Install Visio 2002 SR-1NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.Remove Visio
Reinstall Visio
Install Visio 2002 Service Release 1 (SR-1)For additional informationabout how to obtain and install Visio 2002 Service Release 1 (SR-1), click the article number below to view the article in the Microsoft Knowledge Base:310474
(http://support.microsoft.com/kb/310474/EN-US/
)
Visio2002: How to Obtain and Install Visio 2002 Service Release 1
310463
(http://support.microsoft.com/kb/310463/EN-US/
)
Visio2002: List of Issues Fixed in Visio 2002 Service Release 1 (SR-1)
Start VisioStart Visio and verify that the issue is resolved. If the issue is resolved, you do not have to follow the remaining steps in this article.If you receive an error message similar to the one that is described earlier in the "Symptoms" section of this article that references the Sgidx.exe file, follow these steps to turn off replication of the Shape Gallery database file (Shapegallery.mdb).
MORE INFORMATION For more information about Windows Installer, visit the
following Microsoft Web site:
MSDN - About Windows Installer For more information about the MDAC, visit the
following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/aa372866.aspx (http://msdn2.microsoft.com/en-us/library/aa372866.aspx) http://msdn.microsoft.com/en-us/data/aa937729.aspx
(http://msdn.microsoft.com/en-us/data/aa937729.aspx)
For additional
information about how to turn off copying of the Shape Gallery database, click
the following article number to view the article in the Microsoft Knowledge
Base: 293284
(http://support.microsoft.com/kb/293284/EN-US/
)
Visio2002: How to Disable the Copying of ShapeGallery.mdb on a Terminal Server
| Article Translations
|

Back to the top
