Error when select language


Author
Message
Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I hit error while I select language from langauge form. I checked my table and I can see field lng_EventID. Also, I can run RetrieveTextValue() sucessfully. Any ideas?

Thank you

ArgumentException
 lng_eventid is neither a DataColumn nor a DataRelation for table .
Source     : System.Data
Stack Trace:
   at System.Data.DataRowView.get_Item(String property)
   at MicroFour.StrataFrame.UI.Localization.SetActiveLanguageButtonText(Int32 LocaleID)
   at MicroFour.StrataFrame.UI.Localization.SetActiveLanguage(String ApplicationKey, Int32 LocaleID, String UserName)
   at MicroFour.StrataFrame.UI.LanguageSelectionDialog.cmdSelect_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
hmm...could you post the Languages and Message items files so I could take a look at this?  I am not sure without looking at the data what to tell you.
Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
I use SQL Server database as data storage. Here it is.

Thank you

Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

Any news?

Thank you

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
It seems as through the SQL Tables are missing some data... there are only a few columns in the report data that you sent.  Is the structure of the tables a match to the structure of the tables within the StrataFrame database?
Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I use management studio to create "create script" and run against my database.

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Well, all of the columns should be there, then.  Does your StrataFrame database contain the field lng_EventID in the MessageLanguages table?  I believe that the field has been included in the database for quite some time, but it could be that your database does not include it...
Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I checked, and the field exist as shown in attached file.


StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Thanks, Chan, give me a bit to see if I can reproduce it on this end.
Chan
Chan
Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)Advanced StrataFrame User (715 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

Any update?

Thank you

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