Hello there,
I am working on a WCF Service(implemented with Fluent NH), and it is hosted as a Windows Service.
I am using a console application to test calling service methods.
Now, when I set connection string in hibernate.cfg.xml as
<property name="connection.connection_string">Server=dev;Initial Catalog=DBTest;Integrated Security=True;</property>
It throws the error: SqlException: Login failed for user
But if I change connection string to:
<property name="connection.connection_string">Server=dev;Initial Catalog=DBTest;User Id=twr;Password=manager1;</property>
It successfully calls the service methods.
While all WCF Service Library, Hosting Windows Service and Console Application sits on my local machine only,
Can anyone please help me in understanding why it doesn't work with Integrated Security=true?
Thank you!