Iam using sharepoint . I was trying to get usercontrol (UsercControl.ascx) to my
page . While uploading webpart tho' smartpart .
Iam geeting this Error :
Error: unable to load ~\Ucntrl\UserControl.ascx
Details: 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.
(C:\Miravo\SharePoint\Ucntrl\web.config line 46)
In my IIS Virtual directory - > in Properties (Application name - is set to
create). Exeute permissions : scripts and executables and
Application pool is set : MSsharepointportalApppool .
Do you know someone who can help? Share a link to this thread on twitter, or facebook.