Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / February 2006

Tip: Looking for answers? Try searching our database.

C# Class Wizard broken after Windows Update

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pete Moss - 07 Jan 2006 16:59 GMT
I recently performed a Windows Update on 2 XP SP2 machines. Since then I have
2 VS .NET 2003 IDE problems that are driving me crazy. The first is that I
can no longer use the C# Class Wizard. From Class View if I select Add->Add
Class.., the wizard appears followed by an error dialog about a script error:
A Runtime Error has occurrred.
Do you wish to Debug?
Line 499
Error: Object doesn't support this property or method
If I select Yes to debug the offending line seems to be
ClassNamespace.Clear() in the function PopulateNamespaces() in default.htm. I
am dead in the water here. Can no longer use C# Class Wizard because of this.
Things worked just fine before the recent set of Windows Updates. Anyone know
how to fix this?

A 2nd problem that started at the same time is that I lost the Language
Filter capability in VS Help. I have my filter set for C# but if I use help
for a class or method, I am always getting help for all languages. Again,
this worked before my recent Windows Updates.
Pete Moss - 15 Feb 2006 16:38 GMT
It has been many weeks since I originally posted this problem, but recent
events have tied together all sorts of weird behavior and I found the problem
and a solution. Other weird behavior I had noticed is that it seems that
ActiveX controls are not being loaded into pages. This seems to be true even
when executing content in the My Computer zone. I also noticed that I could
not go to the Windows Update site. It tries to load an ActiveX control but I
see nothing and I see no Internet Explorer Information Bar.  And I noticed
that the tdr.ocx control was not loading either.  I noticed that the
default.htm script also tries to load an ActiveX control so this must have
been failing -- a point I failed to notice when I wrote the first post.

After all sorts of queries, I came across a post in this very newsgroup that
had the answer
http://support.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.windows
update&mid=60112b55-a428-4fd6-ba70-342d2ee2640d&sloc=en-us&sloc=en-us


which led to the following KB article describing my problem:
http://support.microsoft.com/kb/909889

It turns out that installing an IE security update 896688 (MS05-052) breaks
all of the above functionality. It can be repaired by re-creating a Registry
key included in the OLEfix.reg script referenced in the above articles. As
soon as I ran that reg patch, everything started working again.

Problem solved.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.