You are viewing limited content. For full access, please sign in.

Question

Question

Weblink - event code 3005 : An unhandled exception has occurred.

asked on September 3, 2014

 

Weblink warning occurs - event code 3005 - An unhandled exception has occurred.

Has anyone seen this Weblink warning?


There were several references to it in the old LF Forum, but the documents behind the search headers have been wiped out.

For example - An unhandled exception occurred during the execution of the 
as below. The cofig file was availabile in the path. Event code: 3005 Event message: An unhandled exception has occurred. Event  https://support.laserfiche.com/forums.aspx?Link=viewtopic.php%3ft%3d17974%26amp

Tag: Forums - The topic or post you requested does not exist

 

WebLink server - Windows Server 2008 R2 Standard SP1
WebLink version is: 8.2.1.107

The event log shows about 60 occurrences of this warning from yesterday afternoon to around 8am today.
It then shows up scattered around the log.
No users have reported an error message.

 

First part of error code: (complete code in attached Word doc)

Source:        ASP.NET 2.0.50727.0
Date:          9/3/2014 9:40:13 AM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      DM-LF02
Description:Event code: 3005
Event message: An unhandled exception has occurred.

 

 

0 0

Replies

replied on September 3, 2014

The forum post you linked to had a different stacktrace, so I don't think it would be relevant anyway.  What's curious is that your event says the error is in WebLink8.Global.Application_BeginRequest, but this function has no body.  Have you made any customizations to your WebLink code?

 

The next trouble-shooting step would be to find the row in the IIS log that corresponds to this error.  Its timestamp should match the one above and you would expect the HTTP return code to be 500.  That should give you more context to track down the root cause.

0 0
replied on September 12, 2014
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
        ' Fires at the beginning of each request

        Dim context As HttpContext = HttpContext.Current ' 2
        Dim path As String = context.Request.Path ' .ToLower(); ' 3

        If AllowGZIP(path) Then
            Dim app As HttpApplication = sender
            Dim acceptEncoding As String = app.Request.Headers("Accept-Encoding")
            Dim prevUncompressedStream As Stream = app.Response.Filter

            If acceptEncoding Is Nothing Or acceptEncoding.Length = 0 Then
                Return
            End If

            acceptEncoding = acceptEncoding.ToLower()

            If acceptEncoding.Contains("gzip") Then
                ' gzip
                app.Response.Filter = New GZipStream(prevUncompressedStream, CompressionMode.Compress)

            ElseIf (acceptEncoding.Contains("deflate")) Then
                ' defalte
                app.Response.Filter = New DeflateStream(prevUncompressedStream, CompressionMode.Compress)
            End If
        End If


    End Sub

If WebLink is running on IIS 7 maybe check to see if it's running in Classic Application Pool Mode and not Integrated Application Pool Mode.

 

If it is running in Classic then at a command prompt reinstall .NET

 

For 32 bit:
"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -i

 

For 64 bit:
"%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe" -i

0 0
replied on September 9, 2014

Hi Andy, 

 

If your question has been answered, please let us know by clicking the "This answered my question" button on the appropriate response.

 

If you still need assistance with this matter, just update this thread. Thanks!

0 0
replied on September 10, 2014

They have made no customizations in WebLink
Customer has prioritized this for next week.

Andy

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.