Log File Access Denied,Please help me
Reply
![]() |
|
From:
![]() Sriatmakuri1
|
Hi all,
I am wokring on webservices.I am writing errors in a logfile in the server. when i am accessing the services remotely ,i am getting an error Access Denied for the perticulear file.If i have to give any permissions where i have to give and which permissions i have to give?
My code is like this:
System.Web.Services.WebService srv = new WebService(); StreamWriter w = File.AppendText(srv.Server.MapPath("log.txt")); w.Write("\r\nLog Entry : "); w.WriteLine("{0}", errtype); w.Flush(); w.Close();
Please help me.
_________________________________________________________________ All that you wanted to know about Ms Beautiful Lips http://server1.msn.co.in/Profile/katrina.asp
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|