<?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>Diadem Tech Weblogs &#187; Windows Server</title>
	<atom:link href="http://www.diademblogs.com/category/windows-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.diademblogs.com</link>
	<description>Tutorials, tips and howtos for web hosting and open source web development</description>
	<lastBuildDate>Mon, 17 Oct 2011 12:28:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>MS SQL Server backup &amp; maintenance using Expressmaint</title>
		<link>http://www.diademblogs.com/database/ms-sql-server-backup-maintenance-using-expressmaint</link>
		<comments>http://www.diademblogs.com/database/ms-sql-server-backup-maintenance-using-expressmaint#comments</comments>
		<pubDate>Fri, 15 Jul 2011 09:38:12 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Sql server backup]]></category>
		<category><![CDATA[Sql server maintenance]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=467</guid>
		<description><![CDATA[Expressmaint utility is a very handy tool to backup and do different maintenance activities for SQL server 2005/2008 databases. You can perform various kind of administrative jobs in your SQL server database without having a in depth knowledge of SQL server maintenance facilities available with it. The jobs that can be done using this small [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Expressmaint </strong>utility is a very handy tool to backup and do different maintenance activities for SQL server 2005/2008 databases.</p>
<p>You can perform various kind of administrative jobs in your SQL server database without having a in depth knowledge of SQL server maintenance facilities available with it. The jobs that can be done using this small but powerful utility are:</p>
<ul>
<li class="std"> Full Database Backup</li>
<li class="std">Differential Database Backup</li>
<li class="std">Log Backup</li>
<li class="std">Housekeeping of backup files</li>
<li class="std">Database Integrity Checks</li>
<li class="std">Database Index Rebuilds</li>
<li class="std">Database Index Reorganization</li>
<li class="std">Database Statistics Update</li>
<li class="std">Report Creation</li>
</ul>
<p>The Expressmaint Utility can be downloaded from the below mentioned links:</p>
<p><span class="co">ExpressMaint utility for SQL 2005: </span><a href="http://www.sqldbatips.com/samples/code/ExpressMaint.zip" target="_blank"><span class="co">http://www.sqldbatips.com/samples/code/ExpressMaint.zip</span></a></p>
<p><span class="co">ExpressMaint utility for SQL 2008: <a href="http://www.sqldbatips.com/samples/code/ExpressMaint2008.zip" target="_blank">http://www.sqldbatips.com/samples/code/ExpressMaint2008.zip</a></span></p>
<p class="articleheader"><strong>Example Syntax</strong></p>
<p>Note that the entire command should be on one line even though some examples span multiple lines for formatting purposes</p>
<p>1) Full Database Backup of all user databases to c:\backups, verify the backups and report to c:\reports keeping backups for 1 day and reports for 1 week and continue processing other databases if an error is encountered baking up a database</p>
<pre>expressmaint -S (local) -D ALL_USER -T DB -R c:\reports -RU WEEKS -RV 1 -B c:\backups -BU DAYS -BV 1 -V -C</pre>
<p>2) Full Database Backup of all system databases to c:\backups, verify the backups and report to c:\reports keeping backups for 1 week and reports for 1 week</p>
<pre>expressmaint -S (local) -D ALL_SYSTEM -T DB -R c:\reports -RU WEEKS -RV 1 -B c:\backups -BU DAYS -BV 1 -V</pre>
<p>3) Log Backup of all user databases to c:\backups, don&#8217;t verify the backups and report to c:\reports keeping backups for 1 day and reports for 1  day</p>
<pre>expressmaint -S (local) -D ALL_USER -T LOG -R c:\reports -RU DAYS -RV 1 -B c:\backups -BU DAYS -BV 1</pre>
<p>4) Check the integrity of the AdventureWorks database and report to c:\reports keeping reports for 1 week</p>
<pre>expressmaint -S (local) -D AdventureWorks -T CHECKDB -R c:\reports -RU WEEKS -RV 1</pre>
<p>5) Rebuild all indexes in the AdventureWorks database and report to c:\reports keeping reports for 1 day</p>
<pre>expressmaint -S (local) -D AdventureWorks -T REINDEX -R c:\reports -RU DAYS -RV 1</pre>
<p>6) Update all statistics with fullscan in the AdventureWorks database and report to c:\reports keeping reports for 1 day</p>
<pre>expressmaint -S (local) -D AdventureWorks -T STATSFULL -R c:\reports -RU DAYS -RV 1</pre>
<p><strong>Automating backups using ExpressMaint</strong></p>
<p>Since SQL Server 2005 Express Edition does not include SQL Agent, we need to rely on the Windows Task Scheduler to run our maintenance tasks. If you are not familiar with how to set up a scheduled task, it&#8217;s worth reviewing the Microsoft Knowledge Base article below</p>
<p>How to Schedule Tasks in Windows XP</p>
<ul>
<li>Double-click Add Scheduled Task to start the Scheduled Task Wizard, and then click Next in the first dialog box</li>
<li>Click Browse, browse to Expressmaint.exe, and then click Open.</li>
<li>Type a name for the task e.g DAILY FULL BACKUP and then choose Daily from the scheduling options</li>
<li>Click Next, specify the information about the time to run the task e.g. 00:00, and then click Next</li>
<li>Type the name and password of the account that will execute this task. Make sure that you choose an account that is a syadmin for your instance</li>
<li>Click Next, select the checkbox to Open the Advanced Properties for this task and then click Finish</li>
<li>In the Run text box append the arguments you want to pass to the ExpressMaint utility. (You must leave a space after the existing contents)</li>
<li>Click OK. If prompted, supply the password for the account again</li>
</ul>
Note: There is a rating embedded within this post, please visit this post to rate it.
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/database/ms-sql-server-backup-maintenance-using-expressmaint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto shrink MSSQL DB and transaction logs without Admin privileges</title>
		<link>http://www.diademblogs.com/database/shrink-ms-sql-database-and-log-without-administrator-privilege</link>
		<comments>http://www.diademblogs.com/database/shrink-ms-sql-database-and-log-without-administrator-privilege#comments</comments>
		<pubDate>Fri, 11 Feb 2011 05:52:05 +0000</pubDate>
		<dc:creator>Kollol Biswas</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=1217</guid>
		<description><![CDATA[If you do not have Administrator privilege on the MS SQL Database server (common for shared hosting environments), you may often face a problem with shrinking the database or the transaction log, specially if the disk space is limited for you. You can easily shrink your database and log files using the simple scripts given [...]]]></description>
			<content:encoded><![CDATA[<p>If you do not have Administrator privilege on the MS SQL Database server (common for shared hosting environments), you may often face a problem with shrinking the database or the transaction log, specially if the disk space is limited for you. You can easily shrink your database and log files using the simple scripts given below, even if you have the restricted <strong>db_owner</strong> database role.</p>
<p><strong>Script to shrink the database</strong></p>
<blockquote><p>USE &lt;databasename&gt;<br />
DBCC SHRINKDATABASE (&lt;databasename&gt;, 0);<br />
GO</p></blockquote>
<p>NOTE: &lt;databasename&gt; is the name of the database which you want to shrink. The second parameter in the SHRINKDATABASE command denotes the percentage of free space you want to keep in the database. If you put 0 (Zero) it means the database will be shrunk to the minimum possible size.</p>
<p><strong>Script to shrink the transaction log</strong></p>
<blockquote><p>USE &lt;databasename&gt;<br />
GO<br />
ALTER DATABASE &lt;databasename&gt; SET RECOVERY SIMPLE<br />
DBCC SHRINKFILE(2,0)<br />
ALTER DATABASE &lt;databasename&gt; SET RECOVERY FULL<br />
GO</p></blockquote>
<p>NOTE: &lt;databasename&gt; is the name of the database for which you want to shrink the transaction log. <strong>Recovery mode</strong> of the database needs to be changed to <strong>simple</strong> to shrink the log file successfully which must be changed back to <strong>full</strong>.<br />
The first parameter in the DBCC SHRINKFILE command denotes the file which you want to shrink and the log file is defined by the numeric value 2. The second parameter is as same as the SHRINKDATABASE command where 0 (Zero) is shown to shrink the log file to its minimum size.</p>
<p>The above commands can be run through the SQL Query Analyser by connecting to the remote DB from your end. Hopefully this will help you to manage database files to keep them in size.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/database/shrink-ms-sql-database-and-log-without-administrator-privilege/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto automate hot backups of SQL Server 2005 databases</title>
		<link>http://www.diademblogs.com/windows/howto-automate-hot-backups-of-sql-server-2005-databases</link>
		<comments>http://www.diademblogs.com/windows/howto-automate-hot-backups-of-sql-server-2005-databases#comments</comments>
		<pubDate>Mon, 17 Jan 2011 08:52:11 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[sql db copy]]></category>
		<category><![CDATA[sql server 2005 db]]></category>

		<guid isPermaLink="false">http://www.diademblogs.com/?p=1055</guid>
		<description><![CDATA[Automated SQL Server 2005 DB Replication and Copy]]></description>
			<content:encoded><![CDATA[<p>There is often a need for a hot backup of a live SQL server database as a standby. To accomplish this a stored procedure can be created in the master database and called periodically using SQL server Jobs with proper arguments. The script provided below is for MSSQL server 2005 database but the same can be done for SQL server 2000 and SQL server 2008 databases too. I will explain the changes to be done for the same as well.</p>
<p>Run the script below in the Query window on the &#8220;Master&#8221; database to create the DB copy stored procedure.</p>
<blockquote><p><span style="color: #808080;">SET ANSI_NULLS ON<br />
GO<br />
SET QUOTED_IDENTIFIER ON<br />
GO</span></p>
<p><span style="color: #808080;">USE master<br />
GO</span></p>
<p><span style="color: #808080;">IF object_id(&#8216;dbo.Dbcopy_sp&#8217;,'P&#8217;) IS NOT NULL<br />
BEGIN<br />
PRINT &#8216;Procedure already exists. So, dropping it&#8217;<br />
DROP PROC dbo.Dbcopy_sp<br />
END<br />
GO</span></p>
<p><span style="color: #808080;">CREATE PROCEDURE Dbcopy_sp<br />
(<br />
@DB varchar(200),<br />
@BackupFile varchar(2000),<br />
@TestDB varchar(200),<br />
@RestoreFile varchar(2000)<br />
)</span></p>
<p><span style="color: #808080;">AS<br />
BEGIN</span></p>
<p><span style="color: #808080;">DECLARE @query varchar(2000) </span></p>
<p><span style="color: #808080;">DECLARE @DataFile varchar(2000)</span></p>
<p><span style="color: #808080;">SET @DataFile = @RestoreFile + &#8216;.mdf&#8217;</span></p>
<p><span style="color: #808080;">DECLARE @LogFile varchar(2000)</span></p>
<p><span style="color: #808080;">SET @LogFile = @RestoreFile + &#8216;.ldf&#8217;</span></p>
<p><span style="color: #808080;">IF @DB IS NOT NULL</span></p>
<p><span style="color: #808080;">BEGIN</span></p>
<p><span style="color: #808080;">SET @query = &#8216;BACKUP DATABASE &#8216; + @DB + &#8216; TO DISK = &#8216; + QUOTENAME(@BackupFile, &#8221;&#8221;)</span></p>
<p><span style="color: #808080;">EXEC (@query)</span></p>
<p><span style="color: #808080;">END</span></p>
<p><span style="color: #808080;">IF EXISTS(SELECT * FROM sysdatabases WHERE name = @TestDB)</span></p>
<p><span style="color: #808080;">BEGIN</span></p>
<p><span style="color: #808080;">SET @query = &#8216;DROP DATABASE &#8216; + @TestDB</span></p>
<p><span style="color: #808080;">EXEC (@query)</span></p>
<p><span style="color: #808080;">END</span></p>
<p><span style="color: #808080;">RESTORE HEADERONLY FROM DISK = @BackupFile</span></p>
<p><span style="color: #808080;">DECLARE @File int</span></p>
<p><span style="color: #808080;">SET @File = @@ROWCOUNT</span></p>
<p><span style="color: #808080;">&#8211; This always returned 0 for me but the</span></p>
<p><span style="color: #808080;">&#8211; RESTORE call returned the number</span></p>
<p><span style="color: #808080;">&#8211; of rows associated with the backup. Strange&#8230;</span></p>
<p><span style="color: #808080;">DECLARE @Data varchar(500)</span></p>
<p><span style="color: #808080;">DECLARE @Log varchar(500)</span></p>
<p><span style="color: #808080;">SET @query = &#8216;RESTORE FILELISTONLY FROM DISK = &#8216; + QUOTENAME(@BackupFile , &#8221;&#8221;)</span></p>
<p><span style="color: #808080;">CREATE TABLE #restoretemp</span></p>
<p><span style="color: #808080;">(</span></p>
<p><span style="color: #808080;">LogicalName nvarchar(500),</span></p>
<p><span style="color: #808080;">PhysicalName nvarchar(500),</span></p>
<p><span style="color: #808080;">Type varchar(10),</span></p>
<p><span style="color: #808080;">FilegroupName nvarchar(200),</span></p>
<p><span style="color: #808080;">Size numeric(30,0),</span></p>
<p><span style="color: #808080;">MaxSize numeric(30,0),</span></p>
<p><span style="color: #808080;">FileID bigint,</span></p>
<p><span style="color: #808080;">CreateLSN numeric(25,0),</span></p>
<p><span style="color: #808080;">DropLSN numeric(25,0),</span></p>
<p><span style="color: #808080;">UniqueId uniqueidentifier,</span></p>
<p><span style="color: #808080;">ReadOnlyLSN numeric(25,0),</span></p>
<p><span style="color: #808080;">ReadWriteLSN numeric(25,0),</span></p>
<p><span style="color: #808080;">BackupSizeInBytes bigint,</span></p>
<p><span style="color: #808080;">SourceBlockSize int,</span></p>
<p><span style="color: #808080;">FileGroupId int,</span></p>
<p><span style="color: #808080;">LogGroupGUID uniqueidentifier,</span></p>
<p><span style="color: #808080;">DifferentialBaseLSN numeric(25,0),</span></p>
<p><span style="color: #808080;">DifferentialBaseGUID uniqueidentifier,</span></p>
<p><span style="color: #808080;">IsReadOnly bit,</span></p>
<p><span style="color: #808080;">IsPresent bit</span></p>
<p><span style="color: #808080;">)</span></p>
<p><span style="color: #808080;">INSERT #restoretemp EXEC (@query)</span></p>
<p><span style="color: #808080;">SELECT @Data = LogicalName FROM #restoretemp WHERE type = &#8216;D&#8217;</span></p>
<p><span style="color: #808080;">SELECT @Log = LogicalName FROM #restoretemp WHERE type = &#8216;L&#8217;</span></p>
<p><span style="color: #808080;">PRINT @Data</span></p>
<p><span style="color: #808080;">PRINT @Log</span></p>
<p><span style="color: #808080;">TRUNCATE TABLE #restoretemp</span></p>
<p><span style="color: #808080;">DROP TABLE #restoretemp</span></p>
<p><span style="color: #808080;">SET @query = &#8216;RESTORE DATABASE &#8216; + @TestDB + &#8216; FROM DISK = &#8216; + QUOTENAME(@BackupFile, &#8221;&#8221;) +</span></p>
<p><span style="color: #808080;">&#8216; WITH MOVE &#8216; + QUOTENAME(@Data, &#8221;&#8221;) + &#8216; TO &#8216; + QUOTENAME(@DataFile, &#8221;&#8221;) + &#8216;, MOVE &#8216; +</span></p>
<p><span style="color: #808080;">QUOTENAME(@Log, &#8221;&#8221;) + &#8216; TO &#8216; + QUOTENAME(@LogFile, &#8221;&#8221;) + &#8216;, FILE = 1, RECOVERY&#8217;</span></p>
<p><span style="color: #808080;">EXEC (@query)</span></p>
<p><span style="color: #808080;">END<br />
GO</span></p>
<p><strong>After you run the above script you can find a Stored procedure created in the name of  &#8220;Dbcopy_sp&#8221; in the master database.</strong> You can run the stored procedure manually or call it from scheduled jobs provided by SQL server agent for creating the database copy. The  variables that needs to be passed to the stored procedure are as below:</p></blockquote>
<ul>
<li><strong>@DB </strong>= The original database name which you want to copy.</li>
<li><strong>@BackupFile</strong> = The database backup file name that will be created along with the path( e.g : C:\Databases\dbcopy\Sourceddbackup.bak )</li>
<li><strong>@TestDB</strong> = The backup database name that will be created</li>
<li><strong>@RestoreFile</strong> = The new database file name without .mdf/.ldf (e.g  C:\Databases\destinationdb)</li>
</ul>
<p>For scheduling the database copy creation create a job with below command:</p>
<p><span style="color: #000080;"><strong>EXEC   Dbcopy_sp    &lt;sourcedatabase&gt; ,  &#8216;C:\Databases\dbcopy\Sourceddbackup.bak&#8217; ,  &lt;destinationdatabase&gt; ,  &#8216;C:\Databases\destinationdatabase&#8217;</strong></span></p>
<p><span style="color: #800000;"><span style="color: #000000;">This will create a database named <span style="color: #000080;"><strong>destinationdatabase </strong></span>and the associated .mdf and .ldf files will be placed under the directory <span style="color: #800000;"><span style="color: #000080;">&#8220;C:\Databases&#8221;</span><span style="color: #000000;">. You will need to alter the database name and backup/restore location according to your need.</span></span></span></span></p>
<p><span style="color: #333333;"><strong>NOTE: The procedure mentioned above uses the file level restore and hence the fields defined in the table &#8220;restoretemp&#8221; in the stored procedure has to be altered for SQL Server 2000 and SQL Server 2008/2008 R2. Please visit the below links for the exact fields and their data types.</strong></span></p>
<p><span style="color: #333333;"><strong>For SQL Server 2000:</strong></span></p>
<p><a class="alignleft" href="http://msdn.microsoft.com/en-us/library/aa238420%28v=sql.80%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa238420%28v=sql.80%29.aspx</a><span style="color: #808000;"><strong><br />
</strong></span></p>
<p><span style="color: #333333;"><strong>For SQL Server 2008/2008 R2</strong></span><span style="text-decoration: underline;"><span style="color: #808000;"><strong><br />
</strong></span></span></p>
<p><a class="alignleft" href="http://msdn.microsoft.com/en-us/library/ms173778.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms173778.aspx</a></p>
Note: There is a rating embedded within this post, please visit this post to rate it.
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/windows/howto-automate-hot-backups-of-sql-server-2005-databases/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crystal Report issue with Plesk and installing runtime component</title>
		<link>http://www.diademblogs.com/database/crystal-report-issue-with-plesk-and-installing-runtime-component</link>
		<comments>http://www.diademblogs.com/database/crystal-report-issue-with-plesk-and-installing-runtime-component#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:16:27 +0000</pubDate>
		<dc:creator>anirban</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Crystal report]]></category>
		<category><![CDATA[Crystal Report runtime component]]></category>
		<category><![CDATA[Crystal report with Plesk]]></category>

		<guid isPermaLink="false">http://diadem.co.in/blog/?p=5</guid>
		<description><![CDATA[There is an issue with Crystal reports support with Plesk installation . We have found that in spite of  installing the crystal report runtime redistributable package the report won&#8217;t show in the web page on any hosted domain in Plesk, but if you run the report under a virtual directory under the default website the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">
<p style="text-align: justify">There is an issue with Crystal reports support with Plesk installation . We have found that in spite of  installing the crystal report runtime redistributable package the report won&#8217;t show in the web page on any hosted domain in Plesk, but if you run the report under a virtual directory under the default website the report will be displayed properly. The reason behind this is the IIS application pool launching user (identity). By default the<strong> &#8220;Default Application pool&#8221;</strong> launches using the &#8220;Network Service&#8221; privilege which has the privilege to access the Crystal report assemblies that are referenced in your web.config file.  By Default when a domain is hosted through Plesk control panel it creates a separate application pool for it and the user to launch its application pool is set to <strong>&#8220;IWPD_domain&#8221;</strong>. So to resolve the issue either one has to change the application pool Identity to <strong>&#8220;Network Service&#8221; </strong>or create a separate application pool using <strong>&#8220;DefaultApppol&#8221;</strong> as template and then change the application setting of the website to use that newly created application pool. Remember to set inheritable NTFS permission to the <strong>&#8220;Network Service&#8221;</strong> user on your web site.</p>
<p>You can download the crystal report redistributable packages from the link and install it:</p>
<p><a class="alignleft" href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm" target="_blank">https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm</a>.<br />
A step by step pictorial representation is given below:</p>
<p><span id="more-5"></span></p>
<p style="text-align: justify">
<div id="attachment_18" class="wp-caption alignnone" style="width: 457px"><img class="size-full wp-image-18" src="http://www.diademblogs.com/wp-content/uploads/2009/01/1.jpg" alt="Step 1" width="447" height="324" /><p class="wp-caption-text">Step 1</p></div>
<div id="attachment_20" class="wp-caption alignnone" style="width: 413px"><img class="size-full wp-image-20" src="http://www.diademblogs.com/wp-content/uploads/2009/01/2.jpg" alt="Step 2" width="403" height="250" /><p class="wp-caption-text">Step 2</p></div>
<div id="attachment_22" class="wp-caption alignnone" style="width: 471px"><img class="size-full wp-image-22" src="http://www.diademblogs.com/wp-content/uploads/2009/01/3.jpg" alt="Step 3" width="461" height="434" /><p class="wp-caption-text">Step 3</p></div>
<div id="attachment_23" class="wp-caption alignnone" style="width: 485px"><img class="size-full wp-image-23" src="http://www.diademblogs.com/wp-content/uploads/2009/01/4.jpg" alt="Step 4" width="475" height="483" /><p class="wp-caption-text">Step 4</p></div>
<div id="attachment_24" class="wp-caption alignnone" style="width: 481px"><img class="size-full wp-image-24" src="http://www.diademblogs.com/wp-content/uploads/2009/01/5.jpg" alt="Step 5" width="471" height="459" /><p class="wp-caption-text">Step 5</p></div>
<div id="attachment_25" class="wp-caption alignnone" style="width: 377px"><img class="size-full wp-image-25" src="http://www.diademblogs.com/wp-content/uploads/2009/01/6.jpg" alt="Step 6" width="367" height="441" /><p class="wp-caption-text">Step 6</p></div>
<p style="text-align: justify">
<p style="text-align: justify">Please note in the ASP.NET application web.config file ensure that<strong> &#8220;identity impersonate</strong>&#8221; is set to false like <strong>&lt;identity impersonate=&#8221;false&#8221;/&gt;</strong> otherwise the report will not be loaded properly and will give some error like:</p>
<p><span style="color: #ff0000"><strong><em>Error in File C:\WINDOWS\TEMP\EmployeeFull {4D249D66-7F13-401C-BFF2-9BC7E04934EF}.rpt:<br />
Access to report file denied. Another program may be using it.</em></strong></span></p>
<p><strong>In short we can say that to display the crystal reports properly we should remember two important setting:</strong></p>
<ol>
<li><strong>The application pool launch identity must be set as &#8220;Network Service&#8221;.</strong></li>
<li><strong>The &#8220;</strong><strong>identity impersonate&#8221; value should be set to false.</strong></li>
</ol>
<p>Hope this helps you all to use crystal reports properly.<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diademblogs.com/database/crystal-report-issue-with-plesk-and-installing-runtime-component/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

