Solved

Using SQL Profiler on shared ISP

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Permission 6 71
passing parameter in sql procedure 9 68
convert null in sql server 12 57
Find unused columns in a table 12 67
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

713 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