473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Jet 4.0 and Regional Settings problem

Hi, I hope somebody can help here.

I have an app. that uses both MS Access 2000 and SQL Server databases
running under XP and 2003 server.

The problem I have encountered during testing was that if I changed the
Regional & Language settings to 'Mongolian (Cyrillic)', all Access queries
fail, however the SQL server ones continue to work fine. I thought it was my
code but apparently not so.

I tried the following test code in VB 6 with the Northwind Database:

Dim oRS as New ADODB.Recordset

oRS.Open "SELECT * FROM Suppliers", Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\Documents and Settings\SeanF\Desktop\NWIND.MDB;Persist Security
Info=False

I get a run time error:

-2147217865 (80040e37) The Microsoft Jet database engine could not find the
object 'HomePage'. Make sure the object exists and that you spell its name
and the path correctly.

If I query the Orders or Customers table the same type of error message is
generated. Once I switch the locale to English (United States) it works as
expected. I initially thought it was failing because of the Cyrillic context
however the same thing happens if I switch the local to Zulu and a few other
non-Cyrillic based locales. Latin based language locales all seem to work
fine.

Can anyone offer any advice on how to deal with this? It certainly looks
like a Jet 4.0 specific issue. I intend to release my product to the world
market and this seems like a major problem to me.

I have tested this with the following configurations:

Windows XP (SP1 & SP2)

Windows Server 2003

Visual Basic 6.0 using MDAC 2.5, 2.6, 2.8

Jet 4.0 SP3 & SP8

Any help appreciated.

-Sean.


Nov 13 '05 #1
1 2575
Hi
excuse my top-posting on this one.
Michal Kaplan is the expert on this sort of thing, you might start by
looking at his web site
www.trigeminal.com/
David
On Thu, 6 Jan 2005 22:49:02 +1300, "John Smith" <jo**@internet.com>
wrote:
Hi, I hope somebody can help here.

I have an app. that uses both MS Access 2000 and SQL Server databases
running under XP and 2003 server.

The problem I have encountered during testing was that if I changed the
Regional & Language settings to 'Mongolian (Cyrillic)', all Access queries
fail, however the SQL server ones continue to work fine. I thought it was my
code but apparently not so.

I tried the following test code in VB 6 with the Northwind Database:

Dim oRS as New ADODB.Recordset

oRS.Open "SELECT * FROM Suppliers", Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\Documents and Settings\SeanF\Desktop\NWIND.MDB;Persist Security
Info=False

I get a run time error:

-2147217865 (80040e37) The Microsoft Jet database engine could not find the
object 'HomePage'. Make sure the object exists and that you spell its name
and the path correctly.

If I query the Orders or Customers table the same type of error message is
generated. Once I switch the locale to English (United States) it works as
expected. I initially thought it was failing because of the Cyrillic context
however the same thing happens if I switch the local to Zulu and a few other
non-Cyrillic based locales. Latin based language locales all seem to work
fine.

Can anyone offer any advice on how to deal with this? It certainly looks
like a Jet 4.0 specific issue. I intend to release my product to the world
market and this seems like a major problem to me.

I have tested this with the following configurations:

Windows XP (SP1 & SP2)

Windows Server 2003

Visual Basic 6.0 using MDAC 2.5, 2.6, 2.8

Jet 4.0 SP3 & SP8

Any help appreciated.

-Sean.



Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: nerman | last post by:
Hello I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78 But when I open my web site all number are...
1
by: Laurence Neville | last post by:
This is regarding a change in the Short Date format under Hebrew Regional Settings, that has caused huge problems in our ASP web application. The change appears to have been introduced sometime...
4
by: Jonathan | last post by:
Dear All, I am trying to set a webserver to use French regional settings for testing ASP pages. According to http://support.microsoft.com/kb/q306044, for IIS5, this is a matter of changing...
2
by: Bob Dydd | last post by:
Hi Everbody Question Changing the regional settings ie. from UK to US AUS etc, Access retains the original currency format that the application was created in. So if an mdb that is written...
1
by: John | last post by:
Hi, The following behavior when using J# vs. C# is really bothering me. When I have the regional settings on my workstation set to a non-US settings (eg: Danish); it seems that J# disregards...
12
by: magister | last post by:
Hello, I know I can set the Culture to what I want, but shouldn't the current culture be taken from the regional settings on the web server's control panel!!! Mine is set to "united kingdom"...
7
by: Fred Flintstone | last post by:
I'm writing a VB.Net windows forms application. This line of code: Personal.EffectiveDate = GridRow2.Cells("New Value").Value.ToString.Trim Fails with this error: Cast from string...
16
by: Colmag | last post by:
I've written an application with vb.net 2003 (framework 1.1) which automates a 3rd party viewing/printing application (via an activex control). I've released several versions over the last year...
1
by: Luis Lanuza | last post by:
Hi all, I can't get Visual Studio 2003 to recognize my WindowsXP SP2 regional settings. For ex: On Control Panel / Regional Settings / Regional Options Tab, my standadrs and formats corresponds...
2
by: pax | last post by:
Hello there! Here is my problem, in the simplest scenario: - an Access 2000 format database (created with Access 2003) - a simple table that contains one single field defined as Number, Decimal,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.