Deployment issue in SQL Server Analysis Services

While trying to deploy SQL Server Analysis related database, I got the below error.

-------------------------------------------------------------------------------------------------------------

Microsoft Visual Studio


--------------------------

The solution file 'C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks 2008R2 Analysis Services Project\enterprise\Adventure Works.sln' was not written successfully. Check that the location is available, the file is writeable and there is enough room on the disk.

-------------------------------------------------------------------------------------------------------------

Solution:

 Open the application under administrator rights, Deployment or building the application will work fine.

Cheers,

Venkatesan Prabu .J