Managing your business with anyPiece/WYSIWYG Web editor/End user/Setup extRouter

From Wikibooks, open books for an open world
Jump to navigation Jump to search

System requirement[edit | edit source]

  • Required ASP.NET 4
  • Required read and write for the web application as we will need to write and update files

Technical knowledge for the setup personnel[edit | edit source]

  • Know how to FTP
  • Know how to edit web.config using notepad
  • Know how to play around with IIS

Basic information needed[edit | edit source]

  • WebSiteID
  • Token
  • Password
  • WebURL for API

Setup guide[edit | edit source]

  1. [Download the extRouter from anyPiece website
  2. Extract the file and put it to your server of choice
  3. Change the web.config base on the data your have in #Basic information needed. Please refer to #Web.config setup if you need further help.
  4. Type the flush command to your website. Example; http://www.mywebsite.com/flush

Web.config setup[edit | edit source]

Your web.config should look like below when you download

<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
  <system.web>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
  </system.web>
  <appSettings>


    <add key="WebSiteID" value="" />
    <add key="Token" value="" />
    <add key="Public_Key" value=""/>
    <add key="webservice_url" value=""/>
    <add key="CacheTimeOut" value="0"/>

  </appSettings>
  
</configuration>
  • Change "WebSiteID" value
  • Change "Token" value
  • Change "Public_Key" value
  • Change "webservice_url" value

Troubleshooting[edit | edit source]

Why am I getting Invalid Token?[edit | edit source]

As the designer can block or the token have been changed due to changes, please contact your designer or re-seller for new API code.

Why am I getting not able to write?[edit | edit source]

Please ensure your folder read/write permission to the network service of ASPNET_IIS