Type 'AutoDialer.UsersBO' could not be found in the referenced assemblies


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad you got it going Smile
Jeff Pagley
Jeff Pagley
Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Some missing dll references were the problem.  I guess the error message threw me off.

As always, you guys are awesome.   Thanks! 

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
It's probably coming from one of the list population (ComboBox, ListBox, ListView) resources that you have.  We store the business object's type name as a string within the designer file, so there is a good chance that your business object's name might have changed and the change was not reflected within your .designer.* file for the form containing the populated combo box. 

Looking at your stack trace, it looks like one of your ComboBoxEdit controls is causing you a problem.  It also might be that the CrystalDecisions DLL that is trying to load and is throwing the "FileNotFoundException" could be the root of the problem. 

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This is a standard (and common) .NET distribution issue.  Your BO could not resolve the references MicroFour StrataFrame Base and CrystalDecisions.Windows.Forms.  The reason it works on your development machine is because these DLLs reside on your development machine.  You will have to distribute any references assemblies to your end-user machines.  Make sure that any reference other than the standard .NET assemblies is distributed.

In the example above, I would have to distribute 8 assemblies.  The 3 SF assemblies and the 5 PerpetuumSoft assemblies.  To get the DLL name, select the reference then go to the property sheet.

Jeff Pagley
Jeff Pagley
Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)Advanced StrataFrame User (641 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi SF Team,

I am getting this error when the application is loading the form with this business object.  This BO is used to populate a Strataframe Wrapped DevExpress combo box utilizing the Strataframe Item Propulation properties.  However, the form loads find and works fine on my developement machine.  The complete error stack is below. 

Thanks for you help!

---------------------------------------------------------------------------

Type 'AutoDialer.UsersBO' could not be found in the referenced assemblies.

Exception (Exception): Source="MicroFour StrataFrame Base"; Target=null; Tag=null;

Message = "Type 'AutoDialer.UsersBO' could not be found in the referenced assemblies."

InnerException (FileNotFoundException): Source="mscorlib"; Target=null; Tag=null;

Message = "Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."

StackTrace =

" at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)

at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

at System.Reflection.Assembly.Load(AssemblyName assemblyRef)

at MicroFour.StrataFrame.Tools.Common.GetTypeFromReferencedAssemblies(String TypeName)"

FileName = "CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"

FusionLog =

"WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

"

Environment: ThreadIdentity="" DateTime=["2007-09-14 20:31:05.312"] ThreadName=null WindowsIdentity="1LPTABLET\Administrator" ThreadId="1" DomainName="AutoDialer.exe" OSVersion=["Microsoft Windows NT 5.1.2600 Service Pack 2"] MachineName="1LPTABLET"

UserName="Administrator"

Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

at MicroFour.StrataFrame.Tools.Common.GetTypeFromReferencedAssemblies(String TypeName)

at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateComboFromBusinessObject(IListControl lstControl, Object[] Parameters)

at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateCombo(Control lstControl, Object[] Parameters)

at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.PopulateCombo(Object[] Parameters)

at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.Requery()

at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.InitializeObject()

at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()

at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search