﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledgebase » Knowledgebase » Site publish tool » Visual Studio</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 18:17:29 GMT</lastBuildDate><ttl>20</ttl><item><title>How to publish asp.net project by Visual Web developer 2008 by ftp/http</title><link>http://www.webhost4life.com/HostingKB/Goto50503.aspx</link><description>You can publish your asp.net project by either ftp or http. This article will show you how to publish your asp.net project to web server using visual web developer express edition. If your web application is a &lt;em&gt;&lt;strong&gt;Web Site&lt;/strong&gt;&lt;/em&gt; rather than &lt;em&gt;&lt;strong&gt;Project &lt;/strong&gt;&lt;/em&gt;in visual web developer, you may refer to &lt;a href="http://www.asp.net/learn/hosting/tutorial-04-cs.aspx" target="_blank"&gt;this article&lt;/a&gt; for publishing. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For http, &lt;br /&gt;1. You will have to log in hosting control panel &gt; site admin &gt; install Frontpage extension to the domain/subdomain IIS entry.&lt;br /&gt;2. Open Visual Web developer &gt; Open your project &gt; Click on "Build" on the top panel &gt; Click on "Publish Webapplication" &lt;br /&gt;3. Input the url, for example, http://webapp1.domain.com &lt;br /&gt;4. Select "Only files need to run the application". If you select "all project files", it will include everything inside your project folder, which will take much longer time to publish.&lt;br /&gt;5. You will see a log in prompt. Please input username and password to be the same as your control panel log in credential. It will start publishing if you have installed Frontpage Extension properly in steps 1. If it is failed, you are suggested to recalculate or reinstall Frontpage extension under hosting control panel &gt; site admin &gt; Frontpage &lt;br /&gt;6. After publish complete, the output panel on the bottom of your visual web developer will show you successful result.&lt;br /&gt;&lt;br /&gt;For ftp,&lt;br /&gt;&lt;br /&gt;1. Open Visual Web developer &gt; Open your project &gt; Click on"Build" on the top panel &gt; Click on "Publish Webapplication"&lt;br /&gt;2. Input the ftp host, for example, ftp://webapp1.domain.com or if your site doesn't resolve to your web server IP, you will have to input ftp host with your server IP, for example, ftp://10.10.10.1.&lt;br /&gt;3. Select "Only files need to run the application". If you select "allproject files", it will include everything inside your project folder,which will take much longer time to publish.&lt;br /&gt;4. You will see a log in prompt. Please input your ftp account as the log in credential. Please make sure you are publishing to the right path because this will overwrite the existing files in the publish folder. Let's say if you would like to publish to site webapp1.domain.com which mapped to physical path D:\hosting\member\memberA\site1, if you are using a ftp account which root path mapped to physical path D:\hosting\memebr\memberA, in step 2, you will have to input the ftp host as ftp://webapp1.domain.com/site1. Otherwise, it will publish to wrong path and overwrite the existing files.&lt;br /&gt;5. After publish complete, the output panel on the bottom of your visual web developer will show you successful result.&lt;br /&gt;&lt;br /&gt;</description><pubDate>Tue, 11 Aug 2009 16:59:01 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>Parser Error Message: Could not load type</title><link>http://www.webhost4life.com/HostingKB/Goto50102.aspx</link><description>&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;Please note that this is a general FAQ for the error "Parser Error Message: Could not load type..."&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;You get this error because you did notpublish your .net project via Visual Studio so the .net bin folder and therequired DLLs wasn't created.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;The best solution for this is &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;1) Publish the application to your local machine and then upload it via ftp including the bin folder.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;Or&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;2) Use your &lt;/font&gt;&lt;font face="MS Sans Serif" size="2"&gt;Visual Studio&lt;/font&gt;&lt;font face="MS Sans Serif" size="2"&gt; and publish theapplication directly to your site. (This require you to have a workingurl that's already pointed to our server. Frontpage extension need to enable on this URL, too)&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 11:04:00 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to connect and create web project using visual studio</title><link>http://www.webhost4life.com/HostingKB/Goto50084.aspx</link><description>&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;strong&gt;&lt;u&gt;connecting, creating web project using visual studio&lt;o:p /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Ifyou use frontpage extension to connect your visual studio .net to yourweb application. You need to have frontpage extension turned on foryour website. (To turn on Frontpage extension check &lt;a href="http://www.webhost4life.com/hostingKB/KnowledgebaseArticle50020.aspx"&gt;here&lt;/a&gt;) If the web project is a folder under your domain root,eg. http://www.domain.com/webapp1/, you need to turn /webapp1 into asubweb from your frontpage extension administration. Sometimes this isdone for you from visual studio .net. However, if vs.net failed to doso for you you will get error like:&lt;o:p /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;"The web 'webapp1' located on server 'http://domain.com'"&lt;o:p /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;"Unable to open the web project 'webapp1'"&lt;o:p /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial" size="2"&gt;&lt;font face="Arial"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;Youwill need to go to your frontpage administration site :http://domain.com/_vti_bin/_vti_adm/fpadmdll.dll?page=webadmin.htm, atthe bottom click on "create subweb", in the "name" field enter yourfolder name to turn this folder into a subweb manually. The frontpageadministration site is also accessible from your Frontpage 2003 Tools-&gt; Server -&gt; Administration Home.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;</description><pubDate>Sun, 30 Nov 2008 10:59:02 GMT</pubDate><dc:creator>Mark</dc:creator></item></channel></rss>