源码信息

最新源码评论

综合讨论 下载前咨询( 1 人) | 下载后讨论( 0 人 )

  • 评论者:sai33***
    sai33***(用户) 发表于:2010-09-02 17:52:00

    错误125 Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'.C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config 129还有&nbsp;&nbsp;&nbsp;&nbsp;<authentication mode="Forms">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<forms name="NOPCOMMERCE.AUTH" loginUrl="~/login.aspx" protection="All" timeout="43200" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="~/default.aspx" enableCrossAppRedirects="false"/></authentication>应该如何解决呢。

    3 个回复
    • 回复者:diana***
      diana***(用户)回复于:2010-09-03 09:13:00

      simple add the outlined markup to your web.config file.<div class="blockcode"><div id="code_-1"><ol><li>&lt;configuration&gt;<br/></li> <li>&nbsp;&nbsp;...<br/></li> <li>&nbsp;&nbsp;&lt;system.web&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.0&quot;&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;assemblies&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add assembly=&quot;System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A&quot; /&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add assembly=&quot;System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089&quot; /&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add assembly=&quot;System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089&quot; /&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/assemblies&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;buildProviders&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add extension=&quot;.edmx&quot; type=&quot;System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider&quot; /&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/buildProviders&gt;<br/></li> <li>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/compilation&gt;<br/></li> <li>&nbsp;&nbsp;&lt;/system.web&gt;<br/></li> <li>&lt;/configuration&gt;<br/></li> </ol></div><em onclick="copycode($('code_-1'));">复制代码</em></div>

    • 回复者:diana***
      diana***(用户)回复于:2010-09-03 17:06:00

      此错误可能是由于这个虚拟目录不在同一个iis应用程序中~!<br/>看看这里呢:<a href="http://bbs.51aspx.com/showtopic-1446.html" target="_blank">http://bbs.51aspx.com/showtopic-1446.html</a>

    • 回复者:sai33***
      sai33***(用户)回复于:2010-09-03 10:21:00

      Thanks diana08,但是又有个问题,就是该项目有两个web.config分别是前台和后台的身份验证,可能出于安全性考虑web.config文件没有放在根目录下。所以问题是在即不删除一个web.config情况下,又不想更改web.config路径。如何解决错误 It is an error to use a section registered as allowDefinition=&#39;MachineToApplication&#39; beyond application level.&nbsp;&nbsp;This error can be caused by a virtual directory not being configured as an application in IIS.&nbsp;&nbsp;&nbsp;&nbsp;F:\NoCommerce\NopCommerceStore\web.config<br/>期待你以及能解决此问题的朋友的精彩回答。