So I am working on a website at work that calls a perl script to parse files. After a week or two we finally got it to where a user on their computer could execute the perl script on the server. The problem is that the user, due to the remote access, is REMOTE SERVICE which doesn't seem to be able to see the database. The perl script breaks as soon as you reach...
$dbh = DBI->connect('DBI:ODBC:odbcSourceName')
Now I should mention that when I remote into the server and run the perl script from the console, all is well. So I found this page on the MSDN http://msdn.microsoft.com/en-us/library/ff647402.aspx under the section "To access a local SQL Server database using Network Service" with no luck. It still isn't seeing the database. I saw this thread but it's from 2008. http://www.perlmonks.org/?node_id=695155