"File Not Found" when trying to browse .cshtml files? - Kiln Knowledge Exchange most recent 30 from http://kiln.stackexchange.com2013-05-21T12:31:57Zhttp://kiln.stackexchange.com/feeds/question/3690http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://kiln.stackexchange.com/questions/3690/file-not-found-when-trying-to-browse-cshtml-files"File Not Found" when trying to browse .cshtml files?qstarin2011-05-18T18:51:32Z2011-05-18T19:46:38Z
<p>I was attempting to show a coworker a small snippet of code by browsing through my repository files in the Kiln web interface, and we discovered that Kiln returns a 404 for any .cshtml file. Files with other extensions at the same directory level work, but all .cshtml files at any directory level 404's.</p>
<p>One example url that 404's for us is <a href="https://treefort.kilnhg.com/Repo/Winmark-Franchisee-Common/FranchiseeApplication/dev/File/src/FranchiseeApplication.Web/Views/Shared/_Layout.cshtml?rev=tip" rel="nofollow">https://treefort.kilnhg.com/Repo/Winmark-Franchisee-Common/FranchiseeApplication/dev/File/src/FranchiseeApplication.Web/Views/Shared/_Layout.cshtml?rev=tip</a></p>
<p>Am I correct to assume this is an issue with Kiln (we use hosted Kiln)? Is there another way to quickly link someone to the contents of a .cshtml file?</p>
http://kiln.stackexchange.com/questions/3690/file-not-found-when-trying-to-browse-cshtml-files/3691#3691Answer by Tyler Hicks-Wright for "File Not Found" when trying to browse .cshtml files?Tyler Hicks-Wright2011-05-18T19:46:38Z2011-05-18T19:46:38Z<p>This is an issue with Kiln. There are certain filenames and extensions that IIS bans, and with our recent update to MVC 3, it seems to have started applying the filter to <code>.cshtml</code> files as well.</p>
<p>I've opened a case and we'll get it included in our special filenames list soon.</p>