locked
Event code: 3005 Event message: An unhandled exception has occurred. RRS feed

  • Question

  • User-1860179585 posted

    Hi All,

    I have a problem on my window server 2012 R2, 64 bit, IIS 8.5.  We run a web application using ASP.NET 4.0.30319 and hosted inside SharePoint 2013 site.

    Currently I am trying to upgrade my application from SharePoint 210 to 2013 using Crystal report from 10.2.36 to 13.0.35 version. When I run my application I getting below error message. please help me to fix this issue.

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/25/2018 4:54:07 AM
    Event time (UTC): 1/25/2018 9:54:07 AM
    Event ID: b42e8939e5954b099f1ae5627086ec58
    Event sequence: 2
    Event occurrence: 1
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/89340117/ROOT/xxxxxxxxx-1-131613476447011899
    Trust level: Full
    Application Virtual Path: /xxxxxxxxx
    Application Path: D:\Application\wwwroot\xxxxxxxxx\
    Machine name: xxxxxxxxxxxx 

    Process information:
    Process ID: 8420
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: PlatformNotSupportedException
    Exception message: Operation is not supported on this platform.
    at System.Web.HttpServerVarsCollection.Set(String name, String value)
    at Microsoft.SharePoint.IdentityModel.SPTokenCache.ReadToken(Byte[] token)
    at Microsoft.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(Byte[] token, SecurityTokenResolver tokenResolver)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[] sessionCookie)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.TryReadSessionTokenFromCookie(SessionSecurityToken& sessionToken)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at Microsoft.SharePoint.IdentityModel.SPSessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



    Request information:
    Request URL: http://xxxxxxxxxxx/xxxxxxx/default.aspx
    Request path: /xxxxxxx/default.aspx
    User host address: xx.xx.xx.xx 
    User: xxxx\xxxxxx
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: NT AUTHORITY\NETWORK SERVICE

    Thread information:
    Thread ID: 3
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace: at System.Web.HttpServerVarsCollection.Set(String name, String value)
    at Microsoft.SharePoint.IdentityModel.SPTokenCache.ReadToken(Byte[] token)
    at Microsoft.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(Byte[] token, SecurityTokenResolver tokenResolver)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[] sessionCookie)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.TryReadSessionTokenFromCookie(SessionSecurityToken& sessionToken)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at Microsoft.SharePoint.IdentityModel.SPSessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


    Custom event details:

    Thursday, January 25, 2018 10:14 AM

All replies

  • User283571144 posted

    Hi SURAMS,

    Exception information:
    Exception type: PlatformNotSupportedException
    Exception message: Operation is not supported on this platform.
    at System.Web.HttpServerVarsCollection.Set(String name, String value)
    at Microsoft.SharePoint.IdentityModel.SPTokenCache.ReadToken(Byte[] token)
    at Microsoft.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(Byte[] token, SecurityTokenResolver tokenResolver)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[] sessionCookie)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.TryReadSessionTokenFromCookie(SessionSecurityToken& sessionToken)
    at Microsoft.IdentityModel.Web.SessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at Microsoft.SharePoint.IdentityModel.SPSessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    According to your error message, I suggest you could try to recheck your application's application pool in IIS, make sure the application pool from classic to intergrated.

    Besides, since this issue is mainly about the sharepoint,  I suggest you could post the issue to below forum.

    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/home 

    Best Regards,

    Brando

    Friday, January 26, 2018 3:07 AM
  • User-1860179585 posted

    Hi Brando,

    Thanks for your reply..

    unfortunately, application pool changes is not fixed my issue.

    Thanks and regards,

    Mahesh Sundarrajan

    Monday, January 29, 2018 7:12 AM
  • User283571144 posted

    Hi SURAMS,

    In my opinion, this issue is mainly related with the sharepoint version not about asp.net, I suggest you could post this issue to the sharepoint forum.

    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/home?category=sharepoint 

    Best Regards,

    Brando

    Tuesday, January 30, 2018 8:39 AM