Mismatch of server name between Windows-client and Web.
Last updated
Was this helpful?
Last updated
Was this helpful?
The project settings include the server name which is used as part of pooled database connections (i.e. nhibernate session factories). In this case, the ‘serverString’ in web.config (and the server hint) needs to use the full URL which should be identical to the one used from the windows client. If the server cannot resolve the url, please add a manual entry in the:
c:\windows\system32\drivers\etc\hosts file.
As an example, if the server on ip 132.19.5.153 is referred to as your.server.com in the project settings, you would need to add the entry below into the hosts file.