Skip to main content
Nintex Community Menu Bar

Maybe it's a bug

  • July 20, 2007
  • 2 replies
  • 6 views

Forum|alt.badge.img+7

I have discovered that if the password of a user contains a ";"

So the string connection in the k2rom doesn't works (Authentication with server failed)

Can someone please try it and reply

Thanks 

Best Regards 

2 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • July 22, 2007

Hi melhem.


I suspect your connection string looks something like the following: 


            string strConnectionString = "[;];Authenication=Windows;Domain=K2Demo;User=test;Password=test;test";


If so, notice the [;] at the begining of the string.  The character contained within the brackets tells K2 how to parse the various parameters.  Thus if you change it to look like the following (with parsing on a comma): 


            string strConnectionString = "[,],Authenication=Windows,Domain=K2Demo,User=test,Password=test;test";


You should be able to successfully use passwords (or any parameters) that contain a semi-colon.  You may want to select a more obscure character than a comma in your actual code.


Hope this helps.


Bob 


 


Forum|alt.badge.img+7
  • Author
  • July 24, 2007

It works


Thanks Bob for your help