Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Calling an INFORMIX datababse form ASP

Posted on 1998-07-22
2
Medium Priority
?
282 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

885 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