Share the problem with Microsoft enterprise database 5.0

Source: Internet
Author: User

Recently, the company used the latest Microsoft enterprise database 5.0 for its projects. during the development process, it often encountered a strange error. It is normal for some machines to have such errors, after the occurrence of several colleagues, the source code of the enterprise database is recorded as follows: the enterprise database itself cannot obtain its own resources, this situation does not occur on some machines or on some machines. It is also strange that the idea of having to change the enterprise database is gone, and the enterprise database has been changed, the original read resource is changed to the direct return value instead of reading. Share it with you. The changes are as follows:

Entlib50src \ blocks \ data \ SRC \ data \ properties \ resources. Designer. CS ///   <Summary>
/// Looks up a localized string similar to Password =, Pwd =.
///   </Summary>
Internal   Static   String Password {
Get {
Return   " Password =, Pwd = " ;
}
}

 

///   <Summary>
/// Looks up a localized string similar to user id =, uid =.
///   </Summary>
Internal   Static   String Username {
Get {
Return   " User ID =, uid = " ;
}
}

Change the places where the two resources are retrieved to the above format and directly return the corresponding value. It is best to change all the resources here.

 

Otherwise, the errors reported here cannot be found in our project.

 

 

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.