Solved

Using SQL Profiler on shared ISP

Posted on 2011-03-10
2
178 Views
Last Modified: 2012-06-27
As I'm just starting to work with Entity Framework I realise you have to spy on the sql to have any chance of knowing what's going on, my question is though, my db is hosted by a commercial ISP, I've got no chance of running 'Use Master/Grant Alter Trace To xxx', is the only way to switch between my own local db and the remote?
0
Comment
Question by:Silas2
2 Comments
 
LVL 20

Accepted Solution

by:
Marten Rune earned 125 total points
ID: 35105953
Unless you can ask for a trace from your ISP, I think your'e right. You'll need to redirect it to use a database where you have control. Then use the Profiler.

Im not sure about the question. You seem to have grasped everything and I can only confirm.

The only way around is to build triggers in your database, and use them to store information in some sort of log table.

//Marten
0
 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 125 total points
ID: 35106044
Without implementing a layer of logging in your application (and the overhead that brings), I think you're stuck. Your best bet is to set up a dev/test environment somewhere that you have control over (like your local machine), and then run profiler there. Most hosts wouldn't want you connecting profiler anyways because of the extra overhead involved, so it's highly unlikely that they'd allow it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 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

21 Experts available now in Live!

Get 1:1 Help Now