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..
Loading
Pradip PandeyPosted Nov 20, 2012, 7:01 AM
http://www.c-sharpcorner.com/UploadFile/mahesh/create-a-text-file-in-C-Sharp/
Hope it will help.