bugs >> System Error &H80004005 Unspecified Error when running VB 6.0 prog

by QXJ1biBSYWdodQ » Mon, 16 Oct 2006 18:22:02 GMT

I am having a problem in running a VB 6.0 program in debug mode on Windows XP
SP1/SP2 system.
I get ystem Error &H80004005 Unspecified Error.
Again, this only happens if my project has a class file marked as
MTSTransactionMode of anything other than NotAnMTSObject. If my class is
marked as NotAnMTSObject, this problem goes away.

My VB program has a Windows Form and an ActiveX DLL.
My account is local administrator.
This works fine if my machine is not on VPN.
When connected to VPN it gives the error.

Can anyone let me know how this can be resolved.


Similar Threads

1. Make EXE: System error &H80004005 (-2147467259) Unspecified error - Visual Basic/VB

2. Run-time error '-2147467259 (80004005)': Unspecified error

Hi All,

I have an application written by a former co-worker that I'm 
troubleshooting. On my development machine (VB6 SP6, SQL 2000 - 8.00.2050) I 
run the application and all is well. On another machine running VB6 SP6, SQL 
2005 - 9.00.1399.06 I get the following error:

Run-time error '-2147467259 (80004005)': Unspecified error

This error occurs when a recordset is being updated just after using: 
AppendChunk.

   .Fields("ScanCriteria").AppendChunk strScanCriteria
   .Update ' ERRORS HERE on machine running SQL 2005.

Using MDAC 2.8 and ADO. I've run the following: Microsoft SQL Server 2005 
Backward Compatibility Components.

Am I missing something?!?

Thanks in advance.
Kind regards - Fred 


3. System.Data.OleDb.OleDbException: Unspecified error - VB.Net

4. error '80004005' Unspecified Error

Could someone please give me a hand? I've looked at this code until I'm
cross eyed.  I'm getting the following error and can't for the life of
me pin it down.
_____________________________
    error '80004005'
    Unspecified error

    /phonebook4.asp, line 84
_____________________________
Here is the code:

  <%  'define variables
	 Dim cn
	 Dim rsdata
'Create connection object
	Set cn = CreateObject("ADODB.Connection")
'Create the Connection String
'Open the Connection
	cn.Open ("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=d:\test\phonebook.mdb" )
'Create the Record Set
set rsdata = cn.Execute("SELECT * FROM names")
<---------This is line 84
		 %>

 <%  While Not rsdata.EOF   %>
        <tr>
          <td>
            <% Response.Write rsdata("name") %> </td>
          <td>
            <%  Response.Write rsdata("ext") %> </td>
          <td>
            <%  Response.Write rsdata("loc") %> </td>
          <td>
            <%  Response.Write rsdata("floor") %> </td>
          <td width="93">
            <%  Response.Write rsdata("dept") %>
          <% Response.Write "<br>" %></td> </tr>

        <% rsdata.MoveNext
 	Wend 
rsdata.Close
set rsdata=Nothing %></table>

5. error '80004005' Unspecified Error

6. WebClass Runtime error '800a801d' - unspecified error

Hello,

I've a webclass application written using VB 6 which I was able to debug and 
test within the VB IDE.  

Recently I had to reinstall Windows XP as my computer was giving me serious 
problem (random freeze, still not sure why).  Anyway, after this, I can't 
run/debug the webclass application from the VB IDE anymore.  Every time I 
try, a '800a801d' runtime error appears in the browser (see below).  This 
appears not a problem with my application itself as I cannot run the MSDN 
webclass demo application either (same error).  I have Windows XP (SP2, was 
SP1), VB6 (SP6), IE 6 (SP2, was SP1) and IIS 5.1 running on my machine.

Any help is greatly appreciated.

Xiaohong

=========================
WebClass Runtime error '800a801d' 

An unspecified error has occurred 

/Report1/Report1.ASP, line 14 
=========================


Report1.ASP has the following contents:

=========================
<%
Server.ScriptTimeout=600
Response.Buffer=True
Response.Expires=0

If (VarType(Application("~WC~WebClassManager")) = 0) Then
	Application.Lock
	If (VarType(Application("~WC~WebClassManager")) = 0) Then
		Set Application("~WC~WebClassManager") = 
Server.CreateObject("WebClassRuntime.WebClassManager")
	End If
	Application.UnLock
End If

Application("~WC~WebClassManager").ProcessNoStateWebClass "Report1.Report", _
		Server, _
		Application, _
		Session, _
		Request, _
		Response
%>
=========================

7. "Unspecified error" with error code -2147467259

8. Error '50003' Unspecified error in VB6 Program

Hi all.

Hope you can help me on this.

I have a VB6 program in which i can run it successfully in WinXP PCs.

When i try to run the program in Win2000, the program cant be loaded
and shows "Error '50003' Unspecified error in VB6 program."

What i did was create a new VB6 program and load all the forms from
the previous faulty VB6 program into this new VB6 program with all the
codes copied also and this works... Why is it so as both programs are
the same?

Anybody has encountered this?
Please guide me.

Thanks a lot.