Recently Viewed...
DNN Modules
SnowCovered Top Sellers

The Catalyst skins are professionally designed, coded and packaged by a team of DotNetNuke experts. The skins are available in 12 great colours. This skin is easily customisable with our unique DrNuke EasyMod technology. Try our demo!

Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

Live Content uses Web 2.0 approach to provide a Rich User Interface and streamlines content presentation by overlaying content on current page. Overlay images, videos, audio, text/html content, flash, dotnetnuke modules, and external content. Experience the demo...

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Edit documents directly on your server. The premier document management solution for DotNetNuke (DNN). Index contents of documents. Share documents across your portal and avoid duplicates. Revised and flexible UI. Extensible architecture.

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

    |   Register   |   Friday, November 21, 2008   
Data Springs Product Forums...
Subject: HTTP Post - Page Load Exception
Prev Next
You are not authorized to post a reply.

Author Messages
Tony
Posts:7
skipping stones
skipping stones

05/06/2008 7: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/Test/tabid/453/Default.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
Posts:2207
river guide
river guide

05/06/2008 9: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
Posts:7
skipping stones
skipping stones

05/06/2008 9: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
Posts:7
skipping stones
skipping stones

05/06/2008 9: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
Posts:2207
river guide
river guide

05/06/2008 12:50 PM  
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
Posts:7
skipping stones
skipping stones

05/06/2008 2:43 PM  

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

Tony
Posts:7
skipping stones
skipping stones

05/07/2008 8: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
Posts:2207
river guide
river guide

05/07/2008 9: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
Posts:7
skipping stones
skipping stones

05/07/2008 11: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
Posts:7
skipping stones
skipping stones

05/16/2008 4:55 AM  

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

Chad
Posts:2207
river guide
river guide

05/19/2008 4: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
Posts:6
skipping stones
skipping stones

07/17/2008 4:39 AM  

I am not able to get http post control values

Please give example

Chad
Posts:2207
river guide
river guide

07/17/2008 4:13 PM  

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

Thanks,

 

Chad

 

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > HTTP Post - Page Load Exception



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement