powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Microsoft Access [игнор отключен] [закрыт для гостей] / ADO 2.7
7 сообщений из 7, страница 1 из 1
ADO 2.7
    #32329533
ayv
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
ayv
Гость
Установил на комп VS.NET
при инсталяции была заменена библиотека ADO 2.6
на ADO 2.7 (msado15.dll)
Теперь в проектах .adp + sql2000 не возможно открыть таблицы
"Ошибка ADO: Cannot resolve conflict for column 2 in SELECT statement"
Через формы данные любых таблиц по-прежнему доступны
Попробывал вернуть библиотеку 2.6 не помогло
Кто-нибудь сталкивался с такой проблемой?
Есть пути решения?
Заранее спасибо
...
Рейтинг: 0 / 0
ADO 2.7
    #32329598
Фотография Pavel
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
C ado 2.7 проблем не возникало. Поставь 2.8, может полегчает. И поищи по форумам, где то был разговор о глюках после установки VS.NET
...
Рейтинг: 0 / 0
ADO 2.7
    #32329613
Фотография Senin Viktor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ну от 2.8 точно не полегчает - все новшества это версии всего лишь:"усовершенствованная" безопасность

И случайно полный текст ошибки не Cannot Resolve Collation Conflict for Column 2 in SELECT Statemen?

А SP на Акес есть? А версия акеса какая?
...
Рейтинг: 0 / 0
ADO 2.7
    #32329618
ayv
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
ayv
Гость
Да именно такое сообщение
Access 2002 (10.4302.4219) SP-2
...
Рейтинг: 0 / 0
ADO 2.7
    #32329635
Фотография Senin Viktor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ты бы еще больше наврал бы в тесте ошибки - тебе такого бы насоветовали

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
Knowledge Base  

Collation Conflict Error When You Open an Access Project Table or ViewPSS ID Number:  318989 

Article Last Modified on  7 / 21 / 2003 


 --------------------------------------------------------------------------------
 
The information in this article applies to:


Microsoft Access  2002 

 --------------------------------------------------------------------------------
 

This article was previously published under Q318989
Moderate: Requires basic macro, coding, and interoperability skills. 

This article applies only to a Microsoft Access project (.adp). 


SYMPTOMS
When you open a table or view in a Microsoft Access project (.adp) file, the 
following error occurs: 

ADO Error: Cannot resolve collation conflict for column  2  in SELECT statement 

CAUSE
You receive this error message if the both of the following are true: 

There is or was an installation of Visual Studio. NET on the client computer.
The collation of SQL Server  2000  and the database are different.
The Visual Database Tools are used by Access projects when displaying data from 
SQL Server tables and views. When you install Microsoft Visual Studio .NET, the 
Visual Database Tools shared components are updated to newer versions. The 
newer version of the tools does not work when the collation of the user database 
is different from the collation from the SQL Server Master database. 

RESOLUTION

You can use any of the following three methods to resolve this problem: 

Method  1 : Re-create the User Database by Using the Default Collation of SQL 
Server 
Method  2 : Rebuild the Master Database or Reinstall SQL Server by Using the Same 
Collation as the User Database
Method  3 : Reinstall the Version of the Visual Database Tools that Were Included 
with Office XP
Method  1 : Re-create the User Database by Using the Default Collation of SQL 
Server
You can only specify the collation of a database when it is created. Because 
Access always creates new databases by using the default collation of SQL 
Server, the easiest way to solve the problem is to have Access create a new 
database on the server and then to import the objects from your current database 
into the new database. To do so, follow these steps: 

Start Microsoft Access, and then click New on the File menu.
In the New File task pane, click Project (New Data).
To give your project a new name and to save it to your folder of choice, click 

Create in the File New Database dialog box.
Use the Microsoft SQL Server Database wizard to specify the server settings, and 
then use the wizard to create and connect to your new database.
On the File menu, point to Get External Data, and then click Import.
In the Import wizard, select the project you were previously using to connect to 
SQL Server, and then click Import.

Click Select All on each tab to select all of the objects.
To import the selected items into the new file, click OK. You may get collation 
errors during the import process.

After the import is complete, you can open tables without error. You may also 
have to re-create relationships, other SQL Server objects, and properties that 
were not imported.
Method  2 : Rebuild the Master Database or Reinstall SQL Server by Using the Same 
Collation as the User Database
SQL Server  2000  comes with a utility named rebuildm.exe that you can use to 
create a new Master database with a different collation. You can also specify a 
custom collation option when you install SQL Server. However, the rebuildm.exe 
utility does not come with SQL Server  2000  Desktop Engine. Also, there is also no 
graphical utility that you can use to select a collation option when you install the 
Desktop Engine. You must modify the Setup.ini file to specify a custom collation for 
the Desktop Engine. To learn how to do this, click the article number below to view 
the article in the Microsoft Knowledge Base: 

 301413  ACC2002:  "Configuring SQL Server 2000  Desktop Engine" White Paper Available in Download Center 

Method  3 : Reinstall the Version of the Visual Database Tools that Were Included with Office XP
Remove Visual Studio. NET.
Find and rename the Visual Database Tools folder. By default, this folder is installed to the following location:
C:\Program Files\Common Files\Microsoft Shared\Visual Database Tools 

Start Access  2002 .
To reinstall the files in the renamed Visual Database Tools folder, click Detect and 
Repair on the Help menu.NOTE: Although you can fix the problem in Access by 
following steps  2  through  4 , this is not a good idea because you may experience 
additional problems with Server Explorer in Visual Studio. NET. 

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are 
listed at the beginning of this article. 
MORE INFORMATION
To determine the collation settings for all databases on the server, you can run 
the sp_helpdb system stored procedure in the master database. The status field in 
the recordset that is returned by sp_helpdb displays various properties for each 
database, including its collation setting. 

The error does not occur with functions or stored procedures. Forms and reports 
may continue to work as expected. 
Steps to Reproduce the Behavior
On a clean Windows  2000  computer, install Microsoft Access  2002 , SQL Server 
 2000 , and Visual Studio. NET.
Open the sample database NorthwindCS.adp in Access, and then create the 
NorthwindCS database on the local SQL Server when you are prompted. Verify that 
you can view the tables without an error message.
Link to or create a new SQL Server database with a different collation than the 
server default.
Add a new table.
Change the connection of the NorthwindCS.adp sample file to point to the newly 
added database from step  3 .
Try to open a table. Note that you receive the error message that is mentioned in 
the  "Symptoms"  section of this article.
...
Рейтинг: 0 / 0
ADO 2.7
    #32329652
ayv
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
ayv
Гость
Виктор, большое спасибо
...
Рейтинг: 0 / 0
ADO 2.7
    #32329660
Фотография Senin Viktor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
MSDN благодари :)
...
Рейтинг: 0 / 0
7 сообщений из 7, страница 1 из 1
Форумы / Microsoft Access [игнор отключен] [закрыт для гостей] / ADO 2.7
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]