HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Basic.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Basic.

Hybrid View

  1. #1
    Bill Gauvey Guest

    HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Basic.

    This error is driving me insane. Whenever the client (EXE) calls the server
    object (DLL) on a MTS box, the client crashes with a r/t error 458. Has
    anyone ever seen this?. There are absolutely no UDT's. The methods return
    ADODB RecordSets, and I can not get arround this. In the development
    envrionment, it works fine, on the test WTS server, it works fine; on one of
    the two production WTS servers, it works fine. BUT there is that one
    production WTS server that is not going to work at all. This leads me to
    believe that there is a registry problem. What should I look for in the WTS
    machine's Registry?

    TIA --

    BillG


    Share on Google+

  2. #2
    Willy Van den Driessche Guest

    Re: HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Ba

    I have had this once with default values on optional parameters. I think it
    was an optional variant with default value Null. Luckily for me I knew what
    the last change was before I got this error. Hope it's that simple with you
    too.

    --
    Van den Driessche Willy
    For a work in progress :
    http://users.skynet.be/wvdd2/index.html


    Share on Google+

  3. #3
    Mike Guest

    Re: HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Ba


    I ran into this same problem some time back. It turned out to be different
    versions of SCRRUN.DLL on the two systems. I replaced the (older) version
    on the production system with the (newer) version from development and it
    worked fine.

    Mike

    "Bill Gauvey" <bill.gauvey@@acxiom.com> wrote:
    >This error is driving me insane. Whenever the client (EXE) calls the server
    >object (DLL) on a MTS box, the client crashes with a r/t error 458. Has
    >anyone ever seen this?. There are absolutely no UDT's. The methods return
    >ADODB RecordSets, and I can not get arround this. In the development
    >envrionment, it works fine, on the test WTS server, it works fine; on one

    of
    >the two production WTS servers, it works fine. BUT there is that one
    >production WTS server that is not going to work at all. This leads me to
    >believe that there is a registry problem. What should I look for in the

    WTS
    >machine's Registry?
    >
    >TIA --
    >
    >BillG
    >
    >


    Share on Google+

  4. #4
    John Fleming Guest

    Re: HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Ba



    Yes! Thank you, I had an optional variant parameter with default value Null
    and that was the problem. This must be a bug?

    >was an optional variant with default value Null. Luckily for me I knew




    JF

    Share on Google+

  5. #5
    Willy Van den Driessche Guest

    Re: HELP PLEASE -- Run-time error '458': Variable uses an Automation type not supported in Visual Ba

    "John Fleming" <jfleming@morneausobeco.com> wrote in message
    news:3c20b753$1@147.208.176.211...
    >
    >
    > Yes! Thank you, I had an optional variant parameter with default value

    Null
    > and that was the problem. This must be a bug?
    >

    I have little doubt this is a bug. I'm glad you could solve your problem.
    I also learned it the hard way.

    See you
    --
    Van den Driessche Willy
    For a work in progress :
    http://users.skynet.be/wvdd2/index.html


    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center