Caveman's Blog

My commitment to learning.

Archive for the ‘Visual Studio 2010’ Category

VS 2010: Web.config transformations

leave a comment »


Visual Studio 2010 offers an easy way to maintain web.config files for the various application hosting environments. VS 2010 lets us define environment specific configuration settings in separate config files. When publishing  the web application to a specific environment, we can choose the configurations that need to be deployed, so that VS2010 can generate the web.config specific to the deployment environment. Check out this documentation for the usage of the feature.

References:

1. MSDN Online

Advertisements

Written by cavemansblog

December 28, 2011 at 12:08 pm

VS2010 + ASP.Net: Access to path is denied

leave a comment »


Problem: Access to path was denied when a dotnet app was writing an excel file to a folder of the website.

Solution: Grant access to the “Network Service” account to the folder that has permissions issue.

Written by cavemansblog

September 23, 2011 at 12:42 am