문제

시스템 .io.path.checkinValidPathChars ()에서 다음과 같은 예외가 발생합니다.

[ArgumentException : 불법 문자 경로에서.]
system.io.path.checkinValidPathChars (String. 경로) +142
system.io.path.normalizePath (String. 경로, 부울 fullcheck, int32. maxpathlength) +100
system.io.path.getFullPath (String. 경로) +187
system.xml.xmlresolver.resolveURI (URI. Baseuri, String Altinthuri) +114
system.xml.xmlTextReaderImpl..ctor (String. URL, XMLNAMETABLE NT) +135
system.xml.xmldocument.load (String. filename) +85
sitecore.web.ui.webcontrols.weboeditribbon.converttojson (문자열) 레이아웃) +210
sitecore.web.ui.webcontrols.weboeditribbon.Render (htmltextwriter. 출력, 항목 항목) +1268
sitecore.web.ui.webcontrol.render (htmltextwriter. 출력) +387
system.web.ui.control.RenderChildRenInternal (htmlTextWriter. 작가, icollection 어린이) +246
system.web.ui.htmlcontrols.htmlform.RenderChildren (htmlTextWriter. 작가) +315
system.web.ui.htmlcontrols.htmlContainerControl.Render (htmlTextWriter. 작가) +48
system.web.ui.control.RenderControlInternal (htmlTextWriter. 작성자, ControlAdapter 어댑터) +11279890 system.web.ui.control.RenderChildRenInternal (htmlTextWriter. 작가, icollection 어린이) +246
system.web.ui.page.render (htmlTextWriter) 작가) +40
system.web.ui.page.ProcessRequestMain (boolean. includestagesbeforeasyncpoint, Boolean. IncludeStagesAfterasyncpoint) +5274

일은 경로 값 이이 오류를 일으키는 것입니다. path 매개 변수의 값을 볼 수 있도록 메소드를 디버깅 할 수있는 경우에 도움이 될 것입니다. Visual Studio 2010에서 .NET Framework 코드로 스테핑을 활성화했습니다. 또한 Microsoft 기호 서버에서 관련 .NET Framework 기호를로드했습니다. 그러나 이러한 PDB는 소스를 포함하지 않는 것 같습니다. 따라서 CheckInvalidPathChars에 들어가서 경로 값을 검색 할 수 없습니다.

는 mscorlib을 디버깅하고 그 소스를 통해 단계를 단계별로 수행 할 수 있습니까?

관련 정보 :

  • .NET Framework 4.0.
  • Visual Studio 2010

    모든 건설적인 입력은 크게 감사합니다.

    고마워, 프랭크

도움이 되었습니까?

해결책

You can get the reference source for the .NET libraries.
http://referencesource.microsoft.com/

Looking at your stacktrace, the problem appears to be originating in Sitecore.Web.UI.WebControls.WebEditRibbon.ConvertToJson. That thing is trying to load an XML file.

다른 팁

Using reflector would allow you to do that.
Is it possible that you enabled to break on all exceptions? Doing that would certainly account for internal exceptions showing up in the debugger. If this is the case, you can safely ignore the exception.

Well mscorlib.dll on your machine is of release build so even though you can very well debug into it, you won't be able to see values local variables/objects etc. The code in this binary is optimized. If you want perfect debugging experience of Microsoft .NET code then you will need to install debug version of .NET on your machine.

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