Solved

80004005 Unspecified error or Run Time error -2147467259

Posted on 2002-04-19
13
1,108 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
ID: 6954178
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
ID: 6954289
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
ID: 6954337
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:larzgold
ID: 6954990
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
ID: 6955012
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
ID: 6956756
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
 
LVL 20

Accepted Solution

by:
Silvers5 earned 200 total points
ID: 6956758
internal name is : SQLDataSoap.SoapAgent

this should fix your issue
0
 

Author Comment

by:larzgold
ID: 6958226
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
ID: 6958263
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
ID: 6958269
Fritz... it is one and the same machine...

0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6958303
Never mind then!


Silvers5?

0
 

Author Comment

by:larzgold
ID: 6961734
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
ID: 6961960
rgrds
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Update field in order 21 148
Need help editing script 3 80
Bypass cross origin issues on development site 3 89
Html CheckBox obtain Its Value 5 28
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 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