FIX: OLAP MDX Application Gives Application Error in Visual Basic IDEID: Q219278
|
When you load the OLAP Visual Basic MDX sample in Visual Basic 6.0 (\Program Files\OLAP Services\Samples\MDXSample) and run from the IDE, the following error occurs:
The instruction at 'hex address' references memory at 'hex address'. The memory could not be written.
Here are two ways to work around this behavior:
If UserControl.ParentControls.Count < 1 Then
fControlsAvailable = False
Else
fControlsAvailable = True
End If
After making this code change you can run the sample from the IDE. However, one of the windows that lists the individual members will not be available and you will not be able to resize the child windows.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
OLAP Services Books Online
Additional query words: kbDSupport
Keywords : kbDatabase kbOLEDB kbSQLServ kbVBp600bug kbVC kbVS600sp3fix kbGrpVBDB
Version : WINDOWS:6.0; winnt:7.0
Platform : WINDOWS winnt
Issue type : kbbug
Last Reviewed: May 20, 1999