Corey,

Thanks for your response.  I am not sure if I will be able to place this
into the GAC, but I do have it locally within the application under the
/bin folder.  Is there another area that I should check so the
aspnet_regiis would work?

Thanks,
Daniel 

-----Original Message-----
From: Graham, Corey J. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 05, 2007 11:50 AM
To: Log4NET User
Subject: RE: aspnet_regiis

Log4net is strongly named.  Your named application either has to have it
locally in its /bin dir (so log4net can find it via probed paths) or it
must be in the GAC.

Dropping it in the global assembly cache is probably the fastest way to
fix this.

Corey

Corey Graham, Programmer Analyst Sr II
WaMu Online - Technology Solutions Group PEP (Platform Enhancement
Project) Developer Washington Mutual
1301 2nd Avenue, Floor 39
Seattle, WA 98101
(desk)206.500.4583 | (cell)425.985.7995
This communication may contain privileged or other confidential
information. If you have received it in error, please advise the sender
by reply email and immediately delete the message and any attachments
without copying or disclosing the contents. Thank you.

-----Original Message-----
From: Landry, Daniel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007 6:06 AM
To: [email protected]
Subject: aspnet_regiis

We are using version 1.2 of log4net.  I have a question regarding
aspnet_regiis that allows the encryption of portions of the web.config
file.  I am trying to run the following command which is supposed to
encrypt the log4net section of the web.config:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pe
"log4net" -app "/encrypt_florida"

It errors with:

Encrypting configuration section...
An error occurred creating the configuration section handler for
log4net: Could not load file or assembly 'log4net' or one of  its
dependencies. The system cannot find the file specified.
(C:\Temp\encrypt_florida\florida_ctic_com1\florida_ctic_com\web
.config line 12)

Could not load file or assembly 'log4net' or one of its dependencies.
The system cannot find the file specified.
Failed!

Has anyone attempted to do this or is there a better way to encrypt the
connection string for the AdoNetAppender? 
 
Thanks,
Daniel Landry
Software Engineer
Fidelity Information Services
904.357.1397 - Office

Reply via email to