AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'.
 Rank: Guest
Joined: 12/12/2009(UTC) Posts: 540
|
Hello i have been trying to install the NOP Commerce for almost a week i tried both ways using visual studio 2010 and the IIS7 ... i keep getting the same error in the configuration file .. i even tried to re-download the solution from the website .. but its the same error .. Below:
Error 1 Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config 129
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Line 34: Line 35: Line 36: <authentication mode="Forms">Line 37: <forms defaulturl="~/default.aspx" enablecrossappredirects="false" loginurl="~/login.aspx" name="NOPCOMMERCE.AUTH" path="/" protection="All" requiressl="false" slidingexpiration="true" timeout="43200">Line 38: </forms></authentication>
|
|
|
|
|
|
|
|
|
|
 Rank: Administration
Joined: 1/9/2010(UTC) Posts: 449  Location: India Was thanked: 1 time(s) in 1 post(s)
|
I thoroughly checked my web.config for this DLL and could not find it. I think it is not required.
Please check the following points to see if they resolve the error: 1. Have you installed asp.net 4.0 framework on your machine? This could be one of the cause of error. 2. Are you trying to set up nopCommerce on your local machine or on shared hosting server like GoDaddy? 3. Try adding the following code to your web.config and see if it works: <configuration> ... <system.web> <compilation debug="true" targetframework="4.0"> <assemblies> <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"> <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"> </add></add></assemblies> <buildproviders> <add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider"> </add></buildproviders> </compilation> </system.web> </configuration>
Let me know if the problem still persist and i will send you my web.config which works perfectly fine on both local machine and web hosting.
|
|
|
|
|
|
 Rank: Guest
Joined: 12/12/2009(UTC) Posts: 540
|
Hello soan
Even iam getting same problem i tries as u said...but still it says
Error 77 It is an error to use a section registered as allowDefinition='MachineToWebRoot' beyond the root web.config file. C:\Users\PC\Desktop\Mvc2\Web.config 422
|
|
|
|
|
|
 Rank: Guest
Joined: 12/12/2009(UTC) Posts: 540
|
Which version of NopCommerce are you installing currently?
|
|
|
|
|
|
| Users browsing this topic |
|
Guest
|
AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'.
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.