Hi there,
This is indeed a permissions issue. Earlier versions of ASP.NET allowed for LogSources to be created at run-time but that's not possible anymore. One way to fix this, is to give the ASPNET account the rights to the required registry keys.
However, it's recommended to create the required logs and sources at design / deployment time, and just write to them at run-time.
Check out these two threads for more background info:
http://p2p.wrox.com/topic.asp?TOPIC_ID=3095
http://p2p.wrox.com/topic.asp?TOPIC_ID=251
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
My Morning Song by
The Black Crowes (Track 9 from the album:
The Southern Harmony And Musical Companion)