This one seems to be a doozy. Yet, so basic. I try to connect from my ActivePerl using Win32::ODBC to the SQL Server 7 Box. Problem Number 1 is that I'm an American in Japan, so all the documentation is in Japanese, so I can't just play with the server to make it work. I receive:
Couldn't open database: [1326] [] "[Microsoft][ODBC SQL Server Driver]
+クライアントの接続が確立できません。" stopped at E:\homepage0828\cgi-
+bin\DBCheck.cgi line 7.
This should translate to:
[State =01000][Error=1326][Microsoft][ODBC SQL Server Driver]
[SQL Server][dbnmpntw] ConnectionOpen (CreateFile())
Error 1326 means "Logon failure: unknown user name or bad password."
I've had the Japanese Sysadmin look at the database 3 times now and he says all the user permission are correct on SQL Svr. The ODBC is set up on WebSvr. It is listed as a System Resource. The Sysadmin says the error I get is incorrect. I have to wonder...
So, what am I missing? Anyone else have problems like this? Where do I go wave my magic wand and hang the dead chickens? ;)
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.