<?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>Aaron Jefferson Villanueva&#039;s Blog Site&#187; MSSQL Server 2008</title>
	<atom:link href="http://malebolgia.shadowsonawall.net/tag/mssql-server-2008/feed" rel="self" type="application/rss+xml" />
	<link>http://malebolgia.shadowsonawall.net</link>
	<description>Programming / Designing Blogging from windows to mac.</description>
	<lastBuildDate>Fri, 20 May 2011 12:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cannot Create MSSQL Database.</title>
		<link>http://malebolgia.shadowsonawall.net/code-programming/database/mssql/file-path-is-compressed-cannot-create-mssql-database.html</link>
		<comments>http://malebolgia.shadowsonawall.net/code-programming/database/mssql/file-path-is-compressed-cannot-create-mssql-database.html#comments</comments>
		<pubDate>Sat, 01 May 2010 21:38:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[MSSQL Server 2008]]></category>

		<guid isPermaLink="false">http://malebolgia.shadowsonawall.net/?p=275</guid>
		<description><![CDATA[
File Path is compressed Cannot Create MSSQL Database.  
While trying to add Database which I want to name "SimpleCMS" to MSSQL server and trying to put it under App_Data folder, I encountered this error.



Error Details:An exception occured while executing a Transact-SQL statement or batch.(Microsoft.SqlServer.ConnectionInfo)The file "you mssql db path here" is compressed but does [...]]]></description>
			<content:encoded><![CDATA[<p>
<strong>File Path is compressed Cannot Create MSSQL Database.</strong> <br /> <br />
While trying to add Database which I want to name "<em><span style="color: #008000;">SimpleCMS</span></em>" to MSSQL server and trying to put it under <strong><span style="color: #ff9900;">App_Data</span></strong> folder, I encountered this error.<br /><br />

<div style="background-color:#C00;">
<br />
<span style="color: #FFF;">Error Details:<br />An exception occured while executing a Transact-SQL statement or batch.<br />(Microsoft.SqlServer.ConnectionInfo)<br /><br />The file "you mssql db path here" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed. CREATE DATABASE failed. Some file names listed could not be created. Check related errors.<br />...</span>
</div>

<br />
<img title="MSSQL Error Message" src="http://malebolgia.shadowsonawall.net/images/mssql/01.png" alt="Cannot Create Database"  /> 
<br />

<br /><br />Most cases this was cause that the Project folder is <span style="color: #993300;"><strong>inside a compressed drive or under a compressed folder</strong></span>, which will save space for your drive.<br /><br /><strong><span style="color: #808000;">I just want to share how I resolved this.</span></strong><br /><br />
<em>Note:</em> That You can uncompressed only the Project folder and leave other compressed.<br />
<br />I'm using <strong><span style="color: #003366;">windows XP </span></strong>so what I did was <br />1.) Right Click on the folder (Project Folder) in General Tab &gt; Click Advanced<br />2.) Under Compress or Encrypt attributes<br />3.) uncheck "Compress Contents to save disk space"<br />

<br />
<a title="Compress and Encrypt Attributes" rel="rokzoom[mssql]" href="http://malebolgia.shadowsonawall.net/images/mssql/02.png">
<img title="Compression" src="http://malebolgia.shadowsonawall.net/images/mssql/02_small.png" alt="Compression"  /> 
</a>
<br />

<br />From here I can now add the database "<span style="color: #008000;"><em>SimpleCMS</em></span>" under the <span style="color: #ff9900;"><strong>App_Folder</strong></span> inside the Project Folder.
<br /><br />
<img title="Database Added" src="http://malebolgia.shadowsonawall.net/images/mssql/worked.png" alt="Database Added"  /> 

<br /><br />

</p>]]></content:encoded>
			<wfw:commentRss>http://malebolgia.shadowsonawall.net/code-programming/database/mssql/file-path-is-compressed-cannot-create-mssql-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="1" length="" type="" />
		</item>
	</channel>
</rss>

