Cannot cast from source type to destination type

Status
Not open for further replies.

pichonz

New Member
Messages
4
Reaction score
0
Points
0
hi all,

I keep getting this error and I have no idea what is wrong since it runs perfectly on my local machine.
Any ideas?

Thanks
Server Error in '/' Application

Cannot cast from source type to destination type.

Description: HTTP 500. Error processing request.
Stack Trace:
System.InvalidCastException: Cannot cast from source type to destination type.
at AmazonProductAdvtApi.SignedRequestHelper.ConstructCanonicalQueryString (System.Collections.Generic.SortedDictionary`2 sortedParamMap) [0x00000]
at AmazonProductAdvtApi.SignedRequestHelper.Sign (IDictionary`2 request) [0x00000]
at _Default.cmdGetPrice_Click (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
I presume that is ASP.NET, which version are you using?
 

pichonz

New Member
Messages
4
Reaction score
0
Points
0
I'm using Visual Web Developer 2005...i suspect ASP.NET 2.0but I'm not 100%
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
ASP.NET 3 is the newest version, but it has to do with your .NET framework rather than your version of Visual Studio. I posted in another thread you replied in with some assistance, but I will copy it here. Try enabling the error reporting outlined in this Microsoft KB so that you can have more information to fix your problem: http://support.microsoft.com/kb/308132
 
Status
Not open for further replies.
Top