Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

problem while adding web reference

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ravi - 04 Feb 2005 13:11 GMT
Hi,

 i am getting the following error when trying to add a web reference of a
web service which is on the remote machine to a web application project in
.NET

"
The document at the url http://tuvsrv2/_vti_bin/service1.asmx was not
recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'WSDL Document' is 'The document format is not recognized (the
content type is 'text/html; charset=utf-8').'.
- Report from 'DISCO Document' is 'There was an error downloading
'http://tuvsrv2/_vti_bin/service1.asmx?disco'.'.
 - The request failed with HTTP status 404: Not Found.
- Report from 'XML Schema' is 'The document format is not recognized (the
content type is 'text/html; charset=utf-8').'. "

Any Ideas will be helpful
Signature

ravib

Bruce Johnson [C# MVP] - 04 Feb 2005 13:31 GMT
The URL for your web service seems a little strange to me.  I haven't seen an
ASMX file placed into a directory called _vti_bin before.  That having been
said, what the error message says to me is that your virtual directory hasn't
been properly configured to support ASMX file.  I'm basing this on the
unknown document type message.  A good virtual directory would recognize the
.ASMX extension and know how to process it.

Hope this helps.

> Hi,
>
[quoted text clipped - 15 lines]
>
> Any Ideas will be helpful
Ravi - 04 Feb 2005 14:35 GMT
i was trying to do a sample show in the following url

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_sp2003_ta/h
tml/odc_writingcustomwebservicesforsppt.asp


hope u will be more clear with the problem

> The URL for your web service seems a little strange to me.  I haven't seen an
> ASMX file placed into a directory called _vti_bin before.  That having been
[quoted text clipped - 24 lines]
> >
> > Any Ideas will be helpful
DalePres - 04 Feb 2005 15:20 GMT
Very interesting article.  Not being a Sharepoint developer, I sure don't
know why they're going into the FrontPage Extensions folders for storing web
services but since there were three developers and probably several
reviewers on the team for publishing that article, I'll have to assume it is
conceptually correct even if unusual.

One thing I did notice at the bottom of the article, in the troubleshooting
section, was a paragraph stating that if you don't create the .aspx files,
as suggested in the article, from the .disco and .wsdl files, you will get
the error you describe.

DalePres
MCAD, MCDBA, MCSE

>i was trying to do a sample show in the following url
>
[quoted text clipped - 38 lines]
>> >
>> > Any Ideas will be helpful
Ravi - 05 Feb 2005 07:07 GMT
Interestingly even the builtin webservices are also giving the same error.

> Very interesting article.  Not being a Sharepoint developer, I sure don't
> know why they're going into the FrontPage Extensions folders for storing web
[quoted text clipped - 52 lines]
> >> >
> >> > Any Ideas will be helpful
Dilip Krishnan - 05 Feb 2005 15:03 GMT
Hello Ravi,
   try reinstalling using the aspnet_regiis.exe and see if that helps..

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Interestingly even the builtin webservices are also giving the same
> error.
[quoted text clipped - 66 lines]
>>>>> --
>>>>> ravib

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.