Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 September 4th, 2004, 10:33 AM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default a problem about read and write the xml files

There is a asp.net web app,and I set the web.config with the code
like this:
<authentication mode="Windows" />
    <identity impersonate = "true"/>
   <authorization>
     <deny users = "?"/>
   </authorization>
which means every one can run the server except the anonymous user ,so I can read and write the xml files in the asp.net web app;
in the client,I create a windows form ,I want to read data from the xml to the windows form ,but in the codes of the client
I coudn't read the data in the xml,It show the error messages
like this :
"The request failed with HTTP status 401:unauthorized"

I don't know why,I think I set the web.config files and I should read the xml,any body can help me?







Similar Threads
Thread Thread Starter Forum Replies Last Post
Read, write, delete and display xml file in php rapraj XML 0 December 27th, 2007 02:18 AM
xml Files read in asp with formated data shaileshk Classic ASP XML 1 June 7th, 2006 04:53 AM
How do I read all the xml files in a directory hkec C# 0 May 11th, 2006 01:10 AM
a problem about read and write the xml files watson .NET Web Services 0 September 5th, 2004 09:25 PM
Read(client) / write(server) files nazneen J2EE 1 July 2nd, 2003 05:58 AM





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