Click here to Skip to main content
15,911,711 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: USING RESOURCES FILE IN ASP.NET Pin
Christian Graus6-Nov-06 22:15
protectorChristian Graus6-Nov-06 22:15 
GeneralRe: USING RESOURCES FILE IN ASP.NET Pin
Sathesh Sakthivel6-Nov-06 22:22
Sathesh Sakthivel6-Nov-06 22:22 
QuestionClient Callback Implementation Pin
Jisha Pappachan P6-Nov-06 21:48
Jisha Pappachan P6-Nov-06 21:48 
AnswerRe: Client Callback Implementation Pin
just3ala27-Nov-06 0:01
just3ala27-Nov-06 0:01 
QuestionHow to build dll file for code behind page in framework 2.0? Pin
Imran Khan Pathan6-Nov-06 21:45
Imran Khan Pathan6-Nov-06 21:45 
QuestionPlease help me!!! Pin
Kamalatharsan6-Nov-06 21:22
Kamalatharsan6-Nov-06 21:22 
AnswerRe: Please help me!!! Pin
Parwej Ahamad6-Nov-06 21:33
professionalParwej Ahamad6-Nov-06 21:33 
QuestionSystem.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\Prakriti\deepak.txt' is denied. Pin
Deepak the Cool6-Nov-06 21:15
Deepak the Cool6-Nov-06 21:15 
when i create file in wwwroot directory then following error occurs but not in c:\\ path.

Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\Prakriti\deepak.txt' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true">, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

<br />
Line 41: <br />
Line 42:         //FileStream fs = File.Create("c:\\Temp\\deepak.html");<br />
Line 43:         FileStream fs = File.OpenWrite(Server.MapPath("deepak.txt"));<br />
Line 44:         StreamWriter sw = new StreamWriter(fs);<br />
Line 45: <br />



deepak

Questionproblem with view state Pin
srilu nagalla6-Nov-06 20:28
srilu nagalla6-Nov-06 20:28 
AnswerRe: problem with view state Pin
coolestCoder6-Nov-06 20:43
coolestCoder6-Nov-06 20:43 
GeneralRe: problem with view state Pin
srilu nagalla6-Nov-06 20:53
srilu nagalla6-Nov-06 20:53 
GeneralRe: problem with view state Pin
coolestCoder6-Nov-06 21:02
coolestCoder6-Nov-06 21:02 
QuestionProblem in Mozilla Pin
fasih19816-Nov-06 20:17
fasih19816-Nov-06 20:17 
QuestionHave a problem in Mozilla Pin
fasih19816-Nov-06 20:13
fasih19816-Nov-06 20:13 
QuestionRegd Javascript Pin
sribachana6-Nov-06 20:11
sribachana6-Nov-06 20:11 
QuestionCalling dll file.... Pin
Sam.M6-Nov-06 19:59
Sam.M6-Nov-06 19:59 
QuestionHow do i create chat for customer support on my website? [modified] Pin
Imran Khan Pathan6-Nov-06 19:55
Imran Khan Pathan6-Nov-06 19:55 
AnswerRe: How do i create chat for customer support on my website? Pin
Khan.Bangash6-Nov-06 20:02
Khan.Bangash6-Nov-06 20:02 
GeneralRe: How do i create chat for customer support on my website? Pin
coolestCoder6-Nov-06 20:12
coolestCoder6-Nov-06 20:12 
GeneralRe: How do i create chat for customer support on my website? Pin
Imran Khan Pathan6-Nov-06 20:38
Imran Khan Pathan6-Nov-06 20:38 
AnswerRe: How do i create chat for customer support on my website? Pin
coolestCoder6-Nov-06 20:14
coolestCoder6-Nov-06 20:14 
GeneralRe: How do i create chat for customer support on my website? Pin
Imran Khan Pathan6-Nov-06 20:53
Imran Khan Pathan6-Nov-06 20:53 
GeneralRe: How do i create chat for customer support on my website? Pin
coolestCoder6-Nov-06 21:05
coolestCoder6-Nov-06 21:05 
GeneralRe: How do i create chat for customer support on my website? Pin
Imran Khan Pathan6-Nov-06 21:38
Imran Khan Pathan6-Nov-06 21:38 
GeneralRe: How do i create chat for customer support on my website? Pin
coolestCoder6-Nov-06 22:43
coolestCoder6-Nov-06 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.