Construction of the whole Blog Dreamweaver Record (12): 3.5 installation

Related Tags:

  In order to Doking's BLOG upload to the remote procedure to normal after the space of the operation, installation of a few points below. 

  1.    The handbook provided by the Doking's BLOG procedures of the root directory site mainly because of the use web.config configuration file, directory, as well as bin aspnet_client script library, the three files and directories on the site must be in the root directory can be data sets, Form Validation process in normal operation. 

  2.    This tutorial web.config source files and configuration files, as well as aspnet_client bin directory of the script are on the same directory, which is the location of the three documents will not be changed, if we want to Doking's BLOG page on the root directory under the Second - directory, such as this: 

  Http://localhost/dkblog/ 

  Address above, the directory is placed dkblog Doking's BLOG page document, in addition to web.config configuration file, as well as aspnet_client bin directory of the script upload to the root directory of Chinese and foreign, all other files can be copied to dkblog directory. 

  3.    Dreamweaver MX to connect because of the string stored in the database web.config configuration file, open the web.config configuration file, we can see that red circle as shown in Figure 12-1 in the local database is the physical path. 

  Figure 12-1 web.config part of the contents of configuration files 

  As upload to the remote space, its physical path is generally not the same as the local physical path.    In the web.config configuration file also can not be used as Server.MapPath server variables such as remote access to the database space physics path. 

  Can be obtained through the following methods to remote host databases in the real physical directory path.    Assume that, in the remote upload space domain addresses are as follows: 

  Http://www.pconline.com.cn/dkblog 

  Virtual address above through remote access virtual directory dkblog two mainframe, database files stored in dat folder, the actual virtual address: http://www.pconline.com.cn/dkblog/dat 

  Dreamweaver in a blank in the new ASP.NET VB dynamic pages, switch to code view, enter the following code: 

  <% = Server.MapPath ( "")%> 

  Dkurl.aspx for preservation in the IE browser, the results shown in Figure 12-2. 

  Figure 12-2 test physical path 

  Dkurl.aspx can see where the physical path is: D \ dkblog \, that the physical database is the natural path: D: \ dkblog \ dat \ dkblog.mdb. 

  Physical remote host path, open web.config configuration file, modify the database, the physical path. 

  Reminded: this Doking's BLOG development of the procedures have been completed.    The procedure is very simple, but there are conducive to beginners development of the database.    BLOG practical application of the procedure is actually very complex and there are many techniques to be readers thought and research. 

Related articles:

Flash player before someone else does
  Most Flash animation with control functions can be arbitrarily play, pause, drag through the rolling of the screen, fast browser.    Below on to introduce production methods, we might give you help it.    Step 1: Under normal circumstances, or Flash animation at MTV's...
A paging function WEB Print
<html> <head>   <title> See </ title>    <meta Http-equiv="Content-Type" content="text/html; charset=gb2312">    <! - = Print media this property can be effective in print ->    <style Media=print>&...
Initial use of Ajax
  Ajax defined as "Asynchronous JavaScript + XML," short, which is asynchronous JavaScript and XML processing.    From the principle of view, mainly Ajax can be realized by calling HttpRequest asynchronous communication with the server, and eventually to rich Web user-frien...
Set up tables and text modules on the format and location
  In the pages click the right mouse button in the pop-up menu, choose Cell Property, the property unit will form the pop-up dialog box.    Form modules dialog box form and the content of the contents of roughly similar distinction lies in dialogue form module card modules from a for...
Beginners learn more about: cultural and Web site design
  The first is the overall image web site, a Web site gives the first impression is home, but is not, as long as Home well, just the overall image site, because users browse the entire Web site in the process will be a natural form a view on the Web site, such a view is incidental have emotion...