Root Element Missing

Mar 11, 2009 at 6:38 PM
Hi Everyone, 

When I try to go to our blog, www.taisports.com/blog, I'm getting this error. I'm not too familiar with this stuff, so if there's a way to fix this, please explain it in easy terms. : 

thanks

Server Error in '/blog' Application.

Root element is missing.

Description: Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.

Exception Details: System.Xml.XmlException: Root element is missing.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[XmlException: Root element is missing.]   System.Xml.XmlTextReaderImpl.Throw(Exception e) +90   System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1954433   System.Xml.XmlTextReaderImpl.Read() +41   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145   System.Xml.XmlDocument.Load(XmlReader reader) +96   System.Xml.XmlDocument.Load(String filename) +160   BlogEngine.Core.Providers.XmlBlogProvider.SelectPost(Guid id) +258   BlogEngine.Core.Providers.BlogService.SelectPost(Guid id) +42   BlogEngine.Core.Post.DataSelect(Guid id) +32   BlogEngine.Core.Post.Load(Guid id) +54   BlogEngine.Core.Providers.XmlBlogProvider.FillPosts() +228   BlogEngine.Core.Post.get_Posts() +67   _default.Page_Load(Object sender, EventArgs e) +733   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33   System.Web.UI.Control.OnLoad(EventArgs e) +99   BlogEngine.Core.Web.Controls.BlogBasePage.OnLoad(EventArgs e) +15   System.Web.UI.Control.LoadRecursive() +47   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433              <!-- [XmlException]: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at BlogEngine.Core.Providers.XmlBlogProvider.SelectPost(Guid id) at BlogEngine.Core.Providers.BlogService.SelectPost(Guid id) at BlogEngine.Core.Post.DataSelect(Guid id) at BlogEngine.Core.Post.Load(Guid id) at BlogEngine.Core.Providers.XmlBlogProvider.FillPosts() at BlogEngine.Core.Post.get_Posts() at _default.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at BlogEngine.Core.Web.Controls.BlogBasePage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)[HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
Mar 11, 2009 at 11:00 PM
Now I'm getting this. Please help!

Server Error in '/blog' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'Resources.labels' does not contain a definition for 'calendar'

Source Error:

Line 244:			calendar.Visible = true;
Line 245:			PostList1.Visible = false;
Line 246:			Title = Server.HtmlEncode(Resources.labels.calendar);
Line 247:		}
Line 248:	}

Source File: e:\hshome\taisport\taisports.com\blog\default.aspx.cs    Line: 246


Show Detailed Compiler Output:

c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_GlobalResources.81iuthwg.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Code.4gna5bge.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\assembly\dl3\b65fe72b\00721532_b31bc601\AbleRewrite.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\assembly\dl3\5f8c3166\945b6fcd_83a2c901\BlogEngine.Core.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web_mefen-f_.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_global.asax.jqn9xtvj.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\_7_zigyc.res" /w:4 /nowarn:1659;1699;1701  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.16.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.4.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.13.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.7.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.15.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.2.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.5.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.10.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.9.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.8.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.6.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.12.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.3.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.14.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\blog\7c5669fc\18159d71\App_Web__7_zigyc.11.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.1433
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

e:\hshome\taisport\taisports.com\blog\default.aspx.cs(246,47): error CS0117: 'Resources.labels' does not contain a definition for 'calendar'
e:\hshome\taisport\taisports.com\blog\archive.aspx.cs(93,35): error CS0117: 'Resources.labels' does not contain a definition for 'uncategorized'

Show Complete Compilation Source:

Line 1:    #pragma checksum "E:\hshome\taisport\taisports.com\blog\default.aspx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A91E00AA9F72E03C4E62585A6C262C40"
Line 2:    //------------------------------------------------------------------------------
Line 3:    // <auto-generated>
Line 4:    //     This code was generated by a tool.
Line 5:    //     Runtime Version:2.0.50727.1433
Line 6:    //
Line 7:    //     Changes to this file may cause incorrect behavior and will be lost if
Line 8:    //     the code is regenerated.
Line 9:    // </auto-generated>
Line 10:   //------------------------------------------------------------------------------
Line 11:   
Line 12:   
Line 13:   
Line 14:   public partial class _default {
Line 15:       
Line 16:       
Line 17:       #line 5 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 18:       protected global::System.Web.UI.HtmlControls.HtmlGenericControl divError;
Line 19:       
Line 20:       #line default
Line 21:       #line hidden
Line 22:       
Line 23:       
Line 24:       #line 6 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 25:       protected global::ASP.user_controls_postlist_ascx PostList1;
Line 26:       
Line 27:       #line default
Line 28:       #line hidden
Line 29:       
Line 30:       
Line 31:       #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 32:       protected global::Controls.PostCalendar calendar;
Line 33:       
Line 34:       #line default
Line 35:       #line hidden
Line 36:       
Line 37:       protected System.Web.Profile.DefaultProfile Profile {
Line 38:           get {
Line 39:               return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
Line 40:           }
Line 41:       }
Line 42:       
Line 43:       protected ASP.global_asax ApplicationInstance {
Line 44:           get {
Line 45:               return ((ASP.global_asax)(this.Context.ApplicationInstance));
Line 46:           }
Line 47:       }
Line 48:   }
Line 49:   namespace ASP {
Line 50:       
Line 51:       #line 318 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 52:       using System.Web.Security;
Line 53:       
Line 54:       #line default
Line 55:       #line hidden
Line 56:       
Line 57:       #line 315 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 58:       using System.Web;
Line 59:       
Line 60:       #line default
Line 61:       #line hidden
Line 62:       
Line 63:       #line 317 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 64:       using System.Web.SessionState;
Line 65:       
Line 66:       #line default
Line 67:       #line hidden
Line 68:       
Line 69:       #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 70:       using System.Web.UI.WebControls.WebParts;
Line 71:       
Line 72:       #line default
Line 73:       #line hidden
Line 74:       
Line 75:       #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 76:       using Controls;
Line 77:       
Line 78:       #line default
Line 79:       #line hidden
Line 80:       
Line 81:       #line 313 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 82:       using System.Text;
Line 83:       
Line 84:       #line default
Line 85:       #line hidden
Line 86:       
Line 87:       #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 88:       using System.Web.UI.WebControls;
Line 89:       
Line 90:       #line default
Line 91:       #line hidden
Line 92:       
Line 93:       #line 319 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 94:       using System.Web.Profile;
Line 95:       
Line 96:       #line default
Line 97:       #line hidden
Line 98:       
Line 99:       #line 310 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 100:      using System.Collections;
Line 101:      
Line 102:      #line default
Line 103:      #line hidden
Line 104:      
Line 105:      #line 323 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 106:      using System.Web.UI.HtmlControls;
Line 107:      
Line 108:      #line default
Line 109:      #line hidden
Line 110:      
Line 111:      #line 312 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 112:      using System.Configuration;
Line 113:      
Line 114:      #line default
Line 115:      #line hidden
Line 116:      
Line 117:      #line 309 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 118:      using System;
Line 119:      
Line 120:      #line default
Line 121:      #line hidden
Line 122:      
Line 123:      #line 2 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 124:      using ASP;
Line 125:      
Line 126:      #line default
Line 127:      #line hidden
Line 128:      
Line 129:      #line 316 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 130:      using System.Web.Caching;
Line 131:      
Line 132:      #line default
Line 133:      #line hidden
Line 134:      
Line 135:      #line 320 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 136:      using System.Web.UI;
Line 137:      
Line 138:      #line default
Line 139:      #line hidden
Line 140:      
Line 141:      #line 311 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 142:      using System.Collections.Specialized;
Line 143:      
Line 144:      #line default
Line 145:      #line hidden
Line 146:      
Line 147:      #line 314 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 148:      using System.Text.RegularExpressions;
Line 149:      
Line 150:      #line default
Line 151:      #line hidden
Line 152:      
Line 153:      
Line 154:      [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 155:      public class default_aspx : global::_default, System.Web.IHttpHandler {
Line 156:          
Line 157:          private static bool @__initialized;
Line 158:          
Line 159:          private static object @__fileDependencies;
Line 160:          
Line 161:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 162:          public default_aspx() {
Line 163:              string[] dependencies;
Line 164:              
Line 165:              #line 912304 "E:\hshome\taisport\taisports.com\blog\default.aspx.cs"
Line 166:              ((global::System.Web.UI.Page)(this)).AppRelativeVirtualPath = "~/default.aspx";
Line 167:              
Line 168:              #line default
Line 169:              #line hidden
Line 170:              if ((global::ASP.default_aspx.@__initialized == false)) {
Line 171:                  dependencies = new string[4];
Line 172:                  dependencies[0] = "~/default.aspx";
Line 173:                  dependencies[1] = "~/default.aspx.cs";
Line 174:                  dependencies[2] = "~/User controls/PostList.ascx";
Line 175:                  dependencies[3] = "~/User controls/PostList.ascx.cs";
Line 176:                  global::ASP.default_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
Line 177:                  global::ASP.default_aspx.@__initialized = true;
Line 178:              }
Line 179:              this.Server.ScriptTimeout = 30000000;
Line 180:          }
Line 181:          
Line 182:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 183:          private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldivError() {
Line 184:              global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
Line 185:              
Line 186:              #line 5 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 187:              @__ctrl = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
Line 188:              
Line 189:              #line default
Line 190:              #line hidden
Line 191:              this.divError = @__ctrl;
Line 192:              @__ctrl.TemplateControl = this;
Line 193:              
Line 194:              #line 5 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 195:              @__ctrl.ID = "divError";
Line 196:              
Line 197:              #line default
Line 198:              #line hidden
Line 199:              return @__ctrl;
Line 200:          }
Line 201:          
Line 202:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 203:          private global::ASP.user_controls_postlist_ascx @__BuildControlPostList1() {
Line 204:              global::ASP.user_controls_postlist_ascx @__ctrl;
Line 205:              
Line 206:              #line 6 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 207:              @__ctrl = new global::ASP.user_controls_postlist_ascx();
Line 208:              
Line 209:              #line default
Line 210:              #line hidden
Line 211:              this.PostList1 = @__ctrl;
Line 212:              
Line 213:              #line 6 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 214:              @__ctrl.InitializeAsUserControl(this.Page);
Line 215:              
Line 216:              #line default
Line 217:              #line hidden
Line 218:              
Line 219:              #line 6 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 220:              @__ctrl.ID = "PostList1";
Line 221:              
Line 222:              #line default
Line 223:              #line hidden
Line 224:              return @__ctrl;
Line 225:          }
Line 226:          
Line 227:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 228:          private global::Controls.PostCalendar @__BuildControlcalendar() {
Line 229:              global::Controls.PostCalendar @__ctrl;
Line 230:              
Line 231:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 232:              @__ctrl = new global::Controls.PostCalendar();
Line 233:              
Line 234:              #line default
Line 235:              #line hidden
Line 236:              this.calendar = @__ctrl;
Line 237:              @__ctrl.TemplateControl = this;
Line 238:              @__ctrl.ApplyStyleSheetSkin(this);
Line 239:              
Line 240:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 241:              @__ctrl.ID = "calendar";
Line 242:              
Line 243:              #line default
Line 244:              #line hidden
Line 245:              
Line 246:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 247:              @__ctrl.EnableViewState = false;
Line 248:              
Line 249:              #line default
Line 250:              #line hidden
Line 251:              
Line 252:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 253:              @__ctrl.ShowPostTitles = true;
Line 254:              
Line 255:              #line default
Line 256:              #line hidden
Line 257:              
Line 258:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 259:              @__ctrl.BorderWidth = new System.Web.UI.WebControls.Unit(0, System.Web.UI.WebControls.UnitType.Pixel);
Line 260:              
Line 261:              #line default
Line 262:              #line hidden
Line 263:              
Line 264:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 265:              @__ctrl.NextPrevStyle.CssClass = "header";
Line 266:              
Line 267:              #line default
Line 268:              #line hidden
Line 269:              
Line 270:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 271:              @__ctrl.CssClass = "calendar";
Line 272:              
Line 273:              #line default
Line 274:              #line hidden
Line 275:              
Line 276:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 277:              @__ctrl.WeekendDayStyle.CssClass = "weekend";
Line 278:              
Line 279:              #line default
Line 280:              #line hidden
Line 281:              
Line 282:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 283:              @__ctrl.OtherMonthDayStyle.CssClass = "other";
Line 284:              
Line 285:              #line default
Line 286:              #line hidden
Line 287:              
Line 288:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 289:              @__ctrl.UseAccessibleHeader = true;
Line 290:              
Line 291:              #line default
Line 292:              #line hidden
Line 293:              
Line 294:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 295:              @__ctrl.Visible = false;
Line 296:              
Line 297:              #line default
Line 298:              #line hidden
Line 299:              
Line 300:              #line 7 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 301:              @__ctrl.Width = new System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Percentage);
Line 302:              
Line 303:              #line default
Line 304:              #line hidden
Line 305:              return @__ctrl;
Line 306:          }
Line 307:          
Line 308:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 309:          private void @__BuildControlContent1(System.Web.UI.Control @__ctrl) {
Line 310:              System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
Line 311:              
Line 312:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 313:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n  "));
Line 314:              
Line 315:              #line default
Line 316:              #line hidden
Line 317:              global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
Line 318:              
Line 319:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 320:              @__ctrl1 = this.@__BuildControldivError();
Line 321:              
Line 322:              #line default
Line 323:              #line hidden
Line 324:              
Line 325:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 326:              @__parser.AddParsedSubObject(@__ctrl1);
Line 327:              
Line 328:              #line default
Line 329:              #line hidden
Line 330:              
Line 331:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 332:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n  "));
Line 333:              
Line 334:              #line default
Line 335:              #line hidden
Line 336:              global::ASP.user_controls_postlist_ascx @__ctrl2;
Line 337:              
Line 338:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 339:              @__ctrl2 = this.@__BuildControlPostList1();
Line 340:              
Line 341:              #line default
Line 342:              #line hidden
Line 343:              
Line 344:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 345:              @__parser.AddParsedSubObject(@__ctrl2);
Line 346:              
Line 347:              #line default
Line 348:              #line hidden
Line 349:              
Line 350:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 351:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n  "));
Line 352:              
Line 353:              #line default
Line 354:              #line hidden
Line 355:              global::Controls.PostCalendar @__ctrl3;
Line 356:              
Line 357:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 358:              @__ctrl3 = this.@__BuildControlcalendar();
Line 359:              
Line 360:              #line default
Line 361:              #line hidden
Line 362:              
Line 363:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 364:              @__parser.AddParsedSubObject(@__ctrl3);
Line 365:              
Line 366:              #line default
Line 367:              #line hidden
Line 368:              
Line 369:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 370:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("    \r\n"));
Line 371:              
Line 372:              #line default
Line 373:              #line hidden
Line 374:          }
Line 375:          
Line 376:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 377:          private void @__BuildControlTree(default_aspx @__ctrl) {
Line 378:              
Line 379:              #line 1 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 380:              this.InitializeCulture();
Line 381:              
Line 382:              #line default
Line 383:              #line hidden
Line 384:              
Line 385:              #line 4 "E:\hshome\taisport\taisports.com\blog\default.aspx"
Line 386:              this.AddContentTemplate("cphBody", new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.@__BuildControlContent1)));
Line 387:              
Line 388:              #line default
Line 389:              #line hidden
Line 390:          }
Line 391:          
Line 392:          
Line 393:          #line 912304 "E:\hshome\taisport\taisports.com\blog\default.aspx.cs"
Line 394:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 395:          protected override void FrameworkInitialize() {
Line 396:              base.FrameworkInitialize();
Line 397:              this.@__BuildControlTree(this);
Line 398:              this.AddWrappedFileDependencies(global::ASP.default_aspx.@__fileDependencies);
Line 399:          }
Line 400:          
Line 401:          #line default
Line 402:          #line hidden
Line 403:          
Line 404:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 405:          public override int GetTypeHashCode() {
Line 406:              return -601042017;
Line 407:          }
Line 408:          
Line 409:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 410:          public override void ProcessRequest(System.Web.HttpContext context) {
Line 411:              base.ProcessRequest(context);
Line 412:          }
Line 413:      }
Line 414:  }
Line 415:  



Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 <!-- [HttpCompileException]: e:\hshome\taisport\taisports.com\blog\default.aspx.cs(246): error CS0117: 'Resources.labels' does not contain a definition for 'calendar' at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
May 28, 2009 at 11:57 PM

Hi,

      I too am getting same error, but in different scenario. Not sure if this will help in debugging, so I am adding the details.

I am using Sharepoint List source Data adaptor. I have added correct values for sharepoint site, view name, list name etc. but while running the package, I am gettting the error:

 [SharePoint List Source [1]] Error: System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)

 

Please do let me know ifyou get any resolution.

 

Thanks a lot!

Nov 14, 2012 at 11:58 PM

Hello JammyG,

It looks like this is a very old thread, But just incase you remember your issue, Did you happen to find the solution for your issue, I am facing the same issue.

Thanks