Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging ASP.NET application at run-time
Message
 
 
À
16/01/2009 10:47:50
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01374333
Message ID:
01374522
Vues:
10
>>
>>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.
>
>If you are using the ASP.NET Development Server then it probably would work - whether it will work on the production server as-is is a very different matter. What is the IIS /OS version on that machine?

I found that creating a text file using File.CreateText does work on the Server 2003. So this gives me ability to debug using this approach. I will still try the event log method; if anything, but to learn how it works.
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform