Re: Class already exists ... help please!!

Discussion in 'ASP .Net' started by Alvin Bruney [MVP], Apr 6, 2004.

  1. this is an asp.net forum, you have a windows forms error please post this in
    the appropriate newsgroup. Do you have the wrong library imported by c

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/27cok
    "Vince" <> wrote in message
    news:...
    > I'm getting the following error when trying to create a new instance of a

    class in my webform. Any ideas?
    >
    > Server Error in '/TestSunMiScale' Application.
    > --------------------------------------------------------------------------

    ------
    >
    > Class already exists
    > Description: An unhandled exception occurred during the execution of the

    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.
    >
    > Exception Details: System.ComponentModel.Win32Exception: Class already

    exists
    >
    > Source Error:
    >
    > An unhandled exception was generated during the execution of the current

    web request. Information regarding the origin and location of the exception
    can be identified using the exception stack trace below.
    >
    > Stack Trace:
    >
    >
    > [Win32Exception (0x80004005): Class already exists]
    > System.Windows.Forms.WindowClass.RegisterClass() +1089
    > System.Windows.Forms.WindowClass.Create(String className, Int32

    classStyle) +181
    > System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp) +215
    > System.Windows.Forms.Control.CreateHandle() +212
    > System.Windows.Forms.Control.get_Handle() +60
    > System.Windows.Forms.Control.CreateHandle() +199
    > System.Windows.Forms.AxHost.CreateHandle() +254
    > System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) +157
    > System.Windows.Forms.Control.CreateControl() +19
    > ScaleInterface.clsScale..ctor() +49
    Alvin Bruney [MVP], Apr 6, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chad Crowder
    Replies:
    7
    Views:
    21,496
    hemant.yadav
    Oct 24, 2009
  2. George
    Replies:
    1
    Views:
    6,168
    Jamie
    Feb 25, 2005
  3. Alan Silver
    Replies:
    2
    Views:
    380
    Alan Silver
    Sep 29, 2005
  4. Thorsten Meininger
    Replies:
    1
    Views:
    455
    Sudsy
    Oct 13, 2004
  5. priyom
    Replies:
    1
    Views:
    1,246
    timoi
    Oct 5, 2006
Loading...

Share This Page