Silverlight FAQs and Solutions

Source: Internet
Author: User
Tags silverlight sql server express

Recently, I have encountered some problems while studying Silverlight. These problems have caused unnecessary troubles to the author, and also wasted a lot of time (-_-!). Here we will share it with you and remind you not to make these annoying mistakes any more.

 

1) Cannot be opened, such as http: // localhost:Port Number/test. aspxThe element cannot be found.

Problem generation: After IE8 is installed.

Analysis and Solution: At first, I thought it was a problem with the Silverlight tools toolkit or vs2008. After several attempts, the problem still persists. The Internet found the problem was caused by the problem of IE8. The problem was solved after IE8 was uninstalled and re-installed. Of course, you can also set Firefox as the default browser to solve this problem.

 

2) Vs2008Debugging cannot be started. Silverlight is not installed.Hosting debugging packages.

Problem generation: Caused by problems with the Silverlight tools toolkit.

Analysis and Solution: Uninstall and reinstall. (PS: it takes a long time to reinstall. I cried t ^ t)

 

3) Not found, for example, namespace: Control. Make sure that no Assembly reference is missing and all referenced assembly has been generated

Problem generation: No project is compiled.

Analysis and Solution: Add necessary DLL references to the project and add relevant namespaces To The XAML file. Then, press Ctrl + Shift + B to compile the entire project. If expression blend exists, use it to design the interface, which can realize automatic reference of related assembly, which is more convenient to use.

 

4) Communication timeout problem 1

Problem generation: When SQL Server express 2008 is used as the test database.

Analysis and Solution: In Server Explorer, select test database to make it connected. Then press F5. (PS: this is a problem I just found)

 

5) Communication timeout problem 2

Problem generation: The SQL server system service fails to be enabled normally.

Analysis and Solution: Open Control Panel> Administrative Tools> services. Restart the SQL Server System Service.

 

The above are some of the problems I have encountered in development. I hope that we can avoid detours and save valuable time. Wish everyone a smooth development! Pai_^

Author: kinglee
Article Source: kinglee's blog (http://www.cnblogs.com/Kinglee)
Copyright: The copyright of this article is shared by the author and the blog. The detailed link of this article must be noted during reprinting; otherwise, the author will be held legally liable.

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.