Hi
We have our site hosted at a shared host. In the office in our desktop app we have implemented membership off of the site's remote SQL Server via adding below code in app.config;
<connectionStrings>
<add name="Membership" connectionString="Data Source=myserver.com;Initial Catalog='MyDB';Persist Security Info=True;User ID='MyUser';Password=MyPassword"
providerName="System.Data.SqlClient" />
</connectionStrings>
Problem is when we run the app and come across the code Membership.CreateUser we get below error;
An error occurred creating the configuration section handler for system.web/membership: That assembly does not allow partially trusted callers. (C:\..\MyApp.vshost.exe.Config line 72) : “
MyApp.vshost.exe.Config line 72) is as below;
<membership defaultProvider="AspNetSqlMembershipProvider">
<provide ...
Go to the complete details ...