StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
Invoked member is not supported in a dynamic assembly
Invoked member is not supported in a dynamic assembly
Post Reply
Like
1
Prev
1
2
Jump To Page
Invoked member is not supported in a dynamic assembly
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Chris Diesel
Chris Diesel
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 74,
Visits: 300
I'll go with option 1 for now.
Thanks!
Reply
Like
1
Chris Diesel
Chris Diesel
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 74,
Visits: 300
I now get the below message going into the SecurityDialog. Is this releated to setting:
StrataFrameAppLication.IgnoreLoadLocalization = true;
LocalizationKeyNotFoundException
The specified key [SFSTText - None] was not found within the localization database.
KeyNotFoundException
The message key [SFSTText - None] could not be found in the localization data.
Source : MicroFour StrataFrame Base
Stack Trace:
at MicroFour.StrataFrame.UI.Localization.ThrowKeyNotFoundException(String Key)
at MicroFour.StrataFrame.UI.Localization.GetKeyRowFromXml(String Key)
at MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(String TextValueKey)
at MicroFour.StrataFrame.Security.SecurityDialog..ctor(Int32 ProjectPK, ShowProjectPropertiesDeleg ShowProjectProperties, CreatePermissionEditor CreatePermEditor, Boolean ShowPermissions, Boolean ShowRestrictionSets)
at MicroFour.StrataFrame.Security.SecurityDialog..ctor()
at IwSystemsCore.frmIwSystemsMain.action_UserSetup() in c:\VssProjs\IwSystems\Development\IwApplications\IwSystemsMain\IwSystemsCore\SharedCore\frmIwSystemsMain.cs:line 361
at IwSystemsCore.frmIwSystemsMain.dxBarMgr_ItemClick(Object sender, ItemClickEventArgs e) in c:\VssProjs\IwSystems\Development\IwApplications\IwSystemsMain\IwSystemsCore\SharedCore\frmIwSystemsMain.cs:line 831
at DevExpress.XtraBars.BarManager.RaiseItemClick(ItemClickEventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
at System.Windows.Forms.Nativewindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()
Reply
Like
1
StrataFrame Team
S
StrataFrame Team
posted 11 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
Yes, that's because none of the localization files have been loaded. You can manually load the files for the MicroFour StrataFrame Security assembly like this:
MicroFour.StrataFrame.Messaging.Localization.RegisterEmbeddedXmlFile(typeof(MicroFour.StrataFrame.Security.SessionLock).Assembly, "MicroFour.StrataFrame.Security.Messages_1033.XML");
Reply
Like
1
Chris Diesel
Chris Diesel
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 74,
Visits: 300
Great! I'm almost there, but I'm getting the below message when I put that line in:
'Localization' does not exist in the namespace 'MicroFour.StataFrame.Messaging'
Do I need to reference another assembly?
Edited
11 Years Ago by
Chris Diesel
Reply
Like
1
StrataFrame Team
S
StrataFrame Team
posted 11 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
Nope, sorry, Localization is in the UI namespace:
MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(typeof(MicroFour.StrataFrame.Security.SessionLock).Assembly, "MicroFour.StrataFrame.Security.Messages_1033.XML");
Reply
Like
1
Chris Diesel
Chris Diesel
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 74,
Visits: 300
Great, that did it! Thanks for the help!
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Prev
1
2
Jump To Page
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search