Server bağlantı ayarlarını kontrol etmek ve web config vb dosyalarda kullanmak için güzel bir yöntem
- Create a new blank file and name it test.udl.
- Double click on it, and a "Data Link Properties" dialog should appear.
- On "Providers" tab, select "Microsoft OLE DB Provider for SQL Server" or "SQL Native Client"
- On "Connections" tab, try various settings and use the "Test Connection" button to test them. Click "Ok" when it works.
- Open the test.udl file in Notepad and copy the line that starts with "Provider=" into your Web.config "ConnectionString" value, BUT delete the little part that says "Provider=SQLNCLI.1;"