Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Class already exists ... help please!!

Thread Tools

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

Alvin Bruney [MVP]
Posts: n/a
this is an forum, you have a windows forms error please post this in
the appropriate newsgroup. Do you have the wrong library imported by c

Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
"Vince" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

> 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(Cre ateParams 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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.IOException: Cannot create a file when that file already exists. Chad Crowder ASP .Net 7 10-24-2009 06:39 AM
How to check if a directory exists? folder.exists() does not work! Ulf Meinhardt Java 8 08-28-2009 12:26 PM
finding if file exists or not in apache webdav server and if exists what is the mime type of it.... Totan Java 0 04-17-2006 05:13 AM
Problems setting a cookie that already exists Alan Silver ASP .Net 2 09-29-2005 08:17 PM
System.ArgumentException: An entry with the same key already exists. George ASP .Net 1 02-25-2005 08:46 PM