Solved

Hi I need Urgent Response:Having Problem with Costum control when shifted to another pc

Posted on 2004-09-20
6
144 Views
Last Modified: 2010-04-15
hi
 i need urgent response

 i have developed some costom controls using .Net 2003 C# and use it in a project it is working fine but when i put that project into some another pc wiht 2003 .net c# and when i open the form containg the Costom conctrols i got err messages saying refreing to that controls ,that the type u r refreing in assembly is not that u have referenced.

 i have referenced all the librarys and i have also included the source of the librarys in that project and bulit them again but in vain

 also when i open the form all the contols or disapear from the form and the same err comes that i hvae quoted above

 please i nedd it very urgent

 Thanks
and Good luck for 300 Points
---------------------------------
0
Comment
Question by:TariqRahim
[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
6 Comments
 
LVL 5

Expert Comment

by:jjacksn
ID: 12109642
I have had this problem as well and do not know the solution.  The only thing I can recommend is this:

close all forms in the project.  Add in the reference, and build.  If there are no errors, then try adding in the controls into forms.  You will still get Designer errors, but the code should compile. Every once in a while, all of the controls will disappear from my forms.  

I believe the stems from lack of desinger support in your custom controls.  
0
 
LVL 4

Accepted Solution

by:
somnatic earned 300 total points
ID: 12110007
try putting your customs controls into the Global Assembly Cache .. Therefore you need to sign them with a strong name


The thing that helps with the control problem:
* Close all files (not the project itself, only the files)
* Remove all References
* Re-Add all References
* Save (do not rebuild)
* Close Visual Studio
* Reboot
* Open Visual Studio (Now no file should be visible)
* Rebuild All

If no error appears, the form should be displayed again
0
 
LVL 8

Expert Comment

by:rajaloysious
ID: 12110669
When you are using the source projects of the custom controls..
closing all the designers of the custom control and then rebuilding the project may help...

-Good Luck
Cheers
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

617 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