Hello,
I uninstalled SDAC 3.8 standard and installed 4.0 professional. When I open existing forms with TMSConnection objects, I get an "Invalid Property" error. Can anyone tell me what is wrong and how to work around this? Also, I cannot open the help files for 4.0. Is there a help application required?
Thanks,
Joe
Upgrade from SDAC 3.8 std to 4.0 pro
Open your *.dfm file in text editor and replace "Options.Provider = 'SQLOLEDB.1'" with "Options.Provider = prSQL" or, if you use SQL Native Client as an OLE DB provider,
replace "Options.Provider = 'SQLNCLI.1'" with "Options.Provider = prNativeClient".
You can also just remove this string and assign a provider in Delphi IDE.
replace "Options.Provider = 'SQLNCLI.1'" with "Options.Provider = prNativeClient".
You can also just remove this string and assign a provider in Delphi IDE.
I just updated to sdac4 and have the same issue.
If I use an editor like Ultraedit, I'm basically editing in hex mode, which seems dubious to me.
When the GUI complains, should I select Ignore or Cancel in such a case? If I select cancel, I cannot open the visual form.
If I do an ignore it wipes the SQL objects! except for MSConnection1!
I don't want to lose all my queries!
How can I do this? Delphi won't let me open it visually, due to the property errors.Open your *.dfm file in text editor
If I use an editor like Ultraedit, I'm basically editing in hex mode, which seems dubious to me.
When the GUI complains, should I select Ignore or Cancel in such a case? If I select cancel, I cannot open the visual form.
If I do an ignore it wipes the SQL objects! except for MSConnection1!
I don't want to lose all my queries!
Follow the next steps:
1. Start your Delphi IDE.
2. Select the File->Open item in the main menu.
3. In the open dialog select "Delphi form (*.dfm, *xfm)" as file type and your dfm file as file name, and click the "Open" button. Delphi will open your dfm file in the text format.
4. Replace "Options.Provider = 'SQLOLEDB.1'" with "Options.Provider = prSQL" or, if you use SQL Native Client as an OLE DB provider, replace "Options.Provider = 'SQLNCLI.1'" with "Options.Provider = prNativeClient". You can also just remove this string and assign the provider in the Delphi IDE.
5. Save your dfm file and open the project.
1. Start your Delphi IDE.
2. Select the File->Open item in the main menu.
3. In the open dialog select "Delphi form (*.dfm, *xfm)" as file type and your dfm file as file name, and click the "Open" button. Delphi will open your dfm file in the text format.
4. Replace "Options.Provider = 'SQLOLEDB.1'" with "Options.Provider = prSQL" or, if you use SQL Native Client as an OLE DB provider, replace "Options.Provider = 'SQLNCLI.1'" with "Options.Provider = prNativeClient". You can also just remove this string and assign the provider in the Delphi IDE.
5. Save your dfm file and open the project.
Thanks, but after doing that, on re-opening the project, I still get "MSConnection1.Options.Provider: Invalid property value".
I did find the error though, I had:
object MSConnection1: TMSConnection
...
Options.Provider = 'prSQL'
And it should not be quoted, but rather:
Options.Provider = prSQL
(I mention this for reference for other readers..).
So thanks, problem solved,
I'm a step further after my upgrade
I did find the error though, I had:
object MSConnection1: TMSConnection
...
Options.Provider = 'prSQL'
And it should not be quoted, but rather:
Options.Provider = prSQL
(I mention this for reference for other readers..).
So thanks, problem solved,
I'm a step further after my upgrade
