Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Sybase Version: 10.0.1.3976 Trying to get to work on Win7/64 bit. I can get the database to run and our PowerBuilder application to run. What I can't get to run is our application services that look at the database to see if they are needed.

When each of the services try to start up, I get "Cannot find the language resource file (dblgen10.dll)".

Looking at the service start up log what I get is below:

04-23-13 12:55:25: Exception while attempting to connect & authenticate. iAnywhere.Data.SQLAnywhere.SAException: ðfØ at iAnywhere.Data.SQLAnywhere.SAConnection.Open() at com.ints.util.Database.SybaseDatabase.GetConnection()

What do I need to do for the services to find dblgen10.dll.

asked 23 Apr '13, 17:18

donc's gravatar image

donc
31113
accept rate: 0%


Store it in a directory which is in the environment variable PATH, or you can install it into Windows\System32...

permanent link

answered 24 Apr '13, 03:58

Martin's gravatar image

Martin
9.0k130169257
accept rate: 14%

edited 24 Apr '13, 03:59

I have checked the environmental variable PATH and copied dblgen10.dll to several places. I just now put it in windowssystem32 and still get the same cannot find dblgen10.dll.

(24 Apr '13, 10:29) donc
Replies hidden

What bitness (32 bit/64 bit/ AnyCPU )is your application services? By default, .NET applications compile as AnyCPU which allows them to run on either as 32 bit on 32 bit platforms or 64 bit on 64 bit platforms (and differing chipsets i.e. Itanium vs x64). You need to ensure that the client components required by the SA .NET client match the bitness that the managed code is running. What bitness is the dblgen10.dll that you deployed?

(24 Apr '13, 14:57) Chris Keating

The dblgen10.dll is a 32 bit module.

(24 Apr '13, 16:01) donc

Are your application services also 32 bit?

(24 Apr '13, 16:02) Chris Keating

I am using the services.msc file from my win7/64 vm. How can I tell if it is 32 or 64 bit?

(24 Apr '13, 16:12) donc

The services.exe shows PE32+ executable (GUI) x86-64, for MS Windows.

(24 Apr '13, 16:17) donc
showing 1 of 6 show all flat view

Using .net CorFlags /32bit+ {module} on each of the services I am starting, has made them work.

Thanks for the help.

permanent link

answered 24 Apr '13, 17:55

donc's gravatar image

donc
31113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×10

question asked: 23 Apr '13, 17:18

question was seen: 3,956 times

last updated: 25 Apr '13, 18:12