If I use OWA(Outlook Web Access) to access WSS, it can access directory. For example, If I point to a file in such directory, for example then browser will display 403 error and a1.xml can not be accessed.
Similarity, if I use following code to acesss it still tell me the 403 error from catch statements:
try
{
WebClient client = new WebClient();
client.Credentials = new System.Net.NetworkCredential("username", "password");
inputStream = client.OpenRead(" reader = new XmlTextReader(inputStream);
}
catch (WebException webEx)
{
Console.Write(webEx.ToString());
}
Would you please tell me how to resolve this problem?
Similarity, if I use following code to acesss it still tell me the 403 error from catch statements:
try
{
WebClient client = new WebClient();
client.Credentials = new System.Net.NetworkCredential("username", "password");
inputStream = client.OpenRead(" reader = new XmlTextReader(inputStream);
}
catch (WebException webEx)
{
Console.Write(webEx.ToString());
}
Would you please tell me how to resolve this problem?