Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 17th, 2005, 10:30 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
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
  #2 (permalink)  
Old February 17th, 2005, 11:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
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
  #3 (permalink)  
Old February 18th, 2005, 01:31 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unspecified error mahesh_82 ADO.NET 1 January 10th, 2007 05:24 AM
Unspecified Error. lam_lvl ADO.NET 4 December 22nd, 2006 01: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



All times are GMT -4. The time now is 05:37 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.