|
|
|
Forum Newbie
      
Group: Customers
Last Login: 05/08/2006 08:40:42
Posts: 2,
Visits: 5
|
|
| I am getting a web.config error when the forum is being hosted externally. While doing testing internally, everything was working fine. If we host it live ourselves, it work fine, but when transfer to an external hosting company, this occurs. Is it an issue with the config file setup or the hosting company? This is the error that I am getting: Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
| Line 86: <!-- the web.config for your other application, you'll also need to ensure you include -->Line 87: <!-- the machineKey element below -->Line 88: <authentication mode="Forms">Line 89: <forms name="InstantASP" loginUrl="Logon.aspx" Line 90: protection="All" slidingExpiration="true" path="/"/> |
|
|
|
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
| Hi, This usually occurs when the folder the forum is within is not set as a IIS Web Application within Internet Information Services. You can find more information on how to create IIS web applications here... http://docs.instantasp.com/InstantForum/default.html?page=configureiis.html If this is hosted externally you may not have access to IIS and you may need to make this change via a 3rd party control panel or request the change via your hosting company. By default your root directory should be a IIS web application. Have you uploaded the forum to a sub-directory of this root IIS web application. If this is the case and you cannot make the forum directory a IIS web Appilication you will need to ensure the forum web.config and Bin directory are within the root of your IIS web application and then update the InstantASP_VirtualPath application setting within the web.config to include the sub-folder name of where the other forum files are located. So for example if you would like to place the forum into a folder called "Forums" within your existing IIS web application. You will need to copy all the forum files into your "Forums" folder and then move the Bin directory and web.config file to the root of your web application. You will then need to open up the forum web.config in your root and update the InstantASP_VirtualPath to include the name of your folder in this example "Forums"... < add key="InstantASP_VirtualPath" value="Forums"/>If you can place the forum files into the root of a IIS web application you can ignore the InstantASP_VirtualPath web.config setting. I hope this helps. I look forward to any response
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|