Solved

80004005 Unspecified error or Run Time error -2147467259

Posted on 2002-04-19
13
1,107 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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