adude Posted June 23, 2004 Posted June 23, 2004 Hi, I've been using Visual Basic .NET 2003 Standard for a long time already. Recently, (although I'm not sure if this is a related incident or not) my XP Home computer (with 3 GHz and 1 GB RAM) gave me a BSOD. When I restarted, XP gave me a message about something like it had restored the Registry after some kind of error. I had to reinstall Norton AntiVirus and rearrange some IE links. But, now in VB.NET, whenever I make a new project or Add New Item > Windows Form, it gaves me either "ClassFactory cannot supply requested class" or "Unspecified error". Also, I can view previous project, but I can't add new forms to them. And when I create a new project, it does create the proper folder, etc, just not the Windows Form "Form1". I was wondering if anyone knew what the origin of this kind of error is. I already did a "Repair/Reinstall" of VB.NET, but the problem didn't go away. Thanks. Quote
pelikan Posted June 23, 2004 Posted June 23, 2004 XP probably rolled back over some of VS's registry keys - suggest you reinstall the product. Quote IN PARVUM MULTUM
adude Posted June 23, 2004 Author Posted June 23, 2004 Do you mean completely uninstalling and then reinstalling? (B/c I already Repaired/Reinstalled VB.NET) Quote
pelikan Posted June 23, 2004 Posted June 23, 2004 if what you did, didn't work completely uninstalling and reinstalling seems next. VS uses some gaziilion registry keys - it's all com Quote IN PARVUM MULTUM
adude Posted June 23, 2004 Author Posted June 23, 2004 I completely uninstalled and reinstalled it.... However, it still gives the message. Also, for some reason, the uninstall didn't get rid of all the registry keys b/c after reinstalling, it still had the list of my last 20 projects. :( Is there anything else I can do? Granted the fact that I'm not too good with the registry, but I can manage if I have to. Quote
pelikan Posted June 23, 2004 Posted June 23, 2004 sorry i can't be of more help - I've been using the GPL SharpDevelop to learn .NET, and just Monday managed to get a free copy of VB Net Standard, so don't really know enough - sounds like your templates (used to create new stuff) are missing or corrupt. Quote IN PARVUM MULTUM
adude Posted June 23, 2004 Author Posted June 23, 2004 thanks for the help... can anyone else offer any advice? I could delete delete the HKEY_LOCAL_MACHINE > Software > Visual Studio "registry folder", but I'm afraid making any more changes to the registry would mess it up more... Quote
adude Posted June 24, 2004 Author Posted June 24, 2004 Ok.... I uninstalled everything... even the .NET SDK... I deleted the Registry Folder... I reinstalled everything inc. VB.NET... Still the exact same message... Any help would be greatly appreciated... Quote
adude Posted June 24, 2004 Author Posted June 24, 2004 IT'S ALIVE!!!! After some treading through Google results, I found an interesting article here (http://www.code101.com/Code101/DisplayArticle.aspx?cid=51) that told me to download the latest Windows Script v. 5.6... I downloaded & installed it from here (http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en) and it worked! (I guess the error must have reverted/corrupted/damaged the Window Script - that's why reinstallations did nothing) I hope my problems help someone else out there in the internet frantically searching for the perilous error "ClassFactory..." :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.