﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server Security Skills / Testing Center </title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 01:22:25 GMT</lastBuildDate><ttl>20</ttl><item><title>How can I unencrypted a stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic396563-119-1.aspx</link><description>I got few stored procedures With Encryption for the database that I converted to SQL Server 2000.   I need to access those stored procedures.   How can I un-encrypted them?</description><pubDate>Wed, 05 Sep 2007 10:21:00 GMT</pubDate><dc:creator>Mai Nguyen-460836</dc:creator></item><item><title>Trigger Not Executing</title><link>http://www.sqlservercentral.com/Forums/Topic1319788-119-1.aspx</link><description>Hi           In My Organization we are planned to imlement a role based security.I created a one role . Role name is called  "Developer".Under this role i created two users.I use follwing Statement.Step 1 : Create the Role    CREATE ROLE [Evaluationrole]Step 2: GRANT insert to Evaluationrole GRANT update to Evaluationrole GRANT delete to EvaluationroleStep 3: Grant create stored Procedure to EvaluationroleGRANT EXECUTE   TO EvaluationroleGRANT VIEW DEFINITION   TO EvaluationroleStep 4: USE [master]   GOCREATE LOGIN [dvsuser] WITH PASSWORD=N'dvsuser', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFFGOStep 5 : CREATE USER [dvsuser] FOR LOGIN [dvsuser] EXEC sp_addrolemember N'Evaluationrole', N'dvsuser'Here in this user Create stored Procedure and execute the stored procedure every thisk working file. but I am facing Problem in Trigger. For Example Any table I am having "Delete" trigger means, that time  that table records not allow to delete the records. I am facing follwing Error      The user does not have permission to perform this action.  Please  Give me a solution . I want this user execute the trigger also.Thank You...</description><pubDate>Fri, 22 Jun 2012 01:04:14 GMT</pubDate><dc:creator>vs.satheesh</dc:creator></item><item><title>Where is the test?</title><link>http://www.sqlservercentral.com/Forums/Topic1314746-119-1.aspx</link><description>The description of this section reads: "Discuss the SQL Server Security Skills test at http://www.sqlservercentral.com/testcenter"But there is nothing at that URL.</description><pubDate>Tue, 12 Jun 2012 14:49:49 GMT</pubDate><dc:creator>dan-572483</dc:creator></item><item><title>oracle views</title><link>http://www.sqlservercentral.com/Forums/Topic1311748-119-1.aspx</link><description>i haven't answers</description><pubDate>Wed, 06 Jun 2012 05:05:58 GMT</pubDate><dc:creator>alpeshchauhan</dc:creator></item><item><title>SQL server free ebook.</title><link>http://www.sqlservercentral.com/Forums/Topic1122099-119-1.aspx</link><description>Can anyone give me a free ebook on SQL server? If possible then please give me a link from where I can download the ebook.Thanks for replies...........:-)</description><pubDate>Wed, 08 Jun 2011 14:21:20 GMT</pubDate><dc:creator>youth.development.pleasanton</dc:creator></item><item><title>Sql 2005 express security</title><link>http://www.sqlservercentral.com/Forums/Topic939970-119-1.aspx</link><description>Hi, could somebody explain to me step by step how to attach these databases, I am going crazy.I am running Win 7, I downloaded the files but when I try to attach them I get  error message 5 and 5123.It has to do with the new security which I cannot understand. If I take ownership of the Sql server, the Adventure works files and everything else involved I should be able to do it. No way, why the hell do they make it so difficult, at least they could have a good tutorial about it or are we supposed to become all scientist to run a stupid database.Thank you</description><pubDate>Sat, 19 Jun 2010 10:04:01 GMT</pubDate><dc:creator>leoninicarlo</dc:creator></item><item><title>sum all records over 35 weeks Stored procedure or SSRS</title><link>http://www.sqlservercentral.com/Forums/Topic804173-119-1.aspx</link><description>Dear All,I have stored procedure which shows records by week numbers and amongst everything else. When i place it in ssrs i display this in a chart by week number and patient volumes.However i i would like to display the chart upto 35 weeks and anything above sum all the records? is that doable in ssrs or do i need to state that in my stored procedure?regardsFarouq</description><pubDate>Fri, 16 Oct 2009 07:48:38 GMT</pubDate><dc:creator>jbon007</dc:creator></item><item><title>Client server connectivity</title><link>http://www.sqlservercentral.com/Forums/Topic785774-119-1.aspx</link><description>have a client server application. Server password is changed every week. what are the different options to provide the new password to the client to connect to the server. please note that there ar multiple clients. Each client may or may not connect to the server every day.</description><pubDate>Thu, 10 Sep 2009 09:12:11 GMT</pubDate><dc:creator>SQL Kid-1137444</dc:creator></item><item><title>timout elapsed error</title><link>http://www.sqlservercentral.com/Forums/Topic761319-119-1.aspx</link><description>Respected allWe are facing problem while fetching query to sql 2000 database from web application.ERROR:"The timeout period elapsed prior to obtaining a connection from the pool.this may have occured because all pooled connections were in use and max pool size was reached"Please provide solution.vrijesh</description><pubDate>Wed, 29 Jul 2009 01:54:14 GMT</pubDate><dc:creator>vrijesh prajapati</dc:creator></item><item><title>SA Lockout Err 15405 Cannot use special principal SA</title><link>http://www.sqlservercentral.com/Forums/Topic320530-119-1.aspx</link><description>&lt;SPAN&gt;Using sql Server 2005 &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT size=3&gt;Everything was working fine, then I got up one morning and everything was haywire.&lt;SPAN&gt;  &lt;/SPAN&gt;I am working on a web site and when I try to login in I get the error message &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;I&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;Login failed for user 'SA' because the account is currently locked out&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;I went to my SQL Server and was able to log in using my windows authentication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;1.&lt;SPAN&gt;  &lt;/SPAN&gt;My Server is set up for Sql Server and Windows Authentication mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;2.&lt;SPAN&gt;  &lt;/SPAN&gt;Most of the database permissions for sa were gone.&lt;SPAN&gt;  &lt;/SPAN&gt;When I tried to adder use SA to any database role I got the error message Cannot use the special Principal SA (Sql Server Error message 15405)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;3.&lt;SPAN&gt;  &lt;/SPAN&gt;I logged on to the server as SA and got the same results listed above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;4.&lt;SPAN&gt;  &lt;/SPAN&gt;I don’t have a problem any other Sql Server logins permissions in my database – it only seems to be a problem with SA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;5.&lt;SPAN&gt;  &lt;/SPAN&gt;I have tried shutting down the server (Sql Server) and restarting it, but that didn’t fix the problem. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;As I said before, this all seemed to &lt;SPAN&gt; &lt;/SPAN&gt;have happened overnight.&lt;SPAN&gt;  &lt;/SPAN&gt;I am the only one using this server right now so I can’t figure out how these changes happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;I am using the evaluation copy of Windows Server for Small business Server, Build 3790 with SP1.&lt;SPAN&gt;  &lt;/SPAN&gt;I have only been using it for 3 weeks so I am a long way from the end of the evaluation period, so I don’t think that is the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;Do you have an explanation or solution for this problem?&lt;SPAN&gt;  &lt;/SPAN&gt;Any feedback would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Sat, 04 Nov 2006 20:27:00 GMT</pubDate><dc:creator>E McNeill</dc:creator></item><item><title>restricted user error</title><link>http://www.sqlservercentral.com/Forums/Topic746022-119-1.aspx</link><description>i have installed sql server 2005 personal on win xp sp2 local system as admin user and want 2 use sql server for restricted user , but it is giving an error sql query analyser unable to connect to serverserver: msg 18456, level 16, state 1 login failed for user   please help</description><pubDate>Thu, 02 Jul 2009 00:59:48 GMT</pubDate><dc:creator>pramodsalgaonkar</dc:creator></item><item><title>Error 15405: Cannot use the reserved user or role name 'sa'</title><link>http://www.sqlservercentral.com/Forums/Topic581674-119-1.aspx</link><description>Error 15405: Cannot use the reserved user or role name 'sa'</description><pubDate>Tue, 07 Oct 2008 05:08:29 GMT</pubDate><dc:creator>priyadevs</dc:creator></item><item><title>What Is the Purpose of WITH ENCRYPTION?</title><link>http://www.sqlservercentral.com/Forums/Topic517905-119-1.aspx</link><description>Can someone please help me understand the usefulness of encrypting a stored procedure?</description><pubDate>Mon, 16 Jun 2008 15:04:24 GMT</pubDate><dc:creator>slayrexx</dc:creator></item><item><title>Windows AD Business Objects Single Sign on with passthru to SQL Server 2005 - How to Config</title><link>http://www.sqlservercentral.com/Forums/Topic495838-119-1.aspx</link><description>If anyone has good links to a 'How to' that would be great.What I want to do is use Windows AD userid, password to enable Business Objects Webi / Crystal Reports access to SQL Server 2005 databases.  Ideally without managing a BOE / CMS table list.thx,Mark</description><pubDate>Tue, 06 May 2008 11:52:24 GMT</pubDate><dc:creator>mphillips</dc:creator></item><item><title>I can´t log on to epo orchestrator</title><link>http://www.sqlservercentral.com/Forums/Topic484061-119-1.aspx</link><description>Yesterday the administrator just change the password for the main sesion at the server and now I can´t log on the console.  The password ist attached to the console. please answer me. Thanks</description><pubDate>Sat, 12 Apr 2008 07:19:30 GMT</pubDate><dc:creator>nadia_nilsson</dc:creator></item><item><title>Run as user in SQL 2000 errors in 2005.</title><link>http://www.sqlservercentral.com/Forums/Topic456347-119-1.aspx</link><description>Hi,We are a software house that produces a product based on SQL server.  We use a strong encryption for stored procs, functions, triggers and the like so our code can't changed or viewed.All procs are run as one user (from a website).  This user has very limited permisions (eg, not able to get outside of the database and certainly not able to run xp_cmdShell).Inside several of these procs we have the following to change the user to one that is able to do more, and does have permission to run xp_cmdShell.exec OPENDATASOURCE('SQLOLEDB', 'User ID=Dave;Password=Dave').master.dbo.xp_cmdShell @cmdAs the proc is encrypted, and you are not able to view the password we believe this to be a secure way of controling permisions without limiting what the application does.This has been working fine in SQL 2000 for the last 6 years, this code does not work under SQL 2005 but only in triggers.  We get the dreaded "Transaction Context in use by another session".We can't use 2005 specific features as 99% of our customers are running on 2000.Any ideas on this problem?Thanks,Ian.</description><pubDate>Fri, 15 Feb 2008 08:59:25 GMT</pubDate><dc:creator>sgtwilko</dc:creator></item><item><title>Client string data altered - SQL 2000</title><link>http://www.sqlservercentral.com/Forums/Topic441494-119-1.aspx</link><description>Note to moderators: please move this post to appropriate category if this category was intended only for the Security Skills Exam discussions.2nd Edit: Okay, back to original claim. Further testing in php to develop a workaround indicates the problem is not with the php parser as the string is not being altered until after being passed to the db client or the interface to the db client. Edit: I just realized the problem might be related to the php parser considering 'backslash newline' as a line continuation sequence and removes it before calling the sql client. And, I just proved it. Odd that it would remove 'backslash newline' from the middle of a string, but it seems that it does. In php, this query, "insert unittest (teststring) values ('e\\\\\x0a\x0ae')" results in 'e\&amp;#143;e', which is what I wanted. By adding an extra back slash before and new line after, the parser removes the inner set but leaves the outer set alone (thankfully). I am going to leave this post for the next person with simular problem. (note: the result string that I claim is what I want has a square box to indicate the new line character, but in order to show it in this post, I substituted a non-printable UTF-8 html escape sequence character.)Original Post:I have been security testing sql injection attack vectors from php application. Most articles note that single quote has to be escaped as two single quotes to prevent early termination of the input string, AND validate any other potentially dangerous character sequences -- but fail to mention what those 'potentially dangerous character sequences' (aka PDCS) are.I set up a unit test in php to brute force all character permutations to identify PDCS. I found odd behavior with dblib and ADO clients altering my test strings. It appears that the client libraries will respond to the backslash character as an escape character introducer, but only before the characters (found so far), 0x0a (LF), 0x0d (CR), 0x10 (DLE), and 0x3d (=).The test strings are 4 character permutations that range from 0-255. I've tested SQL2000 to insure varchar will correctly insert and select these strings without altering them. I use the default collation SQL_Latin1_General_CP1_CI_AS.In Query Analyzer the following TSQL inserts the string without error or alteration:schema: create table unittest (utID int IDENTITY, teststring varchar(10))declare @s varchar(10)set @s = 'e\'+char(10)+'e'insert unittest (teststring) values (@s)When using a client, the backslash and LF are stripped out of the string and only 'ee' is stored. I can store 'e\e' and 'e'+char(10)+'e' without error, but not 'e\'+char(10)+'e'.I set up DB-Library Options in the Client Network Utility with 'Automatic ANSI to OEM conversion' unchecked to avoid the client from altering some characters from 128-255.I've tried escaping the escape introducer (backslash) without success.I've also searched the internet for the last two weeks for any hint of what is occurring here and how to disable or hack around it. Got nothing.Any help or insight here will be much appreciated.</description><pubDate>Thu, 10 Jan 2008 14:58:31 GMT</pubDate><dc:creator>steve1011</dc:creator></item><item><title>Problem adding the securityadmin role to the sa account (2005)</title><link>http://www.sqlservercentral.com/Forums/Topic389203-119-1.aspx</link><description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I'm trying to add the securityadmin server role to the sa user but have been unable to due to an error occuring. The error says "Add member failed for server role 'securityadmin'. Cannot use the special principal 'sa' Microsoft SQL Server error 15405."&lt;/P&gt;&lt;P&gt;I assumed that the sa account would already have the required permission to perform most operations on the server but I have been asked to try assiging this server role to sa by a support guy for our third party product.&lt;/P&gt;&lt;P&gt;Has anyone got any ideas why this error is occuring? I have been looking on loads of forums but cannot find anything relevant to me.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;</description><pubDate>Thu, 09 Aug 2007 03:54:00 GMT</pubDate><dc:creator>Chris-475469</dc:creator></item><item><title>audit DML activities</title><link>http://www.sqlservercentral.com/Forums/Topic379796-119-1.aspx</link><description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to sql server. I would like help from you gurus out their. I wanted to audit the activites (DML) on my database. I wanted the audit to achive the following&lt;/P&gt;&lt;P&gt;1] Audit specific tables for the DML activities.&lt;/P&gt;&lt;P&gt;2] capture the details of the username, time and system from which this query executed.&lt;/P&gt;&lt;P&gt;3] Can i get the changed and the previous values.&lt;/P&gt;&lt;P&gt;4] I don't want to use the triggers.&lt;/P&gt;&lt;P&gt;I did read in some articles this is achivable with the help of SQL-profiler and osql but don't know the exact steps. Could some one provideme with the step by step guide to get this done?&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;Rahul.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Sun, 08 Jul 2007 08:41:00 GMT</pubDate><dc:creator>rahul rathi</dc:creator></item><item><title>Can someone help in preparing SOX security document for MS-SQL server production databases</title><link>http://www.sqlservercentral.com/Forums/Topic379347-119-1.aspx</link><description>Hi iam anil, in process of preparing SOX security document for MS-SQL server which includes all the contents which are helpful for production database to be more consistent and can have track of all the changes done on it. I am looking for a document which can provide information that we are doing and to be done. Please send any checklist or some handy which can help the same. anil kumaranil.1004@gmail.com</description><pubDate>Thu, 05 Jul 2007 12:57:00 GMT</pubDate><dc:creator>Lina G</dc:creator></item><item><title>Call Procedure in Visual Basic</title><link>http://www.sqlservercentral.com/Forums/Topic367795-119-1.aspx</link><description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;i swear someone can help me here&lt;/P&gt;&lt;P&gt;i'm trying to call stored procedure......here is my code&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Connect to the data source using the Open&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' method of an ADODB.Connection object..&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; con &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; ADODB.Connection&lt;/P&gt;&lt;P&gt;con.Open(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"provider = .NET Framework Data Provider for SQL Server"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;con.string = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"productid.mdf;Initial Catalog=Product;Integrated Security=True;Pooling=False;uid=uid;pwd=pwd "&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Create an ADODB.Command object that uses the&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' connection object "con", and calls the stored&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' procedure named "proc1"..&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; cmd &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; ADODB.Command&lt;/P&gt;&lt;P&gt;cmd.ActiveConnection = con&lt;/P&gt;&lt;P&gt;cmd.CommandType = CommandType.StoredProcedure&lt;/P&gt;&lt;P&gt;cmd.CommandText = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"insertcustomer"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Call the stored procedure..&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;cmd.Execute()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Disconnect from the data source..&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;con.Close()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;and i have an error when i run it they error is &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;"Provider cannot be found. It may not be properly installed."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;anyone here have isssue how to resolve this bug&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Thanks you &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 21 May 2007 19:32:00 GMT</pubDate><dc:creator>Eric belair</dc:creator></item><item><title>User Access to sql server</title><link>http://www.sqlservercentral.com/Forums/Topic362096-119-1.aspx</link><description>&lt;FONT size=2&gt;&lt;P&gt;Is there a way to identify users within SQL Server that have not accessed a database within 30 days?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 30 Apr 2007 13:24:00 GMT</pubDate><dc:creator>Prem-321257</dc:creator></item><item><title>Trap Error</title><link>http://www.sqlservercentral.com/Forums/Topic360777-119-1.aspx</link><description>&lt;P&gt;How To trap error in SQL Server?&lt;/P&gt;&lt;P&gt;E.g :&lt;/P&gt;&lt;P&gt;While executing a procedure an error comes at first part of the procedure. So when error comes i don't want to execute first part, quit from there then second part of the procedure should be executed.&lt;/P&gt;&lt;P&gt;Normally when error comes subsequent statement will not be executed.How to handle this error.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashik Nihal M.s &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 25 Apr 2007 04:29:00 GMT</pubDate><dc:creator>ashiknihal</dc:creator></item><item><title>Create Login with Select or Execute Permission</title><link>http://www.sqlservercentral.com/Forums/Topic358616-119-1.aspx</link><description>&lt;P&gt;Hi All, I want to create login with following points&lt;/P&gt;&lt;P&gt;1) User can execute only SELECT statements from query analyser , no DML statements&lt;/P&gt;&lt;P&gt;Please help me for same. &lt;/P&gt;&lt;P&gt;Thanking you in advance. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Mon, 16 Apr 2007 08:34:00 GMT</pubDate><dc:creator>Mukesh-366255</dc:creator></item><item><title>database acess</title><link>http://www.sqlservercentral.com/Forums/Topic357723-119-1.aspx</link><description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have multiple databases created in sql2000 and my server is on a network where client machines also has their own sql server instances with databases and we all are using a standard username of "sa" and password :microsoft"&lt;/P&gt;&lt;P&gt;This allows all the users over the network to register each one's sql server on their own local machines and access all databases&lt;/P&gt;&lt;P&gt;Now I want to block certian users from accessing certain databases on my server, kindly anybody help me doing this?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 12 Apr 2007 00:44:00 GMT</pubDate><dc:creator>shailesh-425946</dc:creator></item><item><title>ePo Orchestrator problem</title><link>http://www.sqlservercentral.com/Forums/Topic355917-119-1.aspx</link><description>Hello,New member I have a problem with my ePo Orchestrator console that I just installed, when I start it by clicking "log on to server" on the Global task list menu I get the following error message:The server is not responding. Please check the following1.Logon information is correct2.The network is running correctly3.ePolicy orchestrator server is runningNow when I checked with my administrator yesterday he told me that the database was in suspect mode, and he has been busy since then.Please assist as to what could be the problem.Gesona.</description><pubDate>Wed, 04 Apr 2007 07:37:00 GMT</pubDate><dc:creator>Gesona Ngabo</dc:creator></item><item><title>Difine Network User as Cube Server not in DOMAIN</title><link>http://www.sqlservercentral.com/Forums/Topic338549-119-1.aspx</link><description>Dear AllI have OLAP Database Server and Web Server. both of server not in Domain.i have create local user in OLAP Server with role in SSAS. How to I configure User in OLAP Server Store in WebServer (user in WebServer have authority access role OLAP in OLAP Server)Thanks</description><pubDate>Sun, 21 Jan 2007 22:12:00 GMT</pubDate><dc:creator>Yudhi Hermawan-263574</dc:creator></item><item><title>SQl Server 2000 -- SSL Security Error</title><link>http://www.sqlservercentral.com/Forums/Topic337336-119-1.aspx</link><description>&lt;FONT face="Arial,Helvetica,Sans Serif" size=2&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;I got a small problem with &lt;SPAN&gt;Sql&lt;/SPAN&gt; Server 2000 which is installed on Windows XP.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;I installed it long back and it used to work fine but suddenly I got the following problem&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;when trying to open Enterprise Manger &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;/FONT&gt;&lt;STRONG&gt;Error for the SQL Server:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN&gt;&lt;STRONG&gt;A Connection could not established to (Local)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN&gt;Reason: SSL Security error Connection Open (&lt;SPAN&gt;&lt;SPAN&gt;SECDoClienthandshake&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;))…&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;”&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;Tried a couple of things but no luck&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;Hopeso  someone can help me!!!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN&gt;Lakshmi&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/FONT&gt;</description><pubDate>Tue, 16 Jan 2007 15:07:00 GMT</pubDate><dc:creator>Lakshmi-398032</dc:creator></item><item><title>2K5 data encryption across servers?</title><link>http://www.sqlservercentral.com/Forums/Topic337166-119-1.aspx</link><description>&lt;P&gt;I'm exporing SQL 2K5 encryption for a password field; I've been successful. Now, a colleague has raised the question about replicating that database to (an)other server(s). Since the key will be replicated along with the database, there should be no problem with decrypting the data on the mirrored site, right?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Tue, 16 Jan 2007 08:09:00 GMT</pubDate><dc:creator>Joseph Uher</dc:creator></item><item><title>SQL slow in Domain Control</title><link>http://www.sqlservercentral.com/Forums/Topic324065-119-1.aspx</link><description>&lt;P&gt;Hello there, I need a help. I have a computer that has windows 2003 server installed and I have 9 clients in domain control that use SQL Active Directory, an aplications in Visual Basic. The problem is that whenever they try to use it is soooooooooooo slow and if I put the server out of domain control it works fine. So I think the problemcan be some configuration. I did look a lot and try few things but the problem persist. If anyone has some idea of what I could try or what can be the problem, I would appriciate a lot.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;</description><pubDate>Sat, 18 Nov 2006 05:37:00 GMT</pubDate><dc:creator>antonia</dc:creator></item><item><title>EXECUTE permission denied on object ''sp_OACreate'', database ''master'', owner ''dbo''.</title><link>http://www.sqlservercentral.com/Forums/Topic322055-119-1.aspx</link><description>&lt;P&gt;[QUOTE=aish]I want to send email using sql stored procedure.my code is work fine in my local sqlserver account. when I use my online sql server it display this error.&lt;/P&gt;&lt;P&gt;EXECUTE permission denied on object 'sp_OACreate', database 'master', owner 'dbo'.&lt;/P&gt;&lt;P&gt;EXECUTE permission denied on object 'sp_OASetProperty', database 'master', owner 'dbo'.&lt;/P&gt;&lt;P&gt;EXECUTE permission denied on object 'sp_OAMethod', database 'master', owner 'dbo'.&lt;/P&gt;&lt;P&gt;EXECUTE permission denied on object 'sp_OADestroy', database 'master', owner 'dbo'.&lt;/P&gt;&lt;P&gt;How canI solove this problem?[/QUOTE]&lt;/P&gt;&lt;P&gt;Please let me do fastly.&lt;/P&gt;</description><pubDate>Fri, 10 Nov 2006 11:27:00 GMT</pubDate><dc:creator>manoj kumar-381893</dc:creator></item><item><title>Encryption &amp; Decryption</title><link>http://www.sqlservercentral.com/Forums/Topic319104-119-1.aspx</link><description>&lt;P&gt;Database Security, we are going to use AES 256 Symmetric Encryption. We will be using RSA for Asymmetric Key Encryption, 1024 Bits.&lt;/P&gt;&lt;P&gt;We got the code working for the seond case but for the first, WHEN:&lt;/P&gt;&lt;P&gt;CREATE SYMMETRIC KEY sym_Key WITH ALGORITHM =        AES_256 ENCRYPTION BY ASYMMETRIC KEY asym_KeyGO&lt;/P&gt;&lt;P&gt;THEN:&lt;/P&gt;&lt;P&gt;-- Msg 15314, Level 16, State 1, Line 1-- Either no algorithm has been specified or the bitlength and the algorithm specified for the key are not available in this installation of Windows.&lt;/P&gt;&lt;P&gt;What can be the way out to be able to create the AES 256 Symmetric key. &lt;/P&gt;</description><pubDate>Mon, 30 Oct 2006 11:52:00 GMT</pubDate><dc:creator>Koneru Murli Krishna</dc:creator></item><item><title>SQL 2000 Vulnerability using SQL Server Management Studio</title><link>http://www.sqlservercentral.com/Forums/Topic317875-119-1.aspx</link><description>Hi, When using SQL Server Management Studio to connect to a SQL2000 database using a user/password that has only permissions for its database and default permission on the master database, it lists all the databases on the server, not a huge problem.Though if you right click your database and go to "Tasks" &gt;&gt; "Back Up..." now click the "Add" button under destination and in the "Select Database Destination" dialogue click the "..." button. You are now able to browse the entire drives file stucture.You are also able to overwrite other backup files or restore other backup files from any other database.If I do this with Enterprise Manager I get the following error : error 229: EXECUTE permission denied on object 'xp_availablemedia', database 'master', owner 'dbo'And with Enterprise Manager I only see a list of databases I have access to.Anybody got any suggestions on how to make my SQL2000 servers more secure?</description><pubDate>Wed, 25 Oct 2006 06:15:00 GMT</pubDate><dc:creator>Lance-319244</dc:creator></item><item><title>Allocating Securables</title><link>http://www.sqlservercentral.com/Forums/Topic308221-119-1.aspx</link><description>&lt;P&gt;I am using Microsoft SQL Server Management Studio 9.00.1399.00&lt;/P&gt;&lt;P&gt;I have a very simple problem (hopefully easily resolved!)&lt;/P&gt;&lt;P&gt;I created a role and allocated securables against it.&lt;/P&gt;&lt;P&gt;When I go back into the role properties the securables that I previously allocated do not show up.&lt;/P&gt;&lt;P&gt;Does anyone know what I need to do ? &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Liz  &lt;/P&gt;</description><pubDate>Wed, 13 Sep 2006 08:50:00 GMT</pubDate><dc:creator>liz madden</dc:creator></item><item><title>Hi There</title><link>http://www.sqlservercentral.com/Forums/Topic314552-119-1.aspx</link><description>&lt;P&gt;New to this forum....&lt;/P&gt;&lt;P&gt; Hi to all..&lt;/P&gt;&lt;P&gt; Rgds&lt;/P&gt;&lt;P&gt; Satheesh&lt;/P&gt;</description><pubDate>Wed, 11 Oct 2006 01:30:00 GMT</pubDate><dc:creator>Satheesh M.Unni</dc:creator></item><item><title>Security of the database</title><link>http://www.sqlservercentral.com/Forums/Topic307543-119-1.aspx</link><description>Lot of issues of security have been discussed in the past. But a trivial problem of security baffles me.It is possible for anybody to copy the mdf and ldf files of a database, copy it on another machine and have complete access over it, if he has admin rights. How is it possible to overcome this security problem. What I need is once the database is created with a user on a particular machine, the access must be restricted to that user only and not even to sa. Is this kind of security possible in SQL Server 2000</description><pubDate>Mon, 11 Sep 2006 01:49:00 GMT</pubDate><dc:creator>Mathew Daniel</dc:creator></item><item><title>Database access through SRS Datasource returning rsErrorOpeningConnection</title><link>http://www.sqlservercentral.com/Forums/Topic299396-119-1.aspx</link><description>&lt;P&gt;I have report security setup and all users are members of a role that grants security to all necessary DB objects.  However, 3 out of a group of 20 or more  users are gettting the following error:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source 'ORTHO1'. (rsErrorOpeningConnection) Get Online Help Cannot open database requested in login 'ORTHO'. Login fails. Login failed for user 'domain\user'&lt;/P&gt;&lt;P&gt;The failure is not object related it is database related. Database name = 'ORTHO'&lt;/P&gt;&lt;P&gt;Has anyone come across this problem before?&lt;/P&gt;&lt;P&gt;Thanks for any help in advance...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;bSivel&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 03 Aug 2006 09:48:00 GMT</pubDate><dc:creator>Brian Sivel</dc:creator></item><item><title>Great Free software to document your entire IT infrastructure</title><link>http://www.sqlservercentral.com/Forums/Topic298404-119-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;FONT face="Times New Roman" size=3&gt;Hey guys my name is Dan Cutter from Ecora Software.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;I just wanted to let you guys know that we just released this great new free software that lets you document your entire IT infrastructure.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;This software does not expire after 30 days so you can use it as long as you want, as often as your want, absolutly free.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;I highly encourage you guys to check it out.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;FONT face="Times New Roman" size=3&gt;http://www.ecora.com/ecora/products/default.asp&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Mon, 31 Jul 2006 08:09:00 GMT</pubDate><dc:creator>dab cutter</dc:creator></item><item><title>Help with SQL 2005.</title><link>http://www.sqlservercentral.com/Forums/Topic297306-119-1.aspx</link><description>Moved under SQL 2005 Administration</description><pubDate>Tue, 25 Jul 2006 22:41:00 GMT</pubDate><dc:creator>Vikas-94496</dc:creator></item><item><title>Database Security in 2005</title><link>http://www.sqlservercentral.com/Forums/Topic295790-119-1.aspx</link><description>We want to set up Database Security for all our TEST Databases. We need users to have Read/write access to All tables,Be able to Create Stored Procedures, Create Views,Create UDF, View Diagrams. We have Granted them access to db_datareader,db_datawriter and Granted the Create privilages seperately. The problem is with these permissions they can't Alter the objects they just created. By Default All Developers are members of dbo schema. If i Grant them Alter permissions to the schema then they can alter the Table definations. This is something we don't want them to do.We can't have Developers to have a seperate schema because lot of code has been migrated from 2000 and is embedded with dbo. and the fact is we don't understand the schema culture very well.Any suggessions would be helpful.</description><pubDate>Thu, 20 Jul 2006 00:51:00 GMT</pubDate><dc:creator>Vikas-94496</dc:creator></item></channel></rss>