BUG: Access Violation in Setup.exe If SNMP Entries Exceed 1,000 Characters

ID: Q186880


The information in this article applies to:

BUG #: 17245 (SQLBUG_65)

SYMPTOMS

SQL Server Setup causes an access violation (AV) when enabling SNMP if the registry values under


   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP
   \Parameters\ExtensionAgents 

contain more than approximately 1,000 characters. The error message you may receive is:
Unhandled exception in SETUP.EXE (SQLSETUP.DLL) 0xC0000005: Access violation.

After this, SQL Server Setup is stopped.


WORKAROUND

To work around this problem, temporarily remove some of the entries before setting up SQL Server or attempting to enable SNMP support. Then restore the removed entries.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

The problem can occur both during the initial setup, if the server already has the SNMP service installed, or when later enabling or disabling SNMP support through the Set Server Options option of SQL Server Setup.

If the SQL value does not already exist under the ExtensionAgents subkey, the access violation is preceded by the following dialog:


   Caption:   Key Val
   Text:      The Key 1345105, Key 27, Val
              SOFTWARE\Microsoft\MSSQLServer\SNMP\CurrentVersion 

The Entry to this subkey is added, as is the SNMP subkey under the following registry key:

   HKEY_LOCAL_MACHINE\SOTWARE\Microsoft\MSSQLServer 

Additional query words: DrWatson fails


Keywords          : SSrvGPF SSrvInst kbbug6.50 
Version           : WinNT:6.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 16, 1999