Re: Banging my head: Could not load type ERROR

From: Ken Cox [Microsoft MVP] (BANSPAMken_cox_at_sympatico.ca)
Date: 06/14/04


Date: Mon, 14 Jun 2004 17:00:25 -0400

Just checking whether you are both using the same project name?

It is possible that your Inherits attribute is different.

<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="WebUserControl1.ascx.vb" Inherits="p4320work.WebUserControl1"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>

"darrel" <notreal@hotmail.com> wrote in message
news:uvjF5GlUEHA.1020@TK2MSFTNGP11.phx.gbl...
> What does that MEAN?
>
> I'm working on a VS project with another person. We keep our DLLs and
> files
> in sync with each other. Last week I hit a snag where i kept getting the
> 'could not load type' error with one of my usercontrols. The other person
> can take my exact same files, compile it into his copy, and it works fine.
>
> So, I deleted everything I had, reimported all of his files, and things
> were
> working again on my localhost.
>
> However, I can not change any of the VB code of the one particular
> usercontrol and have VS.net compile it. It seems to ignore my changes and
> goes on using the DLL I got from the other person. If I delete said DLL in
> hopes of forcing a rebuild, I'm back to getting the 'Could not load type'
> error again.
>
> AAAAAARRRRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHH!
>
> Any idea? I've looked online and found that this seems to be a really
> genric
> error and to just keep trying rebuilding/resetting things until it works.
> I'm getting nowhere with this.
>
> -Darrel
>
>



Relevant Pages

  • Re: Banging my head: Could not load type ERROR
    ... Your cached copy of your project is probably out of sync with the master ... > can take my exact same files, compile it into his copy, and it works fine. ... > goes on using the DLL I got from the other person. ... > hopes of forcing a rebuild, I'm back to getting the 'Could not load type' ...
    (microsoft.public.dotnet.framework.aspnet)
  • SP2 from Fujitsu and Windows XP
    ... XP computer and now I can't compile (Rebuild) most of my projects. ... The error message indicates that the problem is connect with this dll ...
    (comp.lang.cobol)
  • Banging my head: Could not load type ERROR
    ... 'could not load type' error with one of my usercontrols. ... can take my exact same files, compile it into his copy, and it works fine. ... goes on using the DLL I got from the other person. ... hopes of forcing a rebuild, I'm back to getting the 'Could not load type' ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)