﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » Enterprise Server - V1 » Issues  » Inherited devex controls in loginform</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 15 Apr 2026 19:39:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Inherited devex controls in loginform</title><link>http://forum.strataframe.net/FindPost30865.aspx</link><description>&lt;div&gt;&lt;font color="#000000"&gt;Hello,&lt;/font&gt;&lt;div&gt;&lt;font color="#000000"&gt;In my application i cant add devexpress controlls to login forms.&lt;/font&gt;&lt;div&gt;&lt;font color="#000000"&gt;After add microfour devex.textedit i 've got exception in line shown below&lt;/font&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp;&lt;div&gt;&amp;nbsp; &amp;nbsp; &lt;font color="#008800"&gt;&amp;nbsp; &amp;nbsp; e.ShowMainForm = Login.ShowLoginAndAuthUser(True)&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;This is strange for me because when i set normal textbox in login form i can normaly use inherited controls in my application in other forms.&lt;div&gt;i use .net4.0, devexpres 11.2 and microfour 1.7.0.0&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;font color="#000000" style="background-color: rgb(255, 238, 255);"&gt;why in reference in error message is devex version 10.1&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;System.Reflection.TargetInvocationException was unhandled by user code&lt;div&gt;&amp;nbsp; Message=Exception has been thrown by the target of an invocation.&lt;div&gt;&amp;nbsp; Source=mscorlib&lt;div&gt;&amp;nbsp; StackTrace:&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at MicroFour.StrataFrame.Security.Login.ShowLoginAndAuthUser(Boolean AllowCancel)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at E_rail.AppMain.ShowLoginAndInitMainForm(ShowLoginAndInitFormEventArgs e) in D:\software\PLUS\E-rail\E-rail\AppMain.vb:line 120&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()&lt;div&gt;&amp;nbsp; InnerException: System.IO.FileNotFoundException&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FileName=DevExpress.XtraEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FusionLog==== Pre-bind state information ===&lt;div&gt;LOG: User = LaptopACM\Mariusz&lt;div&gt;LOG: DisplayName = DevExpress.XtraEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a&lt;div&gt;&amp;nbsp;(Fully-specified)&lt;div&gt;LOG: Appbase = file:///D:/software/PLUS/E-rail/E-rail/bin/Release/&lt;div&gt;LOG: Initial PrivatePath = NULL&lt;div&gt;Calling assembly : MicroFour StrataFrame Inherited UI, Version=1.7.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7.&lt;div&gt;===&lt;div&gt;LOG: This bind starts in default load context.&lt;div&gt;LOG: Using application configuration file: D:\software\PLUS\E-rail\E-rail\bin\Release\E-rail.vshost.exe.Config&lt;div&gt;LOG: Using host configuration file:&amp;nbsp;&lt;div&gt;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&lt;div&gt;LOG: Post-policy reference: DevExpress.XtraEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a&lt;div&gt;LOG: The same bind was seen before, and was failed with hr = 0x80070002.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Message=Could not load file or assembly 'DevExpress.XtraEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. Nie można odnaleźć określonego pliku.&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source=E-rail&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StackTrace:&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at E_rail.LoginForm.InitializeComponent()&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at E_rail.LoginForm..ctor()&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InnerException:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;strong&gt;&lt;font color="#440088"&gt;If somebody can help me ill be happy :D&lt;/font&gt;&lt;/strong&gt;&lt;div&gt;&lt;strong&gt;&lt;font color="#440088"&gt;best regards&lt;/font&gt;&lt;/strong&gt;</description><pubDate>Fri, 03 Feb 2012 19:37:32 GMT</pubDate><dc:creator>Mariusz Mol</dc:creator></item><item><title>RE: Inherited devex controls in loginform</title><link>http://forum.strataframe.net/FindPost30869.aspx</link><description>[quote][b]Mariusz Mol (2/3/2012)[/b][hr]&lt;font color="#000000" face="arial, sans-serif" size="2"&gt;Now everything works perfect :D&lt;/font&gt;[/quote]&lt;br/&gt;Glad it works &lt;span&gt;:hehe:&lt;/span&gt; and by the way, welcome to the forums!!! there is a lot of information here to help all of us, so feel free to search the forums to help you move forward with your SF adventure.</description><pubDate>Fri, 03 Feb 2012 19:37:32 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Inherited devex controls in loginform</title><link>http://forum.strataframe.net/FindPost30868.aspx</link><description>&lt;font color="#000000"&gt;Thanks so much&lt;/font&gt;&lt;div&gt;&lt;font color="#000000"&gt;&lt;br/&gt;&lt;/font&gt;&lt;div&gt;&lt;font face="arial, sans-serif" size="2" color="#000000"&gt;I did exactly as written. In gac was older version.&amp;nbsp;&lt;/font&gt;&lt;div&gt;&lt;font face="arial, sans-serif" size="2" color="#000000"&gt;&lt;br/&gt;&lt;/font&gt;&lt;div&gt;&lt;font color="#000000" face="arial, sans-serif" size="2"&gt;Now everything works perfect :D&lt;/font&gt;</description><pubDate>Fri, 03 Feb 2012 18:31:11 GMT</pubDate><dc:creator>Mariusz Mol</dc:creator></item><item><title>RE: Inherited devex controls in loginform</title><link>http://forum.strataframe.net/FindPost30867.aspx</link><description>						&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl01_lblAnchorPoint"&gt;&lt;a name="bm30865"&gt;&lt;/a&gt;&lt;/span&gt; 								                &lt;div style="float: left; width: 100%;" class="LargeTxtBold"&gt;                    &lt;a title="View Mariusz Mol's Profile..." id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl01_hypUsername" href="UserInfo2383.aspx"&gt;Hi Mariusz,&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;The problem is that you have to compile the "MicroFour StrataFrame Inherited UI" with the current DevExpress assemblies so it will use what you have now.&amp;nbsp; The assembly "MicroFour StrataFrame Inherited UI.dll" you are using is pre-compiled with DevEx version 10.1.&lt;br/&gt;&lt;br/&gt;If you have no experience compiling StrataFrame source code follow these suggestion:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;Close VS and any SF project.&lt;/li&gt;&lt;li&gt;Use DevExpress Project Converter to update the assemblies of the SF Inherited solution with your version of DevExpress.&amp;nbsp; In my computer it is located at: C:\Program Files (x86)\MicroFour\StrataFrame Source Code&lt;/li&gt;&lt;li&gt;Open MicroFour StrataFrame Inherited UI.sln solution, Build the Solution and then make sure the new assembly "MicroFour StrataFrame Inherited UI.dll" is in the GAC, sometimes it may not get updated and you would have to manually remove it from GAC "C:\Windows\Assemblies" and then repeat step 3.&lt;/li&gt;&lt;li&gt;Open your SF solution, remove the "MicroFour StrataFrame Inherited UI.dll" assembly from the reference and add it again so it will use your current DevExpress assemblies.&lt;/li&gt;&lt;/ol&gt;Good luck!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;                </description><pubDate>Fri, 03 Feb 2012 17:08:30 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>