InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Forum displays error when hosted by... Expand / Collapse
Author
Message
Posted 04/08/2006 19:06:38
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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="/"/>
Post #11449
Posted 05/08/2006 09:23:52


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 19/11/2008 16:29:04
Posts: 1,956, Visits: 3,018
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/

Post #11460
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 11:16am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.