Solved

80004005 Unspecified error or Run Time error -2147467259

Posted on 2002-04-19
13
1,102 Views
Last Modified: 2010-05-18

I am working on a ASP application where it is using Integrated Authentication.  I am trying to use the SoapClient3.0 object (www.soapclient.com) and when i execute the soap call i get

Error Type
(0x80004005)
Unspecified Error..

If I throw the on error resume next i get a -2147467259 error.

Here is the code (right from thier web site sample code)

<%

on error resume next

set myAgent = Server.CreateObject("SQLDataSoap.SoapAgent")

myAgent.AddParameter "zipcode", "08540", ""

myAgent.SetProxy "mlamrs-proxy.us.ml.com", 8080, "", ""

Response.write "Proxy<br>"
Response.write err.number & "<br>" & err.description & "<br>" & err.source
'Response.write "<br>" & err.HelpContext & "<br>" & err.HelpFile & "<br>" & err.NativeError
'err.Clear

myAgent.ExecuteMethod "http://www.xmethods.net/sd/TemperatureService.wsdl", "getTemp"

Response.write "Execute<br>"
Response.write err.number & "<br>" & err.description & "<br>" & err.source
Response.write "<br>" & err.HelpContext & "<br>" & err.HelpFile & "<br>" & err.NativeError
err.Clear

LocalTemp = MyAgent.GetResponse("return")

Response.write "Get<br>"
Response.write err.number & "<br>" & err.description & "<br>" & err.source
Response.write "<br>" & err.HelpContext & "<br>" & err.HelpFile & "<br>" & err.NativeError
err.Clear

response.write(LocalTemp) & " : ok"

%>

The support there says it is a "rights" issue.

SoapClient is installed in the c:\soapclient3.0 dir
There is a path to that directory
And I set everyone for full access

Anyone know any issues

Windows 2k / iis 5
0
Comment
Question by:larzgold
  • 4
  • 4
  • 3
  • +2
13 Comments
 
LVL 20

Expert Comment

by:jitganguly
Comment Utility
Not sure, but may be its failng at the proxy lavel. Check the permission on that (proxy)
0
 
LVL 46

Expert Comment

by:fritz_the_blank
Comment Utility
Did you give the IUSR and IWAM accounts sufficient access? I am not sure that they are included under the everybody umbrella.

Fritz the Blank
0
 
LVL 9

Expert Comment

by:sk33v3
Comment Utility
First you didn't declare myAgent or local temp. i would suggest you do that. that may fix your problem but i don't know.
0
 

Author Comment

by:larzgold
Comment Utility
Not failing at the proxy level - no need for authorization through the proxy, and can the an XMLHTTPRequest through it. I dont need to declare (dim) variables.. this is vbscript - i could, but it doesnt matter -

The sufficient access is a good thought - but where would I start - what rights should they have?
0
 
LVL 46

Expert Comment

by:fritz_the_blank
Comment Utility
You could start by giving full control to the IUSR and IWAM accounts. However, once you finished testing, I would back things off right away.

Fritz the Blank
0
 
LVL 20

Expert Comment

by:Silvers5
Comment Utility
include the soap dll in COM+ (SQLDataSoap.SoapAgent) and assign an admin acount to run the package..

Start the Component services..in the tree select computers.. mycomputer..com+ applications...right click on it--> new -> application.. now in the wizard click next and select an empty application -> name your package  leave it in server process and click next -> Select the user and enter an account with enough rights to fufill your com jobs (admin account for ex) -> Finish..

now in the tree expand the new package untill you see the component directory-> right click it -> select new component-> in the wizard click next.. you can either install a new component if it's not registred or install a registred one if you already registred your dll (you select the 2nd choice) -> Select your component from the list (internal name displayed) -> Finish..
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 20

Accepted Solution

by:
Silvers5 earned 200 total points
Comment Utility
internal name is : SQLDataSoap.SoapAgent

this should fix your issue
0
 

Author Comment

by:larzgold
Comment Utility
I really thought that would work silvers..

I actually reinstalled win2k -
installed the soapclient to its directory..
Gave everyone full access including iwam/iusr ids
Then I created the application / com component as directed
but still getting the error.

It seems you tested this out silvers - am i missing anything?

Larzgold
0
 
LVL 46

Expert Comment

by:fritz_the_blank
Comment Utility
Larzgold,

One last issue about the IUSR and IWAM accounts--they need to be those from the machine hosting the site, not that of the machine with the SOAP software. Are they one and the same server or two different ones?

Fritz the Blank
0
 

Author Comment

by:larzgold
Comment Utility
Fritz... it is one and the same machine...

0
 
LVL 46

Expert Comment

by:fritz_the_blank
Comment Utility
Never mind then!


Silvers5?

0
 

Author Comment

by:larzgold
Comment Utility
It should have been the correct answer - took multiple tries to get it to work, but it is working now.

Thanks Silvers5
0
 
LVL 20

Expert Comment

by:Silvers5
Comment Utility
rgrds
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now