-
Error trying to call queued component
I am trying to call a queued component from ASP and am having problems.
Here is what is going on:
I created a DLL in VB 6. On my local machine (XP), I installed the DLL into
a
COM+ applictaion. I set the application to be Queued and set the interface
to be queued. I created an ASP page and used
set objDX = GetObject("queue:/new:TargetXP.EDQ")
to create the object and it works perfectly on my box.
I moved the DLL over to the server (Win2000). I registered the DLL using
regsvr32. I created a COM+ application. I installed the component into
the
application using "Install new components." I marked the interface as
queued. Now when I try to run the ASP page, the GetObject line executes,
but then when I try to call the method, I get "Object required: 'objDX'".
In the even log, I get the following error:
COM+ QC failed to obtain necessary information from the catalog.
GetTypeInfo
Server Application ID: {E9FCA936-26A9-4518-950B-B4B28E4EC953}
Server Application Name: IIS-{Default Web Site//Root/dxp_dmrg_dev}
Error Code = 0x80004005 : Unspecified error
COM+ Services Internals Information:
File: .\ipsfactorybuffercache.cpp, Line: 338
It seems like the DLL/class/interface isn't being registered correctly for
some reason. What do I need to do to get this to work? What is the proper
procedure to get everything registered?
Any help is greatly appreciated.
-
Re: Error trying to call queued component
Dennis,
Just a thought, does your DLL have any references or componets that may not
be on the Windows 2k server. So, when you build the DLL does it have any
dependencies that don't exist on the Production box?
I guess the question what does the DLL do? If it makes a connection to an
access databse using the latest version of MDAC, does the latest version
of MDAC exist on the server?
Just my 2 cents.
Q*bert
"Dennis" <webdev.@127.0.0.1> wrote:
>
>I am trying to call a queued component from ASP and am having problems.
>Here is what is going on:
>
>I created a DLL in VB 6. On my local machine (XP), I installed the DLL
into
>a
>COM+ applictaion. I set the application to be Queued and set the interface
>to be queued. I created an ASP page and used
>
>set objDX = GetObject("queue:/new:TargetXP.EDQ")
>
>to create the object and it works perfectly on my box.
>
>I moved the DLL over to the server (Win2000). I registered the DLL using
>regsvr32. I created a COM+ application. I installed the component into
>the
>application using "Install new components." I marked the interface as
>queued. Now when I try to run the ASP page, the GetObject line executes,
>but then when I try to call the method, I get "Object required: 'objDX'".
>In the even log, I get the following error:
>
>COM+ QC failed to obtain necessary information from the catalog.
>GetTypeInfo
>Server Application ID: {E9FCA936-26A9-4518-950B-B4B28E4EC953}
>Server Application Name: IIS-{Default Web Site//Root/dxp_dmrg_dev}
>Error Code = 0x80004005 : Unspecified error
>COM+ Services Internals Information:
>File: .\ipsfactorybuffercache.cpp, Line: 338
>
>
>It seems like the DLL/class/interface isn't being registered correctly for
>some reason. What do I need to do to get this to work? What is the proper
>procedure to get everything registered?
>
>Any help is greatly appreciated.
>
>
-
Re: Error trying to call queued component
It's a stand-alone DLL. It opens a text file, does some data manipulation,
and writes it out to a new text file. It works fine if I call it
synchronously with Server.CreateObject, it just doesn't work using
GetObject.
Thanks,
Dennis
"Q*bert" <luke_davis_76@hotmail.com> wrote in message
news:3e89d7b4$1@tnews.web.devx.com...
>
> Dennis,
> Just a thought, does your DLL have any references or componets that may
not
> be on the Windows 2k server. So, when you build the DLL does it have any
> dependencies that don't exist on the Production box?
> I guess the question what does the DLL do? If it makes a connection to an
> access databse using the latest version of MDAC, does the latest version
> of MDAC exist on the server?
>
>
> Just my 2 cents.
> Q*bert
>
> "Dennis" <webdev.@127.0.0.1> wrote:
> >
> >I am trying to call a queued component from ASP and am having problems.
> >Here is what is going on:
> >
> >I created a DLL in VB 6. On my local machine (XP), I installed the DLL
> into
> >a
> >COM+ applictaion. I set the application to be Queued and set the
interface
> >to be queued. I created an ASP page and used
> >
> >set objDX = GetObject("queue:/new:TargetXP.EDQ")
> >
> >to create the object and it works perfectly on my box.
> >
> >I moved the DLL over to the server (Win2000). I registered the DLL using
> >regsvr32. I created a COM+ application. I installed the component into
> >the
> >application using "Install new components." I marked the interface as
> >queued. Now when I try to run the ASP page, the GetObject line executes,
> >but then when I try to call the method, I get "Object required: 'objDX'".
> >In the even log, I get the following error:
> >
> >COM+ QC failed to obtain necessary information from the catalog.
> >GetTypeInfo
> >Server Application ID: {E9FCA936-26A9-4518-950B-B4B28E4EC953}
> >Server Application Name: IIS-{Default Web Site//Root/dxp_dmrg_dev}
> >Error Code = 0x80004005 : Unspecified error
> >COM+ Services Internals Information:
> >File: .\ipsfactorybuffercache.cpp, Line: 338
> >
> >
> >It seems like the DLL/class/interface isn't being registered correctly
for
> >some reason. What do I need to do to get this to work? What is the
proper
> >procedure to get everything registered?
> >
> >Any help is greatly appreciated.
> >
> >
>
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