hello guys how r u ??
i have strange problem, i am creating text file in asp.net with this code
Dim file As System.IO.StreamWriter
file = System.IO.File.CreateText(D:\\abc.txt)
file.WriteLine(Header1)
file.Close()
on the localhost this code running perfectly but when i am deploying on server iis then the exception occurs
"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"
i am unable to understand about this ...
kindly reply me soon
Thanks..
How to Create Text File in asp.net ?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pradip PandeyRank #452 · 5.6K reputationPosted Nov 20, 2012, 2:01 AM EST
http://www.c-sharpcorner.com/UploadFile/mahesh/create-a-text-file-in-C-Sharp/
Hope it will help.