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!

Error in SQL - Noob question
Last Post 11-30-2010 03:49 PM by Chad Nash. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
sschlichterUser is Offline
going with the flow
going with the flow
Posts:44
Avatar

--
11-27-2010 05:20 PM
    This is my first attempt using Dynamic forms. I am trying to use a combobox that is SQL driven and the source is the DNN_Users table.

    I am using select LastName as QuestionOption, Lastname as QuestionOptionValue from DNN_Users

    I have also tried dbo.DNN_Users and databasename.dbo.DNN_users.

    Is their some configuration I need to do to allow SQL to work?

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-28-2010 01:15 PM
    Hi... That query does look correct but it depends on what your object qualifier is and so forth.

    What happens when you go and run this query under Host/SQL? If you check the box that its a script, what error do you receive?

    Thanks,

    Chad
    sschlichterUser is Offline
    going with the flow
    going with the flow
    Posts:44
    Avatar

    --
    11-28-2010 06:19 PM
    DotNetNuke.Services.Exceptions.ModuleLoadException: The ConnectionString property has not been initialized. --->

    hmmm, it looks like I do need to configure something. I guess my issue is bigger than Data Forms. I am new to DNN as well if you cannot tell.

    Is it not using the connectionstring that DNN uses to get to the DB?

    ~Steve
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-29-2010 09:00 AM
    Hi Steve - Well its difficult to tell exactly what the problem is... I am assuming something is missing from the web.config so I would maybe ask your hosting provider or if you are hosting it yourself I would compare your web.config to an out of the box web.config for DNN and specifically related to the connection strings. I do know that when this is working properly in DNN under Host/SQL then it will also work fine in our module. Our module uses the same connection string method that DNN uses... I believe that there might be two seperate areas in DNN to input your connection string (one under connection and another under app settings) so you might check both locations.

    Thanks!

    -Chad
    sschlichterUser is Offline
    going with the flow
    going with the flow
    Posts:44
    Avatar

    --
    11-30-2010 03:44 PM
    thanks for your help. Perhaps the ISP has limited the SQL for security reasons. I will ask them about that.

    Once this is working, can I use a stored procedure in the data forms module instead of a free edit sql statement

    ~steve
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-30-2010 03:49 PM
    Hi Steve - I would not imagine that is the situation, I think it would be a missing connection string in the web.config or something but I could be wrong... It seems like it would be difficult to limit it in one area but not others.

    Yes, and that is the recommended approach... our modules do use some security measures to help prevent SQL Injection however its always better to use stored procedures.

    Thanks!

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