P
Plop Plop via DotNetMonster.com
Hello,
i'm a newbie at asp.net, and i'm developping a site at the moment, and want
to add a sort off logging system.
I would like to create a file on the server side when a error occured.
Now how can i do that?
On my pc i have c:\inetput\wwwroot\sitename
i want the file to become in this directory, but i can't use this path
because when i upload it to a host server, the path will be different. So
how can i make sure the file comes in the directory where my site is
located without statically typing in the path in a string orso?
Or thus someone has a better idea of solving this problem?
thank you
i'm a newbie at asp.net, and i'm developping a site at the moment, and want
to add a sort off logging system.
I would like to create a file on the server side when a error occured.
Now how can i do that?
On my pc i have c:\inetput\wwwroot\sitename
i want the file to become in this directory, but i can't use this path
because when i upload it to a host server, the path will be different. So
how can i make sure the file comes in the directory where my site is
located without statically typing in the path in a string orso?
Or thus someone has a better idea of solving this problem?
thank you