StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
The given key was not present in the dictionary
The given key was not present in the dictionary
Post Reply
Like
1
The given key was not present in the dictionary
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
Any idea as to why I would get this error? I searched the forum and only found one other post and I'm not sure that the previous thread applies to me.
Reply
Like
1
Replies
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Ok, Here's what I tried. I'm using ver 6.3.3 of DevExpress and ver 1.6 of StrataFrame. I created a blank StrataFrame application...created a BO based on the customers table in the StrataFrame Sample database. I dropped the CustomerBO on the form and dropped the BrowseDialog on the same StrataFrame StandardForm. Then I setup the BrowseDialog and it produced the same results.
I opened this project on two other computers including my own. One of them even had Visual Studio SP 1 installed and we got the same results. On my test computer I uninstalled SF1.6 and re-installed SF1.5 only to discover that this functionality didnt exist in 1.5
I've attached the project I created.
I am including screenshots that show my version of Visual Studio.
My Visual Studio Version
Visual Studio Version of my collegue
Attachments
BrowseDialogTest.zip
(
159 views,
1.00 MB
)
Reply
Like
1
Trent Taylor
Trent Taylor
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
I have made a change to the extensibility DLL that should resolve your problem. The instructions on implementing the changes are below. As a side note, one thing I noticed that wasn't right within your application was your use of the SetConnections() method. This is really something that should never be called outside of the SetDataSources method in the AppMain.vb file. You connections should already be established before you starting showing and loading forms....at least in most cases.
Close down Visual Studio
Drag the DLL into the c:\windows\assembly folder (GAC)
Copy the DLL and XML file to c:\program files\common files\microfour\strataframe
Re-open Visual Studio and you should be good to go!
Attachments
Extensibility.zip
(
223 views,
252.00 KB
)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
The given key was not present in the dictionary
StarkMike
-
18 Years Ago
This can come from a number of different places...where are you...
Trent L. Taylor
-
18 Years Ago
It happens when I use a BO as a search field in a browse dialog. Below...
StarkMike
-
18 Years Ago
You are having a serialization issue with your form. This means that...
Trent L. Taylor
-
18 Years Ago
OK. thanks, i'll digg in. :hehe: Digg in.... get it? :P
StarkMike
-
18 Years Ago
:D hehe...got it. I know that there is something within your...
Trent L. Taylor
-
18 Years Ago
Ok, so I tried it two different ways and got the same results... a...
StarkMike
-
18 Years Ago
Hello?
StarkMike
-
18 Years Ago
If you create a maintenance form or a standard form you will see that...
Trent L. Taylor
-
18 Years Ago
Ok, Here's what I tried. I'm using ver 6.3.3 of DevExpress and ver 1.6...
StarkMike
-
18 Years Ago
I have made a change to the extensibility DLL that should resolve your...
Trent L. Taylor
-
18 Years Ago
Ok I replaced the old extensibility file with the one you provided...
StarkMike
-
18 Years Ago
I don't think you got it replaced then. I am pretty confident that the...
Trent L. Taylor
-
18 Years Ago
I tried that two or three times and its still not working... is there...
StarkMike
-
18 Years Ago
Mike, it could be that the extensibility DLL that we gave you is...
StrataFrame Team
-
18 Years Ago
Here are the DLLs for you.
StrataFrame Team
-
18 Years Ago
Ok. Great! That fixed those problems. Everything works in design time...
StarkMike
-
18 Years Ago
The given key problem was the way you had your connection strings...
Trent L. Taylor
-
18 Years Ago
I tried removing setconnections from AppMain and it still did it. I...
StarkMike
-
18 Years Ago
It could be the business object to which that browse dialog is bound....
StrataFrame Team
-
18 Years Ago
Yup... Thats the problem... it didnt notice it until now. I created...
StarkMike
-
18 Years Ago
Here is the custom property that I was basing a search field on:...
StarkMike
-
18 Years Ago
I have no idea about your question on if a Custom column can be used...
Greg McGuffey
-
18 Years Ago
Thanks Greg! I ALWAYS appreciate advice. :)
StarkMike
-
18 Years Ago
Mike, No, you cannot search off of a custom property. The problem is...
StrataFrame Team
-
18 Years Ago
Hey Greg, I have a question about your post: [quote] I have no idea...
StarkMike
-
18 Years Ago
If you've got enough information within the business object to...
StrataFrame Team
-
18 Years Ago
Based on what Ben said, if it turns out that you need to get data from...
Greg McGuffey
-
18 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search