Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i got the folder dotnet1 is missing i create it and put in it dll file i got that error


Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Posted
Comments
Sergey Alexandrovich Kryukov 24-Aug-15 10:27am    
You could just do your Web search.
—SA
ÃHmed Élkady 24-Aug-15 10:37am    
i search but didn,t find solution
ZurdoDev 24-Aug-15 10:31am    
Make sure you app pool matches the actual code.
ÃHmed Élkady 24-Aug-15 10:33am    
xml version="1.0"
configuration
configsections
configsections
connectionstrings
add name="WindowsFormsApplication1.Properties.Settings.inventoryConnectionString" connectionstring="Data Source=(local);Initial Catalog=inventory;Integrated Security=True" providername="System.Data.SqlClient"
add connectionstrings
startup uselegacyv2runtimeactivationpolicy="true"
supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0"
supportedruntime
startup
configuration
ÃHmed Élkady 24-Aug-15 10:38am    
how pls help

1 solution

 
Share this answer
 
Comments
ÃHmed Élkady 24-Aug-15 10:33am    
--?xml version="1.0"?--
configuration
configsections
configsections
connectionstrings
add name="WindowsFormsApplication1.Properties.Settings.inventoryConnectionString" connectionstring="Data Source=(local);Initial Catalog=inventory;Integrated Security=True" providername="System.Data.SqlClient">
add connectionstring
startup uselegacyv2runtimeactivationpolicy="true"
supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0"
supportedruntime startup
configuration
Sergey Alexandrovich Kryukov 24-Aug-15 10:44am    
Take a look at your own post; it shows nothing.
—SA
ÃHmed Élkady 24-Aug-15 10:46am    
??
Sergey Alexandrovich Kryukov 24-Aug-15 12:06pm    
What '??'? Did you look at your comment after you post it. Please fix it.
—SA
ÃHmed Élkady 25-Aug-15 8:20am    
i add uselegacyv2runtimeactivationpolicy="true">
supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0" supportedruntime
still same problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900