Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 10, 2012 04:30 AM by pradeep sharma
Oct 09, 2012 11:26 AM|LINK
Hi Everyone ,
I am having some issues hosting wcf service with ftp server after loading the wcf service on the server it is showing the following error.
error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
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.
Line 34: </serviceBehaviors>
Line 35: </behaviors>
Line 36: <serviceHostingEnvironment multipleSiteBindingsEnabled="false"/> Line 37: </system.serviceModel>
Line 38: <system.webServer>
Source File: E:\Domains\siteasap.com\wwwroot\webservice_dir\web.config Line: 36
I am not able to rectify this error.
Any kind of suggestion or help will be greatly appreciated.
Oct 09, 2012 11:36 AM|LINK
once u have try below code
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"/>
Oct 09, 2012 11:41 AM|LINK
Oct 10, 2012 03:49 AM|LINK
is your dir configured as an application? If not, configure your directory as an application in iis.
Yes, you need to configure your directory as an application. Please go to your IIS--> domain--> directory--> right click and then convert it to application. Hope it help
Oct 10, 2012 04:30 AM|LINK
This error generaly occurs when u r application not configured to IIS as a virtual directoy