Solved

Using SQL Profiler on shared ISP

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PERFORMANCE OF SQL QUERY 13 73
Order by but want it in specific order 2 33
Passing value to a stored procedure 8 100
CREATE DATABASE ENCRYPTION KEY 1 64
This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 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