URI formats are not supported error

  • Thread starter Thread starter Costi Stan
  • Start date Start date
C

Costi Stan

I am having an asp.net application made in vs 2002 (.net 1.1). I am
getting "URI formats are not supported error" when I am trying to
specify the file path in my web.config as


<exceptionManagement mode="on">
<publisher assembly="TestWeb"
type="TestWeb.ExceptionPublisher"
fileName="http:\\localhost\TestWeb\WebErrorLog.txt" />
</exceptionManagement>


Is there any good method to create the file in the virtual directory I
specify. It works fine if i specify the absolute path
"C:\inetpub....". But how can I make it run with relative path or by
specifying the url.
 
I am having an asp.net application made in vs 2002 (.net 1.1). I am
getting "URI formats are not supported error" when I am trying to
specify the file path in my web.config as


<exceptionManagement mode="on">
<publisher assembly="TestWeb"
type="TestWeb.ExceptionPublisher"
fileName="http:\\localhost\TestWeb\WebErrorLog.txt" />
</exceptionManagement>


Is there any good method to create the file in the virtual directory I
specify. It works fine if i specify the absolute path
"C:\inetpub....". But how can I make it run with relative path or by
specifying the url.

Already tried MapPath
(http://www.fuzzysoftware.com/tagreference.asp?objectid=5&tagid=39)
 
Back
Top