On Tuesday 19 June 2007 16:28, Bill Witherspoon wrote: > > One Python trick that is essential when dealing with backslashes is > > the r"text" construction. Preceding any literal string with the > > letter 'r' tells Python not to interpret backslashes (and any other > > 'special meaning' character) as anything except a normal character. > > So if you have a Windows server that is: \\MySystem\MyServer, you can > > represent that easiest in Python by using: r"\\MySystem\MyServer". > > > > This trick comes in handy for both Windows pathing and when creating > > regular expressions, where you want the backslash interpreted by the > > re module, not the Python string handler. > > > > So try the permutations above, but use: user=r"\\Emcorp\billw" > > No luck Ed. Here's my debug print from pymssql: > > pymssql dbuser = \\EMCORP\billw > pymssql dbpasswd = fakepass > pymssql dbbase = testing > pymssql dbhost = 192.168.51.26 > Dabo Info Log: Tue Jun 19 19:21:05 2007: Application finished. > > I tried a few variations with no success. Thanks for the tip, I hadn't > heard that one. > > Bill. Additional question: Do you have more than one instance of MS SQL running (if so what are their names).
Still would like to see the SQL trace. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
