문제

Umbraco에 포함시키고 싶은 Usercontrol을 개발했습니다. 프로세스는 간단 해 보이지만 할 수없는 일을 시도하고있을 수 있습니다.

저의 USERCONTROL은 다른 여러 USERCONTROL에 의존합니다. "Main"UserControl에서 속성을 찾아 보려고 할 때 아래 오류가 발생합니다.

모든 .ascx 파일을 UserControls 폴더에 복사했으며 어셈블리는 BIN 디렉토리에 있습니다. Umbraco에서 "Composite"Usercontrol을 호스팅하여 다른 USERCONTROL에 의존하고 포함 할 수 있습니까?

System.web.httpparseexception : '/uclogin.ascx'파일이 존재하지 않습니다. ---> system.web.httpparseexception : '/uclogin.ascx'파일이 존재하지 않습니다. ---> system.web.httpexception : '/uclogin.ascx'파일이 존재하지 않습니다. system.web.ui.util.checkvirtualfileExists (virtualpath virtualfite)에서 system.web.compilation.buildmanager.getvpathbuildresultinternal (virtualpath virtualpath, boolean nobuild, boolean allestpitpbictupilectubit.builtuputbithipith.buildupturultbit. , virtualpath virtualpath, boolean nobuild, boolean allowcrossapp, boolean allowbuildinprecompile)에서 system.web.compilation.buildmanager.getvpathbuildresult (httpcontext context, virtualpath virtualpath, boolean nobuild, boolean allencep, booleanbuildinporipile -uildinpecompile -uild in at at at at at allefer emporm. system.web.ui.basetemplateparser.getusercontroltype (virtualpath virtupletype)에서 virtualpath virtualpath, boolean allownocompile) system.web.ui.maintagnametoTypemapper.processEserControlergistration (usercontrolregisterive ucepisterentry) at System.web.web.boI.BaseB.BOSETOPERITERITERETRY). ) Sy system.web.ui.templateparser.templateparser.templateparser.templateparser.parsestringinternal (문자열 텍스트, 인코딩 파일 코딩) --- System.Weyb에서 내부 예외 스택 추적 ---- system.web.ui.templateparser.parsestringInternal (system.web.ui.templateparser.templateparser.parsestring (String text, vamepath virtual path, file Encoding) ---- endecoding)-에서 ui.templateparser.processexception (예외) --- 내부 예외 스택 추적 ---에서 system.web.ui.templateparser.parsestring (system.web.ui.templateparser.pplateparser.pplateparser.parsereader (streamreader reader, virtualpath virtual path)에서 system.web. ui.templateparser.parsefile (String physical path, virtualpath virtualpath)에서 system.web.ui.templateparser.parseinternal ()의 system.web.ui.templateparser.parse ()의 system.web.ui.templateparser.parse (Icollection 참조 참조 - SYS에서 VirtualPath virtualPath) tem.web.compilation.basetemplatebuildprovider.get_codecompilertype ()에서 system.web.compilation.buildprovider.getCompilerTypeFrombuildProvider (buildProvider) system.web.compilation.buildProvidercescompodscompocessbuildercoscescessbuildercescescessbuildercescesscomprocessbuilder (buildProvider)의 system.buildProvider (buildProvider). System.web.compilation.buildmanager.compilewebfile (virtualpath virtualpath)에서 system.web.compilation.buildmanager.getvpathbuildresultinternal (virtualpath virtualpath, boolean nobuild, boolean allowcrossapt, hituptoptopiple, builderbitbitbituc.compilater.weilder.compilager.getUtpiturec.compilager.getTupiturectupilet. virtualpath virtualpath, boolean nobuild, boolean allowcrossapp, boolean allowbuildinprecompile.web.compilation.buildmanager.getvpathbuildresult (httpcontext context, virtualpath virtualpath, boolean alloan, boolean alloincopile) at at at at at at at at at avidual pholly -b. virtualPath)에서 system.web .ui.templatecontrol.loadcontrol (string virtualpath) at umbraco.developer.assemblybrowser.page_load (Object Sender, Eventargs e)

도움이 되었습니까?

해결책

rootpath를 통한 다른 컨트롤에 대한 Usercontrol 참조. 참조 /uclogin.ascx를 uclogin.ascx로 변경하고 어떤 일이 일어나는지 확인할 수 있습니까?

도움이되기를 바랍니다.

리차드

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top