DataSourceKey Not Defined


Author
Message
Buffie
Buffie
StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
I am having an issue with a module on my client's machine. I have 4 other modules running on this same machine. I have installed this module on an Virtual box and it works fine. I have installed on another laptop and it works???
When I create my modules I put a Connection choice on my menus so if need be we can change the data connection. The first time you run the module it goes through the data connection wizard but then when you actually make a menu choice you get the attached error. When you run the Connection choice on the menu no Connection Shows up? When you add one and get back to the original connection screen no connection shows up???? I have never had this happen before?
Data is attached to SqlExpress and there is data in the tables.

I just need some help as to where to start looking.
TIA
Attachments
NoDataSourceKey.jpg (259 views, 136.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
The connection data is saved on C:\ProgramData\MicroFour\ConnectionData.
Does the current user have Write permissions to it?


Edited 8 Years Ago by Ivan George Borges
Buffie
Buffie
StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
That is a good question. I don't know that but I will check. Are all connections stored in 1 file or are they stored individually? 
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
In this folder, you will find 2 files, AppKeys.dat and Connections.dat. They will store the unique applications and their respectives connection strings. So, there will be only these 2 files, no matter how many applications or connection strings you create.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi All,

Sometimes depending on the user's right you may need to run your application as "Administrator" so it will have the rights it needs to update the connection data files.

Edhy Rijo

Buffie
Buffie
StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
I thought I set it up to run as an Admin but not sure so I will check that tomorrow. Thanks to both of you.
Buffie
Buffie
StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)StrataFrame User (451 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
Just so both of you know. I set the module to be run as an Admin and All is well. Thank you guys for pulling me in the right direction. 
Somehow I missed setting that on my install package. 
Have a great 4th....
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Glad it worked for you!!!

Edhy Rijo

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