PCC,
If you don't want to change the ASPNET user permissions, then you can
change the permissions on the registry key that it is trying to access so
that the ASPNET user has access to it.
Hope this helps.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> I am using the Exception Managment Application Block on Windows Server 2003
> Enterprise and .NET v1.1.
[quoted text clipped - 16 lines]
> logName)
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> Source() in D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 661
> --- End of inner exception stack trace ---
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> Source() in D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 666
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.Publish(Exc
> eption exception, NameValueCollection additionalInfo, NameValueCollection
> configSettings) in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 535
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.PublishInte
> rnalException(Exception exception, NameValueCollection additionalInfo) in
> D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 301
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> eption exception, NameValueCollection additionalInfo) in D:\Program
> Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 229
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> eption exception) in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 66
> at AuctionChannel.Service1.GetDataSet(String QueryName) in
[quoted text clipped - 6 lines]
> another way aroud this issue? Any pointers, links, samples, etc. would be
> appreciated. Thank you.
PCC - 11 Nov 2003 21:52 GMT
Thanks Nicholas, I swear you are always the first to answer any questions I
post in these newsgroups!
This never seemed to be an issue with .NET 1.0 and Windows 2000 Server. I
am a little hesitant to grant permissions to the ASPNET user if there was
another way around the problem. If nobody else comes up with a work around,
I will grant the ASPNET user the needed permissions. Thanks.
> PCC,
>
[quoted text clipped - 28 lines]
> > logName)
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 661
> > --- End of inner exception stack trace ---
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 666
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.Publish(Exc
> > eption exception, NameValueCollection additionalInfo, NameValueCollection
> > configSettings) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 535
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.PublishInte
> > rnalException(Exception exception, NameValueCollection additionalInfo) in
> > D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 301
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception, NameValueCollection additionalInfo) in D:\Program
> > Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 229
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 66
> > at AuctionChannel.Service1.GetDataSet(String QueryName) in
[quoted text clipped - 7 lines]
> > another way aroud this issue? Any pointers, links, samples, etc. would be
> > appreciated. Thank you.
Run installutil against the exception management block assembly - this
creates the event source.
Nick Wienholt, MVP
Maximizing .NET Performance
http://www.apress.com/book/bookDisplay.html?bID=217
Sydney Deep .NET User Group www.sdnug.org
> I am using the Exception Managment Application Block on Windows Server 2003
> Enterprise and .NET v1.1.
[quoted text clipped - 16 lines]
> logName)
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> Source() in D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 661
> --- End of inner exception stack trace ---
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> Source() in D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 666
> at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.Publish(Exc
> eption exception, NameValueCollection additionalInfo, NameValueCollection
> configSettings) in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 535
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.PublishInte
> rnalException(Exception exception, NameValueCollection additionalInfo) in
> D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 301
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> eption exception, NameValueCollection additionalInfo) in D:\Program
> Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 229
> at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> eption exception) in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> Manager.cs:line 66
> at AuctionChannel.Service1.GetDataSet(String QueryName) in
[quoted text clipped - 6 lines]
> another way aroud this issue? Any pointers, links, samples, etc. would be
> appreciated. Thank you.
PCC - 12 Nov 2003 03:28 GMT
Thanks Nick, that did it. I appreciate you taking a few moments to offer
you advice.
> Run installutil against the exception management block assembly - this
> creates the event source.
[quoted text clipped - 28 lines]
> > logName)
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 661
> > --- End of inner exception stack trace ---
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 666
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.Publish(Exc
> > eption exception, NameValueCollection additionalInfo, NameValueCollection
> > configSettings) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 535
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.PublishInte
> > rnalException(Exception exception, NameValueCollection additionalInfo) in
> > D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 301
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception, NameValueCollection additionalInfo) in D:\Program
> > Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 229
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 66
> > at AuctionChannel.Service1.GetDataSet(String QueryName) in
[quoted text clipped - 7 lines]
> > another way aroud this issue? Any pointers, links, samples, etc. would be
> > appreciated. Thank you.
jack z chen - 24 Dec 2003 05:23 GMT
> Run installutil against the exception management block assembly - this
> creates the event source.
[quoted text clipped - 28 lines]
> > logName)
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 661
> > --- End of inner exception stack trace ---
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValid
> > Source() in D:\Program Files\Microsoft Application Blocks for
> .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 666
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.Publish(Exc
> > eption exception, NameValueCollection additionalInfo, NameValueCollection
> > configSettings) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 535
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.PublishInte
> > rnalException(Exception exception, NameValueCollection additionalInfo) in
> > D:\Program Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 301
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception, NameValueCollection additionalInfo) in D:\Program
> > Files\Microsoft Application Blocks for .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 229
> > at
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Exc
> > eption exception) in D:\Program Files\Microsoft Application Blocks for
> > .NET\Exception
Management\Code\CS\Microsoft.ApplicationBlocks.ExceptionManagement\Exception
> > Manager.cs:line 66
> > at AuctionChannel.Service1.GetDataSet(String QueryName) in
[quoted text clipped - 7 lines]
> > another way aroud this issue? Any pointers, links, samples, etc. would be
> > appreciated. Thank you.