ASP.NET Licensing problem

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
jkucera
Posts: 10
Joined: Wed 27 Jun 2007 08:39

ASP.NET Licensing problem

Post by jkucera » Mon 27 Jul 2009 19:59

I created a new Website in VS2008 (file system or local IIS) which I want to publish to a remote server. So I do Tools,PostgreSQL,License information... next I fix the missing license file. So far, so good. The licenses.licx contains:

Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql, Version=4.55.37.0, Culture=neutral, PublicKeyToken=09af7300eec23701

And when try to "Build runtime licenses" from the context menu on licenses.licx, the following error occurs:

Error 1 ProjectPath\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

The last part of the error is in Czech, stating something like:
An attempt was made to read data in incorrect format.
(Byl učiněn pokus načíst program v nesprávném formátu.)

Any idea?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 28 Jul 2009 08:19

This is a Visual Studio issue. Probably something is wrong with its installation. Please refer to MSDN ( http://msdn.microsoft.com/en-us/library ... ks.lc.aspx ). Maybe this will help.

swaxolez
Posts: 5
Joined: Thu 28 Feb 2008 00:40

Post by swaxolez » Sat 01 Aug 2009 21:11

I have the same problem when I try to build runtime license:

C:\Users\William\Documents\Visual Studio 2008\WebSites\PCFS\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.


I am at a loss?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 03 Aug 2009 08:16

The lc.exe file is a .NET license compiler. If you miss it, you have a problem with the .NET Framework or
Visual Studio installation. Please specify the full versions of your .NET and VS.

Post Reply