Installed NET Framework also initialization Error

Source: Internet
Author: User

Verify that the version of the NET Framework that the software needs to use is 2.0 or 3.5 or 4.0

To download the software on the Web page to find relevant information or the program is located in the folder to find the relevant text document said that there is a running environment description. If you want to run under the Mcrosoft.net Framework 2.0 or 4.0, I'll let the software use 4.0.

View the detailed version number of the installation NET Framework in your own computer. XP system screen in the lower left corner "start"-"Run", enter%systemroot%microsoft.netframework OK, pop-up folder, see a bunch of v folder, is already installed the detailed version number of NET, My Computer Installation 4.0 detailed version is v4.0.30128, are 4.0, but the later detailed version number may not be the same, remember the name of this folder is used below.

Key-Build the configuration file. In the folder where you run the program (not just the folder in the net), if it is a desktop shortcut, right-click on the shortcut, select "Properties", click "Find Target", go to the folder where the program is located, click the right mouse button to create a new text document, double-click to open, copy the following code paste into the document

<configuration>

<startup>

<supportedruntime version= "v4.0.30128"/>

</startup>

</configuration>

In the code above, you change the bold text to your net detail version number, and then click the file-Save as Save dialog box to change the contents of the following figure in the red box.

Save type: All files,

File name: Your program name. exe.config program name can not be wrong, no txt words

Confirm Save. You don't have to worry about this configuration file.

4 then you run your program to find no error box, directly into the program.

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.