Solved

Using SQL Profiler on shared ISP

Posted on 2011-03-10
2
176 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

18 Experts available now in Live!

Get 1:1 Help Now