Skip to main content
Nintex Community Menu Bar

SQL Query works only in testing enviornment not in LIVE...

  • February 28, 2019
  • 14 replies
  • 27 views

Forum|alt.badge.img+3

Hi everyone, I have been testing my form and only can i see the content populate from the database in the testing enviornment and not in the LIVE. Can anyone please tell me what is wrong? Why is this only populating in TEST MODE only?

 

 

258iB75A0203E634A636.png259iFA71DF7D8E6B547E.png260i1F504E05047C4600.png261i321E1DF0D91CF2CD.png

14 replies

Forum|alt.badge.img+5

Starting from square one... did you update the server/database names to your live SharePoint environment?


Forum|alt.badge.img+3

That is a good question. I'm not too sure, I will look into that now. 


Forum|alt.badge.img+3

Good morning Cherylshah, the database/server is updated.  Problem still exist. 


Forum|alt.badge.img+5

Does the production database use a different authentication? Does the table have a different column name, for the query?


Forum|alt.badge.img+3
To my knowledge it doesn't use a different authentication than windows and no it does not have a different name.

Forum|alt.badge.img+3
I'm trying to see if there is another way of pulling the same data using Active Directory using a list lookup control, if this SQL control doesn't do the trick for me

Forum|alt.badge.img+5

Maybe the production connection takes longer than 10 seconds? Try increasing your Timeout limit? Although I know 10 seconds already seems like forever to a user to wait for data to populate....


Forum|alt.badge.img+3
Ok I will try increasing time.

Forum|alt.badge.img+3
the time change didn't work and I am looking at this example right now of Query LDAP Action ....no I actually never heard of this tool until today...I'm very new to Nintex

https://community.nintex.com/t5/Nintex-for-SharePoint/Display-meaning-full-name-from-Active-Directory/m-p/9129#M7682



Forum|alt.badge.img+5

Sorry, I deleted the Query LDAP comment because I realized immediately after posting it that you're asking about a form not a workflow... But if it's somehow helpful, great! :)


Forum|alt.badge.img+3
yes i'm working in a form and not a workflow and I'm realizing this may not be what I need...the SQL is what i'm mostly familiar working in but I'm just baffled its not showing the data when I publish the form.

Forum|alt.badge.img+5

Especially since it works in your testing environment - it seems there would have to be a way to get it to work in production as well. Sometimes I've found with Nintex Forms that if you just delete a control altogether and then create it again from scratch, even if all the settings are identical to what you had before, the new one will work. Might just be a migration hiccup.


Forum|alt.badge.img+3
I figured out a work around using AD and the userprofilelookup command in my control, thanks for your assistance overall.

Forum|alt.badge.img+3

534i936F89E0638736DE.jpg