Solved

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

Posted on 2011-09-26
7
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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