[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Calling an INFORMIX datababse form ASP

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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Custom Android App Development is the need of an hour for several businesses. If you go through the right firm for Android Application Development, it can make a huge difference to the ways in which customers interact with your business.
Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
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.
Suggested Courses
Course of the Month7 days, 20 hours left to enroll

607 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