Wednesday, 11 April 2012

Where to put the dotNetCharting license file in Windows Server 2008 for a SharePoint application

We had a problem with our dotNetCharting images displaying the only in production demo message as it could not find the license file. This was only occurring on our Windows Server 2008 server and not on our Windows Server 2000 server. We have a SharePoint site so placing the licence file into the bin directory would not work as  SharePoint  deploys differently to normal websites and doesn't have a bin directory as everything lives in the GAC.

The license file in Windows Server 2000 resided in this path:

C:\Documents and Settings\All Users\Application Data\dotnetcharting\xyz.lic

The solution for Windows Server 2008 was to put the license file into this path:

C:\ProgramData\dotNetCharting\xyz.lic

Gotta love SharePoint  :(

No comments: