Hi,
I have an application which uses Microsoft AD LDS for authentication, we are now changing the server which we were using for authentication.
Both new and old server have exact same setup of AD LDS. So I changed the webconfig in my code to point to new server for authentication and it works fine on my machine, But when I deploy the code to production I am getting below error.
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
The bizarre thing is when I change the webconfig to point to old server for authentication it is working fine but if i point to new server its giving me an error.
Note: It works fine from my computer when I run it through visual studio
old webconfig works fine:
<add name="ADAMService" connectionString="oldserver:6010" />
<add name="AzManADAMService" connectionString="msldap://oldserver:6010/CN=AzManADAMStore,DC=TT,DC=COM" />
new webconfig works fine on local but errors out on production:
<add name="ADAMService" connectionString="newserver:6010" />
<add name="AzManADAMService" connectionString="msldap://newserver:6010/CN=AzManADAMStore,DC=TT,DC=COM" />
If someone can put some light i would appreciate it.
thanks in advance.