YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

IPN Notify_URL erro before processing (using sample code) Options
diegolaz
#1 Posted : Thursday, February 18, 2010 2:21:37 AM
Rank: Starting Member

Groups: Registered

Joined: 4/19/2006
Posts: 4
Location: ,
Hello, I'm using the sample C# code for the IPN notification url. (sample code: https://cms.paypal.com/c...loper/IPN_ASP_NET_C.txt)

I have set up at global.asax application_error to send me the error by email and also log all variables sent by the post from paypal.
All values are posted ok.
The error logged is Exception of type 'System.Web.HttpUnhandledException' was thrown.


TargetSite: Boolean HandleError(System.Exception)

StackTrace: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.v2_paypalback_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\aef5e8b3\2f46c7f7\App_Web_paypalback.aspx.1029ec4e.1z83qi1b.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

InnerException: System.Web.HttpException: Content controls have to be top-level controls in a content page or a nested master page that references a master page.
at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
at System.Web.UI.Page.get_Master()
at System.Web.UI.Page.ApplyMasterPage()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I've got several parts on the page in a Try/Catch code and also send the exception by email but that neve gets executed.

Is there anything missing on my hosting that prevents the code (that compiles with no problem on my machine).

Thanks!



Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.359 seconds.