Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

HTTP Post - Page Load Exception
Last Post 08-24-2010 11:30 AM by Ryan Bakerink. 47 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages
Tony HilliardUser is Offline
skipping stones
skipping stones
Posts:9
Avatar

--
05-06-2008 05:19 AM

    We are having a lot of difficulty trying to use the HTTP Post completion event.  After a few days of troubleshooting it looks like we are not able to use a URL that is on the same webserver as our DNN site.  We have tried just making a simple one question form, if the Post URL is say http://www.google.com it goes without a problem, if we change it say to the root of our site, http://www.allsup.com, for example we get a Page Load Exception error (see below for excerpt from the Event Viewer).  We have tried several different URLs, both inside and outside of our DNN site, and it appears that if the URL is on the same webserver, it fails.  We tried a similar setup on the betasprings site, created a one form field with a HTTP Post completion event, using betasprings for the HTTP Post URL and it worked fine there.  We are stuck on what to do from here.  We were hoping to use the HTTP Post event to post the form to another page we already had created to handle our form processing that was created pre-DNN that uses a different datasource than the DNN install is using.

    DF Version: 02.60.30, DNN Version: 04.08.02

    Info from Event Viewer:

    AssemblyVersion: 04.08.02
    PortalID: 4
    PortalName: Allsup Consumer Site
    UserID: 17
    UserName: twhilliard
    ActiveTabID: 453
    ActiveTabName: Test
    RawURL: /AboutSSDI/Test/tabid/453/Default.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.allsup.com/AboutSSDI/Tes...fault.aspx
    UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Flypaper; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 057169c3-cf31-430c-92fa-de8008b89843
    InnerException: Object reference not set to an instance of an object.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: DataSprings.Modules.DynamicForms.DynamicForms.ProcessEvents
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DataSprings.Modules.DynamicForms.DynamicForms.ProcessEvents(Boolean blnRedirectOnly, Boolean blnPaymentGateway, String strPaymentStatus, String strResponseID, Int32 intPaymentUserID) at DataSprings.Modules.DynamicForms.DynamicForms.SubmitForm(Boolean ProcessPaymentNotification, String strResponseID) at DataSprings.Modules.DynamicForms.DynamicForms.lnkSave_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
    Source:
    Server Name: WEB01

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-06-2008 07:38 AM
    Hmmm... This is a very weird error. Does it save the URL correctly when you add/update the event? Also what version of Dynamic Forms are you running on? Is this event set to run based on 'any response'? Is there anything else that would cause your web server to not allow posts from anywhere? For example, if you setup a form post on www.betasprings.com to post to your server does it also return the error there? Maybe its posting to that page/server and not necessarily posting on the same domain?

    -Chad
    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-06-2008 07:52 AM

    We are using Dynamic Forms version 02.60.30 according to the module definitions section.  Yes, it is set on Any Field Response, I left that portion as the default and only modified the Post URL and Post fields. I just tried on betasprings.com having the one field form point to our site and it went through ok.  Also, we had the forms initially on the DNN site using iframes, but that was causing some issues with our site tracking which is why we wanted to get them out of the iframe, however those iframes were submitting forms without an error, so it would seem that the web server is able to allow posts.

    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-06-2008 07:54 AM

    Sorry, just realized I didn't answer one of your questions.  Yes it does appear to be saving the URL and post information, in that when we go back into the settings they are there.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-06-2008 10:50 AM
    Well I am not really sure what would cause this... when I look in this area, changing the URL to another URL is really only a few lines of code etc... Did you choose to email the results to the portal admin in the event?
    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-06-2008 12:43 PM

    No we haven't checked that option as of yet.

    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-07-2008 06:52 AM

    We tried checking the email admin option, it appears we only get emails sent to us when it works.  We aren't getting any email when this Object Reference error occurs.  The error seems to be referencing a function that deals with the payment options, but we don't have any of that turned on, is there possibly something that is trying to be checked that our server is not returning or configured to return?

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-07-2008 07:49 AM
    Well that function call just includes a lot of optional parameters passed into it (in case this was returning from PayPal it has to pass that token into the function), your specific issue though isn't related to any of that though. The difference in changing the URL and it working VS changing it and it not is really limited (and this is the first instance its been reported at least). I can post the basic code here if you think that will help, and I can also try and add some additional error handling to maybe capture the specific error, but besides that I am not really sure the best scenario from here. I checked and the email to the admin is supposed to go out only after it was successfully so if its throwing an error your right you wouldn't get it. For the next patch or update I will add some additional error handling to throw back a more detailed message... I tried googling 'http post request can't post from and to same domain' but got back only limited results. Is this particular host using a Firewall? Is this a dedicated server or hosted somewhere and what is the trust set at on the site?

    -Chad
    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-07-2008 09:58 AM

    We are self-hosting using a dedicated server that is behind a firewall.  The trust level is at medium, we tried temporarily changing it to Full Trust, but we still got the same error.  I am not sure if looking at the basic code would help, I was just trying to think of what would result in a null reference.

    Tony HilliardUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-16-2008 02:55 AM

    We finally solved this issue.  Turns out it was a DNS routing issue with our webserver.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-19-2008 02:04 PM
    Tony... Thanks for the follow up on this, hopefully if other users run into similar issues your post is much appreciated as those types of issues can be a real headache!

    -Chad

    rakesh maharajUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    07-17-2008 02:39 AM

    I am not able to get http post control values

    Please give example

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-17-2008 02:13 PM

    Rakesh - See if this thread helps that covers Dynamic Forms w/ HTTP Post Completion Event.

    Thanks,

     

    Chad

     

    SKUser is Offline
    going with the flow
    going with the flow
    Posts:61
    Avatar

    --
    04-26-2009 06:03 AM
    I appear to have the same problem as Tony. He said it was a DNS routing issue.
    What did he do that solved the problem?

    Thanks
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-08-2010 08:17 AM

    I am getting the same error listed above while running 3.10.0.  I even tried hardcoding the values for the short field names.

    The form I'm trying to duplicate (and is working) is:

    <form> action="https://footprints-test.uits.iu.edu/forms/form_processor.php" method="post">

     


        <!-- Built in fields -->
        Title:
     


     

    Description:
     
       



        <!-- Custom project fields -->
       

    Support Type:
       
     


       
        <!-- Address book fields -->
     
     

    Username

    First Name

    Last Name

    Email Address


     
       
        <!-- Hidden fields -->
     
       
       
     
     
     
     
     
     


       
       
     


    </form>

    I have the following set:

    HTTP Post URL:  https://footprints-test.uits.iu.edu/forms/form_processor.php

    HTTP Post:  &projectID=79&status=Open&priorityNumber=1&delimiter=|&action=create_issue&projfields_mappings=supporttype=>Support Type&abfields_mappings=username=>Username | firstname=>First Name | lastname=>Last Name | emailaddress=>Email Address&title=$(title)&description=$(desc)&supporttype=$(support)&username=$(username)&firstname=$(FN)&lastname=$(LN)&emailaddress=$(email)

    Any ideas?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-08-2010 08:37 AM
    HI, based on your HTTP post, that doesn't seem correct. You have the following:

    &abfields_mappings=username=>Username | firstname=>First Name | lastname=>Last Name | emailaddress=>Email Address

    I don't know if this is a valid URL because even in an HTTP post, it's actually passing along querystring variables and you can't have a field mapping =username=>Username | firstname |

    etc. Can you try taking this off and see if it will work? -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-15-2010 05:48 PM

    I changed it to:

    projectID=79&status=Open&priorityNumber=1&delimiter=|&action=create_issue&title=$(title)&description=$(desc)&supporttype=$(support)&username=$(username)&firstname=$(FN)&lastname=$(LN)&emailaddress=$(email)

    I'm getting the same error. 

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-16-2010 06:27 AM
    HI, you have "&delimiter=|" which is not correct as well. Can you try removing some fields to see which ones are erroring out. Thanks. -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-16-2010 08:00 AM

    First of all, thanks for the help.  I appreciate it.

     

    I've cut the HTTP Post down to:

    projectID=79&status=Open&priorityNumber=1&action=create_issue

    I've even tried removing it all together.

    Whatever I try, I get the same error message.

    Nathan

    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-17-2010 12:36 PM

    I went back to my working HTML form and posted the form while watching the session with an HTTP debugging proxy.  I verified that my original HTTP Post settings were correct.  I went back and took out all of the short field names and replaced them with hard coded values that matched my successful submission with my HTML form. 

     

    title=Test&description=&Test&supporttype=Equipment Request&username=nsbyrer&firstname=Nathan&lastname=Byrer&emailaddress=nsbyrer@iupui.edu&abfields_mappings=username=>Username | firstname=>First Name | lastname=>Last Name | emailaddress=>Email Address&projectID=79&status=Open&priorityNumber=1&delimiter=|&projfields_mappings=supporttype=>Support Type&abfields_mappings=username=>Username | firstname=>First Name | lastname=>Last Name | emailaddress=>Email Address&action=create_issue

     

    I still get the same error message.  If l leave the HTTP Post blank, I get the same error message.  If I put in just the required values, I get the same error message.

     

    I have also tried deleting the event and recreating it. 

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-18-2010 05:38 PM
    HI Nathan, can you check your Snowcovered account and download the latest version of Dynamic Forms to see if it will resolve the HTTP post issue? Thanks. -- David
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-18-2010 05:38 PM
    HI Nathan, can you check your Snowcovered account and download the latest version of Dynamic Forms to see if it will resolve the HTTP post issue? Thanks. -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-19-2010 05:04 AM

    I downloaded the most recent update.  That didn't help either. 

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-19-2010 06:13 AM
    Okay, is there a way for you to export your form to www.betasprings.com(username: host, password: dnnhost) and see if you can duplicate the same problem on betasprings? Thanks. -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-19-2010 08:22 AM

    I get the error there too.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-19-2010 08:37 AM
    HI Nathan, I'm running out of ideas. Is there any site you can post to (with some simple values) to verify that HTTP post works and that maybe it's this site that may be having issues and not the HTTP posting itself? -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-19-2010 10:08 AM

    I don't know of any that I can try.  If you have a suggestion of one, I'd like to try it.


    I am successfully posting to this site using an HTML form.

    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-19-2010 10:51 AM

    Okay, I found a simple one to try.  I was able to make it work.  I was even able to watch what the page is responding using debug mode.  I then tried taking my HTTP Post and used it with the URL that I was successful with and didn't get an error.  As soon as I use the page I am trying to post to, I get the error.  I can't troubleshoot it further though.  When I put it in debug mode, I get the error before anything else on the page loads, so I can't see any of the debug results and the error message in the Event Viewer isn't any help. 

     

    Can you think of a way that I can see the debug information when this error presents itself?

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-20-2010 06:34 AM
    HI, well this means that something is wrong with the receiving end because the HTTP post works on several websites but not the one you are trying to get to. Perhaps contact them and see what is the problem. -- David
    Nathan ByrerUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    04-20-2010 07:08 AM

    I'm afraid that is going to end up being a dead end as I can't produce any reports as to what is going wrong.  Is there a way to find out what is happening to cause the error?  As I said before, the error is very nondiscript.  I can go to the people with the website, but I expect that they are going to say that their form works with other servers and forms and it must be an issue with my form tool.  I really need some data to backup my claims.

    You are not authorized to post a reply.
    Page 1 of 212 > >>


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi