Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #353 (new question)

Opened 5 years ago

Last modified 4 years ago

Trackhandler issue

Reported by: neil.perry@… Owned by: permagne@…
Priority: major Component: 404Handler
Keywords: Cc:

Description

We are getting a lot of ELMAH errors: EPiServer 7.1 Patch 3 site using 404 handler 3.1.14788 in regards to Live monitor in EPiServer

Error example:

System.Data.SqlClient.SqlException: Procedure or function 'epitraceRegisterVisit' expects parameter '@LanguageId', which was not supplied.
Generated: Wed, 11 Dec 2013 14:01:36 GMT

System.Data.SqlClient.SqlException (0x80131904): Procedure or function 'epitraceRegisterVisit' expects parameter '@LanguageId', which was not supplied.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at EPiServer.Trace.CMS.Services.TransferRepository.<>cDisplayClass1.<Write>b0()
at EPiServer.Data.Providers.SqlDatabaseHandler.<>cDisplayClass4.<ExecuteTransaction>b3()
at EPiServer.Data.Providers.SqlDatabaseHandler.<>cDisplayClass7`1.<ExecuteTransaction>b6()
at EPiServer.Data.Providers.SqlDeadlockRetryPolicy.Execute[TResult](Boolean isInTransaction, Func`1 method)
at EPiServer.Trace.CMS.Services.TransferRepository.AddTransfer(VisitorMessageData hit)
at EPiServer.Trace.CMS.Web.TrackingHandler.ProcessTrackingRequest(HttpContextBase context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

ClientConnectionId:41f84bef-8633-47ba-85fd-e8143348988a


EPiServer cannot redroduce but we get 404realated error detailed below before this.

Has the 404 hanlder been tested along side the EPiServer Live monitor and CMO???


System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
Generated: Wed, 11 Dec 2013 08:07:15 GMT

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at BVNetwork.Bvn.FileNotFound.Logging.Logger.LogRequests(List`1 logEvents)
at BVNetwork.Bvn.FileNotFound.Logging.Logger.LogRequest(String oldUrl, String referer)
at BVNetwork.FileNotFound.NotFoundPageUtil.HandleOnLoad(Page page, Uri urlNotFound, String referer)
at ASP._404notfound_aspx.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Server Variables
Name Value
ALL_HTTP HTTP_CONNECTION:keep-alive HTTP_VIA:1.1 QINTERNET1 HTTP_CONTENT_LENGTH:0 HTTP_ACCEPT:image/webp,*/*;q=0.8 HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:en-US,en;q=0.8 HTTP_COOKIE:CookieNotice=displayed; utma=192847477.907776767.1386594568.1386680117.1386682575.3; utmz=192847477.1386682575.3.3.utmcsr=apetito.co.uk|utmccn=(referral)|utmcmd=referral|utmcct=/customer/dashboard/; _ga=GA1.3.907776767.1386594568; adiV=443773022 HTTP_HOST:www.apetito.co.uk HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
ALL_RAW Connection: keep-alive Via: 1.1 QINTERNET1 Content-Length: 0 Accept: image/webp,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8 Cookie: CookieNotice=displayed; utma=192847477.907776767.1386594568.1386680117.1386682575.3; utmz=192847477.1386682575.3.3.utmcsr=apetito.co.uk|utmccn=(referral)|utmcmd=referral|utmcct=/customer/dashboard/; _ga=GA1.3.907776767.1386594568; adiV=443773022 Host: www.apetito.co.uk User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
APPL_MD_PATH /LM/W3SVC/8/ROOT
APPL_PHYSICAL_PATH C:\Sites\www.apetito.co.uk\Site\
AUTH_TYPE
AUTH_USER
AUTH_PASSWORD *
LOGON_USER
REMOTE_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE
CERT_SECRETKEYSIZE
CERT_SERIALNUMBER
CERT_SERVER_ISSUER
CERT_SERVER_SUBJECT
CERT_SUBJECT
CONTENT_LENGTH 0
CONTENT_TYPE
GATEWAY_INTERFACE CGI/1.1
HTTPS off
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
INSTANCE_ID 8
INSTANCE_META_PATH /LM/W3SVC/8
LOCAL_ADDR 172.20.1.58
PATH_INFO /404notfound.aspx
PATH_TRANSLATED C:\Sites\www.apetito.co.uk\Site\404notfound.aspx
QUERY_STRING 404;http://www.apetito.co.uk:80/Images/layout/siteSearchButton.png
REMOTE_ADDR 194.176.105.141
REMOTE_HOST 194.176.105.141
REMOTE_PORT 26600
REQUEST_METHOD GET
SCRIPT_NAME /404notfound.aspx
SERVER_NAME www.apetito.co.uk

SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/7.5
URL /404notfound.aspx
HTTP_CONNECTION keep-alive
HTTP_VIA 1.1 QINTERNET1
HTTP_CONTENT_LENGTH 0
HTTP_ACCEPT image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8
HTTP_COOKIE CookieNotice=displayed; utma=192847477.907776767.1386594568.1386680117.1386682575.3; utmz=192847477.1386682575.3.3.utmcsr=apetito.co.uk|utmccn=(referral)|utmcmd=referral|utmcct=/customer/dashboard/; _ga=GA1.3.907776767.1386594568; adiV=443773022
HTTP_HOST www.apetito.co.uk

HTTP_USER_AGENT Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Change History

comment:1 Changed 5 years ago by permagne@…

Hi,
you could try turning off the 404 logger to see if the module is related somehow.

See the web.config example on this page on how to turn off or on 404 logging:
https://www.coderesort.com/p/epicode/wiki/404Handler

comment:2 Changed 4 years ago by wacdannyr@…

Hello permagne,

This issue is still happening to me on an EPiServer 7.1.3 (EPiServer Patch 3) solution based on WebForms.

Have you revisit this item since December?

Cheers,

Note: See HelpUser/Tickets for help on using tickets.