Solved

Calling an INFORMIX datababse form ASP

Posted on 1998-07-22
2
249 Views
Last Modified: 2013-12-25
When I try connection to an INFORMIX database using an ODBC connection (driver= intersolv 3.01 32bit informix)
everything goes just fine.. I can see it in the data view in Visual InterDev, but when i try

OBJdbConn.Open Session("DataConn_ConnectionString") in a page the server just says

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[INTERSOLV][ODBC Informix driver][Informix]Unable to load locale categories.

anyone know what to do??
0
Comment
Question by:lulle
2 Comments
 

Accepted Solution

by:
ShootThemLater earned 50 total points
ID: 1858620
I proposed an answer to something similar in another topic area.  Does the following help?

It may be due to user registry setup.  When you're querying with Visual Interdev, your Informix config info is stored in the
Registry key HKEY_CURRENT_USER\Software\Informix\ENVIRONMENT - this may not be set up for the user that the web is accessing Informix as (possibly, although this is drawing from experience of something else that's similar).

It is possible that even if you have everything set up correctly, for some reason it will still be trying to access as the default user.

Try copying the Informix keys from the above location to the default user (HKEY_USERS\.Default) so you will have a directory something like  HKEY_USERS\.Default\Software\Informix\ENVIRONMENT\INFORMIXDIR etc.

Also, the data source should be set up as a system DSN not a user DSN, for the same sort of reason...
0
 

Author Comment

by:lulle
ID: 1858621
Thanks for the help... but I managed to solve the problem by my "self".. found a FAQ on the net where someone told me to run regcopy... dunno why.. but it started to work...so well u´ll get the points anyway..
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now