Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2005, 11:30 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default Unspecified Error '80004005'

Hi Everybody!!
I need your suggestion to solve this problem.
error '80004005'
Unspecified error
function.asp, line 188

set obj = server.CreateObject("lstproject.lstclass")
 recordset= obj.RsExec(conn_in,param1,is_Err) //line 188

here conn_in is an Array,that contains session varaibale,sql statement,connection string ,that is used by the dll to execute the sql,and return the recordset.

Why I am getting this error??
Even this is running fine on another Server(local).
Is there any issues concern with registring dll with regsvr32 and MTS??
Again sometimes it still don't run on Other Server.Just play like Hide and Seek :)
Looking for Suggestions and Solutions??
I have search many sites for this ,still looking for Great Solution



Cheers :)

vinod
__________________
Cheers :)

vinod
 
Old February 17th, 2005, 12:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

so you are trying to call a COM object on another server from an asp page, right?

Could be all sorts of things involved here, example:

You mention MTS, is the object running in an MTS/COM+ package on the other server? Did you create a proxy from that other server and install it on your web server?
Check the MTS settings, for example does your asp user have authority to the component?
Do you have firewall or DNS issues communicating from web to other server? What's on the Activation tab of the MTS proxy (if there is one) - machine name or IP address?
Are you trying to pass any objects to/from the method? If so can those objects be marshalled across a machine boundary? (of the ADO objects I believe only a disconnected recordset can be)

error '80004005' is not very nice to diagnose. Do you have any other clues - anything in the event logs on either server? have you run SQL Profiler to see whether the database call is being made?

hth
Phil
 
Old February 18th, 2005, 02:31 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

hii pgtips!!
Actually ,this "conn_in" is an array that passes values(connectionstring,sql) to the Dll method,and this method returns recordset object.
Ya i have local server that run fine,while with the Client Server,all the setting has been done successfuly,i m wonder why it's giving this error message on his server.
Even i tried this link n looking for possible solution
http://support.microsoft.com/kb/237536/EN-US/

Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unspecified error mahesh_82 ADO.NET 1 January 10th, 2007 06:24 AM
Unspecified Error. lam_lvl ADO.NET 4 December 22nd, 2006 02:47 PM
Unspecified Error??? werD420 Classic ASP Databases 2 April 10th, 2005 01:00 PM
unspecified error Meterman Classic ASP Databases 1 July 13th, 2004 10:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.