2014-10-16 58 views
0

這是我在Telerik Kendo UI中的第一個應用程序。我寫下面的代碼。在Telerik Kendo UI中獲取錯誤

@(Html.Kendo().DatePicker().Name("MyBirthDay").Value(DateTime.Today)) 

我得到這個錯誤

Unable to copy file "c:\Program Files (x86)\Telerik\UI for ASP.NET MVC Q3 2013\wrappers\aspnetmvc\Binaries\Mvc3\Kendo.Mvc.xml" to "bin\Kendo.Mvc.xml". Access to the path 'bin\Kendo.Mvc.xml' is denied. Kendo2 

而且

Unable to copy file "c:\users\administrator\documents\visual studio 2010\Projects\MyFirstKendo\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.xml" to "bin\System.Web.Mvc.xml". Access to the path 'bin\System.Web.Mvc.xml' is denied. Kendo2 

這是我的全部代碼

@{ 
    Layout = null; 
} 

<!DOCTYPE html> 

<html> 
<head> 
    <meta name="viewport" content="width=device-width" /> 
    <title>Index</title> 
</head> 
<body> 
    <div> 
     @(Html.Kendo().DatePicker().Name("MyBirthDay").Value(DateTime.Today)) 
    </div> 
</body> 
</html> 

回答

0

我未選中只讀我的項目文件夾的,但一段時間後給予同樣的錯誤。

爲了解決這個錯誤需要去LIB文件夾中的項目,然後KENDOUIMVC文件夾,然後2013.3.1324.340文件夾。在那裏有Kendo.Mvc XML文件,右鍵點擊它並取消選中只讀

0

轉到箱的文件夾的應用程序的右擊bin文件夾和取消選中只讀。目前,您的文件夾是只讀