Solved

Calling an INFORMIX datababse form ASP

Posted on 1998-07-22
2
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
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:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

735 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