Session Browser In SQL Server

Jan 30, 2008

Hey,

Does SQL Server have a session browser similar to Oracle and if so, how can I use it? I am looking to retrieve the SQL being ran when users are running particular reports from a gui tool.

Thanks

View 1 Replies


ADVERTISEMENT

SQL Server Session State - Using A 1.1 Database Schema For 2.0 Session State Storage

Aug 3, 2006

The 2.0 version of ASPSTATE is slightly different than the 1.1 version in that one table has one additional column and another table uses a different data type and size for the key. The 2.0 version also has a couple additional stored procedures.

We'd like to manage just one session state database if possible so we're trying to figure out if Microsoft supports using the new schema for 1.1 session state access (it seems to work, but our testing has been very light).

Is there any official support line on this? If not, can anyone comment on whether or not you'd expect it to work and why?

Thanks.

View 1 Replies View Related

SQL Server Browser

Apr 29, 2008

Hello there,
We have a Windows Server 2003 where SQL Server 2005 is installed. The problem is that SQL Server browser cannot be started. When I try to connect to any instance of SQL Server, the connection fails. I have to try to start SQL Server browser and try to connect again to the particular instance of SQL Server after each attempt to start the browser. I succeed after several such attempts to connect, but SQL Server browser will still not start.
Can anyone tell me what can be wrong with SQL Server browser?
Thanks in advance
Hemant

View 6 Replies View Related

Cannot Start Server Browser

Nov 5, 2008

I installed SQL Server 2008 Express lastnight, and the server is running but I am unable to get Server Broswer, or Server Agent to start, when either is tried I get the following error:WMI Provider error.The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

View 5 Replies View Related

Cannot Start SQL Server Browser

Feb 12, 2007

Hello,

I use SQL Server 2005 for multi-user access. In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service. Then I went to SQL Server Browser, stopped it and clicked on Start to restart. I am getting a message "An error occurred while performing this operation". I am not able to get the Browser started.

Any help would be greatly appreciated.

View 24 Replies View Related

Browser-Based Access To SQL Server

Jan 8, 2001

Users,

I am in a need of finding a browser based product that lets my users access SQL Server 7.0 through IE. Does anyone have any recommendations?

Thanks

Pete

View 1 Replies View Related

SQL Server 2008 :: Browser Could Not Be Started

Mar 2, 2015

SQL Browser could not be started. Reason: SQL Browser could not be started. Reason:Service 'SQLBROWSER' start request failed.

SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Starting the SQL Server Browser service 'SQLBrowser', and waiting for up to '900' seconds for the process to complete.

View 1 Replies View Related

SQL Server Browser Wont Start

Oct 10, 2007

Hi,

I was trying to start the SQL Server Browser service but to no avail. I got the error message from WMI Provider Error and the following is the description of it

"The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. [0x80070422]"

By the way, this is for SQL Server 2005 Express Edition running on XP Pro.

Wondering if anyone might be able to help me out.

Thank you in advance

View 4 Replies View Related

Can't See The SQL Server Express Instance On SQL Browser

Feb 8, 2007

Hi All,

I am using SQL Server Express to connect to the network using VPN on a local machine. I have done the following..

a.) Enabled the remote connections for the Express Instance and rebooted the machine.

b.) Connected to the machine with Express Edition locally and can also connect other SQL Server instances from it to verify connectivity.

c.) Yes, SQL Browser Service is running.

d.) Firewall is not turned on, so I do not have to configure any exceptions.

Now here is the big problem: When I browse for SQL Servers on the network the machine does not show up on the list, i.e "macinenameSQLExpress". I had uninstalled and reinstalled the Express edition and rebooted the machine several times with no luck on the SQL Express Instance showing up on the browser list. I even changed the default instance name to "machinenameMACHINE1" on one of the reinstalls. However, I can connect to other SQL Instances from it. But, I cannot connect to it from other machines since its not registered on the network. I have been working on this for the past few days by looking for a solution via this and other forumns. Is there some setting somewhere that I am missing that prevents this instance from not showing up on the browser list. This issue with SQL Express Edition is baffling as well as frustrating and any ideas that can resolve this issue is very much appreciated.

View 15 Replies View Related

SQL Server 2008 :: Browser Missing In Configuration

Apr 28, 2015

This is SQL Server 2008R2. On the SQL Server Configuration I'm unable to see SQL Server Browser. But when I check the services I can see the SQL Browser running.

Under SQL Server Configuration Manager > SQL Server Services

1. Full text
2. SQL Server (Default)
3. SQL Agent (Default)

But I'm unable to see the SQL Browser services here. What is the remedy?

View 5 Replies View Related

SQL Server Browser Service - Account Priviliges

Sep 6, 2007

I read an MSDN article that states the following.

SQL Server Browser listens on a UDP port and accepts unauthenticated requests using SQL Server Resolution Protocol (SSRP). SQL Server Browser should be run in the security context of a low-privileged user to minimize exposure to a malicious attack. By default, SQL Server Browser starts using the Local System account. The logon account can be changed by using the Windows Services program. The minimum user rights for SQL Server Browser are as follows:

* Deny access to this computer from the network.
* Deny logon locally.
* Deny logon as a batch job.
* Deny logon through Terminal Services.
* Log on as a service.
* Read and write the SQL Server registry keys related to network communication (ports and pipes).

In our case the SQL Server Browser service is running under the same Windows account as our other SQL Server services. Do you recommend creating a separate Windows account for the SQL Server Browser service as described above?

Can you help me understand how an attack can occur?

Thanks, Dave

View 1 Replies View Related

Storing Session In SQL Server

Oct 4, 2004

I have some C# code that iterates through the session state, serializes each object and stores the binary representation in an SQL table with an 'image' column. The problem is: it doesn't work. SQL server doesn't throw an error (at least ADO.NET doesnt propagate it); the table is just left unchanged. The SP works (I tested it with a few simple values); the MemoryStream and byte array are being populated correctly and bound to the parameter correctly.

What am I doing wrong? Anyone have a better approach? I know there is a builtin way of storing state in an SQL server, but I only need to do this once--namely, when a user is redirected from non-secure to secure pages--so I don't want to take that performance hit,


string uid = _session.SessionID;
object toSerialize;
BinaryFormatter formatter = new BinaryFormatter();
MemoryStream stream;

SqlConnection dbConn = SupportClasses.SqlUtilities.DBConn();
SqlCommand cmd;
SqlTransaction storeSession = null;
SqlParameter uidParam, keyParam, objParam;
try
{
dbConn.Open();
storeSession = dbConn.BeginTransaction();
foreach (string key in _session.Keys)
{
toSerialize = _session[ key ];
stream = new MemoryStream();
formatter.Serialize(stream, toSerialize);

cmd = new SqlCommand("store_session_object", dbConn, storeSession);
cmd.CommandType = CommandType.StoredProcedure;
uidParam = new SqlParameter("@uid", SqlDbType.VarChar);
uidParam.Value = uid;
cmd.Parameters.Add(uidParam);
keyParam = new SqlParameter("@object_key", SqlDbType.VarChar);
keyParam.Value = key;
cmd.Parameters.Add(keyParam);
objParam = new SqlParameter("@data", SqlDbType.Image);
objParam.Value = stream.ToArray();
cmd.Parameters.Add(objParam);

cmd.ExecuteNonQuery();
}
}
catch (SqlException ex)
{
SupportClasses.ErrorHandler.HandleSQLError(ex);
storeSession.Rollback();
}
catch (System.Runtime.Serialization.SerializationException exs)
{
// do something
}
finally
{
dbConn.Close();
}


For those interested, here is the code for the SP:

CREATE PROCEDURE store_session_object
@uid varchar(50),
@object_key varchar(25),
@data image
AS
INSERT INTO session_hold (uid, object_key, object)
VALUES (@uid, @object_key, @data)


[Cross-posted because issue spans several topics.]

View 2 Replies View Related

Sql Server Mail Session

Jan 18, 2002

when i start mail session
there is a message poping up as
"Error 17952:Faild to Start SQl Mail Session"

When i test From Sql Mail Configuration
i get a message "succesfully Started(and stopped)a MAPI session with this profile"

& still i cannot start the sql mail service"
i still get a error

what could case for this error

View 1 Replies View Related

How To Launch SQL Server 2005 ReportViewer In A New Browser Window.

Dec 26, 2006

Hi all,

I am trying to launch ReportViewer in a new browser window, using the attribute: target='_blank'.

Can someone tell me how?

Here is the complete URL for the report .

http://SServer1/ReportServer?/Primary Members/Detail Report&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=false&UserName=sobo1

View 2 Replies View Related

Accessing Remote SQL Server Management Console From The Web Browser?

Apr 7, 2006

How does one access a remote SQL Server from the web browser?

Thanks,

-Conrad



View 1 Replies View Related

SQL Express Browser Response To 2000 SQL Server Service

Dec 14, 2007



Please assist, the issue with SQL 2005 Browser and SQL 2000 Server Service is understood.

Our problem is with networked 2000 instances and SQL Express. The SQL 2000 machines (Standard & MSDE) do not have SQL 2005 or Express installed only 2000. When a SQL Express computer is put on the network with the SQL Browser service running almost all SQL 2000 machines lose sight of the other SQL 2000 instances. The second the
SQL Browser is turned off on the SQL Express box the SQL 2000 machines can see each others instances.
It appears that the response from the SQL Express SQL Browser causes the SQL 2000 machine to stop listening for responses. Once in a while one of the SQL 2000 instances will show up with the SQL Browser active on the network and it is my belief that it is because that response made it in before the SQL browser response. Please help as this does not appear to be a recognized issue. I'm assuming there aren't many sites running as many named instances on individual machines like we do.

Please note this appears to be a problem with SQL Express Browser not SQL 2005 Standard's which runs without problems on our network.

THANK YOU!

View 1 Replies View Related

SQL Server Agent Can't Create A New Session

Jun 7, 2007

I'm not sure what happened, but all of a sudden my SQL Server Agent service won't start. When I try to start it, I get the following error in the event logs:



"SQLServerAgent could not be started. Error creating a new session".



When I look in the Agent log file, i see the following:



Execute permission denied on object sp_sqlagent_has_server_access

Execute permission denied on object sp_sqlagent_get_startup_info

Insert permission denied on object syssession



What happened?



Thanks...

View 1 Replies View Related

SQL Server 2014 :: Relation Between Login And Session?

Oct 19, 2015

how can I determine the relation between MS SQL Server user (SQL login ) and his session , when it connect to SQL Server

View 1 Replies View Related

SQL Server Express 2005 Warning Message In Event Log From SQL Browser Service

May 1, 2007

Hello,

I have been trying to drill down to the cause for this event log message:
"The configuration of the AdminConnectionTCP protocol in the SQL instance
SQLEXPRESS is not valid."
It is reported from the SQLBrowser service as a warning when the service
starts. I have tried starting SQLBrowser.exe with -c flag, but the output reveals no
errors. I have seen this error on three computers. Two are running SQL 2000, 2005
and Express. One was only running Express, but still this message.
I then looked into the log for the SQL Express server itself. It shows this
message on startup:
"Dedicated administrator connection support was not started because it is
not available on this edition of SQL Server. This is an informational message
only. No user action is required."
Now, it appears to me that these two messages may relate to the same
"error" (or rather behaviour by design). So, can anyone confirm that the
warning in the event log from the SQL Browser service occurs becuase of that
the SQL Express edition doesn't allow any "AdminConnection", but the SQL
Browser service isn't aware of that SQL Express edition shouldn't support that, and
reports it as a warning (implying that we can't do much about this warning)?

Thanks for any input on this issue!

View 5 Replies View Related

Reporting Services :: Connect To Report Server From Client Through Internet Browser

Jun 11, 2015

after installing SQL Server 2008 R2 and the Reporting Services, I've managed to access the Report Manager URL....Reports through the web browser on the machine itself. But if i am trying to connect to on my client browser it does not find the Report Server.Do I need to configure the server in any way? Do I need to configure the firewall?

View 2 Replies View Related

SQL Server 2005 SP2 -- Error With ASP.Net Session State Using TempDB

Mar 14, 2007

I have an ASP.Net (C# 2.0) application that has been using SQL Server 2005 Standard Edition with Service Pack 1 to hold the session state in a testing environment.  Currently, the session state is being stored in TempDB, rather than the ASPState database.  This has worked very well for us until yesterday.  We installed SQL Server 2005 Service Pack 2, as well as the Critical Update for Service Pack 2 (KB933508).  Once the SQL server was rebooted, I got the following error message when I tried to access the web application.
The SELECT permission was denied on the object 'ASPStateTempApplications', database 'tempdb', schema 'dbo'.The SELECT permission was denied on the object 'ASPStateTempApplications', database 'tempdb', schema 'dbo'.The INSERT permission was denied on the object 'ASPStateTempApplications', database 'tempdb', schema 'dbo'. 
In the web.config file for the application, I have a SQL username and password defined that can access the ASPState database.  To correct this issue, I had to give this user db_datareader and db_datawriter access to tempDB.
 
Has anyone else run across this problem, and is it related to SQL Server 2005 Service Pack 2?

View 1 Replies View Related

Problems Storing Session State In SQL Server Database

Jul 26, 2004

I am contemplating storing session state data in a SQL server database (created by running the installSqlState.sql script included in the .NET framework installation) and have established a functioning connection to the database but I am constantly getting "access denied". I've found that tweeking the permission settings in SQL for the ASP.NET user is resolving each specific error that arises but was wondering if there is a more "global" resolution? I'm finding myself having to manually check off each individual object and every option or is this what is needed to resolve the "access denied" error?

Thank you.

View 1 Replies View Related

Kill A Session After An Idle Duration In SQL Server 2005

Feb 21, 2008

Hi all;

I want to implement "Auto disconnection" (or kill) of user session that exceed a specified idle duration in SQL Server 2005.

I know how do that in oracle by creating a profile and set the IDLE_TIME paramter and asign that profile to all users. But in SQL Server i don't know how to do it.

Can anyone help me.



Kindly

View 2 Replies View Related

SQL Server Agent &> General Tab &> Mail Session Is Greyed Out ??

Feb 22, 2004

Hi All,

Great forum y'all have going here.

Just wondering if anyone else has experienced this?

Enterprise Manager:
I have setup and 'sucessfully tested a MAPI session' with a mail profile via support services > sql mail. That works fine, however in sql server agent properties the mail session section on the first general tab appears to be greyed out.

scenario is:
Windows Server 2003 SBS edition
SQL Server 2000 SP3
Exchange Server 2003 is also running on the server, with Outlook 2003 client (so i suspect side chaining issue).

Any help appreciated! did not have any luck googling or using microsoft KB.

View 12 Replies View Related

SQL Server 2012 :: Right Way To Query Extended Events Session?

Jun 4, 2015

I use this code in a utility procedure (for performance testing) but it is really slow.

For example, a session with three events is taking 5 seconds to complete this query:

DECLARE @xml xml=
(
SELECT CAST(xet.target_data AS xml)
FROM sys.dm_xe_session_targets AS xet
JOIN sys.dm_xe_sessions AS xe
ON (xe.address = xet.event_session_address)
WHERE xe.name = @name
);

with data as

(
select
convert(varchar(128),convert(varbinary(128),'0x'+n.value('(action[@name="context_info"]/value/text())[1]','varchar(128)'),1)) context
, n.value('(data[@name="duration"]/value/text())[1]','int')/1000.0 duration
, n.value('(data[@name="cpu_time"]/value/text())[1]','bigint')/1000.0 cpu_time
, n.value('(data[@name="physical_reads"]/value/text())[1]','bigint') physical_reads

[code].....

So, I was wondering (considering the buffer is usually only holding a few hundred events)

1. Is this the wrong way to query data from a ring buffer?

2. Is there any way to make this code quicker?

3. Is it better to target a file store rather than a ring buffer for this?

select geometry::STGeomFromWKB(0x0106000000020000000103000000010000000B0000001000000000000840000000000000003D
D8CCCCCCCCCC0840000000000000003DD8CCCCCCCCCC08408014AE47E17AFC3F040000000000104000

[Code] .....

View 6 Replies View Related

DB Engine :: Cannot Stop Extended Event Session On Server

Jan 25, 2012

I have two extended events sessions running on a server. I do have sql jobs that automatically stop the XE sessions and import the results to working tables. I see two "ALTER EVENT SESSION XXXX ON SERVER STATE = STOP" statements that are being executed for more than 2 days, the wait types are XE_SERVICES_MUTEX and PREEMPTIVE_XE_SESSIONCOMMIT. This is not the first time I see this behavior.I do not want to kill the sessions (I guess the sessions won't die anyway) neither restart the sql service

View 7 Replies View Related

Vista Browser Error On Http://localhost/Reports - The Report Server Is Not Responding. Verify That The Report Server...

Apr 11, 2007

Hi -

I got through the installation hoops for SQLEXPRESS Reporting Services in Vista and set up the default configurations in Report Services Configuration. I can explore the default directory for "Reports" in IIS7, but I can't browse in IE. I get the "The report server is not responding. verify that the report server..." message in the browser. This is after I migrated the app per the initial http 500 error using the preferred method - %systemroot%system32inetservAPPCMD.exe migrate config "Default Web Site/Reports".

I'm running Vista Ultimate, VS2005, SQLEXPRESS SP2. I've tried running IE as admin and also I've disabled UAC from gpedit.msc - ...Windows SettingsSecurity SettingsLocal PolicySecurity Options and unchecking UAC.



Thanks,

Mike

View 13 Replies View Related

SQL Server Admin 2014 :: Required Permissions To Enable Mirroring Session

Oct 29, 2015

I have a Windows NT group that is used to delegate certain database responsibilities to other members of staff and I am trying to grant permissions for the members of the group to be be able to establish database mirroring sessions, as in run the following:

ALTER DATABASE <database>
SET PARTNER = 'tcp://principal_server.domain.com:port';

Although the group has db_owner role membership to the user database which grants the ALTER permission on the database, the following is being generated in the error log when they get to this step on the intended Mirror instance after restoring the database correctly in preperation:

SqlDumpExceptionHandler: Process 59 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
* *******************************************************************************
*
* BEGIN STACK DUMP:
* 10/29/15 11:16:15 spid 59
*
*
* Exception Address = 00007FF9A6AF838C Module(sqlmin+000000000003838C)
* Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
* Access Violation occurred reading address 00000000000000D8
* Input Buffer 210 bytes -
* alter database <redacted> set partner = '<redacted>';

As you can see, the statement is denied to the user. There are no issues with the database as I am able to run the same query successfully using my own sysadmin account after the failed attempt. What other minimum permissions the group might need to successfully enable them to setup a mirroring session?

View 9 Replies View Related

SQL Security :: How To Create A Low Privilege User And Role For Server Session State

May 26, 2015

An old website I inherited uses sa to connect to SQL SessionState and had the details in the web.config. This is bad for security.The session state database is of -sstype "t" which is defined as:Temporary. Session state data is stored in the SQL Server tempdb database. Stored procedures for managing session state are installed in the SQL Server ASPState database. Data is not persisted if you restart SQL. This is the default.What kind of WIndows user, SQL Login, role and permissions do I need to create to make Session State secure? (Windows Server 2012 and SQL Server 2012 mixed mode authentication, Webfarm).

View 4 Replies View Related

Linked Server Exec Stored Procdure Results In Transaction Context In Use By Another Session.

Nov 3, 2005

I am using sql 2005 beta

View 23 Replies View Related

Updating A Single Column On A Table SQL Server 2005 (45 Records), The Session Hangs...

May 12, 2007

Hello, I am pretty new with SQL Server 2005.

I have installed SQL Server Express Edition. I have migrated a set of tables from Oracl10g (by using Microsoft's Migration Tool Kit).While I am trying the following simple update command, the session hangs and it never finishes !!!!!!!!!!!!

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

select pos_key from pos_station where staff_key = 1105

POS_KEY
=======
NULL


update pos_station set pos_key = 1 where staff_key = 1105

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

The table has a few constraints and a couple of indices in place.

Then I create another table (but no contraints or indices), just copy the data from the problematic one and the update WORKS (in msecs) :



update pos_station_new set pos_key = 1 where staff_key = 1105

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Is there any way to tell if the table (any table in SQL Server) is corrupted or not ?

How can I tell if a session is waiting for something and what is that something ?

Thank you very much for your help.

Tom

View 7 Replies View Related

How To Increase A Session Timeout For Report Creation Uing SQL Server 2005 Reporting Services.

Dec 31, 2007



Hi,
Does any know how to increase a session timeout for Report Creation uing SQL Server 2005 Reporting Services. Iam trying to export a report (to a .pdf) using SQL 05 reporting services. However, it seems that the the query is timing out coz of session-time out. Can anyone tell me how to increase this value ?


Thanks
Nik

View 11 Replies View Related

SQL Server Admin 2014 :: AlwaysOn Failover Cluster Session Failover

Oct 29, 2015

1. Once fail over to secondary replica, what will happen to connected session in primary node? can the session fail over to secondary seamlessly or need to re-login. what happen committed transactions which has not write to disk.
2. Assume I have always on cluster with three nodes, if primary fails, how second node make write/ read mode.
3. after fail over done to 2nd secondary node what mode in production(readonly or read write).
4. how to rollback to production primary ,will change data in secondary will get updated in primary.

View 5 Replies View Related







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