Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mixed mode assembly
Message
From
21/01/2011 11:15:16
 
 
To
21/01/2011 10:32:39
General information
Forum:
ASP.NET
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01496857
Message ID:
01496873
Views:
27
This is a known issue. SMO's usage against .Net 4.0 hasn't been signed off or announced by Microsoft. We will have to wait for an update or a new version of SQL Server. In the meantime, this can only work by creating a MyEXEName.exe.config file in the application directory having this:
<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
  <startup useLegacyV2RuntimeActivationPolicy="true"> 
            <supportedRuntime version="v4.0" />    
  </startup> 
  <runtime> 
    <generatePublisherEvidence enabled="false" /> 
  </runtime> 
</configuration>
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform