¹úÍâÖ÷»úACCESS´íÎó80004005
Microsoft JET Database Engine error '80004005'
Selected collating sequence not supported by the operating system.
ÊÇÒòΪ¹úÍâµÄÖ÷»ú²»Ö§³ÖMDBÎļþĬÈϵĺºÓïÆ´ÒôÅÅÐò·½Ê½
Ö»Òª°ÑÅÅÐò¸ÄΪ³£¹æ,ÈçÏÂͼ:
È»ºóÒÀ´Îµã»÷ ¹¤¾ß -> Êý¾Ý¿â³£Óù¤¾ß -> ѹËõºÍÐÞ¸´Êý¾Ý¿â
Ó¦¸Ã¾Í¿ÉÒÔÕý³£Ê¹ÓÃÁË.
ÉÏÎÄÀ´Ô´ÓÚ KinJAVAÈÕÖ¾ (http://jorkin.reallydo.com)
ÔÎĵØÖ·: http://jorkin.reallydo.com/article.asp?id=492
ÔÚÖÐÎÄOS´´½¨µÄAccessÊý¾Ý¿âÒƵ½Ó¢ÎĵÄOS½«»á³öÏÖ:“Selected collating sequence not supported by the operating system”´íÎ󣬽â¾ö·½·¨£º
½â¾ö·½·¨Ò»¡¢
1£©¡¢´ò¿ªÎÒµÄ Microsoft Access £¬Open ÈÎÒâÒ»¸öÎļþ£¬È»ºóµã"tools"£¬Ñ¡ÖÐ Options£¬ÔÙÑ¡ General Ïî¡£×¢ÒâÔÚÓÒÏ·½ÓÐ New Database Sort OrderÏÂÀ¿ò£¬Ñ¡ÖÐ General¡£È»ºó¹Øµô¸ÃÎļþ¡££¨×¢Ò⣬OptionsÖ»ÓÐÔÚÓÐÎļþ´ò¿ªµÄ×´¿öϲÅÄÜʹÓã©
2£©¡¢È»ºó"File" --> "New..." ´´½¨Ò»¸ö¿Õ°×Êý¾ÝÎļþ£¬È»ºó"file" --> "Get External Data" -- "Import"£¬´ò¿ªÎÒµÄÀÏÊý¾Ý¿âÎļþ½«ËùÓÐµÄ tables È«²¿´«µ½ÐÂÎļþÀ´£¬È»ºó±£´æÐÂÎļþ¡£ÎÒÒª×öÕâ²½ÊÇÒòΪÎÒµÄÂÛ̳ÀïÒѾÓÐÐí¶àµÄÊý¾ÝÔÚÀïÃ棬ÎÒ²»Ô¸´ÓÍ·ÔÙÀ´¡£Èç¹ûÄãÔÚн¨ÂÛ̳£¬»òн¨ÏµÍ³Ê±Óöµ½´ËÀàÎÊÌ⣬´ó¿Éн¨ table£¬»òÓà SQL query дÈë³õʼÊý¾Ý¡£
3£©¡¢±£´æ´ËÐÂÎļþ£¬È»ºóÉÏ´«µ½·þÎñÆ÷¡£
½â¾ö·½·¨¶þ¡¢
Ñ¡ÔñÅÅÐò´ÎÐòΪ³£¹æ£¬È»ºóÑ¡Ôñ¹Ø±ÕʱѹËõÊý¾Ý¿â£¬»òÕß×Ô¼ºÊÖ¶¯Ñ¹Ëõ£¬±ØÐëѹËõÊý¾Ý¿â·ñÔò²»ÄÜÐÞ¸ÄÕâ¸öÅÅÐò·½Ê½£¬ÒÔºóн¨µÄÊý¾Ý¿âҲʹÓÃÕâÖÐÅÅÐò·½Ê½
»¹¿É²Î¿¼ÒÔϼ¸ÆªÎÄÕ£º
http://www.vibig.net/Article_Show.asp?ArticleID=243
http://blog.sina.com.cn/s/blog_48f61b780100072y.html
±¾ÎÄÀ´Ô´£ºhttp://www.cnitblog.com/wufajiaru/archive/2009/07/18/43851.html
Ïà¹ØÎĵµ£º
import java.sql.*;
public class ConnectAccess {
/**
* ³õѧÕßÇë×¢Ò⣺
* 1:ÏȽ¨Á¢Ò»¸öaccessÎļþa1.mdb,²¢·ÅÔÚD:\ÏÂ;
* 2:ÔÚÊý¾Ý¿âÎļþa1.mdbÖн¨Á¢Ò»¸ö±íTable1£»
* 3£ºÎªTable1Ìí¼ÓÒ»ÁУ¬²¢²åÈëÖÁÉÙÒ»Ìõ¼Ç¼£»
* 4£º±¾ÎÄÊÇÒ»¸öÍêÕûµÄÀֱ࣬½ÓÄÃÈ¥ÔËÐоͿÉÒÔ¡£
*/
public static void main(Stri ......
ËäÈ»Firebird×ÜÌåÉÏÊDZÈAccessºÃ£¬µ«ÊÇûÓд«ËµµÄÄÇôºÃ£¬ÖÁÉÙÔÚNet»·¾³Ï¡£
1¡¢²âÊÔ»·¾³
¡¡¡¡A¡¢ÏµÍ³»·¾³
¡¡¡¡²Ù×÷ϵͳ£ºWindows XP Professional Server Pack 2
¡¡¡¡CPU£ºIntel(R) Pentium(R) 4 CPU 3.00GHZ 2.99GHZ
¡¡¡¡Äڴ棺1G
¡¡¡¡B¡¢´úÂë»·¾³
¡¡¡¡NET2.0¡¢Access2003¡¢Firebird2.1¡¢
¡¡¡¡FirebirdµÄNET2.0· ......
ÔÚSQL Server ÄÚ²éѯAccess Êý¾Ý, ²¢½«Êý¾Ý±£´æµ½SQL Server
'Jet OLEDB:Database Password=; /*Access ÃÜÂë*/
Data Source=C:\temp\Test.mdb; /*Access Êý¾Ý¿â·¾¶*/
Password=;/*Access¹¤×÷×éÃÜÂë*/
1. ²éѯAccess ±íÄÚËùÓÐÊý¾Ý
SELECT *
from OPENDATASOURCE
('Microsoft.Jet.OLEDB.4.0',
'Jet OLEDB:Database ......
1.´´½¨ Access Êý¾Ý¿â£¬²¢¹Ø±ÕÆäÁ¬½Ó
Access ²Ù×÷µÄÁ½¸öÒýÓÃ:
1) Microsoft ActiveX Data Objects 2.8 Library
2) Microsoft ADO Ext. 2.8 for DDL and Security
/// <summary>
/// ´´½¨Êý¾Ý¿â²¢·µ»ØÁ¬½Ó×Ö·û´®
/// </summary>
/// <param name="dbName">·¾¶+Îļþ ......