sonborj has asked for the wisdom of the Perl Monks concerning the following question:

What changes do i need to implement on my perl scripts which have been running before on a win98 OS , on a Windows Server 2003 OS ? Specifically , the line use Win32::ODBC is not working. I get an error bad header. any help will be appreciated.

Replies are listed 'Best First'.
Re: WIN32::ODBC on Windows Server 2003
by davidrw (Prior) on Nov 10, 2005 at 02:45 UTC
    What exactly is the error message?

    By "error bad header" do you mean the typical malformed header error from a CGI program? If that is the case, what is in your error log, what happens when you run the script from the command line, and is the script doing things it needs permission for that the IIS user may not have?
    If this is the case, check out the CGI Help Guide and Troubleshooting Perl CGI scripts threads from the Tutorials.
Re: WIN32::ODBC on Windows Server 2003
by GrandFather (Saint) on Nov 10, 2005 at 02:32 UTC

    What version of whos Perl are you using? It looks to me like WIN32::ODBC is core with ActiveState's Perl install.


    Perl is Huffman encoded by design.
Re: WIN32::ODBC on Windows Server 2003
by radiantmatrix (Parson) on Nov 10, 2005 at 15:18 UTC

    It would be most helpful if you could post runnable code that provides a minimal example of the problem, along with a paste of the exact error message you are seeing.

    See How (Not) To Ask A Question for other tips on asking questions with enough information for us to give helpful answers.

    <-radiant.matrix->
    A collection of thoughts and links from the minds of geeks
    The Code that can be seen is not the true Code
    "In any sufficiently large group of people, most are idiots" - Kaa's Law