I keep getting the following error when I try and run an old script that was written prior to my starting here. It utilizes win32-odbc which I am not familiar with (I use dbi) the error is:

Can't load 'E:/Perl/lib/auto/Win32/ODBC/ODBC.dll' for module Win32::ODBC: load_file:The specified module could not be found at E:/Perl/lib/DynaLoader.pm line 206.

Details of the problem:

I went from NT 4.0 (IIS 5.0) service pack 6 where everything was working fine to Windows 2000 Server Service pack 3 and the scripts broke. I have followed every troubleshooting advice for this error that I can find. The drives have all stayed the same with e: being the web drive, perl was pointed there when first installed.

I have done the following things to try and get it to work:

1) Installed win32-odbc twice to ensure it worked (all the files were already there from the original installation of perl 5.6 but I replaced them anyway)

2) I have made sure that all folders and subfolders have the correct permissions

3) I have checked the database itself and its permissions as well as add it as a file dsn and a system dsn.

4) I have tried to install win32-odbc from the ppm as well but it says no ppd file can be found.

5) I have set the repository to Roth Consulting and tried to search the repository but when I do that the search comes up with nothing

I am at a loss here as to what to do… Can anyone help?

Jennifer C. Swartz
Webmaster
Westfield State College

In reply to win32-odbc by Jeniveve

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.