Error in CreatObject(""): 32797: Application-defined or object-define error
Question posted by: Al
(Guest)
on
July 19th, 2005 06:34 AM
Hi,
I am getting "Application-defined or object-define error"
when trying to instantiate an MTS component. However, when
I run the VB source-code and leave it in run-time, I am
able to instantiate objects from other applications.
It doesnt look like a coding problem, since my fellow-
programmers are able to use the DLL. It looks like some
kind of setup thing. Does anyone have an idea how to solve
this?
Thanks in advance,
Alwin.
2
Answers Posted
Whan an object is hosted in MTS (on another machine) then there should be an
install package to install the stub components to marshall the calls to the
remote MTS.
If the MTS in on the same server then it should be OK.
Chris.
"Al" <al@aspwebsite.com> wrote in message
news:9efa01c34669$940d8410$a401280a@phx.gbl...[color=blue]
> Hi,
> I am getting "Application-defined or object-define error"
> when trying to instantiate an MTS component. However, when
> I run the VB source-code and leave it in run-time, I am
> able to instantiate objects from other applications.
> It doesnt look like a coding problem, since my fellow-
> programmers are able to use the DLL. It looks like some
> kind of setup thing. Does anyone have an idea how to solve
> this?
>
> Thanks in advance,
> Alwin.[/color]
MTS and Web Server are on the same machine.
I still get that error.
[color=blue]
>-----Original Message-----
>Whan an object is hosted in MTS (on another machine) then[/color]
there should be an[color=blue]
>install package to install the stub components to[/color]
marshall the calls to the[color=blue]
>remote MTS.
>If the MTS in on the same server then it should be OK.
>
>Chris.
>
>"Al" <al@aspwebsite.com> wrote in message
>news:9efa01c34669$940d8410$a401280a@phx.gbl...[color=green]
>> Hi,
>> I am getting "Application-defined or object-define[/color][/color]
error"[color=blue][color=green]
>> when trying to instantiate an MTS component. However,[/color][/color]
when[color=blue][color=green]
>> I run the VB source-code and leave it in run-time, I am
>> able to instantiate objects from other applications.
>> It doesnt look like a coding problem, since my fellow-
>> programmers are able to use the DLL. It looks like some
>> kind of setup thing. Does anyone have an idea how to[/color][/color]
solve[color=blue][color=green]
>> this?
>>
>> Thanks in advance,
>> Alwin.[/color]
>
>
>.
>[/color]
|
|
|
What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 196,985 network members.
Top Community Contributors
|