Difference between revisions of "Frontpage Extensions"

From Hostek.com Wiki
Jump to: navigation, search
Line 106: Line 106:
  
 
If a dialog box does not pop up, you are now in your FrontPage web where the site that you need to edit resides.
 
If a dialog box does not pop up, you are now in your FrontPage web where the site that you need to edit resides.
 +
 +
==FrontPage Counters==
 +
 +
Create an ASP page and add the following code:
 +
 +
<%dim fso, ts, p, s Const ForReading = 1, ForWriting = 2, ForAppending = 8 ' FSO constants p = "_private\" ' all FP counters are located in your
 +
\_private directory set fso = CreateObject("Scripting.FileSystemObject") ' Create the File System Object ' Main Index Page s = p & "index.htm.cnt" ' your counter name here s = Server.MapPath(s) ' get actual file location set ts = fso.OpenTextFile(s, ForReading) s = ts.ReadAll s = right(s, 5) ' just get the last 5 digits, skipping the 'FPCountFile 000...' response.write "Index.htm counter = " & s & "<br>"
 +
' Demo Page s = p & "demo.htm.cnt" ' your counter name here s = Server.MapPath(s) set ts = fso.OpenTextFile(s, ForReading) s = ts.ReadAll s = right(s, 5) response.write "Demo.htm counter = " & s & "<br>" ' etc%>
  
  
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 23:22, 24 November 2012

FrontPage Extensions

Do you support Frontpage Extensions?

Yes, we support Frontpage Extensions on our Windows 2003 servers. Microsoft is phasing out FrontPage so with Windows 2008 servers and after we do not support Frontpage Extensions. If you need to use Frontpage Extensions, include that in the notes of your order or contact support by submitting a ticket at http://support.hostek.com


How do I publish with Frontpage?

In order to publish with Frontpage, you will first need to enable Frontpage Extensions.

To do this, follow these steps:

  1. Log into your WCP control panel at http://wcp.hostek.com and load your domain.
  2. Click on the Frontpage Extensions icon.
  3. If it is not enabled you will be able to enter the requested information and click on Enable Extensions. Once it has finished installing you will see your Frontpage Username.
  4. If this is already installed but you are having trouble using it you can enter a new password and click on Update Settings.
  5. If you still have issues after resetting the password you can try clicking on Check Extensions.
  6. If none of these options help you can click on the Uninstall Extensions and once it has been installed you can reinstall it.

Now that the Extensions are installed, to publish with FrontPage, load your local web, then go to the "File" menu and then select "Publish Web".

In the prompt that comes up, enter the location as: http://123.123.123.123 (use your actual IP or domain name if the domain is already pointed to our servers).

Then, when it asks for your username and password, you will enter your FP username and password that you set when you setup the Extensions.

How do I delete a file or page with Frontpage?

In Front Page, open the copy of your website on your hard drive. In the Folder List window on the left side, locate the file you would like to delete. Single click on the file to select it and right click for a menu. Select delete and a Confirm Delete box will appear. Click Yes to delete the file.

After deleting all the files you no longer need, publish your site as usual. As the site is publishing, confirmation boxes will appear asking if you want to delete the same files off of the server. Click Yes and the matching files will be removed from the server.

FrontPage Errors

The folder is no longer available?'

To fix this:

  1. Login to your control panel (wcp.hostek.com)
  2. Click on Front Page Extensions
  3. Click on Check Extensions, this may take a few minutes

When that completes, if you still get an error you should submit a support ticket at http://support.hostek.com.

Cannot run FrontPage Server Extensions Smart HTML interpreter non-HTML front page extensions?

First, make sure you have published to the http:// location, and not to an ftp:// location.

If that is not the issue:

  1. Login to your control panel (wcp.hostek.com)
  2. Click on Frontpage Extensions
  3. Click on Check Extensions, this may take a few minutes

If this does not fix the issue, submit a support ticket at http://support.hostek.com

FrontPage Error Unexpectedly Closed Connection

This could be one of a couple of things.

1) Norton Internet security can be causing the problem. In Norton Internet security Intrusion Detection / Configure Signatures Excluded Signatures : HTTP_MS_SQL_XML_CrossSiteScripting (exclude this string)

2) This http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q265/0/44.ASP&NoWebContent=1 may also help.

Still seeing the Welcome page after uploading files

This is because our default file is still in your root folder. You can simply delete our default file from your site by deleting the "index.htm" file.

You should then see your default document displayed when you visit your site.

If you get a "Directory Listing Denied" error, this is likely due to your default file not having a recognized default file name. You can simply change the name of that file to a recognized default file name. Here is a list of some file names you can use:

index.htm index.html default.htm default.html home.htm home.html index.asp default.asp home.asp index.shtml

Editing Online Pages using FrontPage

To edit sites in FrontPage, simply open the FrontPage Explorer and navigate to your site.

To do so, select "File" from the menu at the top of the screen...then choose "Open Frontpage Web," a box will then popup.

Select "More Webs" from the box. Another box will then popup.

At the top of this box, there is a pull-down menu.

In the space provided, type the directory that your web site is in. (example: C:\FrontPage Webs\Test Site\).

If a dialog box pops up saying "This directory is not a FrontPage web...FrontPage needs to add the necessary folders and files. Convert now?" choose YES.

If a dialog box does not pop up, you are now in your FrontPage web where the site that you need to edit resides.

FrontPage Counters

Create an ASP page and add the following code:

<%dim fso, ts, p, s Const ForReading = 1, ForWriting = 2, ForAppending = 8 ' FSO constants p = "_private\" ' all FP counters are located in your \_private directory set fso = CreateObject("Scripting.FileSystemObject") ' Create the File System Object ' Main Index Page s = p & "index.htm.cnt" ' your counter name here s = Server.MapPath(s) ' get actual file location set ts = fso.OpenTextFile(s, ForReading) s = ts.ReadAll s = right(s, 5) ' just get the last 5 digits, skipping the 'FPCountFile 000...' response.write "Index.htm counter = " & s & "
" ' Demo Page s = p & "demo.htm.cnt" ' your counter name here s = Server.MapPath(s) set ts = fso.OpenTextFile(s, ForReading) s = ts.ReadAll s = right(s, 5) response.write "Demo.htm counter = " & s & "
" ' etc%>