小编GTI*_*ITC的帖子

无法加载文件或程序集... System.Data.Entity.dll

“/”应用程序中的服务器错误。

无法加载文件或程序集“file:///C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Data.Entity.dll”或其依赖项之一。该系统找不到指定的文件。

在我的 web.config 文件下方 - 可能是什么问题?如果我登录并使用该应用程序,一切正常。如果我离开应用程序并且下次尝试输入时不使用它超过 15 或 20 分钟,我会收到上述错误

感谢您在高级方面的任何帮助

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  </configSections>
  <connectionStrings>
    <!--<add name="***" connectionString="Data Source=winserver;Initial Catalog=***;USER ID=***; Password=***; MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>-->
    <add name="***" connectionString="Data Source=plcentral.ca;Initial Catalog=***;Integrated Security=False; User ID=***;Password=*** providerName="System.Data.SqlClient"/>
    <!--<add name="***" connectionString="Data Source=(local);Initial Catalog=***;Integrated Security=True;" providerName="System.Data.SqlClient"/>--> …
Run Code Online (Sandbox Code Playgroud)

.net c# asp.net-mvc-4

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

.net ×1

asp.net-mvc-4 ×1

c# ×1