Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a qvw that loads data from a Microsoft Access Database table. The script runs find if I manually reload it but it will not reload from a "reload" in Publisher. The error is :
Error: SQL Error:[Microsoft][ODBC Driver Manager] Data source name not found and no default printer specified SQL State: IM002
Any ideas?
Thanks,
Stephen
Stephen,
Did you configure the ODBC connection on the server? If so, did you make sure it was a SysDSN and not a UserDSN? When you reload something manually you are doing it with your own username, when Publisher runs a task it does so under its user account.
Regards,
We have tried to install but Access needs a 32 bit driver and SysDSN seems to only be looking for a 64 bit driver as we are running the QV server and publisher as 64 bit.
I also did and OLE DB connection and the same thing happens. I can run the reload by publisher can't.
Any other ideas?
Stephen
Well, that's the problem. There are no 64-bit drivers for Office. If you want to upgrade to v10, you can simulate a 32-bit connection. If you're using v9 (which is likely), you would have to do the following as a workaround:
Note that this is not ideal since you will need to license the local client and waste one of your licenses on that. If that's not acceptable, you need to move away from 64-bit. Either way you would be losing the advantages of 64-bit, but you have Microsoft to blame for that...
Regards,
Yes, I was afraid that woud be the work aroung. The Access database runs each night after getting a file from SAP. So I am having the database create some "csv" files that will (ya) update the QV doucment in publisher.
Thanks for you input Vlad.
Stephen
In addition to that detailed guide, there is actually a redistributable package from Microsoft for Access. They overwrite the existing from any Office installation except for the 2010 version, but in a server environment, where usually there are not desktop programs, it may worth installing. They run on 64 bit servers.
I'm currently testing them with both QV10 and QV9 servers
Regards.
Thanks Miguel, we'll try that.
Stephen
Miguel,
I've seen that package before. While it does run on x64 machines, it does not give you x64 drivers. Meaning, it just runs in WOW. So I think the same problems will occur. If I'm wrong about that, please let me know!
Thanks,