Automation server cannot create object resolution _c# Tutorial

Source: Internet
Author: User

Yesterday turned on Visual Studio.NET, ready to create a new project, but a strange thing happened, the system reports "Automation server cannot create object" error. You then see the project name in the solution without the project file. That's weird. Try to open an existing project, but everything is OK. Windows applications, consoles, or Web applications cannot be built.

And I did the project before the shutdown last week, wasn't it good? Puzzled by the solution. Helpless, just restore installation. Net. Endure the long wait, installed after the open, full thought the problem solved. The result still makes me depressed. Cross your heart and simply uninstall. NET and reload. It's been a long wait, and it's got me crashing!!! I've got to get out of anger.

Then suddenly think of Google (why do you think of it now?) ), the error as a keyword input search, impressively in the first show days soft forum posts, open a look, really happy and angry ah.

The way to solve it is simple. Only need to run:regsvr32 scrrun.dll on it.

According to the prescription, hurriedly run, and then open. NET, all OK. Alas, wasted my precious time before!

In the case, it should be an exception when shutting down, destroying a DLL that affects the automation service.

Write here, also count for everyone a precedent!

Later encountered problems or to first search on the internet, it can not solve, and then adopt an extreme method, so as to avoid a fuss ah.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.