Errors That cainiao often encounter when imitating duwamish Development

Source: Internet
Author: User

When developing your own program like duwamish, you may encounter some problems:

1. Only the table structure is displayed, and data in the table cannot be displayed.

Generally, there is a problem with the corresponding class in the DataAccess layer. For example, the dsCommand is not correctly assigned a value, so daCommand. Fill (data) is not filled with data. I still have a question, in any class in the DataAccess layer, in dsCommand. tableMappings. add ("Table", BookData .........
The reason for this is that the function of several classes (such as book and customer) is copied to the east and the result is incorrect.

2. A connection failure is not defined.

I carefully checked the sqldatabase connection characters, which is completely normal. Later I found out that it was a problem with the global. asax file in the web project. Delete global. asax. cs, modify the global. asax file, and uninherit from global. Everything is normal.
I re-created a web project, and global. asax is generated by default, but duwamish modified the file. I have discovered this problem for a long time.

There are also some faults, such as the failure to re-compile each project, which leads to the "no reference" error of other referenced projects and the database connection failure, which leads to "the project is not configured as the debugging mode, the web server cannot be started as debugging. "Sorry, it is too wrong.


Related Article

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.