|
|
|
DB2 .Net 2.0 Data Provider и DB2 Express-C
|
|||
|---|---|---|---|
|
#18+
Здравствуйте. Пытаюсь работать с DB2 Express-C через DB2 .Net 2.0 Data Provider. Использую VS 2005 и Add-ins for Visual Studio 2005. Установилось все без ошибок. Из среды VS через Server Explorer подключаюсь к базе DB2 без проблем, все таблицы и данные доступны. Создаю простейший проект на C# с гридом и одним Data source. При попытке запуска проекта получаю такое: System.TypeInitializationException was unhandled Message="The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception." Source="IBM.Data.DB2" TypeName="IBM.Data.DB2.DB2Connection" StackTrace: at IBM.Data.DB2.DB2Connection..ctor() at WindowsApplication7.SAMPLEDataSetTableAdapters.SALESTableAdapter.InitConnection() at WindowsApplication7.SAMPLEDataSetTableAdapters.SALESTableAdapter.get_Connection() at WindowsApplication7.SAMPLEDataSetTableAdapters.SALESTableAdapter.InitAdapter() at WindowsApplication7.SAMPLEDataSetTableAdapters.SALESTableAdapter.get_Adapter() at WindowsApplication7.SAMPLEDataSetTableAdapters.SALESTableAdapter.Fill(SALESDataTable dataTable)... Кто что может подсказать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.04.2006, 14:13 |
|
||
|
|

start [/forum/topic.php?fid=17&msg=33691788&tid=1353350]: |
0ms |
get settings: |
7ms |
get forum list: |
11ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
50ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 201ms |
| total: | 308ms |

| 0 / 0 |
