P.Muralikrishna
P.Muralikrishna

Reputation: 1289

How to solve error:Server Error in '/WebUI/Editors/2011Extensions' Application in Tridion?

I am trying to add a ribbon tool bar button in SDL Tridion 2011 SP1 by using a custom editor configured in IIS. I need to open a pop-up aspx page when a user clicks on the ribbon toolbar button.

Clicking the button returns:

Server Error in '/WebUI/Editors/2011Extensions' Application.

Configuration Error Description: An 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.

Source Error:

Line 14:  <compilation debug="true" targetFramework="4.0" />
Line 15: 
Line 16:    <membership>
Line 17:       <providers>
Line 18:          <clear />

enter code hereSource File: D:\SampleProjects_Tridion\RTFExtensions\popups\web.config Line: 16

Show Additional Configuration Errors:

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. (D:\SampleProjects_Tridion\RTFExtensions\popups\web.config line 23)

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. (D:\SampleProjects_Tridion\RTFExtensions\popups\web.config line 30)


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET >Version:4.0.30319.272

After this I also tried to change the virtual directory to application. Still I am getting the same error. Please Help in this issue. Thanks in advance.

Upvotes: 0

Views: 722

Answers (1)

Chris Summers
Chris Summers

Reputation: 10163

It seems like you have a web.config in your pop-ups folder. This should not really be necessary. You only need one in the root folder of your editor.

You mention that this occurs when you click the button. Can we assume that the new ribbon item shows correctly?

Upvotes: 2

Related Questions