-
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
-
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
>
-
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
>>
>
-
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
>>>
>>
>
-
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
>>>>
>>>
>>
>
-
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
>>>>>
>>>>
>>>
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks