LSASS errors
From: Walter Horowitz (WalterH_at_suespammers.org)
Date: 07/22/05
- Previous message: Brandon Baker: "Re: internet restriction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 22 Jul 2005 10:57:21 -0400
Last night a server had unusual errors with winlogon (error 1074) and
lsass.exe terminated. (Event 5000).
I am now applying SBS SP1 (all 5 parts).
I am concerned about these files and what they may represent. Can anyone
explain this stuff?
What would you do if you found this on your server?
At the time of the crashes, a number of new files appeared in a temporary
directory. the files were
The files are
lgcgtgi7.0.cs
lgcgtgi7.dll
lgcgtgi7.err
lgcgtgi7.out
lgcgtgi7.cmdline
pb8h6iff.0.cs
pb8h6iff.dll
pb8h6iff.err
pb8h6iff.out
pb8h6iff.cmdline
The contents of pb8h6iff is:
/t:library /utf8output
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll"
/out:"C:\WINDOWS\TEMP\pb8h6iff.dll" /debug- /optimize+ /w:1
"C:\WINDOWS\TEMP\pb8h6iff.0.cs"
The contents of lgcgtgi7.cmdline is
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\assembly\gac\microsoft.sharepoint\11.0.0.0__71e9bce111e9429c\microsoft.sharepoint.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/out:"C:\WINDOWS\TEMP\lgcgtgi7.dll" /debug- /optimize+ /w:1
"C:\WINDOWS\TEMP\lgcgtgi7.0.cs"
THe contects of pb8h6iff.cs is
[assembly:System.Security.AllowPartiallyTrustedCallers()]
namespace Microsoft.Xml.Serialization.GeneratedAssembly {
public class XmlSerializationWriter1 :
System.Xml.Serialization.XmlSerializationWriter {
void Write1_Object(string n, string ns, System.Object o, bool
isNullable, bool needType) {
if ((object)o == null) {
if (isNullable) WriteNullTagLiteral(n, ns);
return;
}
if (!needType) {
System.Type t = o.GetType();
if (t == typeof(System.Object))
;
else {
WriteTypedPrimitive(n, ns, o, true);
return;
}
}
WriteStartElement(n, ns, o);
WriteEndElement(o);
}
protected override void InitCallbacks() {
}
public void Write2_anyType(object o) {
WriteStartDocument();
if (o == null) {
WriteNullTagLiteral(@"anyType", @"");
return;
}
TopLevelElement();
Write1_Object(@"anyType", @"", ((System.Object)o), true, false);
}
}
public class XmlSerializationReader1 :
System.Xml.Serialization.XmlSerializationReader {
System.Object Read1_Object(bool isNullable, bool checkType) {
if (isNullable && ReadNull()) return null;
if (checkType) {
System.Xml.XmlQualifiedName t = GetXsiType();
if (t == null)
return ReadTypedPrimitive(new
System.Xml.XmlQualifiedName("anyType", "http://www.w3.org/2001/XMLSchema"));
else
return
ReadTypedPrimitive((System.Xml.XmlQualifiedName)t);
}
System.Object o = new System.Object();
bool[] paramsRead = new bool[0];
while (Reader.MoveToNextAttribute()) {
if (!IsXmlnsAttribute(Reader.Name)) {
UnknownNode((object)o);
}
}
Reader.MoveToElement();
if (Reader.IsEmptyElement) {
Reader.Skip();
return o;
}
Reader.ReadStartElement();
Reader.MoveToContent();
while (Reader.NodeType != System.Xml.XmlNodeType.EndElement) {
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
UnknownNode((object)o);
}
else {
UnknownNode((object)o);
}
Reader.MoveToContent();
}
ReadEndElement();
return o;
}
protected override void InitCallbacks() {
}
public object Read3_anyType() {
object o = null;
Reader.MoveToContent();
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
if (((object) Reader.LocalName == (object)id1_anyType &&
(object) Reader.NamespaceURI == (object)id2_Item)) {
o = Read1_Object(true, true);
}
else {
throw CreateUnknownNodeException();
}
}
else {
UnknownNode(null);
}
return (object)o;
}
System.String id1_anyType;
System.String id2_Item;
protected override void InitIDs() {
id1_anyType = Reader.NameTable.Add(@"anyType");
id2_Item = Reader.NameTable.Add(@"");
}
}
}
-------------------------------
The contents of lgcgtgi7.0.cs is
[assembly:System.Security.AllowPartiallyTrustedCallers()]
namespace Microsoft.Xml.Serialization.GeneratedAssembly {
public class XmlSerializationWriter1 :
System.Xml.Serialization.XmlSerializationWriter {
void Write1_ImageWebPart(string n, string ns,
Microsoft.SharePoint.WebPartPages.ImageWebPart o, bool isNullable, bool
needType) {
if ((object)o == null) {
if (isNullable) WriteNullTagLiteral(n, ns);
return;
}
if (!needType) {
System.Type t = o.GetType();
if (t ==
typeof(Microsoft.SharePoint.WebPartPages.ImageWebPart))
;
else {
throw CreateUnknownTypeException(o);
}
}
WriteStartElement(n, ns, o);
if (needType) WriteXsiType(@"ImageWebPart",
@"http://schemas.microsoft.com/WebPart/v2");
if (o.ShouldSerializeTitle()) {
WriteElementString(@"Title",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@Title));
}
if (o.ShouldSerializeFrameType()) {
WriteElementString(@"FrameType",
@"http://schemas.microsoft.com/WebPart/v2",
Write5_FrameType(((Microsoft.SharePoint.WebPartPages.FrameType)o.@FrameType)));
}
if (o.ShouldSerializeDescription()) {
WriteElementString(@"Description",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@Description));
}
if (o.ShouldSerializeIsIncluded()) {
WriteElementStringRaw(@"IsIncluded",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsIncluded)));
}
if (o.ShouldSerializeZoneID()) {
WriteElementString(@"ZoneID",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@ZoneID));
}
if (o.ShouldSerializePartOrder()) {
WriteElementStringRaw(@"PartOrder",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Int32)((System.Int32)o.@PartOrder)));
}
if (o.ShouldSerializeFrameState()) {
WriteElementString(@"FrameState",
@"http://schemas.microsoft.com/WebPart/v2",
Write6_FrameState(((Microsoft.SharePoint.WebPartPages.FrameState)o.@FrameState)));
}
if (o.ShouldSerializeHeight()) {
WriteElementString(@"Height",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@Height));
}
if (o.ShouldSerializeWidth()) {
WriteElementString(@"Width",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@Width));
}
if (o.ShouldSerializeAllowRemove()) {
WriteElementStringRaw(@"AllowRemove",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@AllowRemove)));
}
if (o.ShouldSerializeAllowZoneChange()) {
WriteElementStringRaw(@"AllowZoneChange",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@AllowZoneChange)));
}
if (o.ShouldSerializeAllowMinimize()) {
WriteElementStringRaw(@"AllowMinimize",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@AllowMinimize)));
}
if (o.ShouldSerializeIsVisible()) {
WriteElementStringRaw(@"IsVisible",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@IsVisible)));
}
if (o.ShouldSerializeDetailLink()) {
WriteElementString(@"DetailLink",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@DetailLink));
}
if (o.ShouldSerializeHelpLink()) {
WriteElementString(@"HelpLink",
@"http://schemas.microsoft.com/WebPart/v2", ((System.String)o.@HelpLink));
}
if (o.ShouldSerializeDir()) {
WriteElementString(@"Dir",
@"http://schemas.microsoft.com/WebPart/v2",
Write7_Direction(((Microsoft.SharePoint.WebPartPages.Direction)o.@Dir)));
}
if (o.ShouldSerializePartImageSmall()) {
WriteElementString(@"PartImageSmall",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@PartImageSmall));
}
if (o.ShouldSerializeMissingAssembly()) {
WriteElementString(@"MissingAssembly",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@MissingAssembly));
}
if (o.ShouldSerializePartImageLarge()) {
WriteElementString(@"PartImageLarge",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@PartImageLarge));
}
if (o.ShouldSerializeIsIncludedFilter()) {
WriteElementString(@"IsIncludedFilter",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@IsIncludedFilter));
}
if (o.ShouldSerializeExportControlledProperties()) {
WriteElementStringRaw(@"ExportControlledProperties",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Boolean)((System.Boolean)o.@ExportControlledProperties)));
}
if (o.ShouldSerializeConnectionID()) {
WriteElementStringRaw(@"ConnectionID",
@"http://schemas.microsoft.com/WebPart/v2",
System.Xml.XmlConvert.ToString((System.Guid)((System.Guid)o.@ConnectionID)));
}
if (o.ShouldSerializeConnections()) {
WriteElementString(@"Connections",
@"http://schemas.microsoft.com/WebPart/v2",
((System.String)o.@Connections));
}
{
Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection
a =
(Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection)o.@UnknownXmlElements;
if (a != null) {
for (int ia = 0; ia < a.Count; ia++) {
WriteElementLiteral(((System.Xml.XmlElement)a[ia]),
@"", "", false, true);
}
}
}
if (o.ShouldSerializeImageLink()) {
WriteElementString(@"ImageLink",
@"http://schemas.microsoft.com/WebPart/v2/Image",
((System.String)o.@ImageLink));
}
if (o.ShouldSerializeVerticalAlignment()) {
WriteElementString(@"VerticalAlignment",
@"http://schemas.microsoft.com/WebPart/v2/Image",
Write8_VerticalAlignment(((Microsoft.SharePoint.WebPartPages.VerticalAlignment)o.@VerticalAlignment)));
}
if (o.ShouldSerializeHorizontalAlignment()) {
WriteElementString(@"HorizontalAlignment",
@"http://schemas.microsoft.com/WebPart/v2/Image",
Write9_HorizontalAlignment(((Microsoft.SharePoint.WebPartPages.HorizontalAlignment)o.@HorizontalAlignment)));
}
if (o.ShouldSerializeBackgroundColor()) {
WriteElementString(@"BackgroundColor",
@"http://schemas.microsoft.com/WebPart/v2/Image",
((System.String)o.@BackgroundColor));
}
WriteEndElement(o);
}
void Write2_WebPart(string n, string ns,
Microsoft.SharePoint.WebPartPages.WebPart o, bool isNullable, bool needType)
{
if ((object)o == null) {
if (isNullable) WriteNullTagLiteral(n, ns);
return;
}
if (!needType) {
System.Type t = o.GetType();
if (t == typeof(Microsoft.SharePoint.WebPartPages.WebPart))
;
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.ImageWebPart)) {
Write1_ImageWebPart(n, ns,
(Microsoft.SharePoint.WebPartPages.ImageWebPart)o, isNullable, true);
return;
}
else {
throw CreateUnknownTypeException(o);
}
}
}
void Write3_Control(string n, string ns, System.Web.UI.Control o,
bool isNullable, bool needType) {
if ((object)o == null) {
if (isNullable) WriteNullTagLiteral(n, ns);
return;
}
if (!needType) {
System.Type t = o.GetType();
if (t == typeof(System.Web.UI.Control))
;
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.WebPart)) {
Write2_WebPart(n, ns,
(Microsoft.SharePoint.WebPartPages.WebPart)o, isNullable, true);
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.ImageWebPart)) {
Write1_ImageWebPart(n, ns,
(Microsoft.SharePoint.WebPartPages.ImageWebPart)o, isNullable, true);
return;
}
else {
throw CreateUnknownTypeException(o);
}
}
WriteStartElement(n, ns, o);
if (needType) WriteXsiType(@"Control",
@"http://schemas.microsoft.com/WebPart/v2");
WriteEndElement(o);
}
void Write4_Object(string n, string ns, System.Object o, bool
isNullable, bool needType) {
if ((object)o == null) {
if (isNullable) WriteNullTagLiteral(n, ns);
return;
}
if (!needType) {
System.Type t = o.GetType();
if (t == typeof(System.Object))
;
else if (t == typeof(System.Web.UI.Control)) {
Write3_Control(n, ns, (System.Web.UI.Control)o,
isNullable, true);
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.WebPart)) {
Write2_WebPart(n, ns,
(Microsoft.SharePoint.WebPartPages.WebPart)o, isNullable, true);
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.ImageWebPart)) {
Write1_ImageWebPart(n, ns,
(Microsoft.SharePoint.WebPartPages.ImageWebPart)o, isNullable, true);
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.FrameType)) {
Writer.WriteStartElement(n, ns);
WriteXsiType(@"FrameType",
@"http://schemas.microsoft.com/WebPart/v2");
Writer.WriteString(Write5_FrameType((Microsoft.SharePoint.WebPartPages.FrameType)o));
Writer.WriteEndElement();
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.FrameState)) {
Writer.WriteStartElement(n, ns);
WriteXsiType(@"FrameState",
@"http://schemas.microsoft.com/WebPart/v2");
Writer.WriteString(Write6_FrameState((Microsoft.SharePoint.WebPartPages.FrameState)o));
Writer.WriteEndElement();
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.Direction)) {
Writer.WriteStartElement(n, ns);
WriteXsiType(@"Direction",
@"http://schemas.microsoft.com/WebPart/v2");
Writer.WriteString(Write7_Direction((Microsoft.SharePoint.WebPartPages.Direction)o));
Writer.WriteEndElement();
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.VerticalAlignment)) {
Writer.WriteStartElement(n, ns);
WriteXsiType(@"VerticalAlignment",
@"http://schemas.microsoft.com/WebPart/v2/Image");
Writer.WriteString(Write8_VerticalAlignment((Microsoft.SharePoint.WebPartPages.VerticalAlignment)o));
Writer.WriteEndElement();
return;
}
else if (t ==
typeof(Microsoft.SharePoint.WebPartPages.HorizontalAlignment)) {
Writer.WriteStartElement(n, ns);
WriteXsiType(@"HorizontalAlignment",
@"http://schemas.microsoft.com/WebPart/v2/Image");
Writer.WriteString(Write9_HorizontalAlignment((Microsoft.SharePoint.WebPartPages.HorizontalAlignment)o));
Writer.WriteEndElement();
return;
}
else {
WriteTypedPrimitive(n, ns, o, true);
return;
}
}
WriteStartElement(n, ns, o);
WriteEndElement(o);
}
string Write5_FrameType(Microsoft.SharePoint.WebPartPages.FrameType
v) {
string s = null;
switch (v) {
case Microsoft.SharePoint.WebPartPages.FrameType.@None: s =
@"None"; break;
case Microsoft.SharePoint.WebPartPages.FrameType.@Standard:
s = @"Standard"; break;
case
Microsoft.SharePoint.WebPartPages.FrameType.@TitleBarOnly: s =
@"TitleBarOnly"; break;
case Microsoft.SharePoint.WebPartPages.FrameType.@Default: s
= @"Default"; break;
default: s = ((System.Int64)v).ToString(); break;
}
return s;
}
string
Write6_FrameState(Microsoft.SharePoint.WebPartPages.FrameState v) {
string s = null;
switch (v) {
case Microsoft.SharePoint.WebPartPages.FrameState.@Normal: s
= @"Normal"; break;
case
Microsoft.SharePoint.WebPartPages.FrameState.@Minimized: s = @"Minimized";
break;
default: s = ((System.Int64)v).ToString(); break;
}
return s;
}
string Write7_Direction(Microsoft.SharePoint.WebPartPages.Direction
v) {
string s = null;
switch (v) {
case Microsoft.SharePoint.WebPartPages.Direction.@Default: s
= @"Default"; break;
case
Microsoft.SharePoint.WebPartPages.Direction.@LeftToRight: s =
@"LeftToRight"; break;
case
Microsoft.SharePoint.WebPartPages.Direction.@RightToLeft: s =
@"RightToLeft"; break;
default: s = ((System.Int64)v).ToString(); break;
}
return s;
}
string
Write8_VerticalAlignment(Microsoft.SharePoint.WebPartPages.VerticalAlignment
v) {
string s = null;
switch (v) {
case
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Top: s = @"Top"; break;
case
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Middle: s = @"Middle";
break;
case
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Bottom: s = @"Bottom";
break;
default: s = ((System.Int64)v).ToString(); break;
}
return s;
}
string
Write9_HorizontalAlignment(Microsoft.SharePoint.WebPartPages.HorizontalAlignment
v) {
string s = null;
switch (v) {
case
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Left: s = @"Left";
break;
case
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Center: s =
@"Center"; break;
case
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Right: s = @"Right";
break;
default: s = ((System.Int64)v).ToString(); break;
}
return s;
}
protected override void InitCallbacks() {
}
public void Write10_WebPart(object o) {
WriteStartDocument();
if (o == null) {
WriteNullTagLiteral(@"WebPart",
@"http://schemas.microsoft.com/WebPart/v2");
return;
}
TopLevelElement();
Write1_ImageWebPart(@"WebPart",
@"http://schemas.microsoft.com/WebPart/v2",
((Microsoft.SharePoint.WebPartPages.ImageWebPart)o), true, false);
}
}
public class XmlSerializationReader1 :
System.Xml.Serialization.XmlSerializationReader {
Microsoft.SharePoint.WebPartPages.ImageWebPart
Read1_ImageWebPart(bool isNullable, bool checkType) {
if (isNullable && ReadNull()) return null;
if (checkType) {
System.Xml.XmlQualifiedName t = GetXsiType();
if (t == null || ((object)
((System.Xml.XmlQualifiedName)t).Name == (object)id1_ImageWebPart &&
(object) ((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
;
else
throw
CreateUnknownTypeException((System.Xml.XmlQualifiedName)t);
}
Microsoft.SharePoint.WebPartPages.ImageWebPart o;
try {
o =
(Microsoft.SharePoint.WebPartPages.ImageWebPart)System.Activator.CreateInstance(typeof(Microsoft.SharePoint.WebPartPages.ImageWebPart));
}
catch (System.MissingMethodException) {
throw
CreateInaccessibleConstructorException(@"ImageWebPart");
}
catch (System.Security.SecurityException) {
throw CreateCtorHasSecurityException(@"ImageWebPart");
}
Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection
a_23 =
(Microsoft.SharePoint.WebPartPages.UnknownXmlElementCollection)o.@UnknownXmlElements;
bool[] paramsRead = new bool[28];
while (Reader.MoveToNextAttribute()) {
if (!IsXmlnsAttribute(Reader.Name)) {
UnknownNode((object)o);
}
}
Reader.MoveToElement();
if (Reader.IsEmptyElement) {
Reader.Skip();
return o;
}
Reader.ReadStartElement();
Reader.MoveToContent();
while (Reader.NodeType != System.Xml.XmlNodeType.EndElement) {
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
if (!paramsRead[0] && ((object) Reader.LocalName ==
(object)id3_Title && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Title = Reader.ReadElementString();
paramsRead[0] = true;
}
else if (!paramsRead[1] && ((object) Reader.LocalName ==
(object)id4_FrameType && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@FrameType =
Read5_FrameType(Reader.ReadElementString());
paramsRead[1] = true;
}
else if (!paramsRead[2] && ((object) Reader.LocalName ==
(object)id5_Description && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Description = Reader.ReadElementString();
paramsRead[2] = true;
}
else if (!paramsRead[3] && ((object) Reader.LocalName ==
(object)id6_IsIncluded && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@IsIncluded =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[3] = true;
}
else if (!paramsRead[4] && ((object) Reader.LocalName ==
(object)id7_ZoneID && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@ZoneID = Reader.ReadElementString();
paramsRead[4] = true;
}
else if (!paramsRead[5] && ((object) Reader.LocalName ==
(object)id8_PartOrder && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@PartOrder =
System.Xml.XmlConvert.ToInt32(Reader.ReadElementString());
paramsRead[5] = true;
}
else if (!paramsRead[6] && ((object) Reader.LocalName ==
(object)id9_FrameState && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@FrameState =
Read6_FrameState(Reader.ReadElementString());
paramsRead[6] = true;
}
else if (!paramsRead[7] && ((object) Reader.LocalName ==
(object)id10_Height && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Height = Reader.ReadElementString();
paramsRead[7] = true;
}
else if (!paramsRead[8] && ((object) Reader.LocalName ==
(object)id11_Width && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Width = Reader.ReadElementString();
paramsRead[8] = true;
}
else if (!paramsRead[9] && ((object) Reader.LocalName ==
(object)id12_AllowRemove && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@AllowRemove =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[9] = true;
}
else if (!paramsRead[10] && ((object) Reader.LocalName
== (object)id13_AllowZoneChange && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@AllowZoneChange =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[10] = true;
}
else if (!paramsRead[11] && ((object) Reader.LocalName
== (object)id14_AllowMinimize && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@AllowMinimize =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[11] = true;
}
else if (!paramsRead[12] && ((object) Reader.LocalName
== (object)id15_IsVisible && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@IsVisible =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[12] = true;
}
else if (!paramsRead[13] && ((object) Reader.LocalName
== (object)id16_DetailLink && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@DetailLink = Reader.ReadElementString();
paramsRead[13] = true;
}
else if (!paramsRead[14] && ((object) Reader.LocalName
== (object)id17_HelpLink && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@HelpLink = Reader.ReadElementString();
paramsRead[14] = true;
}
else if (!paramsRead[15] && ((object) Reader.LocalName
== (object)id18_Dir && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Dir =
Read7_Direction(Reader.ReadElementString());
paramsRead[15] = true;
}
else if (!paramsRead[16] && ((object) Reader.LocalName
== (object)id19_PartImageSmall && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@PartImageSmall = Reader.ReadElementString();
paramsRead[16] = true;
}
else if (!paramsRead[17] && ((object) Reader.LocalName
== (object)id20_MissingAssembly && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@MissingAssembly = Reader.ReadElementString();
paramsRead[17] = true;
}
else if (!paramsRead[18] && ((object) Reader.LocalName
== (object)id21_PartImageLarge && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@PartImageLarge = Reader.ReadElementString();
paramsRead[18] = true;
}
else if (!paramsRead[19] && ((object) Reader.LocalName
== (object)id22_IsIncludedFilter && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@IsIncludedFilter = Reader.ReadElementString();
paramsRead[19] = true;
}
else if (!paramsRead[20] && ((object) Reader.LocalName
== (object)id23_ExportControlledProperties && (object) Reader.NamespaceURI
== (object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@ExportControlledProperties =
System.Xml.XmlConvert.ToBoolean(Reader.ReadElementString());
paramsRead[20] = true;
}
else if (!paramsRead[21] && ((object) Reader.LocalName
== (object)id24_ConnectionID && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@ConnectionID =
System.Xml.XmlConvert.ToGuid(Reader.ReadElementString());
paramsRead[21] = true;
}
else if (!paramsRead[22] && ((object) Reader.LocalName
== (object)id25_Connections && (object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o.@Connections = Reader.ReadElementString();
paramsRead[22] = true;
}
else if (!paramsRead[24] && ((object) Reader.LocalName
== (object)id26_ImageLink && (object) Reader.NamespaceURI ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
o.@ImageLink = Reader.ReadElementString();
paramsRead[24] = true;
}
else if (!paramsRead[25] && ((object) Reader.LocalName
== (object)id28_VerticalAlignment && (object) Reader.NamespaceURI ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
o.@VerticalAlignment =
Read8_VerticalAlignment(Reader.ReadElementString());
paramsRead[25] = true;
}
else if (!paramsRead[26] && ((object) Reader.LocalName
== (object)id29_HorizontalAlignment && (object) Reader.NamespaceURI ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
o.@HorizontalAlignment =
Read9_HorizontalAlignment(Reader.ReadElementString());
paramsRead[26] = true;
}
else if (!paramsRead[27] && ((object) Reader.LocalName
== (object)id30_BackgroundColor && (object) Reader.NamespaceURI ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
o.@BackgroundColor = Reader.ReadElementString();
paramsRead[27] = true;
}
else {
a_23.Add((System.Xml.XmlElement)ReadXmlNode(false));
}
}
else {
UnknownNode((object)o);
}
Reader.MoveToContent();
}
ReadEndElement();
return o;
}
Microsoft.SharePoint.WebPartPages.WebPart Read2_WebPart(bool
isNullable, bool checkType) {
if (isNullable && ReadNull()) return null;
if (checkType) {
System.Xml.XmlQualifiedName t = GetXsiType();
if (t == null || ((object)
((System.Xml.XmlQualifiedName)t).Name == (object)id31_WebPart && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
;
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id1_ImageWebPart && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
return Read1_ImageWebPart(isNullable, false);
else
throw
CreateUnknownTypeException((System.Xml.XmlQualifiedName)t);
}
throw CreateAbstractTypeException(@"WebPart",
@"http://schemas.microsoft.com/WebPart/v2");
}
System.Web.UI.Control Read3_Control(bool isNullable, bool checkType)
{
if (isNullable && ReadNull()) return null;
if (checkType) {
System.Xml.XmlQualifiedName t = GetXsiType();
if (t == null || ((object)
((System.Xml.XmlQualifiedName)t).Name == (object)id32_Control && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
;
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id31_WebPart && (object) ((System.Xml.XmlQualifiedName)t).Namespace
== (object)id2_httpschemasmicrosoftcomWebPartv2))
return Read2_WebPart(isNullable, false);
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id1_ImageWebPart && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
return Read1_ImageWebPart(isNullable, false);
else
throw
CreateUnknownTypeException((System.Xml.XmlQualifiedName)t);
}
System.Web.UI.Control o;
try {
o =
(System.Web.UI.Control)System.Activator.CreateInstance(typeof(System.Web.UI.Control));
}
catch (System.MissingMethodException) {
throw CreateInaccessibleConstructorException(@"Control");
}
catch (System.Security.SecurityException) {
throw CreateCtorHasSecurityException(@"Control");
}
bool[] paramsRead = new bool[0];
while (Reader.MoveToNextAttribute()) {
if (!IsXmlnsAttribute(Reader.Name)) {
UnknownNode((object)o);
}
}
Reader.MoveToElement();
if (Reader.IsEmptyElement) {
Reader.Skip();
return o;
}
Reader.ReadStartElement();
Reader.MoveToContent();
while (Reader.NodeType != System.Xml.XmlNodeType.EndElement) {
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
UnknownNode((object)o);
}
else {
UnknownNode((object)o);
}
Reader.MoveToContent();
}
ReadEndElement();
return o;
}
System.Object Read4_Object(bool isNullable, bool checkType) {
if (isNullable && ReadNull()) return null;
if (checkType) {
System.Xml.XmlQualifiedName t = GetXsiType();
if (t == null)
return ReadTypedPrimitive(new
System.Xml.XmlQualifiedName("anyType", "http://www.w3.org/2001/XMLSchema"));
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id32_Control && (object) ((System.Xml.XmlQualifiedName)t).Namespace
== (object)id2_httpschemasmicrosoftcomWebPartv2))
return Read3_Control(isNullable, false);
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id31_WebPart && (object) ((System.Xml.XmlQualifiedName)t).Namespace
== (object)id2_httpschemasmicrosoftcomWebPartv2))
return Read2_WebPart(isNullable, false);
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id1_ImageWebPart && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2))
return Read1_ImageWebPart(isNullable, false);
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id4_FrameType && (object) ((System.Xml.XmlQualifiedName)t).Namespace
== (object)id2_httpschemasmicrosoftcomWebPartv2)) {
Reader.ReadStartElement();
object e = Read5_FrameType(Reader.ReadString());
ReadEndElement();
return e;
}
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id9_FrameState && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
Reader.ReadStartElement();
object e = Read6_FrameState(Reader.ReadString());
ReadEndElement();
return e;
}
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id33_Direction && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
Reader.ReadStartElement();
object e = Read7_Direction(Reader.ReadString());
ReadEndElement();
return e;
}
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id28_VerticalAlignment && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
Reader.ReadStartElement();
object e = Read8_VerticalAlignment(Reader.ReadString());
ReadEndElement();
return e;
}
else if (((object) ((System.Xml.XmlQualifiedName)t).Name ==
(object)id29_HorizontalAlignment && (object)
((System.Xml.XmlQualifiedName)t).Namespace ==
(object)id27_httpschemasmicrosoftcomWebPartv2Image)) {
Reader.ReadStartElement();
object e =
Read9_HorizontalAlignment(Reader.ReadString());
ReadEndElement();
return e;
}
else
return
ReadTypedPrimitive((System.Xml.XmlQualifiedName)t);
}
System.Object o = new System.Object();
bool[] paramsRead = new bool[0];
while (Reader.MoveToNextAttribute()) {
if (!IsXmlnsAttribute(Reader.Name)) {
UnknownNode((object)o);
}
}
Reader.MoveToElement();
if (Reader.IsEmptyElement) {
Reader.Skip();
return o;
}
Reader.ReadStartElement();
Reader.MoveToContent();
while (Reader.NodeType != System.Xml.XmlNodeType.EndElement) {
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
UnknownNode((object)o);
}
else {
UnknownNode((object)o);
}
Reader.MoveToContent();
}
ReadEndElement();
return o;
}
Microsoft.SharePoint.WebPartPages.FrameType Read5_FrameType(string
s) {
switch (s) {
case @"None": return
Microsoft.SharePoint.WebPartPages.FrameType.@None;
case @"Standard": return
Microsoft.SharePoint.WebPartPages.FrameType.@Standard;
case @"TitleBarOnly": return
Microsoft.SharePoint.WebPartPages.FrameType.@TitleBarOnly;
case @"Default": return
Microsoft.SharePoint.WebPartPages.FrameType.@Default;
default: throw CreateUnknownConstantException(s,
typeof(Microsoft.SharePoint.WebPartPages.FrameType));
}
}
Microsoft.SharePoint.WebPartPages.FrameState Read6_FrameState(string
s) {
switch (s) {
case @"Normal": return
Microsoft.SharePoint.WebPartPages.FrameState.@Normal;
case @"Minimized": return
Microsoft.SharePoint.WebPartPages.FrameState.@Minimized;
default: throw CreateUnknownConstantException(s,
typeof(Microsoft.SharePoint.WebPartPages.FrameState));
}
}
Microsoft.SharePoint.WebPartPages.Direction Read7_Direction(string
s) {
switch (s) {
case @"Default": return
Microsoft.SharePoint.WebPartPages.Direction.@Default;
case @"LeftToRight": return
Microsoft.SharePoint.WebPartPages.Direction.@LeftToRight;
case @"RightToLeft": return
Microsoft.SharePoint.WebPartPages.Direction.@RightToLeft;
default: throw CreateUnknownConstantException(s,
typeof(Microsoft.SharePoint.WebPartPages.Direction));
}
}
Microsoft.SharePoint.WebPartPages.VerticalAlignment
Read8_VerticalAlignment(string s) {
switch (s) {
case @"Top": return
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Top;
case @"Middle": return
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Middle;
case @"Bottom": return
Microsoft.SharePoint.WebPartPages.VerticalAlignment.@Bottom;
default: throw CreateUnknownConstantException(s,
typeof(Microsoft.SharePoint.WebPartPages.VerticalAlignment));
}
}
Microsoft.SharePoint.WebPartPages.HorizontalAlignment
Read9_HorizontalAlignment(string s) {
switch (s) {
case @"Left": return
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Left;
case @"Center": return
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Center;
case @"Right": return
Microsoft.SharePoint.WebPartPages.HorizontalAlignment.@Right;
default: throw CreateUnknownConstantException(s,
typeof(Microsoft.SharePoint.WebPartPages.HorizontalAlignment));
}
}
protected override void InitCallbacks() {
}
public object Read11_WebPart() {
object o = null;
Reader.MoveToContent();
if (Reader.NodeType == System.Xml.XmlNodeType.Element) {
if (((object) Reader.LocalName == (object)id31_WebPart &&
(object) Reader.NamespaceURI ==
(object)id2_httpschemasmicrosoftcomWebPartv2)) {
o = Read1_ImageWebPart(true, true);
}
else {
throw CreateUnknownNodeException();
}
}
else {
UnknownNode(null);
}
return (object)o;
}
System.String id11_Width;
System.String id15_IsVisible;
System.String id16_DetailLink;
System.String id1_ImageWebPart;
System.String id25_Connections;
System.String id14_AllowMinimize;
System.String id10_Height;
System.String id8_PartOrder;
System.String id32_Control;
System.String id27_httpschemasmicrosoftcomWebPartv2Image;
System.String id30_BackgroundColor;
System.String id18_Dir;
System.String id17_HelpLink;
System.String id21_PartImageLarge;
System.String id20_MissingAssembly;
System.String id13_AllowZoneChange;
System.String id24_ConnectionID;
System.String id3_Title;
System.String id28_VerticalAlignment;
System.String id26_ImageLink;
System.String id9_FrameState;
System.String id4_FrameType;
System.String id6_IsIncluded;
System.String id22_IsIncludedFilter;
System.String id2_httpschemasmicrosoftcomWebPartv2;
System.String id7_ZoneID;
System.String id19_PartImageSmall;
System.String id5_Description;
System.String id31_WebPart;
System.String id33_Direction;
System.String id12_AllowRemove;
System.String id29_HorizontalAlignment;
System.String id23_ExportControlledProperties;
protected override void InitIDs() {
id11_Width = Reader.NameTable.Add(@"Width");
id15_IsVisible = Reader.NameTable.Add(@"IsVisible");
id16_DetailLink = Reader.NameTable.Add(@"DetailLink");
id1_ImageWebPart = Reader.NameTable.Add(@"ImageWebPart");
id25_Connections = Reader.NameTable.Add(@"Connections");
id14_AllowMinimize = Reader.NameTable.Add(@"AllowMinimize");
id10_Height = Reader.NameTable.Add(@"Height");
id8_PartOrder = Reader.NameTable.Add(@"PartOrder");
id32_Control = Reader.NameTable.Add(@"Control");
id27_httpschemasmicrosoftcomWebPartv2Image =
Reader.NameTable.Add(@"http://schemas.microsoft.com/WebPart/v2/Image");
id30_BackgroundColor = Reader.NameTable.Add(@"BackgroundColor");
id18_Dir = Reader.NameTable.Add(@"Dir");
id17_HelpLink = Reader.NameTable.Add(@"HelpLink");
id21_PartImageLarge = Reader.NameTable.Add(@"PartImageLarge");
id20_MissingAssembly = Reader.NameTable.Add(@"MissingAssembly");
id13_AllowZoneChange = Reader.NameTable.Add(@"AllowZoneChange");
id24_ConnectionID = Reader.NameTable.Add(@"ConnectionID");
id3_Title = Reader.NameTable.Add(@"Title");
id28_VerticalAlignment =
Reader.NameTable.Add(@"VerticalAlignment");
id26_ImageLink = Reader.NameTable.Add(@"ImageLink");
id9_FrameState = Reader.NameTable.Add(@"FrameState");
id4_FrameType = Reader.NameTable.Add(@"FrameType");
id6_IsIncluded = Reader.NameTable.Add(@"IsIncluded");
id22_IsIncludedFilter =
Reader.NameTable.Add(@"IsIncludedFilter");
id2_httpschemasmicrosoftcomWebPartv2 =
Reader.NameTable.Add(@"http://schemas.microsoft.com/WebPart/v2");
id7_ZoneID = Reader.NameTable.Add(@"ZoneID");
id19_PartImageSmall = Reader.NameTable.Add(@"PartImageSmall");
id5_Description = Reader.NameTable.Add(@"Description");
id31_WebPart = Reader.NameTable.Add(@"WebPart");
id33_Direction = Reader.NameTable.Add(@"Direction");
id12_AllowRemove = Reader.NameTable.Add(@"AllowRemove");
id29_HorizontalAlignment =
Reader.NameTable.Add(@"HorizontalAlignment");
id23_ExportControlledProperties =
Reader.NameTable.Add(@"ExportControlledProperties");
}
}
}
- Previous message: Brandon Baker: "Re: internet restriction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|