>>Hi,
>>
>>In order to figure out a problem I am having with an ASP.NET application on customer site I need to check if the application reaches a few points/conditions. Ideally I would like to insert a code in those places to create some dummy/token files. This way I can see if the point had reached or not. But my understanding of ASP.NET is that it is not allowed to make files on the server.
>
>>Any suggestions of how to get/create files to debug at run-time?
>
>Hi,
>As long as the account that ASP.NET is running under has the neccessary permisions set in the OS you should not have problems writing to file.....
I found that File.CreateText() is easy enough method to create a simple text file. So far it works on my PC. Next thing I will be testing it on the user server.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham