473,883 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

urgent: beta 2.0 error

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...14619884218750

--------------------------------------------------------------------------------
System.Security .Cryptography.C ryptographicExc eption: Padding is invalid and
cannot be removed. at
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Error In: http://www.mywebsite.org/WebResource.axd

--------------------------------------------------------------------------------
System.Web.Http Exception: This is an invalid webresource request. at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Any ideas?

TIA!
Nov 19 '05 #1
16 2983
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

"pa***@communit y.nospam" 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...14619884218750

--------------------------------------------------------------------------------
System.Security .Cryptography.C ryptographicExc eption: Padding is invalid and
cannot be removed. at
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Error In: http://www.mywebsite.org/WebResource.axd

--------------------------------------------------------------------------------
System.Web.Http Exception: This is an invalid webresource request. at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Any ideas?

TIA!

Nov 19 '05 #2
Curt, I am not making any call to DecryptData. It is the runtime that is
doing it.

thanks!

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:CA******** *************** ***********@mic rosoft.com...
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

"pa***@communit y.nospam" 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...14619884218750

--------------------------------------------------------------------------------
System.Security .Cryptography.C ryptographicExc eption: Padding is invalid
and
cannot be removed. at
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Error In: http://www.mywebsite.org/WebResource.axd

--------------------------------------------------------------------------------
System.Web.Http Exception: This is an invalid webresource request. at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
Any ideas?

TIA!

Nov 19 '05 #3
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
| 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Curt, I am not making any call to DecryptData. It is the runtime that is
| doing it.
|
| thanks!
|
| "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| news:CA******** *************** ***********@mic rosoft.com...
| > 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
| >
| >
| >
| > "pa***@communit y.nospam" 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...gdA2&t=6326146
19884218750
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Security .Cryptography.C ryptographicExc eption: Padding is
invalid
| >> and
| >> cannot be removed. at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
| >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >> System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| >> useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Error In: http://www.mywebsite.org/WebResource.axd
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Web.Http Exception: This is an invalid webresource request. at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Any ideas?
| >>
| >> TIA!
| >>
| >>
| >>
|
|
|

Nov 19 '05 #4
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]" <st*****@online .microsoft.com> wrote in message
news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
| 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Curt, I am not making any call to DecryptData. It is the runtime that is
| doing it.
|
| thanks!
|
| "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| news:CA******** *************** ***********@mic rosoft.com...
| > 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
| >
| >
| >
| > "pa***@communit y.nospam" 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...gdA2&t=6326146
19884218750
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Security .Cryptography.C ryptographicExc eption: Padding is
invalid
| >> and
| >> cannot be removed. at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >>
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| >> useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s)
at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Error In: http://www.mywebsite.org/WebResource.axd
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Web.Http Exception: This is an invalid webresource request. at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Any ideas?
| >>
| >> TIA!
| >>
| >>
| >>
|
|
|

Nov 19 '05 #5
OK this problem is serious now. It is happening more frequently:-

Error In:
http://www.mywebsite.org/WebResource...14619884218750

--------------------------------------------------------------------------------
System.Security .Cryptography.C ryptographicExc eption: Padding is invalid and
cannot be removed. at
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
<pa***@communit y.nospam> wrote in message
news:eW******** ******@TK2MSFTN GP10.phx.gbl...
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]" <st*****@online .microsoft.com> wrote in message
news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
| 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Curt, I am not making any call to DecryptData. It is the runtime that
is
| doing it.
|
| thanks!
|
| "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| news:CA******** *************** ***********@mic rosoft.com...
| > 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
| >
| >
| >
| > "pa***@communit y.nospam" 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...gdA2&t=6326146
19884218750
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Security .Cryptography.C ryptographicExc eption: Padding is
invalid
| >> and
| >> cannot be removed. at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >>
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| >> useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s)
at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Error In: http://www.mywebsite.org/WebResource.axd
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Web.Http Exception: This is an invalid webresource request. at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Any ideas?
| >>
| >> TIA!
| >>
| >>
| >>
|
|
|


Nov 19 '05 #6
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: aefc9f98817b49b 4a5bc52f0a8bbb1 f8

Event sequence: 640

Event occurrence: 9

Event detail code: 0
Application information:

Application domain: /LM/W3SVC/1804169627/Root-1-127705589313252 916

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: CryptographicEx ception

Exception message: Padding is invalid and cannot be removed.
Request information:

Request URL:
http://www.mywebsite.org/WebResource...14619884218750

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.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)

at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount)

at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()

at System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo)

at System.Web.UI.P age.DecryptStri ng(String s)

at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context)

at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()

at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)

Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

TIA!

<pa***@communit y.nospam> wrote in message
news:e6******** ********@TK2MSF TNGP14.phx.gbl. ..
OK this problem is serious now. It is happening more frequently:-

Error In:
http://www.mywebsite.org/WebResource...14619884218750

--------------------------------------------------------------------------------
System.Security .Cryptography.C ryptographicExc eption: Padding is invalid
and cannot be removed. at
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B yte[]
inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR equest(HttpCont ext
context) at
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat ion.IExecutionS tep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)
--------------------------------------------------------------------------------
<pa***@communit y.nospam> wrote in message
news:eW******** ******@TK2MSFTN GP10.phx.gbl...
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]" <st*****@online .microsoft.com> wrote in message
news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
| 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Curt, I am not making any call to DecryptData. It is the runtime that
is
| doing it.
|
| thanks!
|
| "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| news:CA******** *************** ***********@mic rosoft.com...
| > 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
| >
| >
| >
| > "pa***@communit y.nospam" 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...gdA2&t=6326146
19884218750
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Security .Cryptography.C ryptographicExc eption: Padding is
invalid
| >> and
| >> cannot be removed. at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >>
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| >> useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s)
at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Error In: http://www.mywebsite.org/WebResource.axd
| >>
| >>
----------------------------------------------------------------------------
----
| >> System.Web.Http Exception: This is an invalid webresource request.
at
| >>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| >> context) at
| >>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| >> completedSynchr onously)
| >>
----------------------------------------------------------------------------
----
| >>
| >>
| >> Any ideas?
| >>
| >> TIA!
| >>
| >>
| >>
|
|
|



Nov 19 '05 #7
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
<Oe************ **@TK2MSFTNGP12 .phx.gbl>
<Aa************ **@TK2MSFTNGXA0 1.phx.gbl>
<eW************ **@TK2MSFTNGP10 .phx.gbl>
<e6************ **@TK2MSFTNGP14 .phx.gbl>
| 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: <#G************ *@TK2MSFTNGP11. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp.lazardgrou p.com 64.237.78.178
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1228 79
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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: aefc9f98817b49b 4a5bc52f0a8bbb1 f8
|
| Event sequence: 640
|
| Event occurrence: 9
|
| Event detail code: 0
|
|
| Application information:
|
| Application domain: /LM/W3SVC/1804169627/Root-1-127705589313252 916
|
| 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: CryptographicEx ception
|
| Exception message: Padding is invalid and cannot be removed.
|
|
| Request information:
|
| Request URL:
|
http://www.mywebsite.org/WebResource...cog2&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.R ijndaelManagedT ransform.Decryp tData(Byte[]
| inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
| Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
|
| at
|
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| inputBuffer, Int32 inputOffset, Int32 inputCount)
|
| at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
|
| at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean
| useValidationSy mAlgo)
|
| at System.Web.UI.P age.DecryptStri ng(String s)
|
| at
|
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| context)
|
| at
|
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
|
| at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
| completedSynchr onously)
|
|
|
| Custom event details:
|
| For more information, see Help and Support Center at
| http://go.microsoft.com/fwlink/events.asp.
|
|
|
| TIA!
|
| <pa***@communit y.nospam> wrote in message
| news:e6******** ********@TK2MSF TNGP14.phx.gbl. ..
| > OK this problem is serious now. It is happening more frequently:-
| >
| > Error In:
| >
http://www.mywebsite.org/WebResource...cog2&t=6326146
19884218750
| >
| >
----------------------------------------------------------------------------
----
| > System.Security .Cryptography.C ryptographicExc eption: Padding is invalid
| > and cannot be removed. at
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| > inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
| > Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| > inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| > System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| > fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| > useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| > context) at
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| > at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
| > completedSynchr onously)
| >
----------------------------------------------------------------------------
----
| >
| >
| > <pa***@communit y.nospam> wrote in message
| > news:eW******** ******@TK2MSFTN GP10.phx.gbl...
| >> 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]" <st*****@online .microsoft.com> wrote in message
| >> news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
| >>> 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: <pa***@communit y.nospam>
| >>> | References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
| >>> <CA************ *************** *******@microso ft.com>
| >>> | 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| >>> | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| >>> | NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| >>> | Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| >>> | Xref: TK2MSFTNGXA01.p hx.gbl
| >>> microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| >>> | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| >>> |
| >>> | Curt, I am not making any call to DecryptData. It is the runtime
that
| >>> is
| >>> | doing it.
| >>> |
| >>> | thanks!
| >>> |
| >>> | "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| >>> | news:CA******** *************** ***********@mic rosoft.com...
| >>> | > 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
| >>> | >
| >>> | >
| >>> | >
| >>> | > "pa***@communit y.nospam" 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...gdA2&t=6326146
| >>> 19884218750
| >>> | >>
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >> System.Security .Cryptography.C ryptographicExc eption: Padding is
| >>> invalid
| >>> | >> and
| >>> | >> cannot be removed. at
| >>> | >>
| >>>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| >>> outputBuffer,
| >>> | >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>> | >>
| >>>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
| >>> te[]
| >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >>> | >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >>> | >>
| >>>
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >>> | >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
| >>> Boolean
| >>> | >> useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String
s)
| >>> at
| >>> | >>
| >>>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| >>> quest(HttpConte xt
| >>> | >> context) at
| >>> | >>
| >>>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| >>> on.IExecutionSt ep.Execute()
| >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
| >>> Boolean&
| >>> | >> completedSynchr onously)
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >>
| >>> | >>
| >>> | >> Error In: http://www.mywebsite.org/WebResource.axd
| >>> | >>
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >> System.Web.Http Exception: This is an invalid webresource
request.
| >>> at
| >>> | >>
| >>>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| >>> quest(HttpConte xt
| >>> | >> context) at
| >>> | >>
| >>>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| >>> on.IExecutionSt ep.Execute()
| >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
| >>> Boolean&
| >>> | >> completedSynchr onously)
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >>
| >>> | >>
| >>> | >> Any ideas?
| >>> | >>
| >>> | >> TIA!
| >>> | >>
| >>> | >>
| >>> | >>
| >>> |
| >>> |
| >>> |
| >>>
| >>
| >>
| >
| >
|
|
|

Nov 19 '05 #8
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]" <st*****@online .microsoft.com> wrote in message
news:50******** ********@TK2MSF TNGXA02.phx.gbl ...
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
<Oe************ **@TK2MSFTNGP12 .phx.gbl>
<Aa************ **@TK2MSFTNGXA0 1.phx.gbl>
<eW************ **@TK2MSFTNGP10 .phx.gbl>
<e6************ **@TK2MSFTNGP14 .phx.gbl>
| 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: <#G************ *@TK2MSFTNGP11. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp.lazardgrou p.com 64.237.78.178
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1228 79
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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: aefc9f98817b49b 4a5bc52f0a8bbb1 f8
|
| Event sequence: 640
|
| Event occurrence: 9
|
| Event detail code: 0
|
|
| Application information:
|
| Application domain: /LM/W3SVC/1804169627/Root-1-127705589313252 916
|
| 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: CryptographicEx ception
|
| Exception message: Padding is invalid and cannot be removed.
|
|
| Request information:
|
| Request URL:
|
http://www.mywebsite.org/WebResource...cog2&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.R ijndaelManagedT ransform.Decryp tData(Byte[]
| inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer,
| Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
|
| at
|
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| inputBuffer, Int32 inputOffset, Int32 inputCount)
|
| at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
|
| at
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| useValidationSy mAlgo)
|
| at System.Web.UI.P age.DecryptStri ng(String s)
|
| at
|
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| context)
|
| at
|
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
|
| at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
| completedSynchr onously)
|
|
|
| Custom event details:
|
| For more information, see Help and Support Center at
| http://go.microsoft.com/fwlink/events.asp.
|
|
|
| TIA!
|
| <pa***@communit y.nospam> wrote in message
| news:e6******** ********@TK2MSF TNGP14.phx.gbl. ..
| > OK this problem is serious now. It is happening more frequently:-
| >
| > Error In:
| >
http://www.mywebsite.org/WebResource...cog2&t=6326146
19884218750
| >
| >
----------------------------------------------------------------------------
----
| > System.Security .Cryptography.C ryptographicExc eption: Padding is
invalid
| > and cannot be removed. at
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| > inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| > Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
te[]
| > inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| > fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
Boolean
| > useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s) at
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
quest(HttpConte xt
| > context) at
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
on.IExecutionSt ep.Execute()
| > at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| > completedSynchr onously)
| >
----------------------------------------------------------------------------
----
| >
| >
| > <pa***@communit y.nospam> wrote in message
| > news:eW******** ******@TK2MSFTN GP10.phx.gbl...
| >> 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]" <st*****@online .microsoft.com> wrote in message
| >> news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
| >>> 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: <pa***@communit y.nospam>
| >>> | References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
| >>> <CA************ *************** *******@microso ft.com>
| >>> | 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| >>> | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| >>> | NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| >>> | Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| >>> | Xref: TK2MSFTNGXA01.p hx.gbl
| >>> microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| >>> | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| >>> |
| >>> | Curt, I am not making any call to DecryptData. It is the runtime
that
| >>> is
| >>> | doing it.
| >>> |
| >>> | thanks!
| >>> |
| >>> | "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| >>> | news:CA******** *************** ***********@mic rosoft.com...
| >>> | > 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
| >>> | >
| >>> | >
| >>> | >
| >>> | > "pa***@communit y.nospam" 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...gdA2&t=6326146
| >>> 19884218750
| >>> | >>
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >> System.Security .Cryptography.C ryptographicExc eption: Padding is
| >>> invalid
| >>> | >> and
| >>> | >> cannot be removed. at
| >>> | >>
| >>>
System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| >>> outputBuffer,
| >>> | >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| >>> | >>
| >>>
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
| >>> te[]
| >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| >>> | >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| >>> | >>
| >>>
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| >>> | >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32
length,
| >>> Boolean
| >>> | >> useValidationSy mAlgo) at
System.Web.UI.P age.DecryptStri ng(String
s)
| >>> at
| >>> | >>
| >>>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| >>> quest(HttpConte xt
| >>> | >> context) at
| >>> | >>
| >>>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| >>> on.IExecutionSt ep.Execute()
| >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
| >>> Boolean&
| >>> | >> completedSynchr onously)
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >>
| >>> | >>
| >>> | >> Error In: http://www.mywebsite.org/WebResource.axd
| >>> | >>
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >> System.Web.Http Exception: This is an invalid webresource
request.
| >>> at
| >>> | >>
| >>>
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| >>> quest(HttpConte xt
| >>> | >> context) at
| >>> | >>
| >>>
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| >>> on.IExecutionSt ep.Execute()
| >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
| >>> Boolean&
| >>> | >> completedSynchr onously)
| >>> | >>
| >>>
----------------------------------------------------------------------------
| >>> ----
| >>> | >>
| >>> | >>
| >>> | >> Any ideas?
| >>> | >>
| >>> | >> TIA!
| >>> | >>
| >>> | >>
| >>> | >>
| >>> |
| >>> |
| >>> |
| >>>
| >>
| >>
| >
| >
|
|
|

Nov 19 '05 #9
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: <pa***@communit y.nospam>
| References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
<CA************ *************** *******@microso ft.com>
<Oe************ **@TK2MSFTNGP12 .phx.gbl>
<Aa************ **@TK2MSFTNGXA0 1.phx.gbl>
<eW************ **@TK2MSFTNGP10 .phx.gbl>
<e6************ **@TK2MSFTNGP14 .phx.gbl>
<#G************ *@TK2MSFTNGP11. phx.gbl>
<50************ **@TK2MSFTNGXA0 2.phx.gbl>
| 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: <#q************ **@TK2MSFTNGP11 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: corp.lazardgrou p.com 64.237.78.178
| Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA01.phx.gbl!T K2MSFTNGP08.phx .gbl!TK2MSFTNGP 1
1.phx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3426 94
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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]" <st*****@online .microsoft.com> wrote in message
| news:50******** ********@TK2MSF TNGXA02.phx.gbl ...
| > 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: <pa***@communit y.nospam>
| > | References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
| > <CA************ *************** *******@microso ft.com>
| > <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| > <Aa************ **@TK2MSFTNGXA0 1.phx.gbl>
| > <eW************ **@TK2MSFTNGP10 .phx.gbl>
| > <e6************ **@TK2MSFTNGP14 .phx.gbl>
| > | 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: <#G************ *@TK2MSFTNGP11. phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host: corp.lazardgrou p.com 64.237.78.178
| > | Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
| > | Xref: TK2MSFTNGXA01.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:1228 79
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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: aefc9f98817b49b 4a5bc52f0a8bbb1 f8
| > |
| > | Event sequence: 640
| > |
| > | Event occurrence: 9
| > |
| > | Event detail code: 0
| > |
| > |
| > | Application information:
| > |
| > | Application domain: /LM/W3SVC/1804169627/Root-1-127705589313252 916
| > |
| > | 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: CryptographicEx ception
| > |
| > | Exception message: Padding is invalid and cannot be removed.
| > |
| > |
| > | Request information:
| > |
| > | Request URL:
| > |
| >
http://www.mywebsite.org/WebResource...cog2&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.R ijndaelManagedT ransform.Decryp tData(Byte[]
| > | inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
outputBuffer,
| > | Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
| > |
| > | at
| > |
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
| > te[]
| > | inputBuffer, Int32 inputOffset, Int32 inputCount)
| > |
| > | at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
| > |
| > | at
| > System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| > | fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
| > Boolean
| > | useValidationSy mAlgo)
| > |
| > | at System.Web.UI.P age.DecryptStri ng(String s)
| > |
| > | at
| > |
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| > quest(HttpConte xt
| > | context)
| > |
| > | at
| > |
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| > on.IExecutionSt ep.Execute()
| > |
| > | at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
| > | completedSynchr onously)
| > |
| > |
| > |
| > | Custom event details:
| > |
| > | For more information, see Help and Support Center at
| > | http://go.microsoft.com/fwlink/events.asp.
| > |
| > |
| > |
| > | TIA!
| > |
| > | <pa***@communit y.nospam> wrote in message
| > | news:e6******** ********@TK2MSF TNGP14.phx.gbl. ..
| > | > OK this problem is serious now. It is happening more frequently:-
| > | >
| > | > Error In:
| > | >
| >
http://www.mywebsite.org/WebResource...cog2&t=6326146
| > 19884218750
| > | >
| > | >
| >
----------------------------------------------------------------------------
| > ----
| > | > System.Security .Cryptography.C ryptographicExc eption: Padding is
| > invalid
| > | > and cannot be removed. at
| > | >
| > System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| > | > inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| > outputBuffer,
| > | > Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at
| > | >
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
| > te[]
| > | > inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > | > System.Security .Cryptography.C ryptoStream.Flu shFinalBlock() at
| > | >
| > System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| > | > fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,
| > Boolean
| > | > useValidationSy mAlgo) at System.Web.UI.P age.DecryptStri ng(String s)
at
| > | >
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| > quest(HttpConte xt
| > | > context) at
| > | >
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| > on.IExecutionSt ep.Execute()
| > | > at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
| > Boolean&
| > | > completedSynchr onously)
| > | >
| >
----------------------------------------------------------------------------
| > ----
| > | >
| > | >
| > | > <pa***@communit y.nospam> wrote in message
| > | > news:eW******** ******@TK2MSFTN GP10.phx.gbl...
| > | >> 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]" <st*****@online .microsoft.com> wrote in
message
| > | >> news:Aa******** ******@TK2MSFTN GXA01.phx.gbl.. .
| > | >>> 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: <pa***@communit y.nospam>
| > | >>> | References: <#M************ **@TK2MSFTNGP12 .phx.gbl>
| > | >>> <CA************ *************** *******@microso ft.com>
| > | >>> | 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: <Oe************ **@TK2MSFTNGP12 .phx.gbl>
| > | >>> | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | >>> | NNTP-Posting-Host: corp2.lazardgro up.com 70.182.148.88
| > | >>> | Path:
| > TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| > | >>> | Xref: TK2MSFTNGXA01.p hx.gbl
| > | >>> microsoft.publi c.dotnet.framew ork.aspnet:1226 51
| > | >>> | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | >>> |
| > | >>> | Curt, I am not making any call to DecryptData. It is the runtime
| > that
| > | >>> is
| > | >>> | doing it.
| > | >>> |
| > | >>> | thanks!
| > | >>> |
| > | >>> | "Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
| > | >>> | news:CA******** *************** ***********@mic rosoft.com...
| > | >>> | > 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
| > | >>> | >
| > | >>> | >
| > | >>> | >
| > | >>> | > "pa***@communit y.nospam" 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...gdA2&t=6326146
| > | >>> 19884218750
| > | >>> | >>
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >> System.Security .Cryptography.C ryptographicExc eption: Padding
is
| > | >>> invalid
| > | >>> | >> and
| > | >>> | >> cannot be removed. at
| > | >>> | >>
| > | >>>
| > System.Security .Cryptography.R ijndaelManagedT ransform.Decryp tData(Byte[]
| > | >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]&
| > | >>> outputBuffer,
| > | >>> | >> Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at
| > | >>> | >>
| > | >>>
| >
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(B y
| > | >>> te[]
| > | >>> | >> inputBuffer, Int32 inputOffset, Int32 inputCount) at
| > | >>> | >> System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at
| > | >>> | >>
| > | >>>
| > System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(Boolean
| > | >>> | >> fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32
| > length,
| > | >>> Boolean
| > | >>> | >> useValidationSy mAlgo) at
| > System.Web.UI.P age.DecryptStri ng(String
| > s)
| > | >>> at
| > | >>> | >>
| > | >>>
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| > | >>> quest(HttpConte xt
| > | >>> | >> context) at
| > | >>> | >>
| > | >>>
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| > | >>> on.IExecutionSt ep.Execute()
| > | >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep
step,
| > | >>> Boolean&
| > | >>> | >> completedSynchr onously)
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >>
| > | >>> | >>
| > | >>> | >> Error In: http://www.mywebsite.org/WebResource.axd
| > | >>> | >>
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >> System.Web.Http Exception: This is an invalid webresource
| > request.
| > | >>> at
| > | >>> | >>
| > | >>>
| >
System.Web.Hand lers.AssemblyRe sourceLoader.Sy stem.Web.IHttpH andler.ProcessR e
| > | >>> quest(HttpConte xt
| > | >>> | >> context) at
| > | >>> | >>
| > | >>>
| >
System.Web.Http Application.Cal lHandlerExecuti onStep.System.W eb.HttpApplicat i
| > | >>> on.IExecutionSt ep.Execute()
| > | >>> | >> at System.Web.Http Application.Exe cuteStep(IExecu tionStep
step,
| > | >>> Boolean&
| > | >>> | >> completedSynchr onously)
| > | >>> | >>
| > | >>>
| >
----------------------------------------------------------------------------
| > | >>> ----
| > | >>> | >>
| > | >>> | >>
| > | >>> | >> Any ideas?
| > | >>> | >>
| > | >>> | >> TIA!
| > | >>> | >>
| > | >>> | >>
| > | >>> | >>
| > | >>> |
| > | >>> |
| > | >>> |
| > | >>>
| > | >>
| > | >>
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2393
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690 Segmentation fault /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb Installation of grant tables failed The log file simply shows a start and a stop of the server.
3
1946
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor type="SystemMonitor.Monitors.NetworkAvailabilityMonitor,SystemMonitor"> <notifiers> <notifier type="SystemMonitor.Notifiers.MessageBoxNotifier,SystemMonitor" />
4
1601
by: Wayne | last post by:
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend I installed beta 2. I opened a project that I had written with beta 1 and tried to compile it, when I compile it I get the error below. I am not sure what the error means nor do I know how to fix it. Is the Microsoft.Common.targets file new to...
6
5017
by: John Gabriel | last post by:
I have been obtaining the following error in the output window of the IDE: 1>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\debug\test.exe". The process cannot access the file because it is being used by another process. 1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'. 1>Build log was saved at...
8
1580
by: clintonG | last post by:
Membership is broken and who knows what else. Does anybody have any referrals to current documents that explain what was changed and how one might respond? <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/
2
1357
by: Beenish Sahar Khan | last post by:
Hello, I am developing an application in C#, which was previously in .Net 2005 Beta, then it was working perfectly fine, but from the time I have upgraded it to .Net 2005 Professional, its continously giving me error on the following line, transaction = Connection.BeginTransaction(); System.Data.SqlClient.SqlException: New transaction is not allowed because there are other threads running in the session.
3
6487
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
4
1880
by: Janet | last post by:
Hi, I've converted my project from VS 2003 to VS 2005. But when I try to build the web project, there are no DLL files inside the bin folder. I've tried to create a new Class library project and build it, purely in VS2005, and when I build this single project, the bin folder will contain the compiled DLL files. Is there any settings that I've missed?
1
3315
by: Dax | last post by:
When i insert some values float in a form made with ASP appear an error message like this: Microsoft OLE DB Provider for SQL Server (0x80040E14) Line 1: Incorrect syntax near ','. sql="select id from tbl_monete where id_taglio="&idtaglio rs1.open sql, conn idTaglio it's the value of money that can be like 0,5 0,2, 0,1 etc etc
0
9787
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11128
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10838
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7964
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7119
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5794
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.