Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

80004005 Unspecified error or Run Time error -2147467259

Posted on 2002-04-19
13
Medium Priority
?
1,118 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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:Michel Sakr
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:
Michel Sakr earned 600 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:Michel Sakr
ID: 6961960
rgrds
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

783 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