473,386 Members | 1,819 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,386 software developers and data experts.

DSN ERROR: ORA 1857 : not a valid time zone while connecting to oracle

hi,
while making an ODBC DSN with oracle i am getting this error:
[oracle][odbc][ora] ORA-1857 : not a valid time zone
Nov 12 '07 #1
5 2420
Did you have the daylight saving time shift (back) last weekend in your area?

If application server and database server have different time settings this can happen. (also applies for virtual servers on one machine, if virtually separated in a test environment)
Nov 12 '07 #2
Hi,
Thanks for reply. Here are the answers for your questions:
Yes we have the daylight saving time shift last weekend in our area.

Application server and database server have same time settings.


Did you have the daylight saving time shift (back) last weekend in your area?

If application server and database server have different time settings this can happen. (also applies for virtual servers on one machine, if virtually separated in a test environment)
Nov 12 '07 #3
Killer42
8,435 Expert 8TB
hi,
while making an ODBC DSN with oracle i am getting this error:
[oracle][odbc][ora] ORA-1857 : not a valid time zone
I suspect the VB forum isn't the best place to get help with this. You might also try asking in, say, the Oracle forum.
Nov 13 '07 #4
Maybe you need to update the Oracle database through the admin tool to take over system time settings, if this was separated before.

I strongly assume the problem is on the Oracle side. These databases tend to be difficult after time shifts. I had to stop and restart a database last year when we had the time shift.

Maybe you can use TORA or TOAD to check if the database time if different to the system time and adjust it. - Tends to be easier while working on a connection, since you can view more things in one window
Nov 13 '07 #5
QVeen72
1,445 Expert 1GB
Hi,

You can Change the Database's Timezone using this :

ALTER database SET TIME_ZONE = 'US/Arizona';
Change this US/Arizona according to your Regional Settings..

But before doing this, Check the TimeZone using :

select DBTIMEZONE from dual;


Regards
Veena
Nov 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Barbara Lindsey | last post by:
Thank you for your help on the trigger question. The RULE worked for most of the cases I had for this, but I have one that is giving me trouble. Here are my table definitions: CREATE SEQUENCE...
9
by: Ben Midgley | last post by:
Please have a look at the code below My problem is the error message "Nonportable pointer conversion", so far as I can tell there is no pointer conversion occuring here so I am assuming it is...
2
by: python_eager | last post by:
Hi i am connecting my database oracle 9i. While connecting i am getting the following error connection = cx_Oracle.connect("myusername", "mypassword", "python") RuntimeError: Unable to acquire...
0
by: antonyliu2002 | last post by:
I am having a hard time connecting to an oracle database from within Visual Web Developer (VWD) 2005 Express Edition. Check out the screen snap shot here: ...
4
by: alegria4ever | last post by:
I have an Access 2000 database that links several tables from Oracle 9. For some reason or another, one of our user repeatedly gets the following error when accessing queries within this database:...
3
by: hakiran | last post by:
Hello all, I have been using Perl DBI the last 6months or so. I use it extensively with MySQL. But recently i tried to access Oracle DB with it and was having trouble. Any help would be...
0
by: sankohar | last post by:
Hi, while making ODBC DSN with oracle i am getting this error: Unable to connect SQLState = S1000 ORA-1857 : not a valid time zone
4
by: musai | last post by:
I have created vb oracle application I installed oracle client in three machine. All machine was reconfigured after oracle installed I could see table and record set through sql plus sheet in...
0
amitpatel66
by: amitpatel66 | last post by:
Hi All, Find below some useful information about Time Zone Conversion in oracle. Hope this would be helpful for many of them since all the real time projects that we work in follow different time...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.