|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/18/2005 1:43:00 AM
Posts: 1,
Visits: 1
|
|
If I use OWA(Outlook Web Access) to access WSS, it can access directory. For example, http://localhost/public/myfolder. If I point to a file in such directory, for example http://localhost/public/myfolder/a1.xml, then browser will display 403 error and a1.xml can not be accessed. Similarity, if I use following code to acesss http://localhost/public/myfolder/a1.xml, 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("http://localhost/public/myfolder/a1.xml"); reader = new XmlTextReader(inputStream); } catch (WebException webEx) { Console.Write(webEx.ToString()); } Would you please tell me how to resolve this problem?
Thank you very much!
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Yesterday @ 9:33:43 AM
Posts: 157,
Visits: 371
|
|
Hello, The cause of this is that the file located in your folder structure cannot be seen by SharePoint as SharePoint data and files are stored in a server-side SQL Database. Unless the file path is explicitly included into the SharePoint path this error will occur. At this time including and excluding file paths for SharePoint sites is a server-side setting we can make for you. If you are a customer, please contact support and they can assist you with this. Thank You
Paul BRe-invent Technologies LLC http://www.re-invent.com
Innovative ASP.NET 3.5/2.0 Hosting Now with Windows 2008 Hosting and SQL 2008 Celebrating 10 Years in Business!
|
|
|
|