SQL ConnectionString Application Name Property

by Mark Milec 4/24/2008 3:54:00 AM

When you have several .net applications or websites connecting to the same database, they all show up in SQL Profiler with the same Application Name ".Net SqlClient Data Provider". I just learned that you can add an Application Name property to the connection string so you can make a unique name for each application.

connectionString="Data Source=MyServer;Initial Catalog=MyDatabase;Persist Security Info=True;User ID=MyUserName;Password=MyPassword;Application Name=My Application"

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Related posts

Comments

10/27/2009 9:09:18 PM

cash loans

thanks! very helpful post!! like the template btw ;)

cash loans us

11/3/2009 6:14:49 AM

Zithromax

I reallylove your blog and it gives me a lot of ideas on the main line.

Zithromax us

11/3/2009 8:40:30 PM

PaydayLoans

Just .. Thank you for your help!

PaydayLoans us

11/8/2009 4:49:43 AM

payday loans

Like your writing! Still you can do some things to improve it.

payday loans us

11/12/2009 1:13:47 PM

payday loans

I like what I see. keep it going

payday loans us

11/16/2009 3:12:23 AM

cash loans

Yea nice Work !Laughing

cash loans us

11/18/2009 9:17:37 AM

payday loans

Like your writing! Still you can do some things to improve it.

payday loans us

Powered by BlogEngine.NET 1.3.1.0
Theme by Mads Kristensen

About the author

Name of author Mark Milec
Senior Application Developer at Atlas Tube

View Mark Milec's profile on LinkedIn E-mail me Send mail

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Pages

    Recent comments

    Archive

    Authors

    Categories

    None


    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2010

    Sign in