Mini Profiler

Dec 17, 2002

Hello all,

I'd like to write an app in either C# or VB which can capture certain events on a SQL Server. Just like profiler, it would listen to the SQL Server constantly and would probably run in the system tray.

Could you point me in the right direction? How does profiler achieve this, are there any existing ActiveX controls for this or does the .NET framework include something suitable.

Thanks
Tom

View 1 Replies


ADVERTISEMENT

Mini Index?

Dec 2, 2005

I have a table with a few million records and I need to search andreturn rows where a varchar(1000) field has the value "Showed"SQL will not allow me to add an index for a field of this length.Is it possible to create some kind of index for only the value "Showed"Or is there some other faster way to search for this value?thanks,Paul

View 8 Replies View Related

SYNCHRONISING XDA MINI S WITH PC USING VISTA

Jan 23, 2008

I have a problem synching my xda mini s with my pc using vista. A previous thread was unhelpfully closed by Ilya as being off topic; well it isn't on topic anywhere else. At least not according to microsoft's own search engine. Ilya, why not try giving a helpful answer instead of 'not my problem'? My xda will not synch using vista; XP and ActivSync has been perfect. I've tried installing mobile device centre version 6.1 but I suspect vista isn't compatible with Windows mobile version 5.1. Should it be? If not, is there a patch or is upgrading to vista going to cost another couple of hundred pounds to get a compatible mobile device? If so, I'm off to a different operating system. Perhaps, like many others, back to XP and let Microsoft continue to dither around and experiment on others.

View 1 Replies View Related

ASP.NET Mini Form With SQL Server 2000

Sep 28, 2005

Hi, i  have created a mini form to test out easy steps and my sql
connection but something is wrong with my connection i think...

I am running windows XP Pro SP 2.  i have Microsoft VisStudio .NET 2003
fully installed and now im installing SQL Server 2000 Developrs
Edition.  I just cimpleted the installaion and picked some settings:



Local Computer Installation, Create new Instance since this is the
first time i use it, Server and Client Tools, and chose a Local rather
the Domain option aferwards.  (i have used this version before but had
to format the comp so now reinstalling everything).



My problem is this, i basically started the server and it on online.  i
went to the "enterprise manager" and in the "Microsoft SQL Servers
-> SQWL Server Group -> (Local)(Windows NT)-> Databases, i
created a new database called tables and added a single table just to
begin testing to see if at least its functional.  i was able to do this
so far.



Now i started my .NET, and wrote a tiny program to see if the
connection to the SQL database would open, but it didnt.  It always
failed.  i am programming an ASP.NET WebApplication.  I cant open the
connection to my database.  i dont know why.  (The tiny piece of code i
wrote is at the bottom in case you know c#).  There is a note also
under the code for the ones who will read through its simlicity



any help or walk through would be appreciated.  thank u...



Sam















CODE:



using System;



using System.Collections;



using System.ComponentModel;



using System.Data;



using System.Drawing;



using System.Web;



using System.Web.SessionState;



using System.Web.UI;



using System.Web.UI.WebControls;



using System.Web.UI.HtmlControls;



using System.Data.SqlClient;



using System.Configuration;



namespace WebTest1



{



/// <summary>



/// Summary description for WebForm1.



/// </summary>



public class WebForm1 : System.Web.UI.Page



{



string connection = ConfigurationSettings.AppSettings["ConnectionString"];











protected System.Web.UI.WebControls.TextBox TextBox1;



protected System.Web.UI.WebControls.Label Label1;



protected System.Web.UI.WebControls.TextBox TextBox2;



protected System.Web.UI.WebControls.Label Label2;



protected System.Web.UI.WebControls.TextBox TextBox3;



protected System.Web.UI.WebControls.Button Button1;



protected System.Web.UI.WebControls.Label Label5;



protected System.Web.UI.WebControls.Label outputBox;



protected System.Web.UI.WebControls.Label Label3;





private void Page_Load(object sender, System.EventArgs e)



{



// Put user code to initialize the page here



}



#region Web Form Designer generated code



override protected void OnInit(EventArgs e)



{



//



// CODEGEN: This call is required by the ASP.NET Web Form Designer.



//



InitializeComponent();



base.OnInit(e);



}





/// <summary>



/// Required method for Designer support - do not modify



/// the contents of this method with the code editor.



/// </summary>



private void InitializeComponent()



{



this.Button1.Click += new System.EventHandler(this.Button1_Click);



this.Load += new System.EventHandler(this.Page_Load);



}



#endregion



private void Button1_Click(object sender, System.EventArgs e)



{



outputBox.Text = "Button has been clicked";



SqlConnection conn = new SqlConnection(connection);





outputBox.Text += "----------------Creating sql Connection";







try



{



conn.Open();



outputBox.Text += "---------------opening the Connection";



}



catch(Exception p)



{



outputBox.Text += "--------------failed to open Connection";



Console.WriteLine(p.ToString());



}



outputBox.Text += "-------------Success Connection and Login to Server!";







}



}



}











NOTE: i always get this output :



Button has been clicked----------------Creating sql
Connection--------------failed to open Connection-------------Success
Connection and Login to Server!



it skips the try block's print line which means it didnt work......







string connection =
ConfigurationSettings.AppSettings["ConnectionString"]; this one i
updated in my Web.config and included application setting line that
loox like this



<add key="ConnectionString" value="Data Source=127.0.0.1; Initial Catalog=login; User Id=sa; password=pass" />

View 2 Replies View Related

Problem With Sync O2 Mini With Windows Mobile Device Center

Sep 9, 2007



I use my Pocket PC XDA O2 mini for 2 years already and I don't have any problems when I sync it with my previous laptop which has Window XP operation system.

A few months ago, I bought a new laptop with Window Vista operation system, I could not sync my O2 mini with my PC. Then, I download Windows Mobile Device Center but my computer still could not recognize my O2 mini. My O2 mini has window mobile 2003 Second Edition Version 4.21.1088 operation system. Please let me know if you have any advices.

Thanks.

View 1 Replies View Related

SQL Profiler’s

Apr 26, 2001

Can only member in the System Administrators role use the SQL Profiler’s? Is there any other role or way to allow user to use this tool other then adding them to this role? Thanks you

View 1 Replies View Related

SQL Profiler !!

Dec 23, 1999

Does anybody have any idea if there is a bug in SQL 7.0 where running multiple traces causes the SQL 7.0 to crash ??
This is running in a clustered environment.

Thanks in advance.
Ajay

View 2 Replies View Related

Profiler

Mar 10, 1999

I've looked high and low for information regarding this problem to no avail. Profiler works fine from the local server where SQL7 is running,
(using NT security). But even though my client is multiprotocol, I cannot connect from my desktop using SQL security (ODBC error) or NT
authentication. NT security gives me ConnectionOpenRcpBindingSetAuthInfo(). I do have a valid id on the NT machine as well and am not
getting any errors in the security events log.

Can/How do you connect remotely to the profiler using TCP/IP or Mulitprotocol client?

Why doesn't NT authentication work?

Thanks in advance for any help.

View 1 Replies View Related

What Is A Profiler?

Aug 1, 2003

Hi Everybody,

Can anyone tell me what is a profiler in SQL server 7.0? What I exactly want to know is, in which practical situation u will find the profiler useful. Explaination with example will be appreciated.

Regards,

Samir.

View 3 Replies View Related

SQL Profiler

Jul 7, 2004

How do I write a process in Profiler to categorise the performance of Stored procedures into buckets of <4 secs,>4secs,between 4 and 10 secs

View 4 Replies View Related

Sql Profiler

Feb 28, 2007

Hello,

My qn is related to profiler.

my app calls an sp, say, sp_DisplayResults. in profiler, i can see multiple entries for this sp call eventhough it is invoked only once from the UI.

no other process/users is invoking the sp.

could any one please let me know why the profiler is displaying it multiple times.

im using MSSQL2k

View 2 Replies View Related

Profiler

Apr 28, 2008

I have a small doubt through profiler how can we find out the long running queries.specifically which events we have to capture.

View 2 Replies View Related

Profiler Help.

Apr 30, 2008

Hi
I need to track the connections hitting to my server through application???

I m doing some work in Profiler but i m not sure from where to start it..I m using SQL SERVER 2005...I m accesing few pages on application and that i want to track that activity involving at server side

T.I.A

View 9 Replies View Related

Profiler

May 16, 2008

I have a small doubt.
where is the ideal place to run a profiler .
can we run a profiler on production server
or we have to run profiler on a seperate instance and connect to production server

View 2 Replies View Related

SQL Profiler

Feb 28, 2006

Lets say I have a username & password , I dont want people to see it being passed on to the SQL Server.

What are the ways I can prevent the parameters being passed on .

Thanks,

Regards
Kidddddddddddddddddd

View 10 Replies View Related

SQL Profiler

Apr 20, 2006

Any one show me the basic guide or tutorial about SQL Profiler for begginer .
Thank in advance !

View 1 Replies View Related

Sql Profiler

Sep 12, 2006

hello friends sorry for this basic question.

i heard a word sql profiler.

i tried through BOL, but not got any good information how to start and from where to start. can anybody give me some brief about this

thank you very much

View 7 Replies View Related

Using Profiler

Oct 27, 2006

1/When I create a new trace, it gives me sevral events including the SQL server s own functions and provcedures. How do I tell profiler to display only the requests we send SQL server from a VB program or other company made programs instead of including sql server own events as well. That will help me filter the requests and locate the problem easily.
2/ also ,. sometimes, my text data column description gets truncated and as a result I can't see the whole text of a request.
What causes that and how can I fox it pls?
Thank you, i am not familiar with profiler.

View 3 Replies View Related

Log's / Profiler / Whatever

Nov 22, 2006

Hi hi, We had a sql express version running fine untill recently.
Now it seems cause high processor use, high memory load, etc.
So the websites being dependant on SQL start performing slower.

Is there some way to monitor what is causing this.
I can't seem to read any log files, there is no profiler in express, etc. So what options do I have?

View 2 Replies View Related

Profiler

Feb 8, 2007

im trying to use the profiler to find out which tables are still being accesses as there seems to be alot of suspected tables lying around and stored objects (sps, functions etc) can the trace profiler be used in this situation?

View 12 Replies View Related

SQL Profiler

Oct 17, 2007

When running a profiler trace for long running queries during peak usage what is a typically expected additional load the process of running it will create on that Database?


Future guru in the making.

View 4 Replies View Related

SQL Profiler

Oct 24, 2007

Hi

Can anyone tell me what is SQL profiler?its function and all.

Thanks in Advance


RKNAIR

View 4 Replies View Related

Sql Profiler

Feb 29, 2008

Dear All,
where can i found sql profiler in sql server 2005?

i'm using
Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
Vinod
Even you learn 1%, Learn it with 100% confidence.

View 3 Replies View Related

Sql Profiler

Mar 30, 2008

I want to know if user defined functions like fn_example can be traced in profiler and what event to choose to trace functions executed.
will it displays the function being executed or just the body of the fucntion?
Thnxxxxxxxx

View 1 Replies View Related

SQL Profiler

Jul 23, 2005

HiI am just started at a new position. This organization has a number ofdatabase servers with mission critical databases. However, I have twodatabase server, 1 a test server and the other a catch all db server thatcontain a hodge podge of databases. On the test server, there are 54databases while the other has 40. I am pretty confindent that not all ofthese databases are being used. My goal is to find out which ones are nolonger needed.In an attempt to find out who/what is using these databases, I have set upSQL Profiler.My SQL profile setup is as suchObjects - Objects openedSecurity Audit - Audit Login, Login Failed, LogoutSession - Existing ConnectionStored Proc - RPC Completed, SP:StmtCompleted, SP:StmtStartingTSQL - SQL Batch completed, SQL:StmtCompletedMy data columns are the standard except I added DatabaseName.And there lies my problem that I hope someone can help. As I run the trace,all other fields seems to be working except Database Name. I see everythingbut the only way to tell what database is being accessed is looking at theSPID number and comparing it with Process Info in EM or sp_who.Does anyone have any idea why this field is not working? Am I missingsomething? Or am I just giving myself a headache for nothing because thereis an easier way to find the information I want: What the heck is going onwith these database and who is doing what on them?Thanks in advance for any and all help:)Akinja

View 2 Replies View Related

How To Run Profiler From Cmd

Feb 21, 2007

Hi,We have a requirement to run profiler continuously to find out themisbehaving applications/SQL in the dataserver. And we are notinterested in running it from an individuals local machine. Also wewant the profiler to start automatically whenever there are SQL Server/Machine restarts.Is there a way to invoke the profiler instance from cmd prompt or isthere a way to script the profiler?Thanks in advance,Thyagu.

View 1 Replies View Related

Why Do We Need SQL Profiler And How To Use It ?

Mar 3, 2008

Hello friends...I want to ask that Why do we need SQL Profiler as SQL Database Developer and How to use it ?

How can I know about that ?

View 4 Replies View Related

Sql Profiler?

Oct 18, 2007

I have the following values on a sql 2000 box, are these values high?


scale 0 to 100

Page/Sec = 0 to 5
Avg. Disk Queue Length = 40 to 50
% Processor Time = 85 to 100

View 1 Replies View Related

How Do I Run SQL Profiler

Sep 12, 2007

I read in a thread that to understand better how a package is run I need to run the SQL Profiler.

How do I run the SQL Profiler?.
thanks

View 4 Replies View Related

SQL Server Profiler

Oct 16, 2006

Hi guys, I'd just like to know how to setup a new Trace in SQL Server Profiler that tells me every time the database is hit with a query. Thanks.

View 1 Replies View Related

SQL Profiler Tips?

Nov 7, 2000

What is it mean GHOST in SQL Trace column ?

Thanx in advance.

View 1 Replies View Related

Unable To Use SQL Profiler

Aug 8, 2000

I am using SQL7. On the client network utility, I am using name pipe and have 4 entries and they are in the same format (ie. server name, named pipes and ip address). I have problem to connect to some of them and getting
[microsoft][ODBC SQL Server Driver]Client unable to establish connection
and [microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen(CreateFile())
Any idea?

View 1 Replies View Related

Error With Profiler

Sep 9, 1999

I get the following error when I try to run Profiler from my client to any of our SQL Servers:
[Microsoft][ODBC SQL Server driver][SQL Server] The operation could not
be completed because your security context could not be impersonated.

Use the SQL Server client configuation application to ensure that you are
connecting using either the Named Pipes or Multiprotocol network library.

We'd like to be able to use TCP/IP for this but I've tried it with Multiprotocol also and still get the same error message.

I would appreciate any suggestions for resolving this.

Thanks.
Jane

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved