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]
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]