﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
  <channel>
    <title>Newest KB Articles in ASP.NET</title>
    <description>Recent additions to the knowledge base from Winhost</description>
    <link>https://support.winhost.com/kb/c261/asp_net.aspx</link>
    <pubDate>Thu, 11 Jun 2026 10:20:34 GMT</pubDate>
    <generator>SmarterTrack Enterprise 100.0.9553</generator>
    <atom:link href="https://support.winhost.com/RSS.ashx?catid=261&amp;type=newestkbarticles" rel="self" type="application/rss+xml" />
    <item>
      <title>ASP.NET application error: "Unrecognized attribute 'targetFramework'"</title>
      <link>https://support.winhost.com/kb/a816/asp_net-application-error-unrecognized-attribute-targetframework.aspx</link>
      <pubDate>Thu, 13 May 2010 23:15:15 GMT</pubDate>
      <guid isPermaLink="false">kbarticle816</guid>
      <description>&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;You may experience the following error when you attempt to open your web application:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:courier new,courier,monospace;"&gt;&lt;span style="font-size:16px;"&gt;Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;
&lt;span style="font-family:courier new,courier,monospace;"&gt;&lt;span style="font-size:16px;"&gt;Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;The error indicates that your account is configured to use an older version of the ASP.Net framework.&lt;br /&gt;
&lt;br /&gt;
To resolve the problem simply click the &lt;a href="https://cp.winhost.com/sites/framework.aspx"&gt;ASP.NET Version&lt;/a&gt; icon in the &amp;quot;Site Tools&amp;quot; section of Control Panel to switch to the correct framework. &lt;a href="http://support.winhost.com/KB/a814/how-to-change-the-net-framework-version.aspx"&gt;See this Knowledge Base article&lt;/a&gt; for more information.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Parser Error Message: "The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty"</title>
      <link>https://support.winhost.com/kb/a813/parser-error-message-connection-name-localsqlserver-was-not-found-applications-configuration.aspx</link>
      <pubDate>Tue, 04 May 2010 22:24:49 GMT</pubDate>
      <guid isPermaLink="false">kbarticle813</guid>
      <description>&lt;p&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you receive the following error from your web application:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-family:courier new,courier,monospace;"&gt;&lt;span style="font-size:16px;"&gt;Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;The solution is to modify your application's web.config file and add the following line to the connection string element: &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
&amp;lt;connectionStrings&amp;gt; 
  &amp;lt;remove name=&amp;quot;LocalSqlServer&amp;quot; /&amp;gt; 
  &amp;lt;add name=&amp;quot;LocalSqlServer&amp;quot; connectionString=&amp;quot;Data Source=DBServerName;Integrated Security=false;Initial Catalog=DBName;User ID=DBLogin;Password=DBPassword&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;

&lt;p dir="ltr" style="margin-right: 0px;"&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;You&amp;nbsp;must ensure that you&amp;nbsp;add the correct values for the connection string. Log in to &lt;a href="http://cp.winhost.com"&gt;Control Panel&lt;/a&gt; and&amp;nbsp;review your database information and DB login credentials in the Site Info Manager/MS SQL Manager section.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Error when accessing a WCF service: "This collection already contains an address with scheme http. There can be at most one address per scheme in this collection."</title>
      <link>https://support.winhost.com/kb/a804/error-when-accessing-wcf-service-this-collection-already-contains-an-address-with.aspx</link>
      <pubDate>Wed, 21 Apr 2010 21:01:56 GMT</pubDate>
      <guid isPermaLink="false">kbarticle804</guid>
      <description>&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;You can resolve this error by changing the web.config file.&lt;br /&gt;
&lt;br /&gt;
If you are using ASP.NET &lt;strong&gt;4.X&lt;/strong&gt;, add the following lines to your web.config:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;pre class="prettyprint"&gt;
&amp;lt;system.serviceModel&amp;gt; 
     &amp;lt;serviceHostingEnvironment multipleSiteBindingsEnabled=&amp;quot;true&amp;quot; /&amp;gt; 
&amp;lt;/system.serviceModel&amp;gt;

&lt;/pre&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you are using ASP.NET &lt;strong&gt;2.0&lt;/strong&gt;/&lt;strong&gt;3.0&lt;/strong&gt;/&lt;strong&gt;3.5&lt;/strong&gt;, add the following lines to your web.config:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;pre class="prettyprint"&gt;
&amp;lt;system.serviceModel&amp;gt; 
     &amp;lt;serviceHostingEnvironment&amp;gt; 
          &amp;lt;baseAddressPrefixFilters&amp;gt; 
               &amp;lt;add prefix=&amp;quot;http://www.HostingAccountDomain.com&amp;quot;/&amp;gt; 
          &amp;lt;/baseAddressPrefixFilters&amp;gt; 
     &amp;lt;/serviceHostingEnvironment&amp;gt; 
&amp;lt;/system.serviceModel&amp;gt; &lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Errors commonly associated with inadequate Trust Level</title>
      <link>https://support.winhost.com/kb/a722/errors-commonly-associated-with-inadequate-trust-level.aspx</link>
      <pubDate>Thu, 03 Dec 2009 20:17:23 GMT</pubDate>
      <guid isPermaLink="false">kbarticle722</guid>
      <description>&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;By default, the trust level on our servers is configured to &amp;quot;Medium trust.&amp;quot; If your application generates any of the error messages below, the most likely cause is that your application requires a trust level higher than medium. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;You can override the default trust level of your application by modifying the web.config file. See this &lt;a href="http://support.winhost.com/KB/a657/changing-the-default-aspnet-trust-level.aspx"&gt;&lt;strong&gt;Knowledge Base article&lt;/strong&gt;&lt;/a&gt; for&amp;nbsp;instructions.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Security Exception:&lt;br /&gt;
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Error:&lt;br /&gt;
System.Security.SecurityException: That assembly does not allow partially trusted callers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Stack Trace:&lt;br /&gt;
[SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Error:&lt;br /&gt;
Request for the permission of: type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Unable to connect to any of the specified MySQL hosts. ---&amp;gt; System.Security.SecurityException: Request for the permission of type 'System.Net.SocketPermission, System,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;- - -&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Error:&lt;br /&gt;
Request for the permission of type&lt;br /&gt;
'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral,&lt;br /&gt;
PublicKeyToken=b77a5c561934e089' failed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Changing the default ASP.NET trust level</title>
      <link>https://support.winhost.com/kb/a657/changing-the-default-asp_net-trust-level.aspx</link>
      <pubDate>Tue, 18 Aug 2009 00:24:28 GMT</pubDate>
      <guid isPermaLink="false">kbarticle657</guid>
      <description>&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;The default ASP.NET trust level is Medium.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt; Most applications will run fine under Medium Trust. If your application requires Full Trust, you can override the trust level at the application level by adding the following to your web.config file: &lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;pre class="prettyprint"&gt;
&amp;lt;configuration&amp;gt; 
  &amp;lt;system.web&amp;gt; 
    &amp;lt;trust level=&amp;quot;Full&amp;quot; /&amp;gt; 
  &amp;lt;/system.web&amp;gt; 
&amp;lt;/configuration&amp;gt; &lt;/pre&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you run in to problems using this code, please post in our &lt;strong&gt;&lt;a href="http://forum.winhost.com"&gt;community forum&lt;/a&gt;&lt;/strong&gt;. Technical support cannot assist with specific coding related issues.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Configuration error when executing an application in a subdirectory</title>
      <link>https://support.winhost.com/kb/a627/configuration-error-when-executing-an-application-in-a-subdirectory.aspx</link>
      <pubDate>Fri, 14 Aug 2009 23:15:04 GMT</pubDate>
      <guid isPermaLink="false">kbarticle627</guid>
      <description>&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you get the following error when attempting to execute an application in a sub directory:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-family:courier new,courier,monospace;"&gt;&lt;span style="font-size:16px;"&gt;&lt;strong&gt;Parser Error Message:&lt;/strong&gt; 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.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;
&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;It could be that your application is being run out of a subfolder and the subfolder is not configured in IIS to run as an application.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;To resolve this error, you can create an IIS application starting point in the Site Tools section of &lt;a href="https://cp.winhost.com" target="_blank"&gt;Control Panel&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to enable ASP.NET SQL Server Session for your web application</title>
      <link>https://support.winhost.com/kb/a626/how-to-enable-asp_net-sql-server-session-for-your-web-application.aspx</link>
      <pubDate>Fri, 14 Aug 2009 22:57:11 GMT</pubDate>
      <guid isPermaLink="false">kbarticle626</guid>
      <description>&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;In ASP.NET, there are 3 different modes for storing session information:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InProc&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; StateServer&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SQLServer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;We support both InProc and SQLServer session. By default, ASP.NET session is stored in-process (InProc). There are benefits and drawbacks for each method.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;
&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;InProc mode offers the fastest performance because session is stored in the IIS Worker Process. The downside of InProc session is that sessions can be lost if the worker process is recycled for any reason.&lt;br /&gt;
&lt;br /&gt;
SQL Server session on the other hands is slower than InProc, about 15-20% slower, but the session information remains persistent even after the worker process is recycled.&lt;br /&gt;
&lt;br /&gt;
You should choose a state management mode that is appropriate for your application. For example, if losing session is not acceptable, you should consider using SQL Session rather than InProc.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;To enable SQL Server Session&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; - While not required, we recommend adding a new MS SQL database in the Site Tools section of &lt;a href="https://cp.winhost.com" target="_blank"&gt;Control Panel&lt;/a&gt;, dedicated for sessions storage only,&amp;nbsp;to avoid potential conflicts (if you have a Basic account you will have to upgrade to a Max account to add a second database)&lt;/span&gt;&lt;/span&gt;.&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; - Create a support ticket to request an installation. Include the Database name and the version of ASP.NET you are using.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; - You will receive an email as soon as the Session State database schema is created.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp; - Update your web.config file as follows:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;pre class="prettyprint"&gt;
&amp;lt; sessionState
  mode=&amp;quot;SQLServer&amp;quot;
  allowCustomSqlDatabase = &amp;quot;true&amp;quot;
  sqlConnectionString=&amp;quot;data Source=&amp;lt;SQLSERVERNAME&amp;gt;;database=&amp;lt;SQLDATABASENAME&amp;gt;;user id=&amp;lt;SQLUSER&amp;gt;;password=&amp;lt;SQLPASSWORD&amp;gt;&amp;quot;
    cookieless=&amp;quot;false&amp;quot;
  timeout=&amp;quot;15&amp;quot;
/&amp;gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Session information should be stored in your SQL database now&lt;/span&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you run in to problems using this code, please post in our &lt;a href="http://forum.winhost.com/"&gt;community forum&lt;/a&gt;. Technical support cannot assist with specific coding related issues.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>How to configure the ASP.NET Membership/Roles Provider</title>
      <link>https://support.winhost.com/kb/a619/how-to-configure-the-asp_net-membership-roles-provider.aspx</link>
      <pubDate>Fri, 14 Aug 2009 21:42:46 GMT</pubDate>
      <guid isPermaLink="false">kbarticle619</guid>
      <description>&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;The following steps create the full Application Services database schema on our SQL Server database:&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Open the command prompt on your local computer, and navigate to: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;span style="font-family:courier new,courier,monospace;"&gt;C:\WINDOWS\Microsoft.NET\Framework\[framework version]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Execute the command: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&lt;span style="font-family:courier new,courier,monospace;"&gt;aspnet_regsql.exe -S DBServerName -U DBLogin -P DBPassword -A all -d DBName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Currently, there is no management interface to manage the membership database other than using Visual Web Developer or creating your own application using the membership provider class. Here is an example of how to configure Visual Studio or Visual Web Developer to manage the membership database:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Create a web application in Visual Web Developer or Visual Studio.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Open the web.config.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. The default membership provider uses a connection string called &amp;quot;LocalSqlServer&amp;quot;. Therefore, replace: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;pre class="prettyprint"&gt;
&amp;lt;connectionStrings/&amp;gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;with&lt;/span&gt;&lt;/span&gt;:&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;
&lt;pre class="prettyprint"&gt;
&amp;lt;connectionStrings&amp;gt;
  &amp;lt;remove name=&amp;quot;LocalSqlServer&amp;quot; /&amp;gt;
  &amp;lt;add name=&amp;quot;LocalSqlServer&amp;quot; connectionString=&amp;quot;Data Source=DBServerName;Integrated Security=false;Initial Catalog=DBName;User ID=DBLogin;Password=DBPassword&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Save and close the web.config.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. Go to Website menu, and run the ASP.NET Configuration tool. This will open the Web Site Administration tool.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. In the Web Site Administration tool, go to the Security tab.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 7. Click on &amp;quot;Select authentication type&amp;quot;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 8. Select &amp;quot;From the internet&amp;quot;. Click the Done button.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 9. Create your admin roles and users.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 10. Then create access rules.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 11. Create a rule that applies to the &amp;quot;Anonymous users&amp;quot; with &amp;quot;Deny&amp;quot; permissions.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 12. Create another rule that applies to the admin role you created with &amp;quot;Allow&amp;quot; permissions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;

&lt;p&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;Your application is now ready to use the membership provider, and you can begin creating your log in forms&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;If you run in to problems using this code, please post in our &lt;a href="http://forum.winhost.com/"&gt;community forum&lt;/a&gt;. Technical support cannot assist with specific coding related issues.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>