﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledgebase » Knowledgebase » Database » MSSQL</title><generator>InstantKB.NET 2.0.4</generator><description>Knowledgebase</description><link>http://www.webhost4life.com/HostingKB/</link><webMaster>kb@webhost4life.com</webMaster><lastBuildDate>Fri, 20 Nov 2009 19:06:17 GMT</lastBuildDate><ttl>20</ttl><item><title>How to use Webbase Enterprise Manager to manage the MSSQL database?</title><link>http://www.webhost4life.com/HostingKB/Goto50477.aspx</link><description>&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlViewArticle_ctlPanelBar_lblArticleText"&gt;You can read this &lt;a target="_blank" href="KnowledgebaseArticle50066.aspx"&gt;article&lt;/a&gt; if you have difficulties in inputting the database information in the Webbase Enterprise Manager.&lt;br /&gt;&lt;br /&gt;To open the &lt;/span&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlViewArticle_ctlPanelBar_lblArticleText"&gt;Webbase Enterprise Manager, you can browse the link, https://sqladmin.mysite4now.com/, with your web browser, and you will see the following page.&lt;br /&gt;(You can also find the link in Hosting Control Panel -&gt; Database -&gt; MSSQL manager)&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminconnection.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size="3"&gt;To create connection to your database&lt;/font&gt;,&lt;br /&gt;1) Click the connection link.&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminDNSless.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;2) &lt;/span&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlViewArticle_ctlPanelBar_lblArticleText"&gt;Click the "DSN-less" link.&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminlogin.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;3) type in the database information and click on the Connect button.&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminmain.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;4) Great~!  You have connected to your database.&lt;br /&gt;&lt;br /&gt;&lt;font size="3"&gt;Function in Webbase Enterprise Manager&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminIcon.JPG" /&gt;&lt;br /&gt;&lt;font size="2"&gt;All the function in Webbase Enterprise Manager will be show as an icon.  Here is the list of the icon and the function that it represent.&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminNew.JPG" /&gt;     -  Create NEW item&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminEdit.JPG" /&gt;    -  Edit item&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminManage.JPG" /&gt;     -  Manage item&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminRename.JPG" /&gt;     -  Rename item&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminDel.JPG" /&gt;     -  Delete item&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminShowData.JPG" /&gt;     -  Show Data&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminShowconstraints.JPG" /&gt;     -  Show constraints&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminXML.JPG" /&gt;      -  Export data as XML&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminCSV.JPG" /&gt;      -  Export data as CSV &lt;br /&gt;&lt;br /&gt;&lt;font size="3"&gt;To run query,&lt;br /&gt;&lt;font size="2"&gt;1) Click on tool icon.&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sqladminQuery.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size="2"&gt;2) Click the "Query Analyser" link.  The &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlViewArticle_ctlPanelBar_lblArticleText"&gt;&lt;font size="3"&gt;&lt;font size="2"&gt;&lt;font size="3"&gt;&lt;font size="2"&gt;Query Analyser will be show on the right windows.&lt;br /&gt;&lt;br /&gt;3) You can type in your query and click on the submit button to execute.&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlViewArticle_ctlPanelBar_lblArticleText" /&gt;</description><pubDate>Tue, 19 May 2009 14:11:16 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to connect to my MSSQL database?</title><link>http://www.webhost4life.com/HostingKB/Goto50476.aspx</link><description>You can read this &lt;a href="KnowledgebaseArticle50066.aspx" target="_blank"&gt;article&lt;/a&gt; if you have difficulties in inputting the database information in the software below.&lt;br /&gt;&lt;br /&gt;You have few ways to connect to your MSSQL database.&lt;br /&gt;1) Our web-based Enterprise Manager&lt;br /&gt;2) SQL Management Studio&lt;br /&gt;3) Other Similar &lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;remote administration software&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="font-weight: bold;"&gt;1) Our web-based Enterprise Manager&lt;/span&gt;&lt;br /&gt;Please browse our enterprise manager in this URL: &lt;a href="https://sqladmin.mysite4now.com/" target="_blank"&gt;https://sqladmin.mysite4now.com/&lt;/a&gt;&lt;br /&gt;The login screen looks like this:&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/mylittletools.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) SQL Management Studio&lt;/span&gt;&lt;br /&gt;You can download the SQL Management Studio &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;The login screen looks like this:&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/sql_management_studio_1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;3) Other similar &lt;/span&gt;&lt;font face="Arial" size="1" style="font-weight: bold;"&gt;&lt;font face="Verdana" size="2"&gt;remote administration software&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;If you use other similar remote administration software, please contact the support of their software team.&lt;br /&gt;</description><pubDate>Mon, 18 May 2009 14:38:24 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to find my database's server name, IP and login?</title><link>http://www.webhost4life.com/HostingKB/Goto50066.aspx</link><description>&lt;font face="Arial" size="1"&gt;                    &lt;font face="Verdana" size="2"&gt;What information should I input in the Web-based Enterprise Manager and SQL Server Management Studio?&lt;br /&gt;To find these information, please login to your control panel and click "database". You will see a list of your databases. Here is an example:&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/databaseinfo.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can follow the table below to input the information in enterprise manager and SQL Management Studio.&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;&lt;br /&gt;&lt;table height="129" width="620"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;font size="3"&gt;&lt;strong&gt;Control Panel&lt;br /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt;&lt;strong&gt;Enterprise Manager&lt;br /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt;&lt;strong&gt;SQL Management Studio &lt;br /&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; DB Name&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; Database Name&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; (not require)&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; DB IP&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; SQL Server IP&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; Server Name&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; DB ID&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; User name&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; Login&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; (pw does not &lt;br /&gt;show in control panel)&lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt; Password&lt;/font&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;font size="3"&gt;Password &lt;br /&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;</description><pubDate>Mon, 18 May 2009 14:36:12 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Using SQL Server for ASP.Net session state</title><link>http://www.webhost4life.com/HostingKB/Goto50455.aspx</link><description>&lt;font size="2"&gt;Setup/use SQL Server for ASP.Net session state&lt;br /&gt;&lt;br /&gt;This tutorial will go through steps to setup/install the session state service for ASP .Net application with custom database.&lt;br /&gt;1.) Create the MSSQL Database for session state&lt;br /&gt;2.) Tool to install the session state template&lt;br /&gt;3.) &lt;/font&gt;&lt;font size="2"&gt;Installation the session state service on custom database&lt;br /&gt;4.) Update the web.config file&lt;br /&gt;5.) Create the job to delete expired sessions&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/font&gt;&lt;font size="2"&gt;1.) Create the MSSQL Database for session state&lt;br /&gt;&lt;br /&gt;Create MSSQL database for the session state service.&lt;br /&gt;control panel -&gt; databases -&gt; MSSQL Admin -&gt; Create New DB&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/01_create_db3.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;This tutorial will go through with follow MSSQL DB info:&lt;br /&gt;Database Server Address: &lt;font color="#c71585"&gt;sql999.mysite4now.com&lt;/font&gt;&lt;br /&gt;Database name:&lt;font color="#c71585"&gt; &lt;/font&gt;&lt;font color="#c71585"&gt;statedemoDB_62760&lt;/font&gt;&lt;br /&gt;Database User ID: &lt;font color="#c71585"&gt;statedemoUser_62760&lt;/font&gt;&lt;br /&gt;Database Password:&lt;font color="#c71585"&gt; statepassword&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;*&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;You should create/use your database to setup the session state service&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;2.) Tool to install the session state template&lt;br /&gt;You can install the session state service to custom database with the installation template query:&lt;br /&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;InstallSqlStateTemplate.sql&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;br /&gt;By default, &lt;font color="#ff0000"&gt;InstallSqlStateTemplate.sql&lt;/font&gt; located in following folders:&lt;br /&gt;C:\Windows\Microsoft.NET\Framework\&lt;font color="#c71585"&gt;version_ID&lt;/font&gt;\&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;/font&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallSqlStateTemplate.sql&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/02_installsqlstatetemplate_location.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Copy this sql file to another location, and update the template file:&lt;br /&gt;- find and replace all reserved string &lt;font color="#ff0000"&gt;DatabaseNamePlaceHolder &lt;/font&gt;within the template&lt;br /&gt;- replace this string to the database name which install the session state service, for this tutorial - &lt;font color="#c71585"&gt;statedemoDB_62760&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;img height="420" width="785" src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/03_update_template.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;hr /&gt;3.) &lt;/font&gt;&lt;font size="2"&gt;Installation the session state service on custom database&lt;br /&gt;Connect the database with Microsoft SQL Server Management Studio&lt;br /&gt;&lt;br /&gt;Currently, this database is a blank database:&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/04_blank_db.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Execute the &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;InstallSqlStateTemplate.sql &lt;/font&gt;&lt;font size="2"&gt;via the Management Studio&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/05_run_the_query.JPG" /&gt;&lt;br /&gt;1 - Click "New Query"&lt;br /&gt;2 - Copy and paste the contents of updated &lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;InstallSqlStateTemplate.sql &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;as sql query&lt;br /&gt;3 - "Execute" the query&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;4 - The result of the query execution&lt;br /&gt;&lt;br /&gt;Query execution result:&lt;br /&gt;&lt;/font&gt;&lt;blockquote&gt;&lt;font size="2"&gt;&lt;em&gt;-------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;Starting execution of InstallSqlStateTemplate.SQL&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;-------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt; &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;--------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;Note:                                             &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;This file is included for backward compatibility  &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;only.  You should use aspnet_regsql.exe to install&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;and uninstall SQL session state.                  &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt; &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;Run 'aspnet_regsql.exe -?' for details.         &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;--------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;Msg 229, Level 14, State 5, Procedure sp_delete_job, Line 1&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;If the category already exists, an error from msdb.dbo.sp_add_category is expected.&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;Msg 229, Level 14, State 5, Procedure sp_add_category, Line 1&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;The EXECUTE permission was denied on the object 'sp_add_category', database 'msdb', schema 'dbo'.&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;Msg 229, Level 14, State 5, Procedure sp_add_job, Line 1&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;The EXECUTE permission was denied on the object 'sp_add_job', database 'msdb', schema 'dbo'.&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt; &lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;--------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;Completed execution of InstallSqlStateTemplate.SQL&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&lt;em&gt;--------------------------------------------------&lt;/em&gt;&lt;/font&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;font size="2"&gt;&lt;br /&gt;Normally, the core tables/stored procedures have installed on the database after execution&lt;br /&gt;Above error message due to insufficient user privilege to add the scheduled job. &lt;br /&gt;Which is a scheduled job to delete expired session state record of the session state database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#0000ff"&gt;Execution of&lt;/font&gt; InstallSqlStateTemplate.sql &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; installed &lt;/font&gt;&lt;font size="2"&gt;session state related tables/stored procedures:&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/06_installed_db.JPG" /&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;4.) Update the web.config file&lt;br /&gt;&lt;br /&gt;Update the web.config to use the custom session state server/database:&lt;br /&gt;Update/insert sessionState code:&lt;br /&gt;&lt;br /&gt;&amp;lt;sessionState&lt;br /&gt;        mode="&lt;font color="#ff0000"&gt;SQLServer&lt;/font&gt;"&lt;br /&gt;       &lt;font color="#ff0000"&gt; allowCustomSqlDatabase="true"&lt;/font&gt;&lt;br /&gt;        sqlConnectionString="data source=&lt;font color="#c71585"&gt;sql999.mysite4now.com&lt;/font&gt;;initial catalog=&lt;font color="#c71585"&gt;statedemoDB_62760&lt;/font&gt;;user id=&lt;font color="#c71585"&gt;statedemoUser_62760&lt;/font&gt;;password=&lt;font color="#c71585"&gt;statepassword&lt;/font&gt;"&lt;br /&gt;        cookieless="false"&lt;br /&gt;        timeout="20"&lt;br /&gt;/&gt;&lt;br /&gt;&lt;br /&gt;** Use mode = &lt;font color="#ff0000"&gt;SQLServer&lt;/font&gt;&lt;br /&gt;** To use custom DB instead of default database "ASPSTATE" , &lt;font color="#ff0000"&gt;need to enable option allowCustomSqlDatabase="true"&lt;/font&gt;&lt;br /&gt;** session&lt;font color="#c71585"&gt;S&lt;/font&gt;tate : &lt;font color="#c71585"&gt;S&lt;/font&gt; is uppercase, case sensitive&lt;br /&gt;** sql&lt;font color="#c71585"&gt;C&lt;/font&gt;onnection&lt;font color="#c71585"&gt;S&lt;/font&gt;tring :  &lt;font color="#c71585"&gt;C &lt;/font&gt;, &lt;font color="#c71585"&gt;S&lt;/font&gt; are uppercase, case sensitive&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Session state record update within the table:&lt;br /&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/kb_aspnet_sql_session_state/07_state_record.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;5.) Create the scheduled job to delete expired sessions record in the database&lt;br /&gt;&lt;br /&gt;Refer to steps 3.)&lt;br /&gt;To setup the scheduled job for the session state database,&lt;br /&gt;you need to purchase the scheduled Task service via control panel:&lt;br /&gt;control panel -&gt; Site Admin -&gt; Schedule Task&lt;br /&gt;&lt;br /&gt;After that submit a ticket to our support team and they will give further assistance to setup the schedule job.&lt;br /&gt;&lt;/font&gt;</description><pubDate>Wed, 06 May 2009 16:41:08 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to Display Reporting Service Reports without Authentication?</title><link>http://www.webhost4life.com/HostingKB/Goto50181.aspx</link><description>&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;The simplest way is to run an asp page that will fetch the report and display it. &lt;/font&gt;&lt;/p&gt;&lt;font face="Arial" size="2"&gt;You can do it with the following example code, just replace the URL with your own reporting url, login and password:&lt;/font&gt;&lt;font face="Arial"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;p align="left"&gt;&lt;font face="Arial"&gt;&lt;span&gt;&lt;p&gt;&lt;font color="#008000"&gt;&lt;span&gt;&lt;p&gt;set objhttp = server.createobject("microsoft.xmlhttp")&lt;br /&gt;url = "http://sqlreport01.mysite4now.com/ReportServer/webho_demo/Report1&amp;amp;rs:Command=Render&amp;amp;rs:Format=HTML4.0&amp;amp;rc:Toolbar=True&amp;amp;rc:JavaScript=False&amp;amp;rc:LinkTarget=_top&amp;amp;rc:Area=Report"&lt;/p&gt;&lt;p&gt;objhttp.open "get", url, false, "login", "password"&lt;/p&gt;&lt;p&gt;objhttp.send&lt;br /&gt;response.write objhttp.responsetext&lt;/p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2" /&gt;&lt;/p&gt;</description><pubDate>Mon, 06 Apr 2009 11:03:58 GMT</pubDate><dc:creator>Administrator</dc:creator></item><item><title>How do I backup my database?</title><link>http://www.webhost4life.com/HostingKB/Goto50032.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;MSSQL:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1)  Login to your hosting control panel.  Click on the menu "Database".  On the left menu, click on MSSQL.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;2) You'll now see a list of your mssql db.  Click on the "Backup" link next to the database that you want to backup.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;3) Follow the backup steps to setup FTP Account and to Start the backup of your db.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;4) FTP to the account that you just setup for your database backup and retrieve the backup.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Please note that we do backup your db on a daily basis as well.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;MySQL:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1)  Login to your hosting control panel.  Click on the menu "Database".  On the left menu, click on MySQL.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;2) You\'ll now see a list of your mysql db.  Click on the "Backup" link next to the database that you want to backup.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;3) Follow the backup steps to setup FTP Account and to Start the backup of your db.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;4) FTP to the account that you just setup for your database backup and retrieve the backup.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Please note that we do backup your db on a daily basis as well.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;To backup your files, please refer to &lt;a href="KnowledgebaseArticle50441.aspx"&gt;this article&lt;/a&gt;.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Mon, 30 Mar 2009 10:11:55 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How can I display sql reporting service reports without login?</title><link>http://www.webhost4life.com/HostingKB/Goto50027.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;How to display sql reporting service reports without login&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;The simplest way is to write an asp page with following code:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&amp;lt;%&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;set objhttp = server.createobject("microsoft.xmlhttp")&lt;br /&gt; &lt;br /&gt;url= "http://sqlreport339.mysite4now.com/ReportServer?/chris/sales orderdetail/&amp;amp;rs:Command=Render&amp;amp;rs:Format=HTML4.0&amp;amp;rc:Toolbar=True&amp;amp;rc:JavaScript=False&amp;amp;rc:LinkTarget=_top&amp;amp;rc:Area=Report"&lt;br /&gt; &lt;br /&gt;objhttp.open "get", url, false, "login", "password"&lt;br /&gt;  &lt;br /&gt;objhttp.send&lt;br /&gt;response.write objhttp.responsetext&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;%&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;You must know the report server url,your report path, and report server parameters. You can use theparameter shown in the sample. For detail of the parameters you cansearch msdn.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;If the report you designed requiresinteraction between report and browswer or there's embeded item likeimages in your report, this does not work well and user will getpassword prompt. &lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:49:25 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How do I enable Full Text Indexing for MSSQL?</title><link>http://www.webhost4life.com/HostingKB/Goto50037.aspx</link><description>&lt;font face="Arial" size="1"&gt;&lt;font size="2"&gt;&lt;font face="Verdana"&gt;You need to execute the following SQL command :&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;ul type="circle"&gt;&lt;font face="Arial" size="1"&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;This will enable full-text indexing for the current database:&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;exec sp_fulltext_database 'enable'&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;This creates a catalog:&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;exec sp_fulltext_catalog 'catalogname', 'create'&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;This enables indexing of a table:&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;exec sp_fulltext_table 'tablename', 'create',&lt;br /&gt;'catalogname', 'indexname'&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;This adds a column to an index:&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;exec sp_fulltext_column 'tablename', 'columnname', 'add'&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;This activates fulltext on a table:&lt;br /&gt;&lt;/font&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;exec sp_fulltext_table 'tablename', 'activate'&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;These two enable automatic filling of the full-text index when changes occur to a table:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Verdana"&gt;&lt;font color="#000080"&gt;exec sp_fulltext_table 'tablename',&lt;br /&gt;'start_change_tracking'&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Verdana"&gt;&lt;font color="#000080"&gt;exec sp_fulltext_table 'tablename',&lt;br /&gt;'start_background_updateindex'&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/li&gt;&lt;/font&gt;&lt;/ul&gt;&lt;font face="Arial" size="1"&gt;                    &lt;/font&gt;</description><pubDate>Wed, 24 Dec 2008 11:37:09 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>What are my SQL Reporting Service URLs ?</title><link>http://www.webhost4life.com/HostingKB/Goto50067.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;You need to purchase and setup SQL reporting service first. You can order it via login Hosting Control Panel -&gt; Database -&gt; Reporting Service.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Report manager:&lt;br /&gt;&lt;a href="http://sqlreport01.mysite4now.com/Reports/Pages/Folder.aspx?ItemPath=/%3Caccount_id"&gt;http://sqlreport01.mysite4now.com/Reports/Pages/Folder.aspx?ItemPath=/&amp;lt;account_id&lt;/a&gt;&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Report Server:&lt;br /&gt;&lt;a href="http://sqlreport01.mysite4now.com/Reportserver"&gt;http://sqlreport01.mysite4now.com/Reportserver&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;If you are deploying, you should have the following information in your project properties:&lt;br /&gt;TargetDataSourceFolder: /&amp;lt;account_id&gt;&lt;br /&gt;TargetReportFolder: /&amp;lt;account_id&gt;&lt;br /&gt;TargetServerURL : &lt;a href="http://sqlreport01.mysite4now.com/reportserver"&gt;http://sqlreport01.mysite4now.com/reportserver&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font size="2"&gt;Please &lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;substitute&lt;/font&gt; &lt;font face="Arial" size="1"&gt;&lt;font size="2"&gt;&amp;lt;account_id&gt; with your hosting account ID.&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:35:50 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to Display Reporting Service Reports with asp.net reportviewer control?</title><link>http://www.webhost4life.com/HostingKB/Goto50047.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;To use ReportViewer control remote modeto display reports deployed to SQL reporting server, you will need tosign up with SQL Reporting service from your hosting control panel, andhave your reports deployed to the report server.&lt;br /&gt;You may also want to know "How to use SQL Reporting Service web service to generate report in specific file format"&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Summary to write your report viewer:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1. Using Visual Studio drag the ReportViewer control to the form&lt;br /&gt;2. create a class that implements the Microsoft.Reporting.WebForms.IReportServerCredentials class.&lt;br /&gt;3. override the NetworkCredentials property of the new class, you can put your login information here&lt;br /&gt;4. initiate an object from the new class and assign to your ReportViewer.ServerReport.ReportServerCredentials property.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Example:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://webho_demo.mysite4now.com/reportviewer/default.aspx"&gt;http://webho_demo.mysite4now.com/reportviewer/default.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Source code:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://webho_demo.mysite4now.com/reportviewer/reportviewer.zip"&gt;http://webho_demo.mysite4now.com/reportviewer/reportviewer.zip&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;MSDN reference:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.reporting.webforms.ireportservercredentials%28VS.80%29.aspx"&gt;http://msdn2.microsoft.com/en-us/library/microsoft.reporting.webforms.ireportservercredentials(VS.80).aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Known issue:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1. If you see asp.net session exception, try to set the reportviewer control Async property to False.&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:34:28 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>I can't login FTP to retrieve my db backup file.</title><link>http://www.webhost4life.com/HostingKB/Goto50062.aspx</link><description>&lt;font face="Arial" size="1"&gt;&lt;font size="2"&gt; Please make sure you have setup your FTPlogin first. &lt;br /&gt;&lt;br /&gt;To do so, login Hosting Control Panel -&gt; Database -&gt; MSSQL admin or MySQL admin -&gt; Backup DB&lt;br /&gt;&lt;br /&gt;You'll see that option at your DB backup/restore section (Step 1) of yourcontrol panel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt; &lt;/font&gt;</description><pubDate>Wed, 24 Dec 2008 11:31:28 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to migrate SQL Express to SQL2005</title><link>http://www.webhost4life.com/HostingKB/Goto50052.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;Since March2008, we no longer support SQLExpress engine. If you are not sure ifyour website is using SQLExpress and need to perform migrate action,please check the instructions below.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;Please note,if you are NOT using ASP.NET 2.0 or above, and if your ASP.NET websitedoes not have dynamic data, such as product information, membershipinformation, you are most likely not using SQLExpress.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;To confirm whether you\'re using sql express database or sql server database, you can follow the following step.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;Please checkthe web.config file under your domain/application root folder. Look forkeyword "sqlexpress" within this text file, if you are usingSqlExpress, you should find something similar to:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;&amp;lt;addname="ConnectionString" connectionString="DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\datafilename.MDF;IntegratedSecurity=True;User Instance=True;Initial Catalog=dbname"providerName="System.Data.SqlClient"/&gt;&lt;br /&gt;(you may find thiskeyword, but it's commented out by &amp;lt;!-- --&gt;, in such case thisconnection string does not take effect and you are not affected)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;If you donot find the above keyword or a connectionstring specifying SqlExpress,you are not affected and you can ignore this notification.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;To attach the SQL express database,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step1: You will need to go to control panel -&gt; database -&gt; mssql admin -&gt; attach new db&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step2: Create an FTP account in the SQL server with the FTP login of [accountid_db],&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step3: Afterthat, you have to download your SQL express database data file fromyour web server App_data folder via your FTP account in your web serverwith login name of [accountid] Or If you have the SQL express databasein your local computer, you can go directly to step 4&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step4: Upload the SQL express database data file to the SQL server using the FTP account you just created in the SQL server&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step5: Please attach the database in the SQL server by inputing the database name, database login and database password.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;step6: Finally, you have to reconfigure your connection string in your web.config of the file you set your connection string:&lt;br /&gt;change from something like&lt;br /&gt;&lt;span class="Code"&gt;&amp;lt;addname="ConnectionString" connectionString="DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\datafilename.MDF;IntegratedSecurity=True;User Instance=True;Initial Catalog=dbname"providerName="System.Data.SqlClient"/&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;to&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2" class="Code"&gt;&amp;lt;addname="ConnectionString"connectionString="Server=SQLServerAddress;InitialCatalog=DBName;uid=DBLogin;pwd=DBPassword;"providerName="System.Data.SqlClient" /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Arial" size="2"&gt;where SQLServerAddress is the new SQL database server address designated when you attache the database.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:29:12 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How do I use Enterprise Manager to connect to my MsSQL DB?</title><link>http://www.webhost4life.com/HostingKB/Goto50040.aspx</link><description>&lt;font face="Arial" size="2"&gt;* Enterprise Manager only work with SQL2000 only. For SQL2005 or above, please check &lt;a href="KnowledgebaseArticle50066.aspx"&gt;this article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;                    Follow these instructions:&lt;/font&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;1.&lt;/font&gt;&lt;/strong&gt; Open your enterprise manager, expand the list on the left hand side panel to reach &lt;font face="Verdana" color="#000080"&gt;local&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms1.gif" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;2.&lt;/font&gt;&lt;/strong&gt; Right-click '&lt;font face="Verdana" color="#000080"&gt;(local) (Windows NT)'&lt;/font&gt; and select '&lt;font face="Verdana" color="#000080"&gt;New SQL Server Registration'&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;3.&lt;/font&gt;&lt;/strong&gt; Enter the server IP hosting your database.&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms2.gif" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;4.&lt;/font&gt;&lt;/strong&gt; &lt;font color="#000080"&gt;Authentication Mode:&lt;/font&gt; &lt;font color="#000080"&gt;'Select The SQL Server login information that was assigned to me...'&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms3.gif" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;5&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080"&gt;.&lt;/font&gt;&lt;/strong&gt; &lt;font color="#000080"&gt;Connection Options:&lt;/font&gt; '&lt;font color="#000080"&gt;Login automatically...'&lt;/font&gt; and enter your ID and password&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms4.gif" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;6&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080"&gt;.&lt;/font&gt;&lt;/strong&gt;Select a connection group or create a new one. This is to keep thingsorganized; choosing one over the other will not affect your connection.&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms5.gif" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="2"&gt;&lt;strong&gt;&lt;font color="#000080"&gt;7&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080"&gt;.&lt;/font&gt;&lt;/strong&gt; Click on '&lt;font color="#000080"&gt;Finish&lt;/font&gt;' and you are done.&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;img src="/hostingKB/Uploads/Images/database_ms6.gif" /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:27:06 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to get MSSQL DTS working?</title><link>http://www.webhost4life.com/HostingKB/Goto50050.aspx</link><description>&lt;font face="Arial" size="1"&gt;                    &lt;font face="Verdana" size="2"&gt;Notice this article is for SQL2000 and Enterprise manager only.&lt;br /&gt;&lt;br /&gt;Use Import Export Tool (DTS) - select "Copy objects and data between SQL server". &lt;/font&gt;&lt;/font&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;Onthe next screen, check only: one in the "Create Destination Objects..."- one in the "Copy Data -Replace all Data..." - and one in "Copy allobjects...". &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;Inthe box "Use Default Options", uncheck it and click the "Options"button. In the following window, clear all of the Security check boxes. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="Verdana" size="2"&gt;Click OK, Next, Next and Finish.&lt;br /&gt;&lt;br /&gt;This way all tables, views and stored procedures are transferred into the SQL Server Database.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:24:52 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Where's the "Edit" icon for me to edit data from Web Enterprise Manager?</title><link>http://www.webhost4life.com/HostingKB/Goto50170.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;When I open to see my data in a tablewith Web Enterprise Manager (a.k.a. MSSQL Manager), I do not see the"Edit" icon next to the data.  Why did the edit icon go?&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Answer:  In order for the "Edit" icon toshow up when you view data of any table using Web Enterprise Manager,the table needs to have an index.  This "index" can be a primary key,or any other type of index.  Without index, the edit icon will not showup when you use web EM to view the data of a table.&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:22:08 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to display non-English text with ASP and MSSQL server?</title><link>http://www.webhost4life.com/HostingKB/Goto50042.aspx</link><description>&lt;p&gt;&lt;font face="Arial"&gt;As an example, one of the technique for you to display Chinese Big5 character:&lt;br /&gt;&lt;br /&gt;Make every column type that will store Chinese Big5 text to be Unicode support column (such as nvarchar or nchar). &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;In your query, put an "N" sign in front of every Chinese Big5 text string.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;And in asp page under the &amp;lt;meta&gt; tag, set charset="big5".&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;Then your asp page should be able to display Chinese Big5 text string.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;Note:  This is just one of the techniques to display non-English language.  There are other methods that you can try as well.&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:13:13 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to use SQL Reporting Service web service to generate report in specific file format?</title><link>http://www.webhost4life.com/HostingKB/Goto50057.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;To use SQL Reporting Service web serviceto generate report in specific file format, you will need to sign upwith SQL Reporting service from your hosting control panel, and haveyour reports deployed to the report server.&lt;br /&gt;The supported file formats are XML, CSV, IMAGE, PDF, HTML, MHTML, EXCEL.&lt;br /&gt;You may also want to know "&lt;a href="http://www.webhost4life.com/hostingKB/KnowledgebaseArticle50047.aspx"&gt;How to Display Reporting Service Reports with asp.net 2.0 reportviewer control&lt;/a&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;"&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Summary to write your report viewer:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1. from vs.net add web reference to &lt;a href="http://sqlreport01.mysite4now.com/reportserver/ReportExecution2005.asmx"&gt;http://sqlreport01.mysite4now.com/reportserver/ReportExecution2005.asmx&lt;/a&gt;&lt;br /&gt;2. create an object from the ReportExecutionService class&lt;br /&gt;3. initiate parameters as sample code shows&lt;br /&gt;4. call the LoadReport method and follow by Render method&lt;br /&gt;5. output byte stream returned from Render method to browser.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Example:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://webho_demo.mysite4now.com/reportviewer2/default.aspx"&gt;http://webho_demo.mysite4now.com/reportviewer2/default.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Source code:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://webho_demo.mysite4now.com/reportviewer2/reportviewer2.zip"&gt;http://webho_demo.mysite4now.com/reportviewer2/reportviewer2.zip&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;MSDN reference:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.reportexecutionservice.render.aspx"&gt;http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.reportexecutionservice.render.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Known issue:&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial" size="2"&gt;1. Try to key your data set small, or it will take a long time to load the report&lt;/font&gt;</description><pubDate>Wed, 24 Dec 2008 09:54:45 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Need to run aspnet_regsql.exe for my WEB database</title><link>http://www.webhost4life.com/HostingKB/Goto50099.aspx</link><description>&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;You can run this yourself at home. &lt;br /&gt;Here is the requirement: &lt;br /&gt;1. Your home computer must have .net 2.0 installed &lt;br /&gt;2. Your port 1433 is opened and able to connect target SQL server &lt;br /&gt;3. You can provide correct SQL authentication login/password &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;Then, gotoC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\, double clickaspnet_regsql.exe. Follow the wizard and complete the setup. &lt;br /&gt;Thisprogram is to create some tables and stored procedures to allow themembership control feature (for ASP.net 2.0) work. For more detail ofmembership control, consult an .net programmer&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;font face="MS Sans Serif"&gt;Details of &lt;/font&gt;&lt;/font&gt;&lt;font face="MS Sans Serif" size="2"&gt;aspnet_regsql.exe in MSDN:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms229862%28VS.80%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms229862(VS.80).aspx&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Sun, 30 Nov 2008 12:16:06 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to resolve collation conflict in ASPNETForum</title><link>http://www.webhost4life.com/HostingKB/Goto50087.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;When ASPNETForum returns the error as similar as follow:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Cannot resolve the collation conflictbetween "Latin1_General_CI_AI" and "SQL_Latin1_General_CP1_CI_AS" inthe equal to operation. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;You could mostly resolve it by trying to:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1) change database collation to SQL_Latin1_General_CP1_CI_AS via the control panel&lt;br /&gt;2) connect the database, find stored procedure "Statistics_ResetTopPosters"&lt;br /&gt;3) find and change the code from: &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;CREATE Table #Top500Users (&lt;br /&gt;Rank int IDENTITY (1, 1) NOT NULL,&lt;br /&gt;UserName nvarchar(50)&lt;br /&gt;)&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;to:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;CREATE Table #Top500Users (&lt;br /&gt;Rank int IDENTITY (1, 1) NOT NULL,&lt;br /&gt;UserName nvarchar(50) collate database_default&lt;br /&gt;)&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;reference link:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;a target="_blank" href="http://forums.asp.net/535822/ShowPost.aspx"&gt;http://forums.asp.net/535822/ShowPost.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Sun, 30 Nov 2008 11:50:42 GMT</pubDate><dc:creator>Mark</dc:creator></item></channel></rss>