|
Rank: Newbie Groups: Member
Joined: 6/23/2011 Posts: 7
|
Although I unlocked the Controls Suite using the license manager and added the EO.Web.Runtime.AddLicense call in my Application_Start method of the HttpApplication derived Global class when I try to add an EO.Web component (for example TreeView) in one of my aspx pages I am getting some XML code like this:
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <a1:WebControlToolboxItem id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a"> <Locked>true</Locked> <Filter href="#ref-5"/>
What can be the solution to this?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You may want to try to reinstall. a1:WebControlToolboxItem is not us at all. Our controls start with "eo:".
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/23/2011 Posts: 7
|
I reinstalled EO and unlocked it again and my problem persists... Its behavior is not constant.... For example I am able to add a single TreeView in an aspx form but when I try to add a second one I am getting exactly the same behavior:
Instead of a TreeView control the same XML code is added to the page and is visible in the design view of the page as text... I know that a1 is not eo (which is how the successfully added component is namespaced) but something has to be wrong with my configuration. (VS2010 pro + win7)... The samples are working fine as is the single tree view I am able to add to my page...
Any tips how to go around this problem will be greatly appreciated..
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 6/23/2011 Posts: 7
|
This is the complete XML... I think it is clear that it is created by eo ..
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <a1:WebControlToolboxItem id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/System.Web.UI.Design/System.Design%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a"> <Locked>true</Locked> <Filter href="#ref-5"/> <Bitmap href="#ref-6"/> <Description id="ref-7">TreeView displays hierarchical data in a tree structure.</Description> <AssemblyName href="#ref-8"/> <DisplayName id="ref-9">TreeView</DisplayName> <DependentAssemblies href="#ref-10"/> <TypeName id="ref-11">EO.Web.TreeView</TypeName> <Company id="ref-12">Essential Objects, Inc.</Company> <PropertyNames href="#ref-13"/> <ToolData id="ref-14"><{0}:TreeView runat="server" Width="200px" Height="250px"></{0}:TreeView></ToolData> <PersistChildren>0</PersistChildren> </a1:WebControlToolboxItem> <SOAP-ENC:Array id="ref-5" SOAP-ENC:arrayType="a2:ToolboxItemFilterAttribute[2]" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089"> <item href="#ref-15"/> <item href="#ref-16"/> </SOAP-ENC:Array> <a3:Bitmap id="ref-6" xmlns:a3="http://schemas.microsoft.com/clr/nsassem/System.Drawing/System.Drawing%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a"> <Data href="#ref-17"/> </a3:Bitmap> <a4:AssemblyName id="ref-8" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"> <_Name id="ref-18">EO.Web</_Name> <_PublicKey href="#ref-19"/> <_PublicKeyToken xsi:null="1"/> <_CultureInfo>127</_CultureInfo> <_CodeBase id="ref-20">file:///C:/Users/Jimbo/Documents/Visual Studio 2010/Controls/EO.Web/EO.Web.dll</_CodeBase> <_Version href="#ref-21"/> <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm> <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl> <_StrongNameKeyPair xsi:null="1"/> <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility> <_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">17</_Flags> <_HashForControl xsi:null="1"/> </a4:AssemblyName> <SOAP-ENC:Array id="ref-10" SOAP-ENC:arrayType="a4:AssemblyName[3]" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"> <item href="#ref-22"/> <item href="#ref-23"/> <item href="#ref-24"/> </SOAP-ENC:Array> <SOAP-ENC:Array id="ref-13" SOAP-ENC:arrayType="xsd:string[8]"> <item id="ref-25">Filter</item> <item id="ref-26">Bitmap</item> <item id="ref-27">Description</item> <item id="ref-28">AssemblyName</item> <item id="ref-29">DisplayName</item> <item id="ref-30">DependentAssemblies</item> <item id="ref-31">TypeName</item> <item id="ref-32">Company</item> </SOAP-ENC:Array> <a2:ToolboxItemFilterAttribute id="ref-15" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089"> <filterType>Require</filterType> <filterString id="ref-33">System.Web.UI</filterString> <typeId id="ref-34">System.ComponentModel.ToolboxItemFilterAttributeSystem.Web.UI</typeId> </a2:ToolboxItemFilterAttribute> <a2:ToolboxItemFilterAttribute id="ref-16" xmlns:a2="http://schemas.microsoft.com/clr/nsassem/System.ComponentModel/System%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089"> <filterType>Allow</filterType> <filterString href="#ref-11"/> <typeId xsi:null="1"/> </a2:ToolboxItemFilterAttribute> <SOAP-ENC:Array id="ref-17" xsi:type="SOAP-ENC:base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACXSURBVDhPY2CgFMxeeeA/DJNlFkjz8/f//+uHNfyHGbB05/n/fcsO/S+etPl/dP0yuDhWC0AaYZgsF1BVE1XC4/8ZBpTwmLDiyP+GObv/F/Rv/J/QvPJ/SOWi/95Fc7GHy8CHB3XC4D9qmpi69vj/rO51uP2NHI0DHwbIrqFOeKClidkbT/6vmbnjf3zjCkSY/GegLE0AACAwjb81ch3IAAAAAElFTkSuQmCC</SOAP-ENC:Array> <SOAP-ENC:Array id="ref-19" xsi:type="SOAP-ENC:base64">ACQAAASAAACUAAAABgIAAAAkAABSU0ExAAQAAAEAAQAXm4reXjgurH7gu11FpUrDAvCtQX753+Q+XzqpDoSdWkSgGcXFyllb7rpYwAXp+AiJI9E1lpg8q7t4H36GsM8+fpj5ol0+l84bYWy+aa5vQ5XlxdyeDxsA2NZodsFhausBo5M5O+zGfiT5GpKwbgnpzwIGXVoIKvCposyUWy0I4Q==</SOAP-ENC:Array> <a5:Version id="ref-21" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"> <_Major>8</_Major> <_Minor>0</_Minor> <_Build>60</_Build> <_Revision>2</_Revision> </a5:Version> <a4:AssemblyName id="ref-22" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"> <_Name id="ref-35">EO.Web</_Name> <_PublicKey href="#ref-36"/> <_PublicKeyToken xsi:null="1"/> <_CultureInfo>127</_CultureInfo> <_CodeBase id="ref-37">file:///C:/Users/Jimbo/Documents/Visual Studio 2010/Controls/EO.Web/EO.Web.dll</_CodeBase> <_Version href="#ref-38"/> <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SHA1</_HashAlgorithm> <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl> <_StrongNameKeyPair xsi:null="1"/> <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility> <_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">17</_Flags> <_HashForControl xsi:null="1"/> </a4:AssemblyName> <a4:AssemblyName id="ref-23" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"> <_Name id="ref-39">System.Web</_Name> <_PublicKey xsi:null="1"/> <_PublicKeyToken href="#ref-40"/> <_CultureInfo>127</_CultureInfo> <_CodeBase xsi:type="xsd:anyType" xsi:null="1"/> <_Version href="#ref-41"/> <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithm> <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl> <_StrongNameKeyPair xsi:null="1"/> <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility> <_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">None</_Flags> <_HashForControl xsi:null="1"/> </a4:AssemblyName> <a4:AssemblyName id="ref-24" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection"> <_Name id="ref-42">mscorlib</_Name> <_PublicKey xsi:null="1"/> <_PublicKeyToken href="#ref-43"/> <_CultureInfo>127</_CultureInfo> <_CodeBase xsi:type="xsd:anyType" xsi:null="1"/> <_Version href="#ref-44"/> <_HashAlgorithm xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithm> <_HashAlgorithmForControl xsi:type="a6:AssemblyHashAlgorithm" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">None</_HashAlgorithmForControl> <_StrongNameKeyPair xsi:null="1"/> <_VersionCompatibility xsi:type="a6:AssemblyVersionCompatibility" xmlns:a6="http://schemas.microsoft.com/clr/ns/System.Configuration.Assemblies">SameMachine</_VersionCompatibility> <_Flags xsi:type="a4:AssemblyNameFlags" xmlns:a4="http://schemas.microsoft.com/clr/ns/System.Reflection">None</_Flags> <_HashForControl xsi:null="1"/> </a4:AssemblyName> <SOAP-ENC:Array id="ref-36" xsi:type="SOAP-ENC:base64">ACQAAASAAACUAAAABgIAAAAkAABSU0ExAAQAAAEAAQAXm4reXjgurH7gu11FpUrDAvCtQX753+Q+XzqpDoSdWkSgGcXFyllb7rpYwAXp+AiJI9E1lpg8q7t4H36GsM8+fpj5ol0+l84bYWy+aa5vQ5XlxdyeDxsA2NZodsFhausBo5M5O+zGfiT5GpKwbgnpzwIGXVoIKvCposyUWy0I4Q==</SOAP-ENC:Array> <a5:Version id="ref-38" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"> <_Major>8</_Major> <_Minor>0</_Minor> <_Build>60</_Build> <_Revision>2</_Revision> </a5:Version> <SOAP-ENC:Array id="ref-40" xsi:type="SOAP-ENC:base64">sD9ffxHVCjo=</SOAP-ENC:Array> <a5:Version id="ref-41" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"> <_Major>2</_Major> <_Minor>0</_Minor> <_Build>0</_Build> <_Revision>0</_Revision> </a5:Version> <SOAP-ENC:Array id="ref-43" xsi:type="SOAP-ENC:base64">t3pcVhk04Ik=</SOAP-ENC:Array> <a5:Version id="ref-44" xmlns:a5="http://schemas.microsoft.com/clr/ns/System"> <_Major>2</_Major> <_Minor>0</_Minor> <_Build>0</_Build> <_Revision>0</_Revision> </a5:Version> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
|
|
Rank: Newbie Groups: Member
Joined: 6/23/2011 Posts: 7
|
After resetting the toolbox and re-selecting the EO components the problem was fixed!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Glad to hear that resetting toolbox items worked. The XML is created by Visual Studio, not us.
Thanks!
|
|