Blue Theme Orange Theme Green Theme Red Theme
 
Skip Navigation Links
C# Corner Home
Forum Home
Latest 50
Unanswered
Win $500 Cash
All Time Leaders
Jump to CategoryExpand Jump to Category
Login 
    Welcome Guest!
 Search Forum For :  
X
 Login
Please login to submit a new post, reply and edit exiting posts, see user profiles, and access more features. If you are not a registered member, Register here.
User Id:
Password:  
Forgot Password | Forgot UserName
   Home » ASP.NET & Web Development » Deploying ASP.NET 2 Web Site to Production Server: Part I and II
       
Author Reply
Pierre Nadeau
posted 1 posts
since Jan 02, 2008 
from

 Deploying ASP.NET 2 Web Site to Production Server: Part I and II
  Posted on: 1/2/2008 9:33:47 AM       

Hi,

I followed the instructions contained in the articles named :

Deploying ASP.Net 2.0 Web site to Production Server: Part I (URL : http://www.c-sharpcorner.com/uploadfile/dsdaf/104012006083052am/1.aspx)

Deploying ASP.NET 2 Web Site to Production Server: Part II (URL : http://www.c-sharpcorner.com/UploadFile/dsdaf/104092006022507AM/1.aspx)

 

These articles have been written by Moustafa Arafa.  I followed these instructions in order to solve an issue which I have regarding the deployment of my website on a production server.

 

I wrote the following in my web.config

<connectionStrings>

<remove name="LocalSqlServer" />

<add name="MyDBConnectionString" connectionString="Data Source=(Local)\UNISQL2005;Initial Catalog=myTESTDB;Integrated Security=True" providerName="System.Data.SqlClient" />

<!-- DYNAMIC DEBUG COMPILATION

<add name="TestAConnectionString1" connectionString="Data Source=(Local)\UNISQL;Initial Catalog=TestA;Integrated Security=True" providerName="System.Data.SqlClient"/>

-->

</connectionStrings>

<system.web>

<membership>

<providers>

<remove name="AspNetSqlMembershipProvider" />

<add connectionStringName="MyDBConnectionString" enablePasswordRetrieval="false"

enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/"

requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5"

minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1"

passwordAttemptWindow="10" passwordStrengthRegularExpression=""

name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

</providers>

</membership>

<roleManager enabled="true">

<providers>

<remove name="AspNetSqlRoleProvider" />

<add connectionStringName="MyDBConnectionString" applicationName="/"

name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

<remove name="AspNetWindowsTokenRoleProvider" />

</providers>

</roleManager> />

<webParts>

<personalization defaultProvider="AspNetSqlPersonalizationProvider">

<providers>

<remove name="AspNetSqlPersonalizationProvider" />

<add name="AspNetSqlPersonalizationProvider"

type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider"

connectionStringName="MyDBConnectionString"

applicationName="/" />

</providers>

</personalization>

</webParts>

and following is the error message which I receive on my development server : Erreur 102 Section de configuration non reconnue membership. (c:\inetpub\wwwroot\univision\web.config line 9)   (translated in English, this error message would look like : Error 102 Configuration section membership not recognized).

 

Could somebody help me ?

 

Many thanks,

 

Pierre

Pierre
       
Sponsored by
Become a Sponsor
Developer-Ready ASP.NET 2.0 Web Hosting with 3 MONTHS FREE
Now supporting .NET 3.0 Framework with Windows Workflow Foundation, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), windows CardSpace (WCS)! Providing more flexibility for Developers with Web Services Support and a User/Permission Manger. Also supporting MS SQL 2005/2000 with Real-Time Backups, FREE Automated Attach .MDF Tool, FREE SQL Restore and Shrink SQL DB Tools, and SQL
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Clickatell's SMS Gateway
Clickatell's Developer Solutions allow you to SMS enable any website or application via a range of API's. Learn More about our API connections.
Free access to .NET Memory Management video
Everything you need to know about Garbage Collection, Temporary Objects, Fragmentation, Finalization and common causes of memory leaks in .NET. Watch the video here.
Microsoft Visual Studio 2010
Microsoft Visual Studio 2010 offers more to developers than any other Visual Studio release. Work more productively and collaboratively-with greater control over your work at every step. The Beta 2 can give you a head start on achieving efficiency.

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Site Map  |  Advertise with us
Current Version: 3.2009.8.27
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved