vvsharma
07-26-2006, 11:36 AM
How to install the ASP.NET 2.0 Job Site Starter Kit
Requirements:
- ASP.NET 2.0
- Visual Web Developer (VWD)
- SQL Express if you intend to develop on your local machine
1) Download and install the starter kit on your computer from http://asp.net/downloads/starterkits/. Once installed, the Classified Starter kit should be one
of the available templates in VWD
2) Open Visual Web Developer
3) Create a local copy of the site
- Select File -> New -> Website. This should bring up the New Web Site dialogue box.
- Select "Classifieds Web Site Starter Kit"
- In Location: Select "File System"
- Put in a location where you want VWD to install the web site
- Select either Visual Basic or Visual C# as language
- Click "OK".
4) Install the Database Schema on DiscountASP.NET SQL server
-Upload the JsskDb.mdf using ftp and attach it using our SQl Tools.This file can be found under the App_Data Directory.
5) Update the Web.config file
- Comment out the following:
<connectionStrings>
<add name="connectionstring" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=&quot;|DataDi rectory|JsskDb.mdf&quot;;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
<add name="MyProviderConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated
Security=True;AttachDbFilename=|DataDirectory|Jssk Db.mdf;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
A i>Add the following:
<connectionStrings>
<add name="connectionstring" connectionString="Data Source=Data Server ;Integrated Security=False;Initial Catalog=Database Name;User
ID=Database_user;Password=Password" providerName="System.Data.SqlClient" />
<add name="MyProviderConnectionString" connectionString="Data Source=Data Server ;Integrated Security=False;Initial Catalog=Database Name;User
ID=Database_user;Password=Password" providerName="System.Data.SqlClient" />
</connectionStrings>
ii>
<system.net>
<mailSettings>
<smtp deliveryMethod="network" from="from@yoursite.com">
<network host="localhost" port="25" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
B> Replace the following
<membership defaultProvider="MyProvider">
<providers>
<add connectionStringName="MyProviderConnectionString"
applicationName="/JobSiteStarterKit" description="" requiresUniqueEmail="false"
enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false"
passwordFormat="Hashed" name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
with
<membership defaultProvider="MyProvider">
<providers>
<add connectionStringName="MyProviderConnectionString"
applicationName="/JobSiteStarterKit" description="" requiresUniqueEmail="false"
enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false"
passwordFormat="Clear" name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
6) Set up membership / role provider database
See KB: http://kb.discountasp.net/article.aspx?id=10413
7) Copy your site to DiscountASP.NET servers
See KB: http://kb.discountasp.net/article.aspx?id=10364
8) Setup the directory as a web application using the Web Application Tool in the control panel.
Post Edited By Moderator (mjp) : 8/2/2006 9:02:20 PM GMT
Requirements:
- ASP.NET 2.0
- Visual Web Developer (VWD)
- SQL Express if you intend to develop on your local machine
1) Download and install the starter kit on your computer from http://asp.net/downloads/starterkits/. Once installed, the Classified Starter kit should be one
of the available templates in VWD
2) Open Visual Web Developer
3) Create a local copy of the site
- Select File -> New -> Website. This should bring up the New Web Site dialogue box.
- Select "Classifieds Web Site Starter Kit"
- In Location: Select "File System"
- Put in a location where you want VWD to install the web site
- Select either Visual Basic or Visual C# as language
- Click "OK".
4) Install the Database Schema on DiscountASP.NET SQL server
-Upload the JsskDb.mdf using ftp and attach it using our SQl Tools.This file can be found under the App_Data Directory.
5) Update the Web.config file
- Comment out the following:
<connectionStrings>
<add name="connectionstring" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=&quot;|DataDi rectory|JsskDb.mdf&quot;;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
<add name="MyProviderConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated
Security=True;AttachDbFilename=|DataDirectory|Jssk Db.mdf;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
A i>Add the following:
<connectionStrings>
<add name="connectionstring" connectionString="Data Source=Data Server ;Integrated Security=False;Initial Catalog=Database Name;User
ID=Database_user;Password=Password" providerName="System.Data.SqlClient" />
<add name="MyProviderConnectionString" connectionString="Data Source=Data Server ;Integrated Security=False;Initial Catalog=Database Name;User
ID=Database_user;Password=Password" providerName="System.Data.SqlClient" />
</connectionStrings>
ii>
<system.net>
<mailSettings>
<smtp deliveryMethod="network" from="from@yoursite.com">
<network host="localhost" port="25" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
B> Replace the following
<membership defaultProvider="MyProvider">
<providers>
<add connectionStringName="MyProviderConnectionString"
applicationName="/JobSiteStarterKit" description="" requiresUniqueEmail="false"
enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false"
passwordFormat="Hashed" name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
with
<membership defaultProvider="MyProvider">
<providers>
<add connectionStringName="MyProviderConnectionString"
applicationName="/JobSiteStarterKit" description="" requiresUniqueEmail="false"
enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false"
passwordFormat="Clear" name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
6) Set up membership / role provider database
See KB: http://kb.discountasp.net/article.aspx?id=10413
7) Copy your site to DiscountASP.NET servers
See KB: http://kb.discountasp.net/article.aspx?id=10364
8) Setup the directory as a web application using the Web Application Tool in the control panel.
Post Edited By Moderator (mjp) : 8/2/2006 9:02:20 PM GMT