"Invalid Access Code" error message when you use Visual SourceSafe automation (317909)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual SourceSafe 6.0c
  • Microsoft Visual SourceSafe, 32-bit, for Windows 6.0

This article was previously published under Q317909

SYMPTOMS

When you use an add-in for Microsoft Visual SourceSafe that you created with Microsoft Visual Studio .NET, you receive the following error message when methods are called:
Microsoft Visual SourceSafe
Invalid access code (bad parameter)

CAUSE

This problem occurs because Microsoft .NET runtime uses the QueryInterface method to look for an interface in Visual SourceSafe that Visual SourceSafe does not support.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix should have the following file attributes or later:
   Date        Time    Version      Size      File name     Platform
   -----------------------------------------------------------------
   11-Feb-2002 23:00   06.00.9503   561,936   Ssapi.dll     x86
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This bug was corrected in Visual Studio .NET 2003.

MORE INFORMATION

You can safely ignore this error message.

Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbvs2002sp1sweep kbbug kbfix kbQFE KB317909