Solved

.Net Custom Controls warning message

Posted on 2013-11-27
2
395 Views
Last Modified: 2013-11-27
When I add a third party control to my C# form and it all has is the custom control. I get these 2 warning messages. I am still able to run and build the program.

Warning 1 Type universe cannot resolve assembly: licX, Version=1.1.979.16456, Culture=neutral, PublicKeyToken=b30bccce506e2a92.  0 0

Warning 2 The variable 'schedule1' is either undeclared or was never assigned. C:\Mainline\C# Examples\MultiTest\UserDrawnForm.cs 128 0
0
Comment
Question by:Idarac
[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
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 total points
ID: 39681581
A lot of times custom controls require a license to be designed in Visual Studio.

They still run and build correctly, and will actually (usually) install ok, but it is disabled when you try to design it.  This is the way that the creators of custom controls keep you from abusing your number of licenses or try to limit piracy of their controls.

Chances are, you do not have the correct license installed (the error about the licX).  Either reinstall their package, or verify that you have the correct version installed.

A bad custom control could lead to the second message.  Sometimes they fail to correctly modify the designer.cs file properly when removing or editing them.  Or, this could be a result of the license failure in the first warning.

Hope this helps.
0
 
LVL 1

Author Closing Comment

by:Idarac
ID: 39681698
Yes that's it. I applied the licence and  there you go.

Thanx
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

687 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