I can't add a Web Reference

  • Thread starter Alexander Walker
  • Start date
A

Alexander Walker

Hello

I am developing a website that has a Web Service that I want to expose to
Windows Forms based SmartClients when I try to add the web reference to the
smart client I get the following message in the "Web services found at this
URL:" box of the "Add Web Reference" dialog

There was an error downloading
'http://localhost/WebSite1/Folder1/WebService1.asmx'.

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/WebSite1/Folder1/WebService1.asmx?AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>

--.

What can I do to stop this from happening and/or enable myself to add a
reference to the Web Service

Thanks

Alex
 
S

Steven Cheng[MSFT]

Hi Alex,

Thank you for posting.
Regarding on this issue, I've also found your another duplicated thread in
the following newsgroup:

Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
Subject: RE: I can't add a Web Reference

I've posted my response there. Also, if you feel it convenient that we
continue to discuss in that thread, please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
A

Alexander Walker

Hi Brock

I have not intentionally applied any authentication to my web service, how might
I check to see if authentication has been applied to it? I created it in the
same way I would in VS 2003 and tried to add a reference to it in the same way
as I would have in VS 2003, the website itself uses the role and membership
features of asp.net 2.0 might they be cause?

Alex
 
Joined
Dec 13, 2007
Messages
1
Reaction score
0
webservice on hybrid site

I am trying to use a service on a site that has membership, profiles etc. Part of the functionality of the site is to use disconnected data, which I had hoped to sync with my desktop app using web services, but I get the same error about how the aspxautodetect thing too. Has anyone found an answer to this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top