Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

ODBC Driver not found

i have a vb program using user documents.  In the program, ODBC is used to connect a sql server to get data.
The program is compiled in IIS and the dsn is created in IIS too.

I have 3 clients with different OS, Japanese Window 98, Simplied Chinese Window 98 and English Window 98.

Once I access the html generated by the vb, English and Simplied Chinese can downloaded the page successfully.  However, for the Japanese one, it always prompt me that the data source of ODBC driver not found.

Why?



0
yyjulie
Asked:
yyjulie
  • 4
  • 4
  • 2
  • +2
1 Solution
 
CJ_SCommented:
Check first if the user has ODBC providers. Easily checked in the configuration window where you normally create a new ODBC. Check if the provider you are using is in that list.

If it is not in that list, you need to install it. I assume that downloading the MDAC 2.6 from the Microsoft site will solve the whole problem.

regards,
CJ
0
 
yyjulieAuthor Commented:
Is that you mean I should download the MDAC 2.6 for each client PC that accesses the vb program from IIS?  And you mean the client PC uses its own odbc driver when accessing vb program?

I don't understand why is not IIS get data from sql server uses its ODBC then download the page to client.....
0
 
gbarenCommented:
For an ActiveX Document application, you do need the DSN and MDAC on each client. It is not like ASP, an ActiveX document runs on the local computer, not on the server.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
yyjulieAuthor Commented:
I installed mdac on japanese PC. It can show me the page in which a chart display.  Once I click on a chart, it failed. it can't download another page (it should show me another chart). A message prompt me to save the xxx.vbd file. This does not happen in English pc  AND simplied chinese PC....
0
 
CJ_SCommented:
I guess the browser-settings are different that it won't allow Active Documents :-/...I have no additional idea what the problem could be.

regards,
CJ
0
 
yyjulieAuthor Commented:
i'm not agree because the first page (chart) is also ActiveX document.
Here I show me some codings.
In the vb program,

Private Sub ChartA_Click
   Hyperlink.NavigateTo "./ChartB.htm"
End Sub


In the ChartB.htm,

<HTML>
<OBJECT ID="ChartB"
CLASSID="CLSID:6F94FB05-0619-11D5-A8DD-00306E00A7AC"
CODEBASE="Project.CAB#version=1,0,0,1">
</OBJECT>

<SCRIPT LANGUAGE="VBScript">
Sub Window_OnLoad
     Document.Open
     Document.Write "<FRAMESET>"
     Document.Write "<FRAME SRC=""ChartB.VBD"">"
     Document.Write "</FRAMESET>"
     Document.Close
End Sub
</SCRIPT>
</HTML>
0
 
gbarenCommented:
Are they all using the same database? Maybe the Japanese version is corrupt?
0
 
yyjulieAuthor Commented:
yes, they are using the same database.
Actually, i just install MDAC in client PC without creating any DSN.
0
 
CJ_SCommented:
Isn't it:
UserDocument.HyperLink.NavigateTo "othervbdfile.vbd"

So, installing MDAC did solve the actual problem?

regards,
CJ
0
 
CJ_SCommented:
And you know that if you execute that script you wrote down that the object-tag will be gone, and thus no OBJECT actually loaded...


<HTML>
<OBJECT ID="ChartB"
CLASSID="CLSID:6F94FB05-0619-11D5-A8DD-00306E00A7AC"
CODEBASE="Project.CAB#version=1,0,0,1">
</OBJECT>

<SCRIPT LANGUAGE="VBScript">
    Document.Write "<FRAMESET>"
    Document.Write "<FRAME SRC=""ChartB.VBD"">"
    Document.Write "</FRAMESET>"
</SCRIPT>
</HTML>
0
 
DanRollinsCommented:
Hi yyjulie,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept CJ_S's comment(s) as an answer.

yyjulie, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
Computer101Commented:
Comment from expert accepted as answer

Computer101
E-E Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now