Solved

Passing the ApplicationName to SQL Profiler / C2 Auditing

Posted on 2006-11-10
2
812 Views
Last Modified: 2008-02-01
In a trace file, there is an "application name" field.  It displays "Query Analyzer", "SQL EM", or "Visual Basic", ".Net SQLClient Provider", etc.

We have applications that use Visual Basic 6.0 and ASP.NET.  I'm trying to figure out how to pass a name we decide on ("Application X") to the Trace/Audit file so that it shows up in the Application Name Field through both of them.

0
Comment
Question by:JaffaKREE
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
Hillwaaa earned 500 total points
ID: 17918698
Hi JaffaKREE,

There is a post on the msdn forums that indicates:

"The name normally comes from the the connection string:
server=MyServer;database=MyDatabase;Integrated Security=SSPI;Application Name=ApplicationName;"

Original post: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=819752&SiteID=1

Cheers!
0
 
LVL 16

Expert Comment

by:Hillwaaa
ID: 17945685
Hi JaffaKREE - how did you go after setting the application name?
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now