Re: urgent: beta 2.0 error



Thanks for your followup Param,

So would you provide me a simple page which will cause the problem on your
side so that I can perform some tests on my side? I'll try have a trace in
the underlying code to see whether we can find any clues.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: <param@xxxxxxxxxxxxxxxx>
| References: <#MvE0ytsFHA.1344@xxxxxxxxxxxxxxxxxxxx>
<CACF1D79-99F1-4124-AC26-892383464543@xxxxxxxxxxxxx>
<OenT8HwsFHA.2880@xxxxxxxxxxxxxxxxxxxx>
<AanHye1sFHA.3064@xxxxxxxxxxxxxxxxxxxxx>
<eWy7Dq3sFHA.3708@xxxxxxxxxxxxxxxxxxxx>
<e6#BXK7sFHA.1196@xxxxxxxxxxxxxxxxxxxx>
<#G3BlQ7sFHA.616@xxxxxxxxxxxxxxxxxxxx>
<509#lwEtFHA.3380@xxxxxxxxxxxxxxxxxxxxx>
| Subject: Re: urgent: beta 2.0 error
| Date: Thu, 8 Sep 2005 13:11:44 -0500
| Lines: 429
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <#q1kHDKtFHA.1168@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.lazardgroup.com 64.237.78.178
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
1.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:342694
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steve, this problem is happening on 2 machines for the same website. Here
| are the specs:-
|
| Dev Machine:- running Yukon June CTP and the version of .net that came
with
| it. Does not occur there, but then again no real world traffic coming to
it.
| OS - Server 2003 Std SP1
|
| Prod Machines - running latest beta version of .net 2.0 downloaded from
web
| 1 week ago. OS - Server 2003 Web SP1.
|
| Again, I dont see anything in code that could cause this since it is
| referencing webresource.axd which is something generated by the
runtime...
| Any ideas?
|
| thanks!
|
| "Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
| news:509%23lwEtFHA.3380@xxxxxxxxxxxxxxxxxxxxxxxx
| > Hi Param,
| >
| > I'm afraid the problem is quite hard to throubleshoot. Is your
| > webapplication built on the same machine with the same running .net
| > framework(2.0) or built on other machine and move to this problem
server?
| > Just to check whether it could be a version mismatch issue. Also, is
this
| > problem occurable for any 2.0 asp.net web application or this particular
| > application? If you can also repro this problem with some other
| > application, I'm afraid there must be something wrong with the
underlying
| > runtime framework, I'd suggest you reinstalling the 2.0 framework on the
| > server. Otherwise, we can try looking into the application's code to see
| > which portion of the app may be the root cause.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| >
| >
| > --------------------
| > | From: <param@xxxxxxxxxxxxxxxx>
| > | References: <#MvE0ytsFHA.1344@xxxxxxxxxxxxxxxxxxxx>
| > <CACF1D79-99F1-4124-AC26-892383464543@xxxxxxxxxxxxx>
| > <OenT8HwsFHA.2880@xxxxxxxxxxxxxxxxxxxx>
| > <AanHye1sFHA.3064@xxxxxxxxxxxxxxxxxxxxx>
| > <eWy7Dq3sFHA.3708@xxxxxxxxxxxxxxxxxxxx>
| > <e6#BXK7sFHA.1196@xxxxxxxxxxxxxxxxxxxx>
| > | Subject: Re: urgent: beta 2.0 error
| > | Date: Wed, 7 Sep 2005 08:57:52 -0500
| > | Lines: 301
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | X-RFC2646: Format=Flowed; Response
| > | Message-ID: <#G3BlQ7sFHA.616@xxxxxxxxxxxxxxxxxxxx>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: corp.lazardgroup.com 64.237.78.178
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:122879
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Here is error logged in Application event log:-
| > |
| > | Event code: 3005
| > |
| > | Event message: An unhandled exception has occurred.
| > |
| > | Event time: 9/7/2005 7:21:02 AM
| > |
| > | Event time (UTC): 9/7/2005 12:21:02 PM
| > |
| > | Event ID: aefc9f98817b49b4a5bc52f0a8bbb1f8
| > |
| > | Event sequence: 640
| > |
| > | Event occurrence: 9
| > |
| > | Event detail code: 0
| > |
| > |
| > | Application information:
| > |
| > | Application domain: /LM/W3SVC/1804169627/Root-1-127705589313252916
| > |
| > | Trust level: Full
| > |
| > | Application Virtual Path: /
| > |
| > | Application Path: D:\website files\prc\
| > |
| > | Machine name: WEB2
| > |
| > |
| > | Process information:
| > |
| > | Process ID: 1692
| > |
| > | Process name: w3wp.exe
| > |
| > | Account name: APPONEDC\prc
| > |
| > |
| > | Exception information:
| > |
| > | Exception type: CryptographicException
| > |
| > | Exception message: Padding is invalid and cannot be removed.
| > |
| > |
| > | Request information:
| > |
| > | Request URL:
| > |
| >
http://www.mywebsite.org/WebResource.axd?d=pyoT_BCpUuaqqzziDBacog2&t=6326146
| > 19884218750
| > |
| > | Request path: /WebResource.axd
| > |
| > | User host address: 64.12.116.132
| > |
| > | User:
| > |
| > | Is authenticated: False
| > |
| > | Authentication Type:
| > |
| > | Thread account name: APPONEDC\prc
| > |
| > |
| > | Thread information:
| > |
| > | Thread ID: 6
| > |
| > | Thread account name: APPONEDC\prc
| > |
| > | Is impersonating: False
| > |
| > | Stack trace: at
| > |
System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[]
| > | inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| > | Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
| > |
| > | at
| > |
| >
System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(By
| > te[]
| > | inputBuffer, Int32 inputOffset, Int32 inputCount)
| > |
| > | at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
| > |
| > | at
| > System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean
| > | fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
| > Boolean
| > | useValidationSymAlgo)
| > |
| > | at System.Web.UI.Page.DecryptString(String s)
| > |
| > | at
| > |
| >
System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRe
| > quest(HttpContext
| > | context)
| > |
| > | at
| > |
| >
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
| > on.IExecutionStep.Execute()
| > |
| > | at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean&
| > | completedSynchronously)
| > |
| > |
| > |
| > | Custom event details:
| > |
| > | For more information, see Help and Support Center at
| > | http://go.microsoft.com/fwlink/events.asp.
| > |
| > |
| > |
| > | TIA!
| > |
| > | <param@xxxxxxxxxxxxxxxx> wrote in message
| > | news:e6%23BXK7sFHA.1196@xxxxxxxxxxxxxxxxxxxxxxx
| > | > OK this problem is serious now. It is happening more frequently:-
| > | >
| > | > Error In:
| > | >
| >
http://www.mywebsite.org/WebResource.axd?d=pyoT_BCpUuaqqzziDBacog2&t=6326146
| > 19884218750
| > | >
| > | >
| >
----------------------------------------------------------------------------
| > ----
| > | > System.Security.Cryptography.CryptographicException: Padding is
| > invalid
| > | > and cannot be removed. at
| > | >
| > System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[]
| > | > inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| > outputBuffer,
| > | > Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| > | >
| >
System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(By
| > te[]
| > | > inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > | > System.Security.Cryptography.CryptoStream.FlushFinalBlock() at
| > | >
| > System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean
| > | > fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
| > Boolean
| > | > useValidationSymAlgo) at System.Web.UI.Page.DecryptString(String s)
at
| > | >
| >
System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRe
| > quest(HttpContext
| > | > context) at
| > | >
| >
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
| > on.IExecutionStep.Execute()
| > | > at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
| > Boolean&
| > | > completedSynchronously)
| > | >
| >
----------------------------------------------------------------------------
| > ----
| > | >
| > | >
| > | > <param@xxxxxxxxxxxxxxxx> wrote in message
| > | > news:eWy7Dq3sFHA.3708@xxxxxxxxxxxxxxxxxxxxxxx
| > | >> Steven, it is totally random and only happening on my public
boxes.
| > On
| > my
| > | >> test boxes it doesnt happen. I turned on IIS logging and noticed
that
| > | >> whenever there is a referrer being logged i.e. user clicked a link
| > from
| > | >> web based email or other website does this happen every now and
then.
| > Any
| > | >> ideas?
| > | >>
| > | >> TIA!
| > | >>
| > | >> "Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in
message
| > | >> news:AanHye1sFHA.3064@xxxxxxxxxxxxxxxxxxxxxxxx
| > | >>> Hi Param,
| > | >>>
| > | >>> From the error callstack, the problem occurs when trying to
| > decryting
| > | >>> the
| > | >>> url string so as to locate a dynamic webresource. Can you locate
the
| > | >>> code
| > | >>> period which cause this error or is a randomly occured problem
that
| > | >>> can't
| > | >>> make sure the code point whether fail into the problem? If it's a
| > | >>> reproduceable problem, we can make some further test into it
| > regarding
| > | >>> on
| > | >>> the detailed code.
| > | >>>
| > | >>> Thanks,
| > | >>>
| > | >>> Steven Cheng
| > | >>> Microsoft Online Support
| > | >>>
| > | >>> Get Secure! www.microsoft.com/security
| > | >>> (This posting is provided "AS IS", with no warranties, and
confers
| > no
| > | >>> rights.)
| > | >>>
| > | >>>
| > | >>>
| > | >>>
| > | >>> --------------------
| > | >>> | From: <param@xxxxxxxxxxxxxxxx>
| > | >>> | References: <#MvE0ytsFHA.1344@xxxxxxxxxxxxxxxxxxxx>
| > | >>> <CACF1D79-99F1-4124-AC26-892383464543@xxxxxxxxxxxxx>
| > | >>> | Subject: Re: urgent: beta 2.0 error
| > | >>> | Date: Tue, 6 Sep 2005 11:42:33 -0500
| > | >>> | Lines: 66
| > | >>> | X-Priority: 3
| > | >>> | X-MSMail-Priority: Normal
| > | >>> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | >>> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | >>> | X-RFC2646: Format=Flowed; Original
| > | >>> | Message-ID: <OenT8HwsFHA.2880@xxxxxxxxxxxxxxxxxxxx>
| > | >>> | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | >>> | NNTP-Posting-Host: corp2.lazardgroup.com 70.182.148.88
| > | >>> | Path:
| > TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | >>> | Xref: TK2MSFTNGXA01.phx.gbl
| > | >>> microsoft.public.dotnet.framework.aspnet:122651
| > | >>> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | >>> |
| > | >>> | Curt, I am not making any call to DecryptData. It is the runtime
| > that
| > | >>> is
| > | >>> | doing it.
| > | >>> |
| > | >>> | thanks!
| > | >>> |
| > | >>> | "Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
| > | >>> | news:CACF1D79-99F1-4124-AC26-892383464543@xxxxxxxxxxxxxxxx
| > | >>> | > You'd have to show the code line(s).
| > | >>> | > Most likely your DecryptData call is wrapped incorrectly.
| > | >>> | >
| > | >>> | > --
| > | >>> | > Curt Christianson
| > | >>> | > site: http://www.darkfalz.com
| > | >>> | > blog: http://blog.darkfalz.com
| > | >>> | >
| > | >>> | >
| > | >>> | >
| > | >>> | > "param@xxxxxxxxxxxxxxxx" wrote:
| > | >>> | >
| > | >>> | >> Hi all, I have a website running on beta 2.0 on server 2003
web
| > sp1
| > | >>> and I
| > | >>> | >> keep getting the following error:-
| > | >>> | >>
| > | >>> | >> Error In:
| > | >>> | >>
| > | >>>
| >
http://www.mywebsite.org/WebResource.axd?d=5WvLfhnJp5Lc8WhQSD4gdA2&t=6326146
| > | >>> 19884218750
| > | >>> | >>
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >> System.Security.Cryptography.CryptographicException: Padding
is
| > | >>> invalid
| > | >>> | >> and
| > | >>> | >> cannot be removed. at
| > | >>> | >>
| > | >>>
| > System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[]
| > | >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| > | >>> outputBuffer,
| > | >>> | >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
| > | >>> | >>
| > | >>>
| >
System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(By
| > | >>> te[]
| > | >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > | >>> | >> System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at
| > | >>> | >>
| > | >>>
| > System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean
| > | >>> | >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32
| > length,
| > | >>> Boolean
| > | >>> | >> useValidationSymAlgo) at
| > System.Web.UI.Page.DecryptString(String
| > s)
| > | >>> at
| > | >>> | >>
| > | >>>
| >
System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRe
| > | >>> quest(HttpContext
| > | >>> | >> context) at
| > | >>> | >>
| > | >>>
| >
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
| > | >>> on.IExecutionStep.Execute()
| > | >>> | >> at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step,
| > | >>> Boolean&
| > | >>> | >> completedSynchronously)
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >>
| > | >>> | >>
| > | >>> | >> Error In: http://www.mywebsite.org/WebResource.axd
| > | >>> | >>
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >> System.Web.HttpException: This is an invalid webresource
| > request.
| > | >>> at
| > | >>> | >>
| > | >>>
| >
System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRe
| > | >>> quest(HttpContext
| > | >>> | >> context) at
| > | >>> | >>
| > | >>>
| >
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicati
| > | >>> on.IExecutionStep.Execute()
| > | >>> | >> at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step,
| > | >>> Boolean&
| > | >>> | >> completedSynchronously)
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >>
| > | >>> | >>
| > | >>> | >> Any ideas?
| > | >>> | >>
| > | >>> | >> TIA!
| > | >>> | >>
| > | >>> | >>
| > | >>> | >>
| > | >>> |
| > | >>> |
| > | >>> |
| > | >>>
| > | >>
| > | >>
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

.



Relevant Pages

  • Server Management Console: Server Error in /Backup Application
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean ... t context) +98 System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext ...
    (microsoft.public.backoffice.smallbiz)
  • Re: urgent: beta 2.0 error
    ... Dev Machine:- running Yukon June CTP and the version of .net that came with ... An unhandled exception has occurred. ... > | Request URL: ... > | Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPE
    ... servers. ... W3SVC service, and request the site ... Exception Details: System.Runtime.InteropServices.COMException: Catastrophic ... System.RuntimeTypeHandle._GetTypeByName(String name, Boolean ...
    (microsoft.public.dotnet.framework.aspnet)
  • Server error on first try, but succeeds in subsequent tries (accessing files)?
    ... Though the server is outside of my control, ... the current web request. ... Exception Details: System.UnauthorizedAccessException: Access to the ... access, FileShare share, Int32 bufferSize, Boolean useAsync, String ...
    (microsoft.public.dotnet.framework.aspnet)
  • Unable to Write to Event Log w/ Enterprise Library 2.0 in Win App
    ... ExceptionPolicy.HandleException(ex, "Sample Exception Policy") ... keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, ... configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, ... context, String name, IConfigurationSource configurationSource, ...
    (microsoft.public.dotnet.general)

Loading