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.
I am sure, this is enough to spoil the party just when you are expecting your SharePoint website to be up-n-running in the live environment. Now the question comes, "How do we fix this darn thing?"
Well for that, you could try the below suggestions. If you read the error message carefully, it has 2 hints already in it.
Hint #1: virtual directory not being configured as an application in IIS
Resolution: Make sure you have correctly configured your web application in IIS Manager. If it is a simple folder in wwwroot directory, you should "convert" it into web application.
- Open IIS manager
- Find your folder, right-click -"Properties"->"Create" button
- Recycle the application pool
Resolution: If you do a find for line XX in your web.config, you are sure to reach this line,
Try accessing your site after the above modifications, it should work fine now.
No comments:
Post a Comment