all groups > dotnet xml > april 2004 >
You're in the

dotnet xml

group:

XML validation



XML validation smith
4/30/2004 3:36:02 AM
dotnet xml: Hi
I am doing some simle validation of xml aganist xsd
in the xml the schmalocation will be "http://localhost/books.xsd"
But the validater is throughing exception like
"The remote server returned an error: (401) Unauthorized.. An error occurred at , (1, 40).

What I think is we have to do some configaration , setting some permission to user or to that directory
Please help me out from this problem

thanks
Re: XML validation Mickey Williams
4/30/2004 10:32:46 AM
[quoted text, click to view]
occurred at , (1, 40)."

Is it really at that URL, and does your app actually have HTTP access to it?
It looks like it doesn't. This does not appear to be an XML or XML Schema
problem.

--
Mickey Williams
Author, "Microsoft Visual C# .NET Core Reference", MS Press
www.servergeek.com

Re: XML validation smith
5/2/2004 9:51:03 PM
Hi
may be whatever you are telling is true
But how to make HTTP access to my application
Please let me know how to make this setup

Thanks
Re: XML validation Mickey Williams
5/3/2004 11:05:31 AM
Can you access the file via a browser pointed at that URL? If not, I can't
really help you with that - there are many reasons why you might not be able
to access a file via HTTP, and almost none of them have anything to do with
XML.
--
Mickey Williams
Author, "Microsoft Visual C# .NET Core Reference", MS Press
www.servergeek.com/blogs/mickey


[quoted text, click to view]

Re: XML validation smith
5/3/2004 9:01:04 PM
Yes I can access throurh the IE. If I type http://localhost/book.xsd, IE will show the content of book.xsd
I am working on two nt boxes.In one nt machine the vadidation is working properly but in other machine it is not. The machine, where the vadidation is working is having FrontPage sever Extention 2002. Is that causeing the problem.
should we need the forntpage sever extension 2002

AddThis Social Bookmark Button