I'm trying to migrate my application from VS2008 to VS2010 and in doing so, I'm rebuilding the website side of the project from scratch. Taking the opportunity to clean-up my HTML and CSS. I've just dropped on a WebTextEditor onto the blank website/page and I'm getting the attached error when I try to build.
The error is obvious - something is trying to run lc.exe from "C:\Program Files" whereas because I'm running 64-bit Windows 7, it's in "C:\Program Files (x86)".
How do I reconfigure/fix this?
Thanks, Rob.
Hello Rob,
Please let me know if you need further assistance with this issue.
Hi Rob,
I've checked in with one of our engineers and he thinks the project may choose the directory for LC.exe based on some settings of the project, such as building against Any CPU while on a 64-bit machine. He also said he's come across this issue when an SDK is missing or not installed correctly like in this case.
If you have any further questions with this, please let me know and I'll be glad to help.
Hi Michael,
Thanks for the link. Interesting reading and certainly one to remember. But I think in my case, it is the incorrect path to lc.exe that's causing the problem - which the re-installation of SDK v6.1 fixed. I'm a big fan of virtual machines so I'll start building a clean-build test bed to see if it can be repeated.
Cheers, Rob.
Dear Rob,
Thank you for contacting Infragistics!
We have received your support request concerning the licences error, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and my first question is have you tried clearing out the contents of your application's licenses.licx file?
I found the following blog that explains the purpose of the licenses.licx file. *Please note this site is not owned or maintained by Infragistics.
http://community.devexpress.com/blogs/ctodx/archive/2009/03/06/licenses-licx-file-woes.aspx
Looking forward to hearing from you.
I think I've fixed this. There are many references on the web to problems with LC.EXE and 64 bit Windows. One of them recommended installing the Windows v6.1 SDK again. Before I did this, I had the following folders on my C: drive:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A" - not a lot in this folder but LC.EXE was there
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A" - full of many files including LC.EXE
However, notice these are both in the (x86) path whereas the error message was referencing the non-X86 flavour.
On installing Windows 6.1 SDK for Windows 2008 (what the heck, W7 is very similar core to W2k8) from here:
http://www.microsoft.com/en-us/download/details.aspx?id=11310
It worked - well I had to install it again and select .NET developer tools manually to get it to install LC.EXE - by default it puts lots of other stuff in there but not LC.EXE! It also installed this lot in here:
"C:\Program Files\Microsoft SDKs\Windows\v6.1"
Which now matches the error message and voila App_Licenses.dll is appearing in the bin folder.
Couple of questions here for Infragistics dev team: did they put those few files in the first folder above manually? If so, your installer needs tweaking when installing on 64 bit Windows.
Secondly, if not, should something be changed to reference the v7.0a version?
Rob.