Authentication with server failed with SmartForm

  • 21 November 2006
  • 1 reply
  • 1 view

Badge +2
I have this error in the web browser when I try to see K2SmartForm1.aspx : Authentication with server failed

I run this from a website on the same machine that my MOSS 2007. The K2.net Server is on another machine.

A part of the web.config of the webapplication :
;Authentication=Windows;Domain=mydomain;User=mylogin;Password=mypassword" />
</appSettings>
</configuration>

1 reply

Badge +10
Hi,

The K2ConnectionString in your web.config file should have the domain, username and password of a valid user to authenticate with the K2.net Server. The default value of this key does not specify a user which will use integrated authentication with the currently logged on user's details since
<identity impersonate="true" />
is set.
If you want to set this back change the key to the following:
;Authentication=Windows;Domain=;User=;Password=" />


If you want to specify a user in this key, make sure this user can authenticate to the K2.net server using K2.net Service Manager.

Hope this helps.

Regards,

JohanL

Reply