<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server Training &#124; Tutorials &#124; How to&#039;s</title>
	<atom:link href="http://www.sqlserver-training.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sqlserver-training.com</link>
	<description>DBATAG, a TAG to every DataBAse Consultant !!!</description>
	<lastBuildDate>Wed, 15 Aug 2012 17:12:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Microsoft OLE DB provider for SQL Server error 80004005</title>
		<link>http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-</link>
		<comments>http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-#comments</comments>
		<pubDate>Fri, 10 Aug 2012 04:32:57 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[0x80004005]]></category>
		<category><![CDATA[80004005]]></category>
		<category><![CDATA[asp error]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[jet]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[ms]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[ole]]></category>
		<category><![CDATA[ole db provider odbc drivers error 80004005 microsoft jet database engine update windows sql server providers data name connection hosting 0x80004005 ms connect]]></category>
		<category><![CDATA[provider]]></category>
		<category><![CDATA[providers]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Error]]></category>
		<category><![CDATA[sql server connection error]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11095</guid>
		<description><![CDATA[<p>While browsing a ASP site, you end up getting SQL Server error 80004005. Microsoft OLE DB Provider for SQL Server error &#8217;80004005&#8242; [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. CAUSE Microsoft OLE DB provider for SQL Server error 80004005, primary occurs because ASP page is unable to connect to SQL Server using connections settings, which you [...]</p><p>The post <a href="http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-">Microsoft OLE DB provider for SQL Server error 80004005</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>While browsing a ASP site, you end up getting SQL Server error 80004005.</p>
<p><a href="http://lh4.ggpht.com/-o6qPuuxvokA/UCSN6vFVFvI/AAAAAAAABXs/NZsqTbCYiKg/s1600-h/SQLServer-Error-800040052.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Microsoft OLE DB provider for SQL Server error 80004005" src="http://lh4.ggpht.com/-xZb6bqBAv-Y/UCSN7TnKk7I/AAAAAAAABX0/dEpBAA-DEPQ/SQLServer-Error-80004005_thumb2.jpg?imgmax=800" alt="Microsoft OLE DB provider for SQL Server error 80004005 windows update sql server connection error SQL Error SQL Server providers provider ole db provider odbc drivers error 80004005 microsoft jet database engine update windows sql server providers data name connection hosting 0x80004005 ms connect ole odbc name ms microsoft jet hosting error engine drivers db Database data connection connect asp error 80004005 0x80004005  " width="595" height="165" border="0" /></a></p>
<p><span style="color: #ff0000;"><strong>Microsoft OLE DB Provider for SQL Server error &#8217;80004005&#8242;<br />
[DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found.</strong></span></p>
<p><strong>CAUSE </strong></p>
<p>Microsoft OLE DB provider for SQL Server error 80004005, primary occurs because ASP page is unable to connect to SQL Server using connections settings, which you used in connection String.</p>
<p><strong>SOLUTION</strong></p>
<p>There are multiple cause, which can result, microsoft ole db provider for odbc drivers error 80004005 or Microsoft OLE DB provider for SQL Server error 80004005.</p>
<p>I would suggest you to quickly go thru thru this checklist, to ensure everything is correct.</p>
<p><strong>CHECKLIST to FIX Microsoft OLE DB provider for SQL Server error 80004005</strong></p>
<ul>
<li>Make Sure there is <span style="color: #0000ff;"><strong>no syntax error in your connection String</strong></span>, you see multiple examples of Connections Sting here
<ul>
<li><a href="http://www.connectionstrings.com/sql-server-2008" rel="nofollow">SQL Server 2012</a></li>
<li><a href="http://www.connectionstrings.com/sql-server-2008" rel="nofollow">SQL Server 2008</a></li>
<li><a href="http://www.connectionstrings.com/sql-server-2005" rel="nofollow">SQL Server 2005</a></li>
</ul>
</li>
<li>Ensure that you have <span style="color: #0000ff;"><strong>used the Correct parameters</strong></span> in Connection String and there is no Typo Error in SERVERNAME, USER NAME, Datasource name</li>
<li>Try <span style="color: #0000ff;"><strong>connect to SQL Server Directly </strong></span>from SQL Server Management Studio using the details, which you specified in the connection string.</li>
</ul>
<p>There might be a possibility that you can connect to Server by IP address but not by names or you can connect to SQL Server just by typing FQDN which is SQL Server <strong>name.DomainNAME</strong> but not by just Server NAME. you have specified the instance name , if you are connecting to sql server instance.</p>
<ul>
<li>There might be a possibility there is firewall between Application web server , your Machine and SQL Server, so it&#8217;s better to try the validate connection directly from Application Server / IIS Server. If SQL Server Management studio is not installed, you can use ODBC from Control Panel\All Control Panel Items\Administrative Tools\Data Sources (ODBC)</li>
</ul>
<p>If that success, you should be good now but if you fail to connect to SQL Server from application Server using ODBC then validate</p>
<ul>
<li>your SQL Server is running</li>
<li>you can connect to SQL Server using same credentials in connection string directly at SQL Server, if not</li>
<li>Check SQL Server Authentication setting and make sure it&#8217;s running in MIXED MODE</li>
<li>you might want to check <strong><a href="http://www.sqlerror.sqlserver-training.com/sql-server-error-2-microsoft-solution/-">Cannot connect to SQL Server, ERROR 2</a></strong></li>
<li>Then try to FIX connectivity by verifying SQL Server is using TCP IP protocol</li>
<li>SQL Server is enable for remote connections</li>
<li>SQL Server is running port 1433 else specify port in connection string</li>
<li>Certificates are working and are not expired, incase Certificates are used.</li>
</ul>
<p>Ideally, the above checklist should be able to fix Microsoft OLE DB provider for SQL Server error 80004005</p>
<p>Keywords : ole db provider odbc drivers error 80004005 microsoft jet database engine update windows sql server providers data name connection hosting 0&#215;80004005 ms connect</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/bye-bye-ole-db/-" rel="bookmark" class="crp_title">BYE BYE OLE DB</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-53-fix/-" rel="bookmark" class="crp_title">SQL server Error 53 &#8211; FIX</a></li><li><a href="http://www.sqlserver-training.com/sql-server-evaluation-period-has-expired/-" rel="bookmark" class="crp_title">SQL Server evaluation period has expired</a></li><li><a href="http://www.sqlserver-training.com/can-i-run-sql-server-2005-32-bit-on-a-windows-server-64-bit/-" rel="bookmark" class="crp_title">Can I run SQL Server 2005 32 bit on a Windows Server 64 bit ?</a></li><li><a href="http://www.sqlserver-training.com/transferring-data-integration-services/-" rel="bookmark" class="crp_title">Transferring Data &#8211; Integration Services</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 21, Level 20, State 1, Line 1 Warning: Fatal error %d occurred at %S_DATE. Note the error and time, and contact your system administrator</a></li><li><a href="http://www.sqlserver-training.com/msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-204-level-20-state-1-line-1-normalization-error-in-node/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-547-maintenance-plan-error/-" rel="bookmark" class="crp_title">SQL Server, Error: 547 Maintenance Plan Error</a></li><li><a href="http://www.sqlserver-training.com/transferring-data-%e2%80%93-contd/-" rel="bookmark" class="crp_title">Transferring Data – contd&#8230;</a></li><li><a href="http://www.sqlserver-training.com/sql-server-windows-powershell/-" rel="bookmark" class="crp_title">SQL Server PowerShell</a></li><li><a href="http://www.sqlserver-training.com/database-mirroring-must-be-removed-before-you-drop-sql-server-database/-" rel="bookmark" class="crp_title">Database mirroring must be removed before you drop SQL Server database</a></li><li><a href="http://www.sqlserver-training.com/best-practice-sql-server-error-log-management/-" rel="bookmark" class="crp_title">Best Practice &#8211; SQL Server Error Log Management</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-427-level-20-state-1-line-1-could-not-load-the-definition-for-constraint-id-d-in-database-id-d-run-dbcc-checkcatalog-to-verify-the-integrity-of-the-database/-" rel="bookmark" class="crp_title">SQL Error : Msg 427, Level 20, State 1, Line 1 Could not load the definition for constraint ID %d in database ID %d. Run DBCC CHECKCATALOG to verify the integrity of the database.</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-801-level-20-state-1-line-1-a-buffer-was-encountered-with-an-unexpected-status-of-0xx/-" rel="bookmark" class="crp_title">SQL Error : Msg 821, Level 20, State 1, Line 1 Could not unhash buffer at 0x%p with a buffer page number of %S_PGID and database ID %d with HASHED status set. The buffer was not found. %S_PAGE.</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-">Microsoft OLE DB provider for SQL Server error 80004005</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User already exists in current database. SQL Server Error 15023</title>
		<link>http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-</link>
		<comments>http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-#comments</comments>
		<pubDate>Thu, 09 Aug 2012 13:30:46 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[restore sql database from backup]]></category>
		<category><![CDATA[sql backup and restore database]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11089</guid>
		<description><![CDATA[<p>This error usually happens after you have restored a database from a backup from one server to another. When you move a databases from one SQL Server to another, and your application might get errors saying &#8220;Login failed for &#60;user&#62;&#8221; and when you check Database Security and you find that login was already in the [...]</p><p>The post <a href="http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-">User already exists in current database. SQL Server Error 15023</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>This error usually happens after you have restored a database from a backup from one server to another. When you move a databases from one SQL Server to another, and your application might get errors saying &#8220;<strong><span style="color: #ff0000;">Login failed for &lt;user&gt;</span></strong>&#8221; and when you check Database Security and you find that login was already in the database with appropriate rights to allowed objects in the database but you still end up this Error.</p>
<p><a href="http://lh6.ggpht.com/-ytJ4rleUP4U/UCLkDbgiFxI/AAAAAAAABWw/Mgqov0gPHqY/s1600-h/USER-Already-exists-in-current-database.-SQL-Server-Error-15023%25255B2%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="USER-Already-exists-in-current-database.-SQL-Server-Error-15023" src="http://lh5.ggpht.com/-kVyBwWrC2Ek/UCLkFX15ljI/AAAAAAAABW4/AjQyMGX3aPw/USER-Already-exists-in-current-database.-SQL-Server-Error-15023_thumb%25255B2%25255D.jpg?imgmax=800" alt="User already exists in current database. SQL Server Error 15023 sql backup and restore database restore sql database from backup  " width="605" height="195" border="0" /></a></p>
<p><strong><span style="color: #ff0000;">Error 15023: User already exists in current database.</span></strong></p>
<p><strong>Cause : </strong>The problem occurs because database users which you see inside the database are &#8220;<strong>orphan</strong>&#8220;. Orphan users are those users for which there is no login id associated with this database user. This is true even if there is a login id that matches the user, since there is a GUID (security ID SID) that has to match as well. This can be easily understood by following picture,</p>
<p><a href="http://lh6.ggpht.com/-LjCZdx5lYHA/UCLkGXaiaXI/AAAAAAAABXA/48D-dmX4nqc/s1600-h/SQL-Server-USER-already-exists-in-current-database%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-USER-already-exists-in-current-database" src="http://lh6.ggpht.com/-41Hf63zl4Vk/UCLkHpOF8_I/AAAAAAAABXI/BvA9UgBYYDI/SQL-Server-USER-already-exists-in-current-database_thumb%25255B1%25255D.jpg?imgmax=800" alt="User already exists in current database. SQL Server Error 15023 sql backup and restore database restore sql database from backup  " width="363" height="484" border="0" /></a></p>
<p>This picture has been taken from <a href="http://www.simple-talk.com/blogs/2011/09/12/if-you-see-sid-tell-him-2/" rel="nofollow">Jonathan</a></p>
<p>User &#8211; means a user which you find inside a database</p>
<p>LOGIN &#8211; A login credentials which you see in security section of Server and use to connect with SQL Server.</p>
<p><strong>Solution / FIX </strong>:</p>
<p>The solution is pretty simple, we need to make sure that SID of Login (Server Principal) matches with SID of database user.</p>
<p>To do so we have multiple Options</p>
<p><strong>SOLUTION 1 : <span style="color: #0000ff;">Maps an existing database user to a SQL Server login One by One</span></strong></p>
<pre class="csharpcode"><span class="kwrd">ALTER</span> <span class="kwrd">USER</span> &lt;Database_User_name&gt; <span class="kwrd">WITH</span> LOGIN = &lt;SQL_Server_LoginName&gt;</pre>
<p>Execute the above code, to make a mapping between database user and server login. In case you are using SQL Server 2005 SP1 and older versions then use the following SP</p>
<pre class="csharpcode" style="width: 95.29%; height: 19px;"><span class="kwrd">EXEC</span> sp_change_users_login <span class="str">'Update_One'</span>, <span class="str">'&lt;DB_USER_NAME&gt;'</span>,<span class="str">'&lt;SQL_Server_Login_NAME&gt;'</span>;</pre>
<p>&nbsp;</p>
<p>IF you want to find all Orphan Users in current database, Database Users that are no link to SQL Server Login, use the following SQL statement.</p>
<p>SQL statement, which will list all Orphan Users</p>
<pre class="csharpcode"><span class="kwrd">USE</span> &lt;YourDB_NAME&gt;
<span class="kwrd">GO</span>
<span class="kwrd">EXEC</span> sp_change_users_login <span class="str">'Report'</span>
GO</pre>
<p>&nbsp;</p>
<p><strong>In case you have multiple Orphan users, then it&#8217;s pretty time consuming to map user to login one by one, to overcome this problem, we can do all at once using following TSQL statement</strong></p>
<pre class="csharpcode" style="width: 95%; height: 249px;"><span class="kwrd">DECLARE</span> @username <span class="kwrd">varchar</span>(50)
<span class="kwrd">DECLARE</span> fixusers <span class="kwrd">CURSOR</span> <span class="kwrd">FOR</span>
<span class="kwrd">SELECT</span> UserName = name <span class="kwrd">FROM</span> master..sysusers
<span class="kwrd">WHERE</span> issqluser = 1 <span class="kwrd">and</span> (sid <span class="kwrd">is</span> <span class="kwrd">not</span> <span class="kwrd">null</span> <span class="kwrd">and</span> sid &lt;&gt; 0x0)
<span class="kwrd">and</span> suser_sname(sid) <span class="kwrd">is</span> <span class="kwrd">null</span>
<span class="kwrd">ORDER</span> <span class="kwrd">BY</span> name
<span class="kwrd">OPEN</span> fixusers
<span class="kwrd">FETCH</span> <span class="kwrd">NEXT</span> <span class="kwrd">FROM</span> fixusers
<span class="kwrd">INTO</span> @username <span class="kwrd">WHILE</span> <span class="preproc">@@FETCH_STATUS</span> = 0
<span class="kwrd">BEGIN</span>
<span class="kwrd">EXEC</span> sp_change_users_login <span class="str">'update_one'</span>, @username, @username
<span class="kwrd">FETCH</span> <span class="kwrd">NEXT</span> <span class="kwrd">FROM</span> fixusers
<span class="kwrd">INTO</span> @username
<span class="kwrd">END</span>
<span class="kwrd">CLOSE</span> fixusers
<span class="kwrd">DEALLOCATE</span> fixusers</pre>
<p>&nbsp;</p>
<p>this TSQL statement, will check all Logins, weather they have a similar name Database User or not, if it found, this will map the login with user.</p>
<p><strong>NOTE </strong>- this Script might give you some errors, if a login doesn&#8217;t have a corresponding user, which should be fine and you can ignore those errors, as it has already fixed, what was matched.</p>
<p><strong>Solution 2 :</strong></p>
<p>Drop the Database User and create again and give necessary permission.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/sql-error-msg-617-level-20-state-1-line-1-descriptor-for-object-id-ld-in-database-id-d-not-found-in-the-hash-table-during-attempt-to-unhash-it-a-work-table-is-missing-an-entry-rerun-the-query/-" rel="bookmark" class="crp_title">SQL Error : Msg 617, Level 20, State 1, Line 1 Descriptor for object ID %ld in database ID %d not found in the hash table during attempt to unhash it. A work table is missing an entry. Rerun the query. If a cursor is involved, close and reopen the cursor.</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 21, Level 20, State 1, Line 1 Warning: Fatal error %d occurred at %S_DATE. Note the error and time, and contact your system administrator</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-427-level-20-state-1-line-1-could-not-load-the-definition-for-constraint-id-d-in-database-id-d-run-dbcc-checkcatalog-to-verify-the-integrity-of-the-database/-" rel="bookmark" class="crp_title">SQL Error : Msg 427, Level 20, State 1, Line 1 Could not load the definition for constraint ID %d in database ID %d. Run DBCC CHECKCATALOG to verify the integrity of the database.</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-801-level-20-state-1-line-1-a-buffer-was-encountered-with-an-unexpected-status-of-0xx/-" rel="bookmark" class="crp_title">SQL Error : Msg 821, Level 20, State 1, Line 1 Could not unhash buffer at 0x%p with a buffer page number of %S_PGID and database ID %d with HASHED status set. The buffer was not found. %S_PAGE.</a></li><li><a href="http://www.sqlserver-training.com/msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-204-level-20-state-1-line-1-normalization-error-in-node/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-" rel="bookmark" class="crp_title">Cannot open database requested by the login. The login failed. SQL Server Error 4060</a></li><li><a href="http://www.sqlserver-training.com/best-practice-sql-server-error-log-management/-" rel="bookmark" class="crp_title">Best Practice &#8211; SQL Server Error Log Management</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2012-cluster-install-error-sql-server-database-services-feature-state/-" rel="bookmark" class="crp_title">SQL Server 2012 Cluster Install Error : &quot;SQL Server Database Services feature state&quot;</a></li><li><a href="http://www.sqlserver-training.com/error-5233-sql-server-2008-database/-" rel="bookmark" class="crp_title">Error 5233 &#8211; SQL Server 2008 database</a></li><li><a href="http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-" rel="bookmark" class="crp_title">PowerShell script error &#8211; File not digitally signed : FIX</a></li><li><a href="http://www.sqlserver-training.com/script-to-get-all-database-size-occupied-at-file-system-level/-" rel="bookmark" class="crp_title">Script to get all Database Size occupied at file system level</a></li><li><a href="http://www.sqlserver-training.com/can-we-have-mirroring-between-standard-and-enterprise-editions/-" rel="bookmark" class="crp_title">Can we have Mirroring between Standard and Enterprise editions ?</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-547-maintenance-plan-error/-" rel="bookmark" class="crp_title">SQL Server, Error: 547 Maintenance Plan Error</a></li><li><a href="http://www.sqlserver-training.com/the-specified-disk-resource-1-cannot-be-used-as-a-failover-cluster-disk-reason-2/-" rel="bookmark" class="crp_title">The specified disk resource &#8216;%1&#8242; cannot be used as a failover cluster disk. Reason: %2</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-">User already exists in current database. SQL Server Error 15023</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot open database requested by the login. The login failed. SQL Server Error 4060</title>
		<link>http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-</link>
		<comments>http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-#comments</comments>
		<pubDate>Wed, 08 Aug 2012 06:11:58 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[SQL Error]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11078</guid>
		<description><![CDATA[<p>CAUSE : This problem occurs because login that you used to access database does not have sufficient permissions. SOLUTION : You need to grant permission to the user to access database and/or to execute stored procedure. How to grant reader/writer access to SQL database: Log on to SQL Server Management Studio by going Start &#62;&#62; [...]</p><p>The post <a href="http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-">Cannot open database requested by the login. The login failed. SQL Server Error 4060</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p><strong>CAUSE </strong>: This problem occurs because login that you used to access database does not have sufficient permissions.</p>
<p><a href="http://lh3.ggpht.com/-DqOb6YQ9ACY/UCIZ3stybWI/AAAAAAAABUg/cZaMVL3bqaA/s1600-h/Cannot-open-Database-requested-by-the-login.-The-login-failed%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Cannot open database requested by the login. The login failed. SQL Server Error 4060" src="http://lh6.ggpht.com/-dSRHbyjURXk/UCIZ4NdvzSI/AAAAAAAABUo/Gel95xYsKSM/Cannot-open-Database-requested-by-the-login.-The-login-failed_thumb%25255B1%25255D.jpg?imgmax=800" alt="Cannot open database requested by the login. The login failed. SQL Server Error 4060 SQL Error  " width="644" height="198" border="0" /></a></p>
<h4><strong>SOLUTION : </strong></h4>
<p>You need to grant permission to the user to access database and/or to execute stored procedure.</p>
<p><strong>How to grant reader/writer access to SQL database:</strong></p>
<ul>
<ol>
<li>Log on to SQL Server Management Studio by going <strong>Start</strong> &gt;&gt; <strong>All Programs</strong> &gt;&gt; <strong>Microsoft SQL Server</strong>&gt;&gt;&gt; <strong>SQL Management Studio</strong>. and suppl user credentials &amp; click <strong>OK</strong>.</li>
<li>In Object Explorer, expand <strong>Secuirty</strong>, expand Logins, for which you are getting the Error and then expand <strong>Security</strong>.  Make sure the Login exists else add that user by right click and add and then <a href="http://lh4.ggpht.com/-b5ptOwSLaOI/UCIZ4m_XmVI/AAAAAAAABUw/uzE-bp5lhhU/s1600-h/SQL-Server-Permission%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Cannot open database requested by the login. The login failed. Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’" src="http://lh5.ggpht.com/-gQvQawDK2Gg/UCIZ5In-mdI/AAAAAAAABU4/tJkNSkCcVwY/SQL-Server-Permission_thumb%25255B1%25255D.jpg?imgmax=800" alt="Cannot open database requested by the login. The login failed. SQL Server Error 4060 SQL Error  " width="455" height="561" border="0" /></a></li>
<li>Right-click <strong>Login</strong>, and then click <strong>Properties </strong>for the USER NAME / LOGIN NAME for which you are getting the Error &#8220;Cannot open database requested by the login. The login failed&#8221;, SQL Server Error 4060</li>
<li>In newly opened screen of Login Properties, go to the “User Mapping” tab. Then, on the “User Mapping” tab, select the desired database – especially the database for which this error message is displayed. On the lower screen, check the role db_owner. Click OK. <a href="http://lh6.ggpht.com/-OQ5lPewzrhY/UCIZ52jYbZI/AAAAAAAABVA/-qTRPs10d04/s1600-h/SQL-Server-Error-4061%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="The login failed. Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’" src="http://lh4.ggpht.com/-A64LO3PPhZE/UCIZ6Dhh0tI/AAAAAAAABVI/Rsz6hyJtjbY/SQL-Server-Error-4061_thumb%25255B1%25255D.jpg?imgmax=800" alt="Cannot open database requested by the login. The login failed. SQL Server Error 4060 SQL Error  " width="539" height="484" border="0" /></a></li>
</ol>
</ul>
<p><span style="color: #333333;">This should fix this error but consider this security recommendation </span></p>
<p><strong><span style="color: #0000ff;">Recommendation</span></strong>: &#8211; Assigning a a DBO privileges to NETWORK SERVICE is <strong>security violation </strong>as mostly all security standard. Change the application / Service startup account to to dedicated Service account and then give these privileges to dedicated service / application account.</p>
<p>The Similar error has different interfaces. for example, In SQL Server 2012, this get the following Error Message, when you try to access a database, where user don&#8217;t have permission for specified database.</p>
<p><a href="http://lh4.ggpht.com/-PLY5Mi_EDag/UCIZ6yQC3vI/AAAAAAAABVQ/Th-SWU1tncA/s1600-h/Cannot-Open-Database-requested-by-the-login%25252C-The-Login-failed.-SQL-Error-4060%25255B2%25255D.jpg"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Cannot-Open-Database-requested-by-the-login,-The-Login-failed.-SQL-Error-4060" src="http://lh3.ggpht.com/-yBmQwEXDN4c/UCIZ7cRr_fI/AAAAAAAABVY/GhVwtWD9f0k/Cannot-Open-Database-requested-by-the-login%25252C-The-Login-failed.-SQL-Error-4060_thumb%25255B2%25255D.jpg?imgmax=800" alt="Cannot open database requested by the login. The login failed. SQL Server Error 4060 SQL Error  " width="644" height="134" border="0" /></a></p>
<p><strong><span style="color: #ff0000;">The database CRM is not accessible. (ObjectExplorer)</span></strong></p>
<p><strong>OR </strong>this error, when you access the same from Query Window</p>
<p><span style="color: #ff0000;"><strong><a href="http://lh4.ggpht.com/-Ck1zNwJl_S8/UCIZ7_ZuoiI/AAAAAAAABVg/KxHsaxNHHM4/s1600-h/The-Server-Principal-is-not-able-to-access-the-database-under-current-security-context%25255B7%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="The-Server-Principal-is-not-able-to-access-the-database-under-current-security-context" src="http://lh3.ggpht.com/-ZTpPMV-HKBs/UCIZ8XArXJI/AAAAAAAABVo/qRWlN3MlsmU/The-Server-Principal-is-not-able-to-access-the-database-under-current-security-context_thumb%25255B7%25255D.jpg?imgmax=800" alt="Cannot open database requested by the login. The login failed. SQL Server Error 4060 SQL Error  " width="644" height="200" border="0" /></a></strong></span></p>
<p><span style="color: #ff0000;"><strong>Msg 916, Level 14, State 1, Line 1<br />
The server principal &#8220;hyperion&#8221; is not able to access the database &#8220;CRM&#8221; under the current security context.</strong></span></p>
<p>OR when you try to access from front End / Application</p>
<p><span style="color: #ff0000;"><strong>Cannot open database requested by the login. The login failed. Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’</strong></span></p>
<p>The same solution applies to all these errors.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/user-already-exists-in-current-database-sql-server-error-15023/-" rel="bookmark" class="crp_title">User already exists in current database. SQL Server Error 15023</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-change-a-mirror-endpoint/-" rel="bookmark" class="crp_title">SQL Script to change a mirror endpoint</a></li><li><a href="http://www.sqlserver-training.com/what-all-database-permissions-are-being-assigned-to-a-particular-login/-" rel="bookmark" class="crp_title">What all Database Permissions are being assigned to a particular login ?</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-list-all-linked-server-logins-and-their-properties/-" rel="bookmark" class="crp_title">SQL Script to List all Linked Server Logins and their properties</a></li><li><a href="http://www.sqlserver-training.com/best-practice-sql-server-error-log-management/-" rel="bookmark" class="crp_title">Best Practice &#8211; SQL Server Error Log Management</a></li><li><a href="http://www.sqlserver-training.com/sql-script-that-changes-sql-jobs-owner-to-sa-for-sql-server-2000-and-prior-versions/-" rel="bookmark" class="crp_title">SQL Script that changes SQL Jobs Owner to SA for SQL Server 2000 and prior versions</a></li><li><a href="http://www.sqlserver-training.com/error-5233-sql-server-2008-database/-" rel="bookmark" class="crp_title">Error 5233 &#8211; SQL Server 2008 database</a></li><li><a href="http://www.sqlserver-training.com/sql-server-evaluation-period-has-expired/-" rel="bookmark" class="crp_title">SQL Server evaluation period has expired</a></li><li><a href="http://www.sqlserver-training.com/sql-dumper-error-failed-initialization-solution/-" rel="bookmark" class="crp_title">SQL Dumper Error &#8211; failed initialization Solution</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-script-sql-server-logins/-" rel="bookmark" class="crp_title">SQL Script to Script SQL Server Logins</a></li><li><a href="http://www.sqlserver-training.com/the-specified-disk-resource-1-cannot-be-used-as-a-failover-cluster-disk-reason-2/-" rel="bookmark" class="crp_title">The specified disk resource &#8216;%1&#8242; cannot be used as a failover cluster disk. Reason: %2</a></li><li><a href="http://www.sqlserver-training.com/sql-server-securable-permissions-security/-" rel="bookmark" class="crp_title">SQL Server Securable &#8211; Permissions / Security</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-547-maintenance-plan-error/-" rel="bookmark" class="crp_title">SQL Server, Error: 547 Maintenance Plan Error</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2012-cluster-install-error-sql-server-database-services-feature-state/-" rel="bookmark" class="crp_title">SQL Server 2012 Cluster Install Error : &quot;SQL Server Database Services feature state&quot;</a></li><li><a href="http://www.sqlserver-training.com/how-to-secure-against-sql-injection/-" rel="bookmark" class="crp_title">How to secure against SQL injection ?</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-">Cannot open database requested by the login. The login failed. SQL Server Error 4060</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/cannot-open-database-requested-by-the-login-the-login-failed-sql-server-error-4060/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot write property IsFileStream.This property is not available on SQL Server</title>
		<link>http://www.sqlserver-training.com/cannot-write-property-isfilestream-this-property-is-not-available-on-sql-server/-</link>
		<comments>http://www.sqlserver-training.com/cannot-write-property-isfilestream-this-property-is-not-available-on-sql-server/-#comments</comments>
		<pubDate>Wed, 08 Aug 2012 05:58:32 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[SQL Errors]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11084</guid>
		<description><![CDATA[<p>While Creating a New Database on SQL Server 2012 using SQL Server Management Studio 2008 R2, you might get this error. Cannot write property IsFileStream.This property is not available on SQL Server 7.0. (Microsoft.SqlServer.Smo) CAUSE SQL Server Management is unable to set up the default property while creating a database using previous version of SQL [...]</p><p>The post <a href="http://www.sqlserver-training.com/cannot-write-property-isfilestream-this-property-is-not-available-on-sql-server/-">Cannot write property IsFileStream.This property is not available on SQL Server</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>While Creating a New Database on SQL Server 2012 using SQL Server Management Studio 2008 R2, you might get this error.</p>
<p><a href="http://lh3.ggpht.com/-dUI_uyqtl7I/UCIBxZsn64I/AAAAAAAABTo/ykHTWgfpPu8/s1600-h/Cannot-Write-Property-IsFileStream.-This-property-is-not-availbale-on-SQL-Server-2012-7.0%25255B8%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Cannot-Write-Property-IsFileStream.-This-property-is-not-availbale-on-SQL-Server-2012-7.0" src="http://lh3.ggpht.com/-wW2TY_O0MMU/UCIBxxQxU8I/AAAAAAAABTw/ySeoFk-UapE/Cannot-Write-Property-IsFileStream.-This-property-is-not-availbale-on-SQL-Server-2012-7.0_thumb%25255B8%25255D.jpg?imgmax=800" alt="Cannot write property IsFileStream.This property is not available on SQL Server  " width="620" height="270" border="0" /></a></p>
<p><span style="color: #ff0000;"><strong>Cannot write property IsFileStream.This property is not available on SQL Server 7.0. (Microsoft.SqlServer.Smo)</strong></span></p>
<p><strong>CAUSE</strong></p>
<p>SQL Server Management is unable to set up the default property while creating a database using previous version of SQL Server Management Studio.</p>
<p><strong>SOLUTION</strong></p>
<p>To immediately fix this issue, we can create a database using a Create Database statement using Query Analyzer or we can upgrade a management studio client tool.</p>
<p>In my case, I create a Database using a TSQL statement, which worked perfectly fine.</p>
<p><a href="http://lh6.ggpht.com/-jaZe6jGrL8w/UCIByai2xpI/AAAAAAAABT4/j0xuZ5NZivc/s1600-h/Create-Database-Error-SQL-Server-2012%25255B6%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Create-Database-Error-SQL-Server-2012" src="http://lh3.ggpht.com/-tKJ2JdqfUx8/UCIBy-rV1vI/AAAAAAAABUA/uAmFyiGNxAk/Create-Database-Error-SQL-Server-2012_thumb%25255B6%25255D.jpg?imgmax=800" alt="Cannot write property IsFileStream.This property is not available on SQL Server  " width="644" height="274" border="0" /></a></p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/how-to-give-read-definition-permission-to-a-user-for-all-procedures-and-functions/-" rel="bookmark" class="crp_title">How to Give Read Definition Permission to a User for all Procedures and Functions</a></li><li><a href="http://www.sqlserver-training.com/how-to-create-database-in-sql-server-video/-" rel="bookmark" class="crp_title">How to Create Database in SQL Server &#8211; Video</a></li><li><a href="http://www.sqlserver-training.com/default-trace-in-sql-server/-" rel="bookmark" class="crp_title">Default Trace in SQL Server</a></li><li><a href="http://www.sqlserver-training.com/sql-server-analysis-services-clustering/-" rel="bookmark" class="crp_title">SQL Server Analysis Services Clustering</a></li><li><a href="http://www.sqlserver-training.com/how-ssas-cube-processing-affects-running-queries-sql-server-analysis-services/-" rel="bookmark" class="crp_title">How SSAS Cube Processing Affects Running Queries &#8211; SQL Server Analysis Services</a></li><li><a href="http://www.sqlserver-training.com/sql-server-integration-services-merge-join-transformation/-" rel="bookmark" class="crp_title">SQL Server Integration Services: Merge Join Transformation</a></li><li><a href="http://www.sqlserver-training.com/what-is-contained-database-in-sql-server/-" rel="bookmark" class="crp_title">What is Contained Database in SQL Server</a></li><li><a href="http://www.sqlserver-training.com/what-is-new-in-denali-new-features/-" rel="bookmark" class="crp_title">What is new in Denali (New Features) ?</a></li><li><a href="http://www.sqlserver-training.com/what-is-the-difference-between-identity-and-sequence/-" rel="bookmark" class="crp_title">What is the Difference between Identity and Sequence in SQL Server?</a></li><li><a href="http://www.sqlserver-training.com/hadr-demo-questions/-" rel="bookmark" class="crp_title">HADR Demo Questions</a></li><li><a href="http://www.sqlserver-training.com/sql-interview-questions/-" rel="bookmark" class="crp_title">SQL Interview Questions</a></li><li><a href="http://www.sqlserver-training.com/sql-2008-restore-database/-" rel="bookmark" class="crp_title">SQL 2008 Restore Database</a></li><li><a href="http://www.sqlserver-training.com/how-to-check-database-statistics-are-optimized-for-performance/-" rel="bookmark" class="crp_title">How to check Database Statistics are optimized for Performance ?</a></li><li><a href="http://www.sqlserver-training.com/sql-server-denali-new-features/-" rel="bookmark" class="crp_title">SQL Server Denali New Features</a></li><li><a href="http://www.sqlserver-training.com/tips-to-write-on-this-site-httpdbatag-com/-" rel="bookmark" class="crp_title">TIPS to Write on this site (http://DBATAG.com)</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/cannot-write-property-isfilestream-this-property-is-not-available-on-sql-server/-">Cannot write property IsFileStream.This property is not available on SQL Server</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/cannot-write-property-isfilestream-this-property-is-not-available-on-sql-server/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO</title>
		<link>http://www.sqlserver-training.com/ssrs-cluster-how-to-install-and-configure-sql-server-reporting-service-cluster-configuration-for-high-availability-video/-</link>
		<comments>http://www.sqlserver-training.com/ssrs-cluster-how-to-install-and-configure-sql-server-reporting-service-cluster-configuration-for-high-availability-video/-#comments</comments>
		<pubDate>Mon, 06 Aug 2012 21:35:45 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[Reporting Services]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11074</guid>
		<description><![CDATA[<p>How to Configure SQL Server Reporting Service on Cluster (SSRS Cluster) for High Availability ? We can configure SQL Server Database Engine, Analysis Services and Integration Services  for High availability but how to Configure Reporting Services on Cluster (SSRS Cluster) for High Availability that too without using a any third party Load Balancing component. The [...]</p><p>The post <a href="http://www.sqlserver-training.com/ssrs-cluster-how-to-install-and-configure-sql-server-reporting-service-cluster-configuration-for-high-availability-video/-">SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>How to Configure SQL Server Reporting Service on Cluster (SSRS Cluster) for High Availability ?</strong></span></p>
<p>We can configure SQL Server Database Engine, Analysis Services and Integration Services  for High availability but <strong>how to Configure Reporting Services on Cluster (SSRS Cluster) for High Availability that too without using a any third party Load Balancing component</strong>.</p>
<p>The best way to configure SQL Services Reporting Services on cluster (SSRS Cluster) is to scale out Reporting services environment and have load balancer in place so that Load balancer can automatically forward the requests to multiple Reporting services, which are part of scale out deployment, using some algorithm like round robin etc.</p>
<p>I was being asked by one of my college, how can we configure SQL Server Reporting Services on a cluster (SSRS Cluster) so that an automatic failover can occur without using a Load balancer as the project was on low cost and a low number of active SSRS users.</p>
<p>Let&#8217;s take a quick example, where I going to go thru with a SQL Server Reporting Services Cluster Installation.</p>
<p><a href="http://lh6.ggpht.com/-vYalRD_6Ly0/UCA24Ij1nEI/AAAAAAAABSE/8cifAjC99ic/s1600-h/SSRS-Cluster-Design19.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL Server Reporting Service Cluster Configuration for High Availability " src="http://lh6.ggpht.com/-8JOQIsSpLK4/UCA24xCOVTI/AAAAAAAABSM/rLRxNctmpGo/SSRS-Cluster-Design_thumb17.jpg?imgmax=800" alt="SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO  " width="573" height="642" border="0" /></a></p>
<p>In the above solution all Users will be accessing Reporting Services by a virtual name &#8220;<strong>REPORTServer</strong>&#8221; which has it&#8217;s own IP Address : 192.168.5.99</p>
<p>This is the similar configuration as we have for Clustered SQL Server Instance.</p>
<p><strong>STEP BY STEP VIDEO Tutorial to Configure Reporting Services for High Availability in Clustered environment.</strong></p>
<p><iframe style="width: 595px; height: 373px;" src="http://www.youtube.com/embed/6HdUkSEBQMc" frameborder="0" width="420" height="315"></iframe></p>
<p><strong>STEP 1</strong> &#8211; Install Reporting Services on both Nodes and Scale OUT solution, Please check my previous article, &#8221; <a href="http://www.sqlserver-training.com/installing-configuring-sql-server-reporting-services-on-cluster-environment-for-high-availability/-" target="_blank"><strong>Installing &amp; Configuring SQL Server Reporting Services on Cluster Environment for High Availability</strong></a>&#8220;, here you will find that step by step instructions to configure Both Reporting Services (Nodes) pointing to common Report Database Server.</p>
<p><strong>STEP 2</strong> &#8211; Create a Virtual Server Name / IP Address (Client Access Point) in Clustered Services or Application group where you have SQL Services / resources</p>
<p><a href="http://lh4.ggpht.com/-G7lzG_3WPyY/UCA25cICvcI/AAAAAAAABSU/8oJjQvOO_UE/s1600-h/aa3.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="aa" src="http://lh6.ggpht.com/--bS3TsADhPQ/UCA26LxRgAI/AAAAAAAABSc/WF8cCabf-wg/aa_thumb3.jpg?imgmax=800" alt="SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO  " width="470" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-LeW-GKz7ipk/UCA262GzrzI/AAAAAAAABSk/jXydMNRPkDw/s1600-h/SSRS-Cluster%25255B3%25255D%25255B9%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SSRS-Cluster" src="http://lh4.ggpht.com/-L1_vkfU9bAM/UCA27q_14rI/AAAAAAAABSs/G0LFaLUwOHs/SSRS-Cluster%25255B3%25255D_thumb%25255B8%25255D.jpg?imgmax=800" alt="SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO  " width="644" height="449" border="0" /></a></p>
<p>Enter the Virtual Name, which you want to use for your reporting Services and Enter virtual IP address which you want to configure for reporting Services. In Demo I used &#8220;REPORTSERVER&#8221; as name and 192.168.5.99 as Virtual IP address for cluster Services.</p>
<p>I have created this Virtual name / IP address for Reporting services in same Resource group as SQL Server as I wanted to go for automatic failover of this Virtual IP / NAME of reporting Services with SQL Server.</p>
<p>If you want reporting services Virtual name should go with SQL Server then add a dependency of SQL Services on Reporting Services IP address.</p>
<p><a href="http://lh6.ggpht.com/-Htg42sHtbxc/UCA28DkhIPI/AAAAAAAABS0/Es_DVvl0lj8/s1600-h/re2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="re" src="http://lh6.ggpht.com/-9KaZPA8JM44/UCA28v07KbI/AAAAAAAABS8/yMiFhXfGLL4/re_thumb2.jpg?imgmax=800" alt="SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO  " width="438" height="901" border="0" /></a></p>
<p><strong>NOTE </strong>- The limitation of this configuration is that SQL Services / Reporting services both will be used by users on Same NODE, which might result some resource contention.</p>
<p>To overcome this issue or in highly used reporting environment, create a dedicated resource group for Reporting services and add Virtual name / IP address in that group.</p>
<p>In this the limitation is you will not be able to create resource dependency and users will able to ping the name / address even if the SQL services are not running. But I believe that should be fine.</p>
<p><strong>STEP 3</strong> &#8211; Create a DNS Record and PTR record in DNS Server in my case this is &#8220;REPORTSERVER&#8221; and point that a Virtual Server Name / IP Address, which we created in previous step using (Client Access Point) in Clustered Services or Application group where you have SQL Services / resources.</p>
<p><a href="http://lh5.ggpht.com/-OlZ-DxCevq0/UCA29X8Hl3I/AAAAAAAABTE/d9xsvijb9V4/s1600-h/Create-a-Virtual-Resource-for-Reporting-Services%25255B10%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Create-a-Virtual-Resource-for-Reporting-Services" src="http://lh3.ggpht.com/-JGpAD4Aeyes/UCA2-Fw65PI/AAAAAAAABTM/FVhQky-l2lE/Create-a-Virtual-Resource-for-Reporting-Services_thumb%25255B10%25255D.jpg?imgmax=800" alt="SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO  " width="644" height="465" border="0" /></a></p>
<p>That&#8217;s it, you are done with SQL Server Reporting Services Cluster Configuration (SSRS Cluster) without load balancer. Now you can access reporting Services on any machine using virtual name and that will support the automatic failover too.</p>
<p>If you have question to any step, check the video, which is inbuilt in this post, that has Step by step instruction and work flow of configuring SSRS cluster without load balancer.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/installing-configuring-sql-server-reporting-services-on-cluster-environment-for-high-availability/-" rel="bookmark" class="crp_title">Installing &amp; Configuring SQL Server Reporting Services on Cluster Environment for High Availability</a></li><li><a href="http://www.sqlserver-training.com/what-is-the-hardware-and-software-requirement-for-implementing-hadr-in-sql-server/-" rel="bookmark" class="crp_title">What is the hardware and software requirement for implementing HADR in SQL Server ?</a></li><li><a href="http://www.sqlserver-training.com/how-to-make-parameterized-reports-in-ssrs/-" rel="bookmark" class="crp_title">How to make Parameterized Reports in SSRS?</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2008-clustering-enhancements/-" rel="bookmark" class="crp_title">SQL Server 2008 &#8211; Clustering Enhancements</a></li><li><a href="http://www.sqlserver-training.com/windows-server-2008-changes-in-failover-clustering/-" rel="bookmark" class="crp_title">Windows Server 2008 Changes in Failover Clustering</a></li><li><a href="http://www.sqlserver-training.com/install-sql-server-2012-cluster-on-windows-server-2008-r2/-" rel="bookmark" class="crp_title">Install SQL Server 2012 Cluster on Windows Server 2008 R2</a></li><li><a href="http://www.sqlserver-training.com/hadr-demo-questions/-" rel="bookmark" class="crp_title">HADR Demo Questions</a></li><li><a href="http://www.sqlserver-training.com/101-sql-server-reporting-services-interview-questions-with-answers/-" rel="bookmark" class="crp_title">101 SQL Server Reporting Services Interview Questions with Answers</a></li><li><a href="http://www.sqlserver-training.com/how-to-setup-availability-groups-in-sql-server-denali-2011/-" rel="bookmark" class="crp_title">How to setup Availability Group in SQL Server DENALI (2011)?</a></li><li><a href="http://www.sqlserver-training.com/video-how-to-add-a-node-to-an-existing-sql-server-2008-failover-cluster/-" rel="bookmark" class="crp_title">Video : How to Add a Node to an Existing SQL Server 2008 Failover Cluster</a></li><li><a href="http://www.sqlserver-training.com/the-specified-disk-resource-1-cannot-be-used-as-a-failover-cluster-disk-reason-2/-" rel="bookmark" class="crp_title">The specified disk resource &#8216;%1&#8242; cannot be used as a failover cluster disk. Reason: %2</a></li><li><a href="http://www.sqlserver-training.com/do-you-know-what-is-enhanced-in-denali-for-high-availability/-" rel="bookmark" class="crp_title">Do you know what is Enhanced in Denali for HIGH Availability ?</a></li><li><a href="http://www.sqlserver-training.com/how-to-implement-hadr-a-high-availability-and-disaster-recovery-solution-in-sql-server-step-by-step-guide-with-screenshots/-" rel="bookmark" class="crp_title">How to Implement HADR (a high-availability and disaster recovery solution) in SQL Server ? Step by Step Guide with screenshots</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/ssrs-cluster-how-to-install-and-configure-sql-server-reporting-service-cluster-configuration-for-high-availability-video/-">SSRS Cluster, How to Install and Configure SQL Server Reporting Service Cluster Configuration for High Availability VIDEO</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/ssrs-cluster-how-to-install-and-configure-sql-server-reporting-service-cluster-configuration-for-high-availability-video/-/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL AZURE pricing (PROS &#124; CONS) &#8211; How costly is to have SQL Database on a Cloud?</title>
		<link>http://www.sqlserver-training.com/sql-azure-pricing-pros-cons-how-costly-is-to-have-sql-database-on-a-cloud/-</link>
		<comments>http://www.sqlserver-training.com/sql-azure-pricing-pros-cons-how-costly-is-to-have-sql-database-on-a-cloud/-#comments</comments>
		<pubDate>Sat, 04 Aug 2012 04:36:49 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[Compare SQL Server with SQL Azure]]></category>
		<category><![CDATA[sql azure pricing]]></category>
		<category><![CDATA[SQL AZURE PROS and CONS]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11069</guid>
		<description><![CDATA[<p>Hosting a Microsoft SQL Server Database on a cloud is very cheap, Anyone can afford to have a SQL Server database in Microsoft Cloud Environment. The cost starts from $5 per month, yes Microsoft has an 100 MB option, which costs only $5 a month. Currently many customer / Business managers are unaware of this [...]</p><p>The post <a href="http://www.sqlserver-training.com/sql-azure-pricing-pros-cons-how-costly-is-to-have-sql-database-on-a-cloud/-">SQL AZURE pricing (PROS | CONS) &#8211; How costly is to have SQL Database on a Cloud?</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://lh5.ggpht.com/-APDvPfVp52A/UByh2V6jWiI/AAAAAAAABQM/DWQ0IqbENVM/s1600-h/SQL-Azure-Pricing%25252C-cost-to-have-SQL-Server-on-a-cloud.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Azure-Pricing,-cost-to-have-SQL-Server-on-a-cloud" src="http://lh6.ggpht.com/-j7cic9IWkFk/UByh28jC_5I/AAAAAAAABQU/tiq17FnXBgQ/SQL-Azure-Pricing%25252C-cost-to-have-SQL-Server-on-a-cloud_thumb.jpg?imgmax=800" alt="SQL AZURE pricing (PROS | CONS)   How costly is to have SQL Database on a Cloud? SQL AZURE PROS and CONS sql azure pricing Compare SQL Server with SQL Azure  " width="244" height="153" align="right" border="0" /></a>Hosting a Microsoft SQL Server Database on a cloud is very cheap, Anyone can afford to have a SQL Server database in Microsoft Cloud Environment. <strong>The cost starts from <span style="color: #0000ff; font-size: medium;">$5 </span>per month</strong>, yes Microsoft has an 100 MB option, which costs only $5 a month.</p>
<p>Currently many customer / Business managers are unaware of this fact, how cost effective is to use Microsoft cloud / SQL Server Azure. specially for startups, where buying a software licensing is too costly. I prepared a small example to understand this fact. The very first question is</p>
<p><strong><span style="color: #ff0000;">What are the Key factors for taking decision on hosting data on SQL Server Vs SQL Azure?</span></strong></p>
<h3><span style="color: #ff0000;">Compare SQL Server with Windows Azure SQL Database</span></h3>
<p>Taking a decision between SQL Server (In house Hosting) vs hosting on Microsoft Cloud (SQL Azure) is not a big challenge.</p>
<p>As per my personal experience, decision of hosting Data on SQL Server vs SQL Azure is mainly derived by</p>
<ul>
<li>COST  / Financial</li>
<li>Technical Limitations</li>
</ul>
<p>Let&#8217;s understand these two in details by apple to apple comparison.</p>
<p>In this scenario, let&#8217;s take example for startup company and planned a database services solution 3-5 years time frame from cost prospective.</p>
<p><strong>Assumptions</strong></p>
<ul>
<li>This is new company and gonna host a website for user interaction</li>
<li>The initial Database size would be 1 GB</li>
<li>First Year, marketing team is very active in advertisements etc, because product is still in development phase but application is available to users for first year. During this phase data growth is expected an avg of <strong>1 GB per month</strong>. Thus by End of 1st year, our database size is expected to be 13 GB (1 Gb initial and 1 GB per month)</li>
<li>After a year company is expected to come up with big launch and will advertise in market and expected 5 time growth in second year i.e. <strong>2 Gb Data would be added per month</strong>. Thus by End of 2nd  year, our database size is expected to be 13 GB (1 Gb initial and 1 GB per month)</li>
<li>Third and fourth year onwards company is expecting double his business and expected that <strong>3 GB new Data will be added to a database. </strong></li>
<li>As product is mature and reach it&#8217;s capacity, Year 5 company will have a bit slow growth but will look for more products to launch in market thus data growth would be <strong>2.5 GB per month</strong></li>
</ul>
<p>So finally this is how the Database size growth chart looks like, based on above assumptions</p>
<p><a href="http://lh6.ggpht.com/-2HSa9Hgqfug/UByh4UZ83TI/AAAAAAAABQc/nLelgaHG_Gg/s1600-h/SQL-Server-Azure-vs-In-house-SQL-Server-cost-analysis%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-Azure-vs-In-house-SQL-Server-cost-analysis" src="http://lh6.ggpht.com/-bAkztI_MGlQ/UByh5YvgMaI/AAAAAAAABQk/AkeH1xh2tSs/SQL-Server-Azure-vs-In-house-SQL-Server-cost-analysis_thumb%25255B1%25255D.jpg?imgmax=800" alt="SQL AZURE pricing (PROS | CONS)   How costly is to have SQL Database on a Cloud? SQL AZURE PROS and CONS sql azure pricing Compare SQL Server with SQL Azure  " width="644" height="389" border="0" /></a></p>
<p><a href="http://lh4.ggpht.com/-5u_FYDplrMA/UByh65UofHI/AAAAAAAABQs/Xgx9ilNbGw4/s1600-h/SQL-Server-Azure-Commulative-Hosting-Cost%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-Azure-Commulative-Hosting-Cost" src="http://lh3.ggpht.com/-mQhAKjYUKJc/UByh721bN0I/AAAAAAAABQ0/g4khR6ENlN0/SQL-Server-Azure-Commulative-Hosting-Cost_thumb%25255B1%25255D.jpg?imgmax=800" alt="SQL AZURE pricing (PROS | CONS)   How costly is to have SQL Database on a Cloud? SQL AZURE PROS and CONS sql azure pricing Compare SQL Server with SQL Azure  " width="644" height="388" border="0" /></a></p>
<p>Both two charts are based this Data for calculation purpose for calculating SQL AZURE Prices</p>
<table style="width: 338pt; border-collapse: collapse;" width="450" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 48pt;" width="64" />
<col style="width: 51pt;" width="68" />
<col style="width: 70pt;" width="93" />
<col style="width: 77pt;" width="103" />
<col style="width: 92pt;" width="122" /></colgroup>
<tbody>
<tr style="height: 15pt; font-weight: bold;">
<td class="xl73" style="text-align: center; width: 48pt; height: 15pt;" width="64" height="20">Month</td>
<td class="xl74" style="border-left: medium none; width: 51pt;" width="68">Date</td>
<td class="xl74" style="border-left: medium none; width: 70pt;" width="93">Database Size</td>
<td class="xl74" style="border-left: medium none; width: 77pt;" width="103">Cost Per Month</td>
<td class="xl75" style="border-left: medium none; width: 92pt;" width="122">Cumulative Cost</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">1</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">1/1/2012</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">2</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">14</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">24</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">4</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">4/1/2012</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">5</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">26</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">90</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">7</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">7/1/2012</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">8</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">38</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">192</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">10</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">10/1/2012</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">11</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">48</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">328</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">13</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">1/1/2013</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">15</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">56</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">486</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">16</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">4/1/2013</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">21</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">68</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">678</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">19</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">7/1/2013</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">27</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">80</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">906</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">22</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">10/1/2013</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">33</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">92</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">1170</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">25</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">1/1/2014</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">40</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">106</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">1472</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">28</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">4/1/2014</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">49</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">124</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">1826</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">31</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">7/1/2014</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">58</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">134</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">2220</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">34</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">10/1/2014</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">67</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">143</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">2640</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">37</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">1/1/2015</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">76</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">152</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">3087</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">40</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">4/1/2015</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">85</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">161</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">3561</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">43</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">7/1/2015</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">94</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">170</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">4062</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">46</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">10/1/2015</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">103</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">179</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">4590</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">49</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">1/1/2016</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">111.5</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">188</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">5145</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">52</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">4/1/2016</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">119</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">195</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">5722</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">55</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">7/1/2016</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">126.5</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">203</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">6323</td>
</tr>
<tr style="height: 15pt;">
<td class="xl67" style="text-align: center; height: 15pt; border-top: medium none;" height="20">58</td>
<td class="xl66" style="border-left: medium none; border-top: medium none;" align="right">10/1/2016</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">134</td>
<td class="xl65" style="text-align: center; border-left: medium none; border-top: medium none;">210</td>
<td class="xl68" style="text-align: center; border-left: medium none; border-top: medium none;">6946</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl69" style="text-align: center; height: 15.75pt; border-top: medium none;" height="21">61</td>
<td class="xl70" style="border-left: medium none; border-top: medium none;" align="right">1/1/2017</td>
<td class="xl71" style="text-align: center; border-left: medium none; border-top: medium none;">141.5</td>
<td class="xl71" style="text-align: center; border-left: medium none; border-top: medium none;">218</td>
<td class="xl72" style="text-align: center; border-left: medium none; border-top: medium none;"><strong>7592</strong></td>
</tr>
</tbody>
</table>
<p><strong><span style="color: #333333; font-size: medium;">Hosting In house Database Server COST</span></strong></p>
<p>If you plan to host a in house / in premises SQL Server Database server, then you are gonna pay approx $15,000 for this solution in 5 years time span.</p>
<table style="width: 253pt; border-collapse: collapse;" width="337" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 221pt;" width="295" />
<col style="width: 32pt;" width="42" /></colgroup>
<tbody>
<tr style="height: 15.75pt;">
<td class="xl66" style="width: 221pt; height: 15.75pt; font-weight: bold;" width="295" height="21">Items</td>
<td class="xl67" style="border-left: medium none; width: 32pt; font-weight: bold;" width="42">Cost</td>
</tr>
<tr style="height: 15pt;">
<td class="xl63" style="height: 15pt;" height="20">Hardware Cost (Dell PowerEdge T410 Chassis)</p>
<p>Intel® Xeon® E5620 2.4Ghz, 8 GB RAM,  500GB with RAID controller Card</td>
<td class="xl63" style="border-left: medium none;" align="right">2,000</td>
</tr>
<tr style="height: 15pt;">
<td class="xl64" style="height: 15pt; border-top: medium none;" height="20">SQL Server License (4 Core) (1792 * 4) One Time</td>
<td class="xl65" style="border-left: medium none; width: 32pt; border-top: medium none;" align="right" width="42">7,172</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl68" style="height: 15.75pt; border-top: medium none;" height="21">Date Center Hosting ($100 * 60) recurring</td>
<td class="xl68" style="border-left: medium none; border-top: medium none;" align="right">6,000</td>
</tr>
<tr style="height: 15.75pt;">
<td class="xl66" style="height: 15.75pt; font-weight: bold;" height="21">Total</td>
<td class="xl67" style="border-left: medium none; font-weight: bold;" align="right">15,172</td>
</tr>
</tbody>
</table>
<p>I am assuming that you don&#8217;t want to take head ache for security / firewall / redundant Power,</p>
<p>Redundant Internet Backbones, DR etc and will prefer to host inside a vendor hosted datacenter and will pay a monthly rent.</p>
<p>So In our above example, a One time cost of $9,172 in buying software and hardware and will be paying $100 recurring cost for server hosting in Data center, which sill sum up to $15,172 and you need to manage your own server where you will be responsible for hiring a consultant, who will</p>
<ul>
<li>Install and Configure SQL Server on a New Server</li>
<li>Will apply security patches, whenever there is a release</li>
<li>There is no DR covered in this, if Server fails, your business stops</li>
<li>Will buy some Antivirus to protect Server.</li>
<li>Need a DBA to for maintenance, who will be taking backup and other stuff.</li>
<li>There might be a possibility, Microsoft may come with New Version of SQL Server like SQL Server 2015 and might want to upgrade than , additional headache.</li>
<li>Need a Windows Consultant to manage windows Server / patches / maintenance same as SQL Server.</li>
</ul>
<p><span style="color: #0000ff;"><strong><span style="color: #ff0000; font-size: medium;">Conclusion on COST</span>, the cloud hosting will be a preferred option, if you look at above example, where a SQL AZURE Database (Microsoft Cloud Cost for SQL Azure Database) is costing you $7,592 over a period of 5 years the same solution will cost you approx $15,172, if you decide to host your own SQL Server.</strong></span></p>
<p><strong><span style="color: #0000ff;">SQL AZURE Database is better Option than SQL Server database / hosting, considering Cost as primary factor and avoiding technical limitations.</span></strong></p>
<p><strong>But Costing if one part of solution, there are some technical limitations on SQL AZURE, which you should keep in mind, before taking a final decision.</strong></p>
<p>Hosting Database SQL Server Database on SQL Azure / Microsoft Cloud or Building your own Database Server</p>
<h3>Compare SQL Server with Windows Azure SQL Database</h3>
<p><strong>SQL AZURE PROS and CONS</strong></p>
<table style="border: #000000 thin solid;" width="596" rules="all" cellspacing="0" cellpadding="0">
<tbody>
<tr style="background-color: #c0c0c0;">
<th>Feature</th>
<th width="173">SQL Server (In house hosting)</th>
<th width="302">SQL Database on Microsoft Cloud (SQL Azure)</th>
</tr>
<tr>
<td valign="top"><strong>Number of Databases</strong></td>
<td valign="top" width="173">You can host multiple (32000+) Database on Instance as you don&#8217;t worry on number of databases, as you own the Server.</p>
<p>You can use &#8220;<strong>USE</strong>&#8221; &lt;DatabaseName&gt; to change current Database.</td>
<td valign="top" width="302">You bother to host number of databases on SQL Azure as you pay per instance of Database. Here you don&#8217;t own a Server, in fact you own a database.</p>
<p>The &#8220;<strong>USE</strong>&#8221; &lt;DatabaseName&gt; is not supported, as you own a only one database. you need to connect to Other Database by using alternative Connection String.</td>
</tr>
<tr>
<td valign="top"><strong>Database Size / Storage</strong></td>
<td valign="top" width="173">No size limits. DB can grow up to TB&#8217;s</td>
<td valign="top" width="302">* The Web Edition Database can have maximum size of 5 GB.</p>
<p>* The Business Edition Database supports a maximum database size of 150 GB.</p>
<p>So any database beyond 150 GB is not supported by SQL Azure Database, you need to partition as work around with this limitation</td>
</tr>
<tr>
<td valign="top"><strong>Connectivity</strong></td>
<td valign="top" width="173">· SQL Server Management Studio</p>
<p>· SQLCMD</td>
<td valign="top" width="302">* The SQL Server Management Studio can be used to access, configure, manage and administer SQL Azure Database.</p>
<p>*The Management portal for Windows Azure SQL Database</p>
<p>* SQLCMD</td>
</tr>
<tr>
<td valign="top"><strong>Authentication</strong></td>
<td valign="top" width="173">* SQL Authentication</p>
<p>* Windows Authentication</td>
<td valign="top" width="302">SQL Server Authentication only</td>
</tr>
<tr>
<td valign="top"><strong>Schema / Structure </strong></td>
<td valign="top" width="173">No such limitation, you can design your own solution</td>
<td valign="top" width="302">ALL tables must have a clustered index.</td>
</tr>
<tr>
<td valign="top"><strong>TSQL Supportability</strong></td>
<td valign="top" width="173">All TSQL Support is availbale</td>
<td valign="top" width="302">There are some TSQL statements, which are not supported, here is a list of all such statements.</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/ee336270.aspx" target="_blank">Supported Transact-SQL</a>:</li>
<li><a href="http://msdn.microsoft.com/en-us/library/ee336267.aspx" rel="nofollow" target="_blank">Partially Supported Transact-SQL</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ee336253.aspx" rel="nofollow" target="_blank">Unsupported Transact-SQL</a></li>
</ul>
</td>
</tr>
<tr>
<td valign="top"><strong>High Availability Features / Solutions</strong></td>
<td valign="top" width="173">High Availability Features / Solutions like</p>
<ul>
<li>Replication</li>
<li>Log Shipping</li>
<li>Database Mirroring</li>
</ul>
</td>
<td valign="top" width="302">Not supported as cloud services hosts inbuilt DR solutions</td>
</tr>
<tr>
<td valign="top"><strong>Scheduling Jobs / Taks</strong></td>
<td valign="top" width="173">We can use SQL Agent to schedule some tasks / activities</td>
<td valign="top" width="302">SQL Server Agent is not available, thus Cannot run SQL agent or jobs on SQL Database</td>
</tr>
<tr>
<td valign="top"><strong>Server Level Customization</strong></td>
<td valign="top" width="173">you have full access to server, you can change server level properties, and see server level information.</td>
<td valign="top" width="302"><a href="http://msdn.microsoft.com/en-us/library/ee336238.aspx" target="_blank">Some few system views are supported</a></p>
<p>&nbsp;</td>
</tr>
<tr>
<td valign="top"><strong>Connection Limitations</strong></td>
<td valign="top" width="173">N/A</td>
<td valign="top" width="302">Connecting to Windows Azure SQL Database by using <strong>OLE DB is not supported</strong>. Connections that have been idle for 30 minutes or longer are automatically killed.</td>
</tr>
<tr>
<td valign="top"><strong>SQL Server Integration Services (SSIS)</strong></td>
<td valign="top" width="173">Can run SSIS on-premise</td>
<td valign="top" width="302">SSIS service not available on Azure platform</td>
</tr>
</tbody>
</table>
<p>The Above facts are being taken from MSDN, &#8220;<a href="http://msdn.microsoft.com/en-us/library/ee336245.aspx" rel="nofollow" target="_blank">General Guidelines and Limitations, SQL AZURE</a>&#8221;</p>
<p>SQL Azure, is not only the Services which are being offered by Microsoft on cloud, As on date Microsoft offers following services as part of their Cloud Services Portfolio.</p>
<p><strong>Standard Rates for various Cloud Services at glace:</strong></p>
<p><strong>Windows Azure</strong></p>
<ul>
<li>Compute
<ul>
<li>Small instance (default): $0.12 per hour</li>
<li>Medium instance: $0.24 per hour</li>
<li>Large instance: $0.48 per hour</li>
<li>Extra large instance: $0.96 per hour</li>
</ul>
</li>
<li>Storage
<ul>
<li>$0.15 per GB stored per month</li>
<li>$0.01 per 10,000 storage transactions</li>
</ul>
</li>
<li>Content Delivery Network (CDN)
<ul>
<li>$0.15 per GB for data transfers from European and North American locations*</li>
<li>$0.20 per GB for data transfers from other locations*</li>
<li>$0.01 per 10,000 transactions*</li>
</ul>
</li>
</ul>
<p><strong>SQL Azure</strong></p>
<ul>
<li>Web Edition
<ul>
<li>$9.99 per database up to 1GB per month</li>
<li>$49.95 per database up to 5GB per month**</li>
</ul>
</li>
<li>Business Edition
<ul>
<li>Maximum $225.78 per month a maximum database size, which is 150 GB, various prices can be check at <a href="http://www.windowsazure.com/en-us/pricing/calculator/" rel="nofollow" target="_blank">Azure Calculator</a>, SQL AZURE Pricing</li>
</ul>
<p>AppFabric</p>
<ul>
<li>Access Control
<ul>
<li>$1.99 per 100,000 transactions</li>
</ul>
</li>
<li>Service Bus
<ul>
<li>$3.99 per connection on a “pay-as-you-go” basis</li>
<li>Pack of 5 connections $9.95</li>
<li>Pack of 25 connections $49.75</li>
<li>Pack of 100 connections $199.00</li>
<li>Pack of 500 connections $995.00</li>
</ul>
</li>
</ul>
<p>Data Transfers / Storage</p>
<ul>
<li>North America and Europe regions
<ul>
<li>$0.10 per GB in</li>
<li>$0.15 per GB out</li>
</ul>
</li>
<li>Asia Pacific Region
<ul>
<li>$0.30 per GB in</li>
<li>$0.45 per GB out</li>
</ul>
</li>
</ul>
<p>Neudesic has built an <a href="http://azureroi.cloudapp.net/">Azure ROI Calculator</a>, which provides an interactive tool to provide indicative pricing, which you check.</li>
</ul>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/sql-azure-technical-documents/-" rel="bookmark" class="crp_title">SQL Azure &#8211; Technical Documents</a></li><li><a href="http://www.sqlserver-training.com/sql-azure-database-video-tutorial/-" rel="bookmark" class="crp_title">SQL Azure Database &#8211; Video Tutorial</a></li><li><a href="http://www.sqlserver-training.com/houston-a-new-version-of-sql-server-azure/-" rel="bookmark" class="crp_title">Houston &ndash; A new Version of SQL Server Azure</a></li><li><a href="http://www.sqlserver-training.com/sql-server-atlanta-proactive-monitoring/-" rel="bookmark" class="crp_title">SQL Server Atlanta &#8211; Proactive Monitoring</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2012-editions-licensing-costing/-" rel="bookmark" class="crp_title">SQL Server 2012 Editions Licensing Costing</a></li><li><a href="http://www.sqlserver-training.com/how-to-subscribe-for-sql-server-cloud-services-sql-server-azure-freely/-" rel="bookmark" class="crp_title">How to subscribe for SQL Server Cloud Services (SQL Server AZURE) FREELY ?</a></li><li><a href="http://www.sqlserver-training.com/10-sql-server-disaster-recovery-solutions/-" rel="bookmark" class="crp_title">10 SQL Server Disaster Recovery Solutions</a></li><li><a href="http://www.sqlserver-training.com/video-how-to-create-a-table-for-sql-azure/-" rel="bookmark" class="crp_title">Video : How to create a table for SQL Azure</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2008-pricing/-" rel="bookmark" class="crp_title">SQL Server 2008 Pricing</a></li><li><a href="http://www.sqlserver-training.com/how-much-a-sql-server-2008-r2-license-cost/-" rel="bookmark" class="crp_title">How much a SQL Server 2008 R2 License Cost ?</a></li><li><a href="http://www.sqlserver-training.com/video-how-to-create-a-query-for-sql-azure/-" rel="bookmark" class="crp_title">Video : How to create a query for SQL Azure</a></li><li><a href="http://www.sqlserver-training.com/how-to-create-select-and-modify-a-view-with-the-database-manager-for-sql-azure/-" rel="bookmark" class="crp_title">How to create, select, and modify a view with the database manager for SQL Azure?</a></li><li><a href="http://www.sqlserver-training.com/how-to-create-stored-procedure-sp-for-sql-azure/-" rel="bookmark" class="crp_title">How to create Stored Procedure (SP) for SQL Azure?</a></li><li><a href="http://www.sqlserver-training.com/sql-server-developer-tool-juneau/-" rel="bookmark" class="crp_title">SQL Server Developer Tool &quot;Juneau&quot; ???</a></li><li><a href="http://www.sqlserver-training.com/sql-server-video-tutorials/-" rel="bookmark" class="crp_title">SQL Server Video Tutorials</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/sql-azure-pricing-pros-cons-how-costly-is-to-have-sql-database-on-a-cloud/-">SQL AZURE pricing (PROS | CONS) &#8211; How costly is to have SQL Database on a Cloud?</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/sql-azure-pricing-pros-cons-how-costly-is-to-have-sql-database-on-a-cloud/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell script error &#8211; File not digitally signed : FIX</title>
		<link>http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-</link>
		<comments>http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-#comments</comments>
		<pubDate>Wed, 01 Aug 2012 18:02:00 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[because]]></category>
		<category><![CDATA[cannot]]></category>
		<category><![CDATA[digitally]]></category>
		<category><![CDATA[disabled]]></category>
		<category><![CDATA[execution]]></category>
		<category><![CDATA[execution scripts disabled system powershell set policy set-executionpolicy remote signed save script cannot loaded because not digitally file]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[loaded]]></category>
		<category><![CDATA[NOT]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Powershell Security]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[set-executionpolicy]]></category>
		<category><![CDATA[signed]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11061</guid>
		<description><![CDATA[<p>Today I was working on building PowerShell script to establish SQL Server Database Mirroring. To start with PowerShell, I tried to execute my first built of PowerShell Script on SQLPS, I received the following error.File C:\Temp\Mirroring\Script\DBMirrroringSetup.ps1 cannot be loaded. The file C:\Temp\Mirroring\Script\DBMirrroringSetup.ps1 is not digitally signed. The script will not execute on the system. Please [...]</p><p>The post <a href="http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-">PowerShell script error &#8211; File not digitally signed : FIX</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Today I was working on building PowerShell script to establish SQL Server Database Mirroring. To start with PowerShell, I tried to execute my first built of PowerShell Script on <strong>SQLPS</strong>, I received the following error.<a href="http://lh3.ggpht.com/-S0YgCCo03Yk/UBlu5JDJYeI/AAAAAAAABPc/5iHVXNDeCVM/s1600-h/Powershell-error-not-digitally-signed%25255B10%25255D.jpg"><img style="background-image: none; margin: 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="powershell script error not digitally signed" src="http://lh5.ggpht.com/-xBiDbB3GaiA/UBlu5l1J17I/AAAAAAAABPk/_8AevnJY38Q/Powershell-error-not-digitally-signed_thumb%25255B10%25255D.jpg?imgmax=800" alt="PowerShell script error   File not digitally signed : FIX system signed set executionpolicy set scripts script save remote Powershell Security powershell policy NOT loaded file execution scripts disabled system powershell set policy set executionpolicy remote signed save script cannot loaded because not digitally file execution disabled digitally cannot because  " width="644" height="332" border="0" /></a><strong><span style="color: #ff0000; font-size: xx-small;">File C:\Temp\Mirroring\Script\DBMirrroringSetup.ps1 cannot be loaded. The file C:\Temp\Mirroring\Script\DBMirrroringSetup.ps1 is not digitally signed. The script will not execute on the system. Please see &#8220;get-help about_signing&#8221; for more details..<br />
At line:1 char:47+ C:\Temp\Mirroring\Script\DBMirrroringSetup.ps1 &lt;&lt;&lt;&lt;    + CategoryInfo          : NotSpecified: (:) [], PSSecurityException     + FullyQualifiedErrorId : RuntimeException</span></strong></p>
<p>You may also get Error &#8220;<span style="color: #ff0000;"><strong>The execution of scripts is disabled on this system</strong></span>&#8221;</p>
<p>As per the error message, the script is not trusted to be run on your system. This is because, my current security policy doesn&#8217;t allow to run any PowerShell Script, which is not Digitally signed.</p>
<p><strong><span style="color: #0000ff;">FIX / Resolution</span></strong></p>
<p>I have seen this issue in past where I get error &#8220;execution of scripts is disabled on this system&#8221;, to fix this, I modified security settings and asked PowerShell environment to run any PowerShell Script by setting &#8220;<strong>“ExecutionPolicy&#8221; </strong>as  <strong>Unrestricted</strong>, using the following command in PowerShell window <strong>“Set-ExecutionPolicy Unrestricted”</strong></p>
<p><a href="http://lh5.ggpht.com/-8HxC4pZt0gk/UBlu6BvvUlI/AAAAAAAABPs/WIV5St7sw-w/s1600-h/PowerShell-Set-Execution-Policy%25255B8%25255D.jpg"><img style="background-image: none; margin: 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="PowerShell-Set-Execution-Policy" src="http://lh4.ggpht.com/-jMeRy4QrPSQ/UBlu6orUh_I/AAAAAAAABP0/MKNkvB4dumg/PowerShell-Set-Execution-Policy_thumb%25255B8%25255D.jpg?imgmax=800" alt="PowerShell script error   File not digitally signed : FIX system signed set executionpolicy set scripts script save remote Powershell Security powershell policy NOT loaded file execution scripts disabled system powershell set policy set executionpolicy remote signed save script cannot loaded because not digitally file execution disabled digitally cannot because  " width="644" height="308" border="0" /></a></p>
<p><strong>Note </strong>: Make sure, the command prompt / PowerShell window is opened with elevated privileges, I mean to say, run as Administrator Mode.</p>
<p>After that, when I ran my PowerShell script, that worked without any issues.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/sql-server-windows-powershell/-" rel="bookmark" class="crp_title">SQL Server PowerShell</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-find-sql-server-error-log-location/-" rel="bookmark" class="crp_title">SQL Script to Find SQL Server Error Log location</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 21, Level 20, State 1, Line 1 Warning: Fatal error %d occurred at %S_DATE. Note the error and time, and contact your system administrator</a></li><li><a href="http://www.sqlserver-training.com/microsoft-ole-db-provider-for-sql-server-error-80004005/-" rel="bookmark" class="crp_title">Microsoft OLE DB provider for SQL Server error 80004005</a></li><li><a href="http://www.sqlserver-training.com/next-generation-windows-file-system-refs/-" rel="bookmark" class="crp_title">Next generation Windows File System &#8211; ReFS</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-53-fix/-" rel="bookmark" class="crp_title">SQL server Error 53 &#8211; FIX</a></li><li><a href="http://www.sqlserver-training.com/windows-server-2008-changes-in-failover-clustering/-" rel="bookmark" class="crp_title">Windows Server 2008 Changes in Failover Clustering</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-427-level-20-state-1-line-1-could-not-load-the-definition-for-constraint-id-d-in-database-id-d-run-dbcc-checkcatalog-to-verify-the-integrity-of-the-database/-" rel="bookmark" class="crp_title">SQL Error : Msg 427, Level 20, State 1, Line 1 Could not load the definition for constraint ID %d in database ID %d. Run DBCC CHECKCATALOG to verify the integrity of the database.</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-801-level-20-state-1-line-1-a-buffer-was-encountered-with-an-unexpected-status-of-0xx/-" rel="bookmark" class="crp_title">SQL Error : Msg 821, Level 20, State 1, Line 1 Could not unhash buffer at 0x%p with a buffer page number of %S_PGID and database ID %d with HASHED status set. The buffer was not found. %S_PAGE.</a></li><li><a href="http://www.sqlserver-training.com/recover-your-database-when-dbcc-checkdb-fails-and-you-do-not-have-backup/-" rel="bookmark" class="crp_title">Recover your Database when DBCC CHECKDB fails and you do not have backup</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2012-cluster-install-error-sql-server-database-services-feature-state/-" rel="bookmark" class="crp_title">SQL Server 2012 Cluster Install Error : &quot;SQL Server Database Services feature state&quot;</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-modify-the-database-file-size/-" rel="bookmark" class="crp_title">SQL Script to modify the database file size</a></li><li><a href="http://www.sqlserver-training.com/best-practice-sql-server-error-log-management/-" rel="bookmark" class="crp_title">Best Practice &#8211; SQL Server Error Log Management</a></li><li><a href="http://www.sqlserver-training.com/msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-204-level-20-state-1-line-1-normalization-error-in-node/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-">PowerShell script error &#8211; File not digitally signed : FIX</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/powershell-script-error-file-not-digitally-signed-fix/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade SQL Server? Step by Step Guide &#8211; Screen Shots</title>
		<link>http://www.sqlserver-training.com/how-to-upgrade-sql-server-step-by-step-guide-screen-shots/-</link>
		<comments>http://www.sqlserver-training.com/how-to-upgrade-sql-server-step-by-step-guide-screen-shots/-#comments</comments>
		<pubDate>Mon, 30 Jul 2012 05:13:00 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[sql server in place upgrade]]></category>
		<category><![CDATA[sql server upgrade]]></category>
		<category><![CDATA[sql server Upgrade Activities]]></category>
		<category><![CDATA[SQL Server upgrade planning]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=11057</guid>
		<description><![CDATA[<p>Microsoft has planned to come up with new version of SQL Server on every 3-5 years time frame. The current release of SQL Server is SQL Server 2012. Upgrading a SQL Server is critical activity which a DBA has perform to continue to get Microsoft support. This weekend, I was performing a SQL Server upgrade [...]</p><p>The post <a href="http://www.sqlserver-training.com/how-to-upgrade-sql-server-step-by-step-guide-screen-shots/-">How to upgrade SQL Server? Step by Step Guide &#8211; Screen Shots</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>Microsoft has planned to come up with new version of SQL Server on every 3-5 years time frame. The current release of SQL Server is SQL Server 2012. Upgrading a SQL Server is critical activity which a DBA has perform to continue to get Microsoft support.</p>
<p>This weekend, I was performing a SQL Server upgrade from SQL Server 2000 to SQL Server 2005, still pretty old but the customer application is not being tested on SQL Server 2008 / R2 so that the only version which is achievable.</p>
<p>There are multiple ways to upgrade SQL Server</p>
<ol>
<li>Side by Side upgrade</li>
<li>In Place upgrade</li>
</ol>
<p><strong>SIDE by SIDE </strong>upgrade is always an better option for DBAs, this option will leave the current instance as it is and we install a new SQL Server instance as a named instance and perform a backup and restore method to transfer databases from old version to newer version of SQL Server. In this solution, no down time is required as both instances can in parallel.</p>
<p><strong>In Place upgrade</strong>, in this option we upgrade binaries from existing installation to a newer version of SQL Server. This method requires downtime and may fail in betwwen.</p>
<p>In my case, I did a In place upgrade because of following two limitations.</p>
<ul>
<li><strong>Limitation of Storage / resources</strong> -  The server which I am gonna upgrade is lower end and doesn&#8217;t&#8217; have enough storage to run two copied of databases.</li>
<li><strong>Application Limitation</strong> &#8211; Application SME is not available to modify connection string from default instance to Named instance.</li>
</ul>
<p>This is a development server upgrade and production environment will be upgrade once every application level functionality is being verified by business on the DEV environment.</p>
<p><strong><span style="font-size: medium;">Step by Step Guide to Upgrade SQL Server In place Upgrade from SQL Server 2000 to SQL Server 2005 Enterprise Edition.</span></strong></p>
<p><strong><span style="color: #0000ff; font-size: medium;">PRE Upgrade TASK</span></strong></p>
<p>Prior to actual upgrade, please ensure that your database / database objects / application are compatible for newer version of SQL Server. Every version of SQL Server add some new features and deprecate some old / legacy  features. So prior to upgrade, please check and confirm that  you are not using any feature of SQL Server / TSQL Code which is deprecate in newer version of SQL Server.</p>
<p>Upgrade Advisor checks for any potential compatibility issues, deprecated functionalities, and feature and behavior changes, and provides you with a recommended list of tasks that need to be done before and after the upgrade.</p>
<p><a href="http://lh5.ggpht.com/-5tBbacHmLPI/UBYXPI6GfQI/AAAAAAAABOU/lN2Z116oD6Y/s1600-h/SQL-Server-Upgrade-Advisor-Report-Sample%25255B1%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-Upgrade-Advisor-Report-Sample" src="http://lh5.ggpht.com/-RoLg48xH7Ds/UBYXP6lbq9I/AAAAAAAABOc/U2cI1tDlhTw/SQL-Server-Upgrade-Advisor-Report-Sample_thumb%25255B1%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="557" height="484" border="0" /></a></p>
<p>This is tuff task, thus Microsoft has come up with a solution named &#8220;<strong>Upgrade Advisor</strong>&#8221; , which check and verifies each and every piece of your database / database objects will work in next version f SQL Server. If there is any deprecate feature, which you are currently using, SQL Server Upgrade Advisor will produce a report for the same.</p>
<p>If any feature / Code is being reported by <strong>Upgrade Advisor </strong>as warning / Error / deprecate feature, please work with developer to take special consideration.</p>
<p>To run <strong>Upgrade Advisor for SQL Server</strong>, you must have this application installed on your system. If you don&#8217;t have this Upgrade Advisor Installed, No worries, this is a free application from Microsoft. you can find <strong>Upgrade Advisor </strong>at Microsoft Site or it&#8217;s also available in SQL Server installation media / DVD.</p>
<p>Install <strong>Upgrade Advisor. </strong>Start the Upgrade Advisor from SQL server installation media</p>
<p><a href="http://lh5.ggpht.com/-3B8NkmNdr-M/UBYU1H2eGyI/AAAAAAAABI0/8kjQBsmbnKw/s1600-h/sql-upgrade-advisor%25255B12%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sql-upgrade-advisor" src="http://lh3.ggpht.com/-KahhkXVAGx4/UBYU1xYVXTI/AAAAAAAABI8/9TIEy1JeHog/sql-upgrade-advisor_thumb%25255B12%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="644" height="194" border="0" /></a></p>
<p><a href="http://lh4.ggpht.com/-kCvDhRb0gwU/UBYU2UsAPbI/AAAAAAAABJE/nH_5FKTrkW8/s1600-h/d%25255B10%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="d" src="http://lh4.ggpht.com/-1ImVM2xpLtI/UBYU25DOTrI/AAAAAAAABJM/R_B9Zuhoupc/d_thumb%25255B5%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="621" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-Uc0-QhF_j1A/UBYU3tDutTI/AAAAAAAABJU/-yJ7tuSR9IQ/s1600-h/sd%25255B6%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sd" src="http://lh6.ggpht.com/-dsJbbFgS-X4/UBYU4BC7PRI/AAAAAAAABJc/VNcocXbwOaQ/sd_thumb%25255B6%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="619" height="484" border="0" /></a></p>
<p>Enter Registration information and finally select upgrade advisor to install.</p>
<p><a href="http://lh3.ggpht.com/-eEj-jONk18g/UBYU4v5i3_I/AAAAAAAABJk/qoOB_qmSfp4/s1600-h/sd3%25255B6%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="How to upgrade SQL Server" src="http://lh6.ggpht.com/-myfuGZvOKcs/UBYU5LdTi0I/AAAAAAAABJo/fqf68qq06LU/sd3_thumb%25255B6%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="613" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-7QHPSpufFXc/UBYU5gyW6DI/AAAAAAAABJw/9_LRsL6-GoY/s1600-h/dfg%25255B6%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="How to upgrade SQL Server? Step by Step Guide - Screen Shots" src="http://lh4.ggpht.com/-Ne5YddTRJ7g/UBYU6DPBHyI/AAAAAAAABJ8/qUkTNlCCuvw/dfg_thumb%25255B6%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="644" height="483" border="0" /></a></p>
<p>Once the <strong>Upgrade Advisor </strong>is installed, run that for all user databases and system databases and check the report.</p>
<p>This may take hours to run depending on size of the database. In my case this took approx 2 1/2 hours to complete.</p>
<p>Then verify that you are ready to upgrade and all your database objects will work on newer version of SQL Server.</p>
<p><strong><span style="color: #0000ff; font-size: medium;">SQL Server Upgrade Actually</span></strong></p>
<p>Prior to start SQL Server Installation / upgrade. Please verify that you have met all pre requisite for SQL Server 2005 installation like Windows Installer Services. In case of SQL Server 2008, .Net framework is also required.</p>
<p>Ensure that you have Windows Installer Services Installed on your Windows System. If you don&#8217;t have Windows Installed, then you can install Windows Installer 4.5  from <a href="http://www.microsoft.com/en-us/download/details.aspx?id=8483" rel="nofollow" target="_blank">Microsoft</a>. In my case I need to install This on Windows 32 bit so I downloaded and installed WindowsServer2003-KB942288-v4-x86.exe</p>
<p>Once this is being Done, Restart system and begin with Windows 2005 Setup installer by double clicking SETUP.EXE in installation media file.</p>
<p><a href="http://lh4.ggpht.com/-xWagu86nH1Q/UBYU6qIDkGI/AAAAAAAABKE/B1Xx7JJrIUY/s1600-h/Upgrade-SQL-Server-2000-to-SQL-Serv%25255B1%25255D%25255B3%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Upgrade-SQL-Server-2000-to-SQL-Server-2005" src="http://lh5.ggpht.com/-qXTaPZ3Ymy4/UBYU7utwqaI/AAAAAAAABKM/f5ggBusFtuk/Upgrade-SQL-Server-2000-to-SQL-Serv%25255B1%25255D_thumb%25255B3%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="527" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-i1U0OXf_CY0/UBYU8KMspAI/AAAAAAAABKU/NkICnE9l1zs/s1600-h/SQL-Server-2005-upgrade-SETUP%25255B5%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-2005-upgrade-SETUP" src="http://lh4.ggpht.com/-K4yLiIgLXo8/UBYU8hez8vI/AAAAAAAABKc/3dWyT7rAuig/SQL-Server-2005-upgrade-SETUP_thumb%25255B5%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="524" height="484" border="0" /></a></p>
<p><a href="http://lh5.ggpht.com/-U203RTSl3Fc/UBYU9US5K9I/AAAAAAAABKk/Ng7r0zUWQxY/s1600-h/SQL-Server-2005-upgrade-installtion%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-2005-upgrade-installtion-wizard" src="http://lh6.ggpht.com/-vL-Xhgzz6L0/UBYU98Iw1fI/AAAAAAAABKs/ssxspPuoT4Q/SQL-Server-2005-upgrade-installtion_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="543" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-6PaH5evWVyI/UBYU-ZTjMCI/AAAAAAAABK0/ezZOGlcUI2Q/s1600-h/SQL-upgrade-System-Configuration-Ch%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-upgrade-System-Configuration-Checker" src="http://lh3.ggpht.com/-sHR4qQ0MIg8/UBYU_At0OHI/AAAAAAAABK8/9NRPQsD5USI/SQL-upgrade-System-Configuration-Ch_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="516" height="484" border="0" /></a></p>
<p>Enter the product key and License aggreement</p>
<p>Select the component which you want to install</p>
<p><a href="http://lh4.ggpht.com/-vghliJ1rTWM/UBYU_iVnEmI/AAAAAAAABLE/iMiiu1H0wYc/s1600-h/image6%25255B5%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="How to upgrade SQL Server" src="http://lh6.ggpht.com/-XidKPEi9FuE/UBYVAJZXvFI/AAAAAAAABLM/kCAsGz0UJAA/image6_thumb%25255B4%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="517" height="484" border="0" /></a></p>
<p><a href="http://lh6.ggpht.com/-CoO6OeL0Hus/UBYVBCTXY5I/AAAAAAAABLU/CNCFF2JsDWw/s1600-h/sql-upgrade-Instance-NAME%25255B5%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sql-upgrade-Instance-NAME" src="http://lh6.ggpht.com/-dttkY-BNYX4/UBYVBx_oG7I/AAAAAAAABLc/Ngd-FfRGQJo/sql-upgrade-Instance-NAME_thumb%25255B4%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="529" height="484" border="0" /></a></p>
<p>Click on Installed Instances and select the instance which you want to upgrade</p>
<p><a href="http://lh5.ggpht.com/-CgDrFDS2qr8/UBYVCRNxVAI/AAAAAAAABLk/Xc3QbvuKrHE/s1600-h/image11%25255B5%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="upgrade SQL Server Step by Step Guide Screen Shots" src="http://lh4.ggpht.com/-xyR0kmr8ydA/UBYVC-rmyPI/AAAAAAAABLs/Ayx2KZ9wMjo/image11_thumb%25255B4%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="530" height="484" border="0" /></a></p>
<p>Once the Instance in identified, which you want to upgrade, the setup will show you current version and once you click on Details, it will show you available options during this setup session.</p>
<p><a href="http://lh6.ggpht.com/-uoyJA_uNBsY/UBYVDRoKpqI/AAAAAAAABL0/SCC7lG5zrkI/s1600-h/image16%25255B5%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="upgrade SQL Server Step by Step Guide Screen Shot" src="http://lh3.ggpht.com/-AdgucqDURaA/UBYVD5X5UAI/AAAAAAAABL8/Adg-O7iOYBM/image16_thumb%25255B4%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="618" height="484" border="0" /></a></p>
<p>Select the mode for authentication mechanism. This credentials will be used by SQL Server connection to old instance, which we are upgrading.</p>
<p><a href="http://lh4.ggpht.com/-MQnUnsDdVS4/UBYVEDOdE8I/AAAAAAAABME/XY2ywbRRXN0/s1600-h/image21%25255B5%25255D.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Step by Step Guide to upgrade SQL Server - Screen Shots" src="http://lh6.ggpht.com/-SzvwvJUhZgg/UBYVE5PQewI/AAAAAAAABMM/A9Ygnfd_7kA/image21_thumb%25255B4%25255D.png?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="519" height="484" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="http://lh3.ggpht.com/-gjhaqQtf0_I/UBYVFaH3dqI/AAAAAAAABMU/weD-VJUKo-s/s1600-h/SQL-Server-2005-upgrade-analyzing-u%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Step by Step Guide to upgrade SQL Server 2005- Screen Shots" src="http://lh6.ggpht.com/-rTSbq8pz-r4/UBYVGHuTkUI/AAAAAAAABMc/rXTRIFAZ9P4/SQL-Server-2005-upgrade-analyzing-u_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="522" height="484" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="http://lh6.ggpht.com/-OoDjdm9s44o/UBYVGdCqQzI/AAAAAAAABMk/6fFawOmcZr0/s1600-h/SQL-Seerver-upgrade-2005-Service-Ac%25255B1%25255D%25255B5%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Step by Step Guide to upgrade SQL Server 2008 - Screen Shots" src="http://lh6.ggpht.com/-U7aIXgmY_A8/UBYVHJ9v-sI/AAAAAAAABMs/_8PR8JyWKEA/SQL-Seerver-upgrade-2005-Service-Ac%25255B1%25255D_thumb%25255B5%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="525" height="484" border="0" /></a></p>
<p><a href="http://lh6.ggpht.com/-o6FLGTn5IXQ/UBYVHqBBE6I/AAAAAAAABM0/CKND3CF4MhA/s1600-h/SQL-2005-Server-upgrade-setup-STEP-%25255B1%25255D%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Step by Step Guide to upgrade SQL Server 2012 - Screen Shots" src="http://lh5.ggpht.com/-zLPuleYadVg/UBYVIAFuQ3I/AAAAAAAABM8/PL4RzGKG9uc/SQL-2005-Server-upgrade-setup-STEP-%25255B1%25255D_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="527" height="484" border="0" /></a></p>
<p><a href="http://lh3.ggpht.com/-JpLz6jV2AwE/UBYVIofm9_I/AAAAAAAABNE/KnzTAikW25g/s1600-h/SQL-Server-Upgrade-2005-binaries%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-Upgrade-2005-binaries" src="http://lh6.ggpht.com/-RwNOlTTn6m0/UBYVJZLeDfI/AAAAAAAABNM/dOGrsTg1Wow/SQL-Server-Upgrade-2005-binaries_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="527" height="484" border="0" /></a></p>
<p><a href="http://lh5.ggpht.com/-BlAcavkn6DE/UBYVJ3pvKvI/AAAAAAAABNU/tuHiYn-NM8I/s1600-h/SQL-Server-2005-upgrade-binaries-in%25255B1%25255D%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-2005-upgrade-binaries-in-WIP" src="http://lh4.ggpht.com/-gwUVkRhJjKQ/UBYVKS4kHKI/AAAAAAAABNc/m--0X49GCkg/SQL-Server-2005-upgrade-binaries-in%25255B1%25255D_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="528" height="484" border="0" /></a></p>
<p><a href="http://lh6.ggpht.com/-goTbhRLkUh4/UBYVLOb3A_I/AAAAAAAABNk/sRFzuN983P4/s1600-h/SQL-Server-Database-upgrade-is-in-p%25255B14%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SQL-Server-Database-upgrade-is-in-progress" src="http://lh4.ggpht.com/-x6K5OLDRUvA/UBYVLicHCYI/AAAAAAAABNs/914zTORRklI/SQL-Server-Database-upgrade-is-in-p_thumb%25255B14%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="541" height="484" border="0" /></a></p>
<p><a href="http://lh6.ggpht.com/-WezUPMAVT9w/UBYVMD3HuCI/AAAAAAAABN0/cSdqxk5iAWA/s1600-h/STEP-by-step-guide-to-upgrade-sql-s%25255B4%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="STEP-by-step-guide-to-upgrade-sql-server-2005-screenshot[3]" src="http://lh3.ggpht.com/-YTkaQp2GIrE/UBYVNPmg_lI/AAAAAAAABN8/unzTObzCEh4/STEP-by-step-guide-to-upgrade-sql-s_thumb%25255B4%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="528" height="484" border="0" /></a></p>
<p>OPEN SQL Server Management studio and verify SQL Server version</p>
<p><a href="http://lh4.ggpht.com/-YmjZ2E0uoQw/UBYVNihDfjI/AAAAAAAABOE/C3D8y5Hsbl8/s1600-h/sql-server-2005-upgrade-completed-s%25255B8%25255D.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="sql-server-2005-upgrade-completed-sucessfully" src="http://lh6.ggpht.com/-LG5RfOKqwdI/UBYVOLxf-zI/AAAAAAAABOM/sGjFSCtpxH4/sql-server-2005-upgrade-completed-s_thumb%25255B8%25255D.jpg?imgmax=800" alt="How to upgrade SQL Server? Step by Step Guide   Screen Shots SQL Server upgrade planning sql server Upgrade Activities sql server upgrade sql server in place upgrade  " width="644" height="311" border="0" /></a></p>
<p>Prior to send this good news to business, please validate SQL Server installation log files to verify there is no issue with any component of sql server. Please check my previous article to check <a href="http://www.sqlserver-training.com/how-to-check-when-was-sql-server-installed/-" target="_blank">installation logs (BOOTSTRAP files)</a>.</p>
<p>Now apply Updated Service pack to keep software upto date. so now in my case, I need to install and apply <a href="http://www.microsoft.com/en-us/download/details.aspx?id=7218" rel="nofollow" target="_blank">SQL service pack 4</a>, which is latest available for this version of SQL Server 2005.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/sql-server-2008-upgrade-tools-and-approaches/-" rel="bookmark" class="crp_title">SQL Server 2008 Upgrade Tools and Approaches</a></li><li><a href="http://www.sqlserver-training.com/migrating-sql-server-2000-to-sql-server-2008/-" rel="bookmark" class="crp_title">Upgrade SQL Server 2000 to SQL Server 2008</a></li><li><a href="http://www.sqlserver-training.com/how-to-setup-availability-groups-in-sql-server-denali-2011/-" rel="bookmark" class="crp_title">How to setup Availability Group in SQL Server DENALI (2011)?</a></li><li><a href="http://www.sqlserver-training.com/what-is-hadr-in-sql-server/-" rel="bookmark" class="crp_title">What is HADR in SQL Server ?</a></li><li><a href="http://www.sqlserver-training.com/what-is-availability-groups-in-sql-server/-" rel="bookmark" class="crp_title">What is Availability Group in SQL Server?</a></li><li><a href="http://www.sqlserver-training.com/what-are-the-features-of-hadron-in-sql-server-denali-2011/-" rel="bookmark" class="crp_title">What are the Features of HADRON in SQL Server DENALI (2011) ?</a></li><li><a href="http://www.sqlserver-training.com/video-how-to-create-a-cube/-" rel="bookmark" class="crp_title">Video : How to create a Cube ?</a></li><li><a href="http://www.sqlserver-training.com/what-is-the-hardware-and-software-requirement-for-implementing-hadr-in-sql-server/-" rel="bookmark" class="crp_title">What is the hardware and software requirement for implementing HADR in SQL Server ?</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2011/-" rel="bookmark" class="crp_title">SQL Server 2011</a></li><li><a href="http://www.sqlserver-training.com/sql-server-denali/-" rel="bookmark" class="crp_title">SQL Server Denali</a></li><li><a href="http://www.sqlserver-training.com/video-how-to-install-sql-server-2008/-" rel="bookmark" class="crp_title">Video : How to Install SQL Server 2008</a></li><li><a href="http://www.sqlserver-training.com/hardware-and-software-requirements-for-installing-sql-server/-" rel="bookmark" class="crp_title">Hardware and Software Requirements for Installing SQL Server</a></li><li><a href="http://www.sqlserver-training.com/video-install-sql-server-denali-setup-install-sql-server-2011/-" rel="bookmark" class="crp_title">Video : Install SQL Server Denali Setup (Install SQL Server 2011)</a></li><li><a href="http://www.sqlserver-training.com/do-you-know-what-is-enhanced-in-denali-for-high-availability/-" rel="bookmark" class="crp_title">Do you know what is Enhanced in Denali for HIGH Availability ?</a></li><li><a href="http://www.sqlserver-training.com/install-sql-server-2012-cluster-on-windows-server-2008-r2/-" rel="bookmark" class="crp_title">Install SQL Server 2012 Cluster on Windows Server 2008 R2</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/how-to-upgrade-sql-server-step-by-step-guide-screen-shots/-">How to upgrade SQL Server? Step by Step Guide &#8211; Screen Shots</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/how-to-upgrade-sql-server-step-by-step-guide-screen-shots/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information Error 8623 / 8632</title>
		<link>http://www.sqlserver-training.com/the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan-this-is-a-rare-event-and-only-expected-for-extremely-complex-queries-or-queries-that-reference-a-very-large-number/-</link>
		<comments>http://www.sqlserver-training.com/the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan-this-is-a-rare-event-and-only-expected-for-extremely-complex-queries-or-queries-that-reference-a-very-large-number/-#comments</comments>
		<pubDate>Fri, 29 Jun 2012 00:00:00 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[SQL Internals]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[Limitataions]]></category>
		<category><![CDATA[SQL Error]]></category>
		<category><![CDATA[SQL Optimisation TIP]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=10897</guid>
		<description><![CDATA[<p>The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer [...]</p><p>The post <a href="http://www.sqlserver-training.com/the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan-this-is-a-rare-event-and-only-expected-for-extremely-complex-queries-or-queries-that-reference-a-very-large-number/-">The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information Error 8623 / 8632</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information. ERROR MSG 8623    </span></strong></p>
<p>This Error was received by one of the developer on his Development Server. The first impression was, Developer has must have written a extremely complex Long queries to meet complex Business requirement.</p>
<p>But Actually he was just running a <strong>simple SELECT statement</strong>, like this</p>
<p><strong><span style="color: #0000ff;">SELECT Column 1 , Column 2 ,Column  3 from Table 1 where  Column 1 in (Select DISTINCT Column1 from Table 2 where COLUMN2 = @userVAR)</span></strong></p>
<p>It&#8217;s hard to digest that this is a complex Query and we were able to reproduce this issue by running this again and again.</p>
<p>Just for information, The tables used in above illustration has huge data. Table 1 has approx. .9 million records and Table has approx .14 million records</p>
<p>My objective was to get away from this Message and User should able to get the results because I was running out of time.</p>
<p><strong><span style="color: #0000ff;">SOLUTION / FIX :</span></strong></p>
<p><strong>I suggested developer to Join the tables instead of using the IN clause, which immediately FIXED this issue.</strong></p>
<p>A day after, I was spending time to analyze why this SQL server treated that simple Query as extremely COMPLEX QUERY and retuned an Error Message. I started running this query on server by changing where clause condition and I was surprised with result.</p>
<p>I was able to get this error again when attempting to select records through a sub query query with a large number of entries in the &#8220;IN&#8221; clause. The moment I sub query started returning less records there was no Error/ Warning message.</p>
<p><span style="color: #ff0000;"><strong><span style="color: #0000ff;">Recommendation :</span>  </strong></span><span style="color: #000000;">If you have left out with no other option and have to use IN CLAUSE only with large table then</span></p>
<ol>
<li>Simplify your query</li>
<li>may divide query into multiple sub query (DIVIDE and RULE)</li>
<li>modify the Query plan bu supplying HINTS.</li>
</ol>
<p><strong><span style="color: #ff0000;">LESSON LEARNED </span></strong>:</p>
<p>In case you are using a sub query to extract the records from other table. THE IN clause should have less than  10,000 records (&lt; 10,000), if its returning more than that you might get I was getting error &#8220;<strong>ran out of internal resources and could not produce a query plan</strong>&#8220;. Later on I found the same thing in <a href="http://technet.microsoft.com/en-us/library/ms177682.aspx" rel="nofollow" target="_blank">Microsoft Documentation</a> about this IN clause limitation.</p>
<p><strong>This once again confirmed that Joining table is better option that using a IN CLAUSE.</strong></p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/sql-error-msg-617-level-20-state-1-line-1-descriptor-for-object-id-ld-in-database-id-d-not-found-in-the-hash-table-during-attempt-to-unhash-it-a-work-table-is-missing-an-entry-rerun-the-query/-" rel="bookmark" class="crp_title">SQL Error : Msg 617, Level 20, State 1, Line 1 Descriptor for object ID %ld in database ID %d not found in the hash table during attempt to unhash it. A work table is missing an entry. Rerun the query. If a cursor is involved, close and reopen the cursor.</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 21, Level 20, State 1, Line 1 Warning: Fatal error %d occurred at %S_DATE. Note the error and time, and contact your system administrator</a></li><li><a href="http://www.sqlserver-training.com/best-practices-performance-guide-for-sql-server-analysis-services/-" rel="bookmark" class="crp_title">Best Practices / Performance Guide for SQL Server Analysis Services</a></li><li><a href="http://www.sqlserver-training.com/physical-sql-server-hardware-configuration-planning-questionnaire/-" rel="bookmark" class="crp_title">Physical SQL Server Hardware Configuration Planning Questionnaire</a></li><li><a href="http://www.sqlserver-training.com/sql-server-error-547-maintenance-plan-error/-" rel="bookmark" class="crp_title">SQL Server, Error: 547 Maintenance Plan Error</a></li><li><a href="http://www.sqlserver-training.com/msg-21-level-20-state-1-line-1-warning-fatal-error-d-occurred-at-s_date-note-the-error-and-time-and-contact-your-system-administrator/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-204-level-20-state-1-line-1-normalization-error-in-node/-" rel="bookmark" class="crp_title">SQL Error : Msg 204, Level 20, State 1, Line 1 Normalization error in node</a></li><li><a href="http://www.sqlserver-training.com/sql-error-msg-801-level-20-state-1-line-1-a-buffer-was-encountered-with-an-unexpected-status-of-0xx/-" rel="bookmark" class="crp_title">SQL Error : Msg 821, Level 20, State 1, Line 1 Could not unhash buffer at 0x%p with a buffer page number of %S_PGID and database ID %d with HASHED status set. The buffer was not found. %S_PAGE.</a></li><li><a href="http://www.sqlserver-training.com/new-features-of-sql-server-2008/-" rel="bookmark" class="crp_title">New Features of SQL Server 2008</a></li><li><a href="http://www.sqlserver-training.com/how-ssas-cube-processing-affects-running-queries-sql-server-analysis-services/-" rel="bookmark" class="crp_title">How SSAS Cube Processing Affects Running Queries &#8211; SQL Server Analysis Services</a></li><li><a href="http://www.sqlserver-training.com/sql-server-2008-partitioned-table-parallelism-concept-video/-" rel="bookmark" class="crp_title">SQL Server 2008 &#8211; Partitioned Table &#038; Parallelism Concept (Video)</a></li><li><a href="http://www.sqlserver-training.com/error-5233-sql-server-2008-database/-" rel="bookmark" class="crp_title">Error 5233 &#8211; SQL Server 2008 database</a></li><li><a href="http://www.sqlserver-training.com/sql-server-management-studio-client-statistics/-" rel="bookmark" class="crp_title">SQL Server Management Studio &#8211; Client Statistics</a></li><li><a href="http://www.sqlserver-training.com/optimization-tips/-" rel="bookmark" class="crp_title">Optimization Tips</a></li><li><a href="http://www.sqlserver-training.com/agent-xps-component-is-turned-off/-" rel="bookmark" class="crp_title">Agent XPs Component is turned off</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan-this-is-a-rare-event-and-only-expected-for-extremely-complex-queries-or-queries-that-reference-a-very-large-number/-">The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information Error 8623 / 8632</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan-this-is-a-rare-event-and-only-expected-for-extremely-complex-queries-or-queries-that-reference-a-very-large-number/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tivoli Data Protection SQL Server &#8211; Restore Database with different name</title>
		<link>http://www.sqlserver-training.com/tivoli-tdp-sql-server-agent-restore-database-with-different-name/-</link>
		<comments>http://www.sqlserver-training.com/tivoli-tdp-sql-server-agent-restore-database-with-different-name/-#comments</comments>
		<pubDate>Thu, 28 Jun 2012 00:00:00 +0000</pubDate>
		<dc:creator>Mahesh Gupta</dc:creator>
				<category><![CDATA[All Blog Posts]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL 2012]]></category>
		<category><![CDATA[sql restore backup]]></category>
		<category><![CDATA[SQL Server TDP]]></category>
		<category><![CDATA[SQL Server third party Backup Software]]></category>

		<guid isPermaLink="false">http://www.sqlserver-training.com/?p=10892</guid>
		<description><![CDATA[<p>HOW TO RESTORE SQL Server Database with Different / Alternate NAME from backup created by Tivoli Data Protection (TDP) for Microsoft SQL Server ? Restore a backup from TDP library is pretty easy but you just need to be familiarized with tool to interact with Data Protection for Microsoft SQL Server. To Restore a USER [...]</p><p>The post <a href="http://www.sqlserver-training.com/tivoli-tdp-sql-server-agent-restore-database-with-different-name/-">Tivoli Data Protection SQL Server &#8211; Restore Database with different name</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>HOW TO RESTORE SQL Server Database with Different / Alternate NAME from backup created by Tivoli Data Protection (TDP) for Microsoft SQL Server ?</strong></span></p>
<p>Restore a backup from TDP library is pretty easy but you just need to be familiarized with tool to interact with Data Protection for Microsoft SQL Server.</p>
<p>To Restore a USER Database from a Tivoli, SQL Server Data Protection, you need to</p>
<p>OPEN GUI tool named Data Protection for Microsoft SQL Server; Start Menu\Programs\Tivoli Storage Manager\Data Protection for Microsoft SQL Server</p>
<p><a href="http://lh3.ggpht.com/--lr1ei6M8Vo/T-pzGYhfE_I/AAAAAAAABG4/CELJ0nwHdNM/s1600-h/ss6.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title=" RESTORE SQL Server Database with Different / Alternate NAME from backup created by Tivoli Data Protection (TDP) for Microsoft SQL Server " src="http://lh6.ggpht.com/-RPxaLDs3xts/T-pzHSgWh_I/AAAAAAAABHA/5EHZ3mK_z8s/ss_thumb6.jpg?imgmax=800" alt="Tivoli Data Protection SQL Server   Restore Database with different name  SQL Server third party Backup Software SQL Server TDP sql restore backup  " width="644" height="454" border="0" /></a></p>
<ol>
<li>Click on the ‘<strong>Restore Databases</strong>’ tab.</li>
<li>Select the ‘<strong>Show Active and Inactive</strong>’ and ‘<strong>Wait for Tape Mounts for File Information</strong>’ checkboxes.</li>
<li>Selecting the ‘Show Active and Inactive’ option returns information on all backups within the retention period (not selecting this option will display only the most recent backup)</li>
<li>The ‘Wait for Tape Mounts for File Information’ is required if replacing an existing database</li>
<li>Expand the SQL Servers group.</li>
<li>Expand the server name to display a list of all databases.</li>
<li>Highlight the database being restored. The list of candidate backups is displayed in the right window.</li>
<li>Select the backup from which you need to restore by clicking the checkbox</li>
<li>Ensure the database being restored is selected and the correct backup selected.</li>
<li>Right Click on the Selected Backup and select <strong>Restore INTO <a href="http://lh4.ggpht.com/-uGsmqFt8Zao/T-pzIQKk9pI/AAAAAAAABHI/7DWUL3ejblI/s1600-h/dd7.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Tivoli Data Protection (TDP) for Microsoft SQL Server " src="http://lh3.ggpht.com/-AAn-AV8rJHU/T-pzOxQx3qI/AAAAAAAABHQ/h3tCTMTrYbY/dd_thumb7.jpg?imgmax=800" alt="Tivoli Data Protection SQL Server   Restore Database with different name  SQL Server third party Backup Software SQL Server TDP sql restore backup  " width="644" height="390" border="0" /></a></strong></li>
<li>Enter the name of the database being restored to and Click OK.<a href="http://lh4.ggpht.com/-gwKM1PmmIFI/T-pzPnH7MtI/AAAAAAAABHY/lvR4vA-5GIE/s1600-h/dd311.jpg"><img style="padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="RESTORE SQL Server Database from Tivoli Data Protection - TDP" src="http://lh3.ggpht.com/-3yWZzR-bL5s/T-pzQJm8qOI/AAAAAAAABHg/mRWBQS-Sjw8/dd3_thumb10.jpg?imgmax=800" alt="Tivoli Data Protection SQL Server   Restore Database with different name  SQL Server third party Backup Software SQL Server TDP sql restore backup  " width="562" height="250" border="0" /></a></li>
<li>Again Right Click on the selected backup and select Relocate to relocating your database files to a new location and Click OK <a href="http://lh3.ggpht.com/-in7vE3_0yME/T-pzQodeaaI/AAAAAAAABHo/Je5SSudEMq4/s1600-h/image13.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Relocate Change Location for Tivoli Data Protection (TDP) for Microsoft SQL Server " src="http://lh3.ggpht.com/-Vab0SDsaNHw/T-pzRdlDOQI/AAAAAAAABHw/W3Xd222kIJU/image_thumb11.png?imgmax=800" alt="Tivoli Data Protection SQL Server   Restore Database with different name  SQL Server third party Backup Software SQL Server TDP sql restore backup  " width="644" height="396" border="0" /></a></li>
<li>Click the Restore button, which will start the Restore Operation and you can Monitor the progress window to confirm completion of the restore; respond to error messages accordingly. <a href="http://lh5.ggpht.com/-f6vRPnTpy4o/T-pzR5pHa2I/AAAAAAAABH4/Ug-b98pEhsI/s1600-h/asd6.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Restore SQL Database suing Tivoli Data Protection (TDP) for Microsoft SQL Server " src="http://lh5.ggpht.com/-Yx_i53Fd2ms/T-pzSpeodNI/AAAAAAAABIA/LiHZxs7jfRU/asd_thumb6.jpg?imgmax=800" alt="Tivoli Data Protection SQL Server   Restore Database with different name  SQL Server third party Backup Software SQL Server TDP sql restore backup  " width="491" height="319" border="0" /></a></li>
</ol>
<p>This will successfully restore your selected database from Achieve with a New Database name.</p>
<div class="crp_related">Author : <a href="http://www.sqlserver-training.com/mahesh-gupta/-"><strong>Mahesh Gupta</strong></a> , Reference (<a href="http://www.sqlserver-training.com"><b><font color="#0000ff">www.sqlServer-Training.com</font></b></a>) <p> </p> <font size="5">SIMILAR ITEMS :</font><ul><li><a href="http://www.sqlserver-training.com/how-to-restore-sql-server-2008-backup-in-sql-server-2005/-" rel="bookmark" class="crp_title">How to Restore SQL Server 2008 backup in SQL Server 2005</a></li><li><a href="http://www.sqlserver-training.com/can-we-restore-database-backups-in-sql-server-200520082008-r2-which-were-backed-up-in-sql-server-denali/-" rel="bookmark" class="crp_title">Can we Restore database backups in SQL Server 2005/2008/2008 R2 which were backed up in SQL Server Denali ?</a></li><li><a href="http://www.sqlserver-training.com/what-to-do-if-database-is-in-corrupt-or-suspect-state/-" rel="bookmark" class="crp_title">What to do if database is in corrupt or suspect state ?</a></li><li><a href="http://www.sqlserver-training.com/database-mirroring-enhancements-in-sql-server-2008-from-2005/-" rel="bookmark" class="crp_title">Database Mirroring Enhancements in SQL Server 2008 from 2005</a></li><li><a href="http://www.sqlserver-training.com/sql-script-to-find-expected-finish-time-for-current-running-backup-restore/-" rel="bookmark" class="crp_title">SQL Script to find Expected Finish TIME for current running BACKUP / RESTORE</a></li><li><a href="http://www.sqlserver-training.com/error-5233-sql-server-2008-database/-" rel="bookmark" class="crp_title">Error 5233 &#8211; SQL Server 2008 database</a></li><li><a href="http://www.sqlserver-training.com/use-database-recovery-advisory-timeline-restore-sql-server/-" rel="bookmark" class="crp_title">USE Database Recovery Advisory | TIMELINE Restore SQL Server</a></li><li><a href="http://www.sqlserver-training.com/sql-2008-restore-database/-" rel="bookmark" class="crp_title">SQL 2008 Restore Database</a></li><li><a href="http://www.sqlserver-training.com/recover-your-database-when-dbcc-checkdb-fails-and-you-do-not-have-backup/-" rel="bookmark" class="crp_title">Recover your Database when DBCC CHECKDB fails and you do not have backup</a></li><li><a href="http://www.sqlserver-training.com/ideras-new-release-for-backup-and-recovery-solutions/-" rel="bookmark" class="crp_title">Idera&rsquo;s new release for backup and recovery solutions</a></li><li><a href="http://www.sqlserver-training.com/videohow-to-recover-corrupted-database/-" rel="bookmark" class="crp_title">VIDEO&ndash;How to RECOVER Corrupted Database ?</a></li><li><a href="http://www.sqlserver-training.com/is-it-possible-to-restore-a-backup-of-a-sql-server-2008-database-onto-an-instance-of-sql-server-2005/-" rel="bookmark" class="crp_title">Is it possible to restore a backup of a SQL Server 2008 database onto an instance of SQL Server 2005?</a></li><li><a href="http://www.sqlserver-training.com/what-is-importance-of-resource-db-in-sql-server/-" rel="bookmark" class="crp_title">What is importance of Resource DB in SQL Server?</a></li><li><a href="http://www.sqlserver-training.com/how-to-restore-database-in-sql-server-2011-denali-from-an-older-sql-server-version/-" rel="bookmark" class="crp_title">How to Restore Database in SQL Server 2011 (Denali) from an older SQL Server version?</a></li><li><a href="http://www.sqlserver-training.com/what-are-data-models/-" rel="bookmark" class="crp_title">What are Data Models ?</a></li></font></ul></div><p>The post <a href="http://www.sqlserver-training.com/tivoli-tdp-sql-server-agent-restore-database-with-different-name/-">Tivoli Data Protection SQL Server &#8211; Restore Database with different name</a> appeared first on <a href="http://www.sqlserver-training.com">SQL Server Training | Tutorials | How to&#039;s</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sqlserver-training.com/tivoli-tdp-sql-server-agent-restore-database-with-different-name/-/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
