The system error is caused by the fact that unquoted long file names
containing spaces are ambiguous to CreateProcess (which is called by
CoCreateInstance/CoGetClassObject). It will then cause a COM local server
fail to start, accompanied by the error "Server Execution Failed" (error
number 0x80080005 or -2146959355), if it is registered in a directory with
a long file name that contains a space and a similar directory name exists
at the same level. If the server is registered with a short file name,
this problem does not occur. This is not a problem for inproc
servers(i.e., dll servers), but for a local server like visdata.exe, this
is a problem.
1. From Start, click on Run and type in the following command to
unregister visdata in its current location:
"C:\Program Files\Microsoft Visual Studio\VB98\VISDATA.EXE" /unregserver
2. Copy visdata.exe from the above directory to some directory with
shorter name, for example, c:\visdata
3. From Start, click on Run and type in the following command to register
visdata in its new location:
"C:\visdata\VISDATA.EXE" /regserver
4. Run visdata from VB6 IDE add-in menu again and it should work now.
Kevin Williamson - Microsoft Visual Basic Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "louis thirion" <louis....@advalvas.be>
| Sender: "louis thirion" <louis....@advalvas.be>
| Subject: visual data manager
| Date: Sat, 29 Dec 2001 12:49:22 -0800
| Lines: 5
| Message-ID: <35b301c190aa$4b645070$3def2ecf@TKMSFTNGXA14>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
| Thread-Index: AcGQqktkCrprWtzCRfii/Fb7NkuA0w==
| Newsgroups: microsoft.public.vb.bugs
| Path: cpmsftngxa07
| Xref: cpmsftngxa07 microsoft.public.vb.bugs:47075
| NNTP-Posting-Host: TKMSFTNGXA14 10.201.226.42
| X-Tomcat-NG: microsoft.public.vb.bugs
|
| starting the visual data manager of vb6 i get the
| following error: system error &H8008005(-2146959355)
| server execution failed.
| i searched for a solution but did not find one
| please help
|