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!

Problems with combo box and Question Event logic - Performance related?
Last Post 09-10-2012 01:51 PM by Mike Schnoebelen. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Mike SchnoebelenUser is Offline
skipping stones
skipping stones
Posts:8
Avatar

--
09-10-2012 10:54 AM
    We have developed a form that has a combo box of as the very first field. It provides a dsiplayed LastName,FirstName to the users but stores the selected person’s ID in the field instead(i.e. QuestionValue/QuestionValueOption). We then later use the saved ID to perform a select back against the database (via a Question Event) to re-capture the lastname/firstname to make the student name available for Emails and PDFs as part of the Completion Event process (and to store the name in the database as additional info).
     
    Here’s the issue. This all works great on a local development machine. The combo lookup for the name occurs in less than two seconds and both name and ID fields display in emails and forms as well as rolling out to our SQL database (via our SQL completion event).
     
    When I export/import this form and move it to the production server…the combo list shows up (there are only about 80 people in the list)….but when a name is selected, processing that combo choice (via the progress bar at the bottom of the Internet Explorer page) takes around 15 seconds. If we attempt to enter the subsequent field during that time (a text field) it gets “blanked out” upon completion of the progress bar associated with the combo box. Another negative effect is that the Question Event that runs a SQL to re-select the lastname/firstname to another field via the ID no longer works (it shows up as blank). This process has worked fine on the development box.

    We also have a combo date field (month, day, year) on the form. After the month is selected, it takes 15 seconds for the list of possible days for that month to come up (on our production server) Again, on our local development machine, the list of days is populated immediately.

    We are wondering what might be able to do to speed up the performance of Dynamic Forms on our server …if there are any special tools available to understand why we see a ten-fold time increase between our development box and our production server.
    Mike SchnoebelenUser is Offline
    skipping stones
    skipping stones
    Posts:8
    Avatar

    --
    09-10-2012 12:18 PM
    One additional piece of information.  On the production side..when running in debug mode, I can see a reference to processing the Question event:

    **** Preparing to process all Affected Field Question Events **** Processing Affected Questions ield value for question event:Intern For SQL Question Event:InternNameFromSQL1

    And I then see a well formed query that successfully that runs in DNN's HOST/SQL (when I take it there and test it)

    but then I see just below in the debug info I get this:

    Invalid object name 'TeacherEd.dbo.TED_TCHR_CRSE'.


    Yet, I don't seem to experience this problem in my local DNN environment.

    To summarize:

                     All three SQL related events:
                    1) Initial combo box lookup
                    2) SQL re-select via Question Event
                    3) SQL Completion Event
                                               work correctly in my local environment

    On our production server items 1 and 3 work (though 3 is missing the name info) because item 2 did not work...due to the error above.
    Mike SchnoebelenUser is Offline
    skipping stones
    skipping stones
    Posts:8
    Avatar

    --
    09-10-2012 01:51 PM
    Another observation.

    On my local development environment, the DNN database resides on the same server as the database I am trying to get to perform the Question Event SQL query.  It works there...and since there is no option to spell out an external connection string...I assume it is using the default DNN connection string?    The databases are on the same SQL server so no problem

    Whereas, in our production environment..the DNN database is on a different SQL server from the database I am trying to reach.  As a result, since it is not using any external connection but relying on the default DNN, it can't find this other database needed for the Question Event SQL query (generating the Object not found error).

    If this is the case, just trying to figure out the workaround for this.
    You are not authorized to post a reply.


     
     

    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