How to run an application with windowAuthentication connectionString from IIS?
-
Hi, I am trying to create a dynamic connectionString with windows authentication. I prepared like this "Integrated Security=SSPI;Initial Catalog=northwind;Data Source=server-Name" It is running good from my application. I configured this application in IIS and ran like this 'http:/localhost/ApplicationName' but it is failed to login. How to run an application with windowAuthentication connectionString from IIS? Thanks Hari
-
Hi, I am trying to create a dynamic connectionString with windows authentication. I prepared like this "Integrated Security=SSPI;Initial Catalog=northwind;Data Source=server-Name" It is running good from my application. I configured this application in IIS and ran like this 'http:/localhost/ApplicationName' but it is failed to login. How to run an application with windowAuthentication connectionString from IIS? Thanks Hari
Go to the properties dialog of your web application in IIS. Check whether integrated windows-authentication is enabled or not. and check whether anonymous is disabled or not...
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
Go to the properties dialog of your web application in IIS. Check whether integrated windows-authentication is enabled or not. and check whether anonymous is disabled or not...
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
Hi Michael, Thanks for your reply, and I did the same thing which you suggested but it failed to do the trick. Is there any other solutions. Please forward me. Thanks Hari -- modified at 2:06 Monday 3rd September, 2007
maybe. you may try to impersanate... Put this in web.config. You have the administrator right in that machine... right?
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
maybe. you may try to impersanate... Put this in web.config. You have the administrator right in that machine... right?
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
Hi Michael, Thanks for your quick reply. Yse. I have administrator rights in my system. I added impersonate in web.config file.. ............ ............ Again no use....any other Michael? Thanks in advance Hari
When are you getting this error? What error are you getting?? Are you getting this error while you are trying to log-in from browser? OR while you are trying to open the connection?
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)