Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mohamed Besher El Said 39 posts 258 karma points
    Oct 20, 2014 @ 15:41
    Mohamed Besher  El Said
    0

    '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

    What is the solution for this problem ??

    Stack Trace: 

    [XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
       System.Xml.XmlTextReaderImpl.Throw(Exception e) +69
       System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +78
       System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos) +46
       System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +5664946
       System.Xml.XmlTextReaderImpl.ParseDocumentContent() +497
       System.Xml.XmlTextReaderImpl.Read() +213
       System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +44
       System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +58
       System.Xml.Linq.XDocument.Load(String uri) +6
       Umbraco.Core.Services.ApplicationTreeService.LoadXml(Action`1 callback, Boolean saveAfterCallback) +143
       Umbraco.Core.Services.ApplicationTreeService.<GetAppTrees>b__0() +145
       Umbraco.Core.Cache.<>c__DisplayClass9`1.<GetCacheItem>b__8() +41
       System.Lazy`1.CreateValue() +416
       System.Lazy`1.LazyInitValue() +152
       System.Lazy`1.get_Value() +75
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) +990
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +159
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem) +106
       Umbraco.Core.Cache.CacheProviderExtensions.GetCacheItem(ICacheProvider provider, String cacheKey, Func`1 getCacheItem) +179
       Umbraco.Core.CacheHelper.GetCacheItem(String cacheKey, Func`1 getCacheItem) +188
       Umbraco.Core.Services.ApplicationTreeService.GetAppTrees() +97
       Umbraco.Core.Services.ApplicationTreeService.GetByAlias(String treeAlias) +95
       Umbraco.Web.Trees.<>c__DisplayClasse.<ScanTrees>b__1(Tuple`2 x) +113
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +204
       System.Linq.Buffer`1..ctor(IEnumerable`1 source) +216
       System.Linq.Enumerable.ToArray(IEnumerable`1 source) +77
       Umbraco.Web.Trees.ApplicationTreeRegistrar.ScanTrees(ApplicationContext applicationContext) +442
       Umbraco.Web.Trees.ApplicationTreeRegistrar.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +34
       Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +62
       Umbraco.Core.CoreBootManager.<Complete>b__5(IApplicationEventHandler x) +79
       Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +204
       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +185
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +74
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +242
       Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +40
    
    [HttpException (0x80004005): '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9916613
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
    
    [HttpException (0x80004005): '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930508
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
    
  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Oct 20, 2014 @ 15:46
    Dennis Aaen
    0

    Hi Mohamed,

    I can see other has a similar issue as you.  If you have a look here it looks like the same issue as you have. http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/50327-,-hexadecimal-value-0x00,-is-an-invalid-character-Line-1,-position-1

    And there are also a issue on the issue tracker: http://issues.umbraco.org/issue/U4-5336

    Hope this helps,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft