[InvalidOperationException: Cannot open log for source 'Application'. You may not have write access.]

631 views
Skip to first unread message

yomna fouad

unread,
Mar 15, 2012, 7:03:16 AM3/15/12
to reCAPTCHA
Hello ,
Ima using recaptcah at my site when I move to production server I
rective this error Win32Exception (0x80004005): Access is denied]
[InvalidOperationException: Cannot open log for source 'Application'.
You may not have write access.]
System.Diagnostics.EventLog.OpenForWrite(String currentMachineName)
+1833711
System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16
category, EventLogEntryType type, String[] strings, Byte[] rawData,
String currentMachineName) +452
System.Diagnostics.EventLog.WriteEntry(String message,
EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
+463
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
+112
System.Diagnostics.EventLog.WriteEntry(String source, String message,
EventLogEntryType type) +30
Recaptcha.RecaptchaValidator.Validate() +2966
Recaptcha.RecaptchaControl.Validate() +1310
System.Web.UI.Page.Validate(String validationGroup) +11118556
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) +105
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2981




please help

PJH

unread,
Mar 15, 2012, 8:34:25 AM3/15/12
to reca...@googlegroups.com


On Thu, Mar 15, 2012 at 11:03 AM, yomna fouad <yomna....@gmail.com> wrote:
[InvalidOperationException: Cannot open log for source 'Application'.
You may not have write access.]

Have you tried finding out why you may not have write access?

--
PJH


yomna fouad

unread,
Mar 15, 2012, 9:20:28 AM3/15/12
to reCAPTCHA
Ji PJH ,
the user i am using is admin user

On Mar 15, 2:34 pm, PJH <pauljherr...@gmail.com> wrote:

Adrian Godong

unread,
Mar 15, 2012, 12:43:01 PM3/15/12
to reca...@googlegroups.com
Hi,

This error message is not related to the root problem. The message you
are seeing indicates that your web application pool does not have
write access to the windows event log. You don't normally need this
but when given access, you can check Windows Event Log to see the
original error. You should contact your system administrator regarding
this issue.

The root problem, however, may be due to the fact that you are not
allowed to connect to Google servers to validate the response from the
user. This is usually happen when a firewall is blocking port 80
outbound from your servers. Again, check with your system
administrator regarding this issue.

HTH,

> --
> You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
> To post to this group, send email to reca...@googlegroups.com.
> To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.
>

--
Adrian Godong
adrian...@gmail.com

yomna fouad

unread,
Mar 15, 2012, 1:26:29 PM3/15/12
to reCAPTCHA
Hello Adrian Godong
,
the server is used proxy to connect to intranet and we trun off the
firewall on the server for testing now it give us "407
authentication error" please help
> adrian.god...@gmail.com- Hide quoted text -
>
> - Show quoted text -

Adrian Godong

unread,
Mar 15, 2012, 1:35:41 PM3/15/12
to reca...@googlegroups.com
There's a Proxy property on the RecapcthaControl class that you can
set to provide authentication information for servers behind proxy.

http://code.google.com/p/recaptcha/source/browse/trunk/recaptcha-plugins/dotnet/library/RecaptchaControl.cs#144

yomna fouad

unread,
Mar 15, 2012, 2:12:33 PM3/15/12
to reCAPTCHA
Hi ,
the recaptach alwy retrive false and when we disply the error masseg
it says "recaptcah server is not avaliable"



On Mar 15, 7:35 pm, Adrian Godong <adrian.god...@gmail.com> wrote:
> There's a Proxy property on the RecapcthaControl class that you can
> set to provide authentication information for servers behind proxy.
>
> http://code.google.com/p/recaptcha/source/browse/trunk/recaptcha-plug..

Adrian Godong

unread,
Mar 15, 2012, 2:29:40 PM3/15/12
to reca...@googlegroups.com
That means your server can't communicate with Google servers.

This is a network configuration issue and you should check with your sysadmin.

Reply all
Reply to author
Forward
0 new messages