Solved

licenses.licx invalid - "Could not load file or assembly"

Posted on 2011-09-26
7
306 Views
Last Modified: 2012-05-12
I am trying to write my own server controls and have done so pretty effectively.  Now I find that about each time I compile my project, I have to manually delete the "licenses.licx" file from the "MyProject" folder or I get the "Could not load file or assmbly"... message.

Did I do something wrong?  Is there a fix?
0
Comment
Question by:jglazer63
  • 3
  • 3
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36670819
What is the licenses.licx file for?  Do you have 3rd party controls?
0
 

Author Comment

by:jglazer63
ID: 36671090
....i am MAKING 3rd party controls :-)  See original post.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36672658
It just says that you are trying to create server controls, not that you are trying to license these said controls--gotta test assumptions, ya know *BIG GRIN*.  Are you saying that you have a control assembly, and when referencing the control assembly from another application, that you need to remove the license file?  How did you generate the .licx file?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:jglazer63
ID: 36681478
I don't generate the licx file.  I don't know why it shows up.  Unless it has to do with the licensing I am implementing but I don't create it in any code.
0
 
LVL 19

Accepted Solution

by:
Albert Van Halen earned 500 total points
ID: 36708315
Using 3rd party components I did have the same problem.
But only when I switch to 'Design' view for a page / usercontrol it automatically adds the licenses.licx file to the properties folder of the project.

I don't know why. It's kinda stupid.
I just don't switch to design view any more and if I do (than it's by accident because I hate design view), I have to remove it manually...
It seems that there is no other work around for this (stupid) behaviour...
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 36711607
Do you have any 3rd party controls, like Infragistics?
0
 

Author Closing Comment

by:jglazer63
ID: 37083653
This was the culprit
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now