Problem in creating object of com component


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Problem in creating object of com component

Hybrid View

  1. #1
    chida Guest

    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


  2. #2
    Harish Mohanbabu Guest

    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
    >



  3. #3
    chida Guest

    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
    >>

    >



  4. #4
    Harish Mohanbabu Guest

    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
    >>>

    >>

    >



  5. #5
    chida Guest

    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
    >>>>
    >>>

    >>

    >



  6. #6
    Jake Duckworth Guest

    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
  •  
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