In 2003, there are special permissions for who can write to the eventlog.
This may be part of your problem. Also, the ASP.Net worker process by
default does not have the registry permissions to create a new eventlog
source.
This page may help you, It helped me.
http://support.microsoft.com/default...b;en-us;323076
GL
"Ollie" <> wrote in message
news:...
> okay sorry for cross posting but want to see if any one can explain the
> solution to this problem for me:
>
> I have a .Net ASP.Net app written in C# that use COM+ components to do
some
> business processing......
>
> When I have the ASP.Net website and the COM+ components installed on the
> same machine (i.e everything local) it all works fine, and it can write to
> the event log....
>
> But when I moved the COM+ component onto a remote application server I get
> the following error when the COM+ service attempts to write to a remote
> event log.
>
> A first chance exception of type 'System.InvalidOperationException'
occurred
> in mscorlib.dll
>
> Additional information: Cannot open log for source {0}. You may not have
> write access.
>
> Can anyone tell me how to cofig the event log so that the remote COM+
> service can write to this event log.
>
> All servers in my architecture are running windows 2003 server. I know
that
> the COM+ service is running correctly because several calls i have made to
> the component have completed correctly, but when a particular method fails
> and attempt to wirte to the remote Event log it fails and the exception is
> generated in the ASP.Net application saying the above, this indicates
that
> it can not write to the event log does it?
>
> Cheers in advance
>
> Ollie
>
>