Report designer cannot be loaded for the VB Project

Source: Internet
Author: User

How to solve the problem that the VB project cannot load the report designer.

The displayed class is:

In the morning, Open VB to modify myProgramCodeThe following information suddenly appears: "XXXX. DSR cannot be loaded. For details, see XXXXX. Log File ".

Open the log file shown in

Line 2: Class of control dataenvtitemdiff was not a loaded control class.
Line 0: The file D: \ XXXXXXXX. DSR cocould not be loaded.

I felt strange in my heart. Why can't I use it today? I thought about it. I tested the installation package of the program last night and uninstalled it. I gave some DLL libraries to unregister. But which file is it? Only the class code is provided in the log, and no file name is written.

Try to re-install the test installation package, no effect. open the VB call Project, ignore the error message, open references... reference menu. After reading it, it seems that no reference file is missing. after searching on Google, I finally found a clue. find that the dll library file corresponding to this class is msderun. DLL.

After finding the desired file, the file exists in my system. Use the regsvr32.exe command to re-register the file. use VB to call my project again and solve the problem.

However, I still have some questions. Refer to the data environment of the designer.

Msderun. dll, MSDE. dll, and deext. TLB must be fully registered before report designer can be used properly.

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.