<?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>Suraj&#039;s blog &#187; SQL Server 2008</title>
	<atom:link href="http://www.surajshrestha.com.np/tag/sql-server-2008/feed" rel="self" type="application/rss+xml" />
	<link>http://www.surajshrestha.com.np</link>
	<description>imagination more important than knowledge</description>
	<lastBuildDate>Sun, 08 Aug 2010 23:20:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Login as Administrator using Windows Authentication in Windows 7</title>
		<link>http://www.surajshrestha.com.np/sql-server/login-as-administrator-using-windows-authentication-in-windows-7.html</link>
		<comments>http://www.surajshrestha.com.np/sql-server/login-as-administrator-using-windows-authentication-in-windows-7.html#comments</comments>
		<pubDate>Sun, 08 Aug 2010 23:20:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server Reporting Services]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.surajshrestha.com.np/?p=272</guid>
		<description><![CDATA[Well I am talking about Built-in Administrator, not a user created as Administrator. Windows Administrator is by default disabled in Windows 7 and Vista.
And Yes, it is advised not to use Built-in Administrator. But, sometimes you may want to login to Intranet website as Administrator. In fact, sometimes you may need to do so.
I had [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Well I am talking about Built-in Administrator, not a user created as Administrator. Windows Administrator is by default disabled in Windows 7 and Vista.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">And Yes, it is advised not to use Built-in Administrator. But, sometimes you may want to login to Intranet website as Administrator. In fact, sometimes you may need to do so.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I had same issue with SQL Server Reporting Services. There is no way that I could grant permission to my windows user account (which was also Administrator) except from Built-in Administrator. Of course, I did not expect that there may be things which built-in administrator can do and a user created as administrator cannot do. Every time, when I try to login to Reporting Services through browser, I was receiving &#8220;The permissions granted to user &#8216;domain/username&#8217; are insufficient for performing this operation (rsAccessDenied).&#8221; It was driving me crazy.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">So, what is the solution? Well, its not rocket science. <img src='http://www.surajshrestha.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Only thing you need to do is activate Administrator account.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Go to Computer -&gt; Right Click -&gt; Click Manage -&gt; Click Local Users and Groups -&gt; Users -&gt; Administrator -&gt; Properties -&gt; Uncheck &#8220;Account is disabled&#8221;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Also, you need to set password by clicking &#8220;More Actions&#8221; -&gt; &#8220;Set Password..&#8221;. And you are all set.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8220;Local Users and Groups&#8221; setting is not available in Home editions. So, I am not exactly sure how to get work around of that. I would appreciate comments.</div>
<p>Well I am talking about Built-in Administrator, not a user created as Administrator. Windows Administrator is by default disabled in Windows 7 and Vista.</p>
<p>And Yes, it is advised not to use Built-in Administrator. But, sometimes you may want to login to Intranet website as Administrator. In fact, sometimes you may need to do so.</p>
<p>I had same issue with SQL Server Reporting Services. There is no way that I could grant permission to my windows user account (which was also Administrator) except from Built-in Administrator. Of course, I did not expect that there may be things which built-in administrator can do and a user created as administrator cannot do. Every time, when I try to login to Reporting Services through browser, I was receiving &#8220;The permissions granted to user &#8216;domain/username&#8217; are insufficient for performing this operation (rsAccessDenied).&#8221; It was driving me crazy.</p>
<p>So, what is the solution? Well, its not rocket science. <img src='http://www.surajshrestha.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Only thing you need to do is activate Administrator account.</p>
<p>Go to Computer -&gt; Right Click -&gt; Click Manage -&gt; Click Local Users and Groups -&gt; Users -&gt; Administrator -&gt; Properties -&gt; Uncheck &#8220;Account is disabled&#8221;.</p>
<p>Also, you need to set password by clicking &#8220;More Actions&#8221; -&gt; &#8220;Set Password..&#8221;. And you are all set.</p>
<p>&#8220;Local Users and Groups&#8221; setting is not available in Home editions. So, I am not exactly sure how to get work around of that. I would appreciate comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surajshrestha.com.np/sql-server/login-as-administrator-using-windows-authentication-in-windows-7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error while restoring SQL Server 2000 database backup onto 2008 database.</title>
		<link>http://www.surajshrestha.com.np/sql-server/error-while-restoring-sql-server-2000-database-backup-onto-2008-database.html</link>
		<comments>http://www.surajshrestha.com.np/sql-server/error-while-restoring-sql-server-2000-database-backup-onto-2008-database.html#comments</comments>
		<pubDate>Sun, 19 Jul 2009 18:03:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Database Restore]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://www.surajshrestha.com.np/?p=211</guid>
		<description><![CDATA[Normally, you cannot restore SQL Server 2000 database backup onto SQL Server 2008 database. This may be due to different collation technique or some other properties. If you try to restore 2000 database backup to 2008 database, you usually get the following error.
&#8220;System.Data.SqlClient.SqlError : The backup set  holds a backup of a database other than [...]]]></description>
			<content:encoded><![CDATA[<p>Normally, you cannot restore SQL Server 2000 database backup onto SQL Server 2008 database. This may be due to different collation technique or some other properties. If you try to restore 2000 database backup to 2008 database, you usually get the following error.</p>
<p><em>&#8220;System.Data.SqlClient.SqlError : The backup set  holds a backup of a database other than the existing &#8216;&lt;database name&gt;&#8217; database. (Microsoft.SqlServer.Smo)&#8221;</em></p>
<p>The snapshot of error is shown below.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/40035183@N05/3736031102/"><img class="aligncenter" title="SQL Server 2008 Restore Problem" src="http://farm3.static.flickr.com/2486/3736031102_a9854553bf_b.jpg" alt="" width="614" height="346" /></a></p>
<p>To avoid this error, you will have to restore backup (2000) as new database in SQL Server 2008 from SQL Server 2008 Management Studio. For this, Go to Object Browser of management studio. Then Right click the &#8216;Databases&#8217;, select &#8216;Restore Database&#8217;. Give a new name for the database that is going to be created. Then, select the backup file and restore. This will add a new database created from backup with the name you just typed in. If the name already exists, it will try to overwrite and backup will fail.</p>
<p>However, there are other many techniques to migrate database from SQL Server 2000 to SQL Server 2008.</p>
<p>1) Detach and Attach &#8211; You can detach database files from SQL Server 2000 and attach them to SQL Server 2008. However, detach and attach is not recommended method by experts due to chance of breaking data integrity.</p>
<p>2) Copy Database Wizard &#8211; It helps to copy database from selected source to destination easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surajshrestha.com.np/sql-server/error-while-restoring-sql-server-2000-database-backup-onto-2008-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
