Read more in the article How to define which network protocol to use. Check your network documentation" when connecting using an application role enabled connection. Disabling it can help on this error. See the respective ODBC driver's connection strings options. See also the List of all SqlConnection connection string properties. Note that this will only work on a CE device. Viewed k times. I am creating a website, but in the database I use windows authentication.
Improve this question. Jono 3, 4 4 gold badges 25 25 silver badges 46 46 bronze badges. Not sure whether you meant a generic windows account to be used across different peoples — rchacko. Add a comment. Active Oldest Votes. Improve this answer. Sami 7, 7 7 gold badges 62 62 silver badges 92 92 bronze badges. Persist Security Info is probably not needed: stackoverflow. The one that i founded was commented in the web release and web config.. It is also working different according which provider you are using.
This solution worked for me, but I was wondering how does this change on identity impact the behavior of the application, in terms of security? Don't grant more permissions than needed. A dedicated service account would be advisable. Our Support Team is here to help. Ask Question. Net using C and VB. In ASP. Net Web Applications, one has to reference the System. Config file. Config file is defined as follows and it consists of the following properties.
Initial Catalog - The name of the Database. Integrated Security - By default False. If set true it signifies that Windows Authentication needs to be used. Adding System. Configuration reference. Config file in code behind, the very first thing you need to do is to add reference of the System. Configuration Assembly to the project in the following way. Right click on the project and click Add Reference option from the Context Menu. From the Add Reference dialog box, click on.
0コメント