Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Problem in creating object of com component

Hi all,
I am getting an error when I tried to create an object of com component.
The error message is like this:
"The CreateObject caused exception 0000005".
Thanks in advance for your time and help.
Chida
[235 byte] By [chida] at [2007-11-9 17:45:59]
# 1 Re: Problem in creating object of com component
Chida,

Can you please provide following info -

- what component are you trying to instantiate?
- how are you doing this?

Remember - when you use Server.CreateObject - this will invoke MTS to create
an object and handle it whereas CreateObject creates an object sans MTS.

Harish

"chida" <chidanandgm@hotmail.com> wrote:
>
>Hi all,
>I am getting an error when I tried to create an object of com component.
>The error message is like this:
>"The CreateObject caused exception 0000005".
>
>Thanks in advance for your time and help.
>
>Chida
>
Harish Mohanbabu at 2007-11-11 23:18:15 >
# 2 Re: Problem in creating object of com component
Harish Mohanbabu,

Thanks for your time.
Well, I am trying to create an object of thirdparty component("DYNU") using
server.CreateObject method.

Thanks again for your time and help.

Chida

"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>
>Chida,
>
>Can you please provide following info -
>
>- what component are you trying to instantiate?
>- how are you doing this?
>
>Remember - when you use Server.CreateObject - this will invoke MTS to create
>an object and handle it whereas CreateObject creates an object sans MTS.
>
>Harish
>
>
>"chida" <chidanandgm@hotmail.com> wrote:
>>
>>Hi all,
>>I am getting an error when I tried to create an object of com component.
>>The error message is like this:
>>"The CreateObject caused exception 0000005".
>>
>>Thanks in advance for your time and help.
>>
>>Chida
>>
>
chida at 2007-11-11 23:19:17 >
# 3 Re: Problem in creating object of com component
Chida,

Since you are accessing a 3rd party component, I would suggest you to take
up the issue with the 3rd party itself. With whatever info you have provided,
I don't see anything wrong.

Thanks,

Harish Mohanbabu

"chida" <chidanandgm@hotmail.com> wrote:
>
>Harish Mohanbabu,
>
>Thanks for your time.
>Well, I am trying to create an object of thirdparty component("DYNU") using
>server.CreateObject method.
>
>Thanks again for your time and help.
>
>Chida
>
>
>
>"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>>
>>Chida,
>>
>>Can you please provide following info -
>>
>>- what component are you trying to instantiate?
>>- how are you doing this?
>>
>>Remember - when you use Server.CreateObject - this will invoke MTS to create
>>an object and handle it whereas CreateObject creates an object sans MTS.
>>
>>Harish
>>
>>
>>"chida" <chidanandgm@hotmail.com> wrote:
>>>
>>>Hi all,
>>>I am getting an error when I tried to create an object of com component.
>>>The error message is like this:
>>>"The CreateObject caused exception 0000005".
>>>
>>>Thanks in advance for your time and help.
>>>
>>>Chida
>>>
>>
>
Harish Mohanbabu at 2007-11-11 23:20:15 >
# 4 Re: Problem in creating object of com component
Harish Mohanbabu,

Thanks for your time and effort in looking in to the issue. I will talk to
the third party.

chida

"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>
>Chida,
>
>Since you are accessing a 3rd party component, I would suggest you to take
>up the issue with the 3rd party itself. With whatever info you have provided,
>I don't see anything wrong.
>
>Thanks,
>
>Harish Mohanbabu
>
>
>"chida" <chidanandgm@hotmail.com> wrote:
>>
>>Harish Mohanbabu,
>>
>>Thanks for your time.
>>Well, I am trying to create an object of thirdparty component("DYNU") using
>>server.CreateObject method.
>>
>>Thanks again for your time and help.
>>
>>Chida
>>
>>
>>
>>"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>>>
>>>Chida,
>>>
>>>Can you please provide following info -
>>>
>>>- what component are you trying to instantiate?
>>>- how are you doing this?
>>>
>>>Remember - when you use Server.CreateObject - this will invoke MTS to
create
>>>an object and handle it whereas CreateObject creates an object sans MTS.
>>>
>>>Harish
>>>
>>>
>>>"chida" <chidanandgm@hotmail.com> wrote:
>>>>
>>>>Hi all,
>>>>I am getting an error when I tried to create an object of com component.
>>>>The error message is like this:
>>>>"The CreateObject caused exception 0000005".
>>>>
>>>>Thanks in advance for your time and help.
>>>>
>>>>Chida
>>>>
>>>
>>
>
chida at 2007-11-11 23:21:15 >
# 5 Re: Problem in creating object of com component
Chida,

Make sure you are using the following syntax:

Dim obj
Set obj = Server.CreateObject("ObjectName.ClassName")

Jake Duckworth

"chida" <chidanandgm@hotmail.com> wrote:
>
>Harish Mohanbabu,
>
>Thanks for your time and effort in looking in to the issue. I will talk
to
>the third party.
>
>chida
>
>"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>>
>>Chida,
>>
>>Since you are accessing a 3rd party component, I would suggest you to take
>>up the issue with the 3rd party itself. With whatever info you have provided,
>>I don't see anything wrong.
>>
>>Thanks,
>>
>>Harish Mohanbabu
>>
>>
>>"chida" <chidanandgm@hotmail.com> wrote:
>>>
>>>Harish Mohanbabu,
>>>
>>>Thanks for your time.
>>>Well, I am trying to create an object of thirdparty component("DYNU")
using
>>>server.CreateObject method.
>>>
>>>Thanks again for your time and help.
>>>
>>>Chida
>>>
>>>
>>>
>>>"Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
>>>>
>>>>Chida,
>>>>
>>>>Can you please provide following info -
>>>>
>>>>- what component are you trying to instantiate?
>>>>- how are you doing this?
>>>>
>>>>Remember - when you use Server.CreateObject - this will invoke MTS to
>create
>>>>an object and handle it whereas CreateObject creates an object sans MTS.
>>>>
>>>>Harish
>>>>
>>>>
>>>>"chida" <chidanandgm@hotmail.com> wrote:
>>>>>
>>>>>Hi all,
>>>>>I am getting an error when I tried to create an object of com component.
>>>>>The error message is like this:
>>>>>"The CreateObject caused exception 0000005".
>>>>>
>>>>>Thanks in advance for your time and help.
>>>>>
>>>>>Chida
>>>>>
>>>>
>>>
>>
>
Jake Duckworth at 2007-11-11 23:22:20 >