Datagrid cannot initialize data binding -- deploy problem develop on XP-> deploy to Win2k
Posted on 2005-05-04
Deployed application opens a dialog saying "Datagrid cannot initialize data binding".
It seems a XP->Win2k deployment problem.
Description: VB6 SP5 installed on WinXP. Need to deploy to Win2k system (could not resist using Xp for myself).
Application uses among other ocx-es msdatgrd.ocx.
If I use previously made intall package and only overwrite myapp.exe, application starts but grid is empty. SO I guess there is still error but it appears not to be critical. Yet it is still an error.
I installed MDAC 2.8 on target system and it still doesn't help. Same error.
So what is the catch that XP-prepared package does wrong in comparison to "old" package ?
When analyzing the myapp.exe cracking point, I see that my datagrid only appears to have 1 column while it should have 3. And when I rename the columns in runtime, accessing 2nd column causes error because binding was not proper etc.
What resources is binding task trying ta access that it does not get ?
What to do ?
What additional info do you need to be able to help ?