Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 22nd, 2005, 08:21 AM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Service and COM

I have a component in VB 6.0 which i used in my web service (at local host), it works fine. But when I deployed this web service on the server, the following error occured.

System.Web.Services.Protocols.SoapException: Server was unable to process request. QueryInterface for interface XXXXX failed.
where XXXXX is my component name.

I have already register the dll and also give full rights to the folder where my project resides. but still it gives the same error. Please resolve my problem ASAP. Thanks




 
Old December 22nd, 2005, 02:41 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Quote:
quote:Originally posted by [email protected]
 Please resolve my problem ASAP.

That's not a very friendly way of asking for help. It sounds more like how my customers politely tell me to fix their issues.


I see that error usually when there is some version compatibility issue as we update COM components on our servers. Try unregistering the component, reset the web server and test again (WITHOUT re-registering). Do this to verify that COM isn't trying a different DLL. You might need to dig into the registry to see where else it might be. You might even have to (gasp) delete some keys from the registry. If all goes well, you should eventually get a "Class name not found" (or something like that) error. Then you know the COM references are cleaned out. Then re-register and try again.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
web service ajaytiwarilic ASP.NET 2.0 Basics 0 February 24th, 2007 10:40 AM
Web Service kumanan ASP.NET 1.0 and 1.1 Basics 0 December 7th, 2006 10:26 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Service Oriented Web Service aldwinenriquez .NET Web Services 2 September 15th, 2005 03:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.