Sorted out the Asp.net source code Frequently Asked Questions (improving ...), You are welcome to make additional corrections (Last updated on 06-01 )!

Source: Internet
Author: User

Last updated on Children's Day, I wish you a happy holiday!

The following are some frequently asked questions from 51aspx users. The summary is as follows, and the content of this part will be updated one after another. At the same time, the majority of users are reminded to carefully check the source code project's corresponding runtime environment and eachCodeThe corresponding source code for the 51aspxfile must be read. txt.

Q: What kind of software environment is required to open the website source code project on 51aspx?
A: almost every set of source code on 51aspx is released only after testing. Currently
The editing environment is vs2003 and vs2005 + SP1. The database is mssql2000.
The IIS version is 6.0. The Asp.net framework is 1.1 and 2.0.
The user selects the environment marked on the source code page for use, as shown in figure

Q: Is. NET Framework framework1.1 compatible with framework2.0?
A: It is determined that framework1.1 and framework2.0 can run simultaneously, but there is a version selection (details) in the IIS Site ).
ASP. net1.1ProgramIt can also run in the framework2.0 environment, but it is not completely compatible. To achieve the ideal ASP. net1.1 program, it still runs in the framework1.1 environment. However, we recommend that you do not use the same application pool for the virtual directories of two projects when creating a virtual directory. Otherwise, an error is reported:Service unavailab.

Q: Can I use vs2005 to open a vs2003 project?
A: Yes, but you will be prompted to perform version conversion (from ASP. net1.1 to ASP. net2.0, note: this process is irreversible. It is best to back up the data before conversion.) Please note that some changes will occur after the project is converted. For details, referSummary of ten problems with upgrading Asp.net 1.0 to ASP. NET 2.0

Q: Can I use vs2003 to open a vs2005 project?
A: No. earlier version vs cannot open a later version vs project. If you want to open an ASP. net2.0 project, we recommend that you install vs2005 + SP1.

Q:Is SP1 required when vs2005 is installed?SP1 installation is slow
A: First of all, it must be installed with SP1 after vs2005 is installed. Otherwise, many webapplication Source Code cannot be opened, because most of the source code is webapplication. If SP1 is not installed, ASP is converted. the webapplication project of net1.1 also has an error.
Regarding the slow SP1 installation, this can only be installed with patience. After all, it is worthwhile. Good luck!
For installation of vs2005sp1 Chinese version, please visit http://www.51aspx.com/CT/V2S4QVZOFTM44/

Q: "The Script database/aspnet_client/... cannot be found" appears after the local site is configured )"

A: This problem is generally caused by the absence of the aspnet_client folder in the root directory of the current site, which contains some script information. Copy one from other places. Generally, the default value is C: \ Inetpub \ wwwroot \ can also be copied to other sites!

Q: Why can't many ASP. net2.0 project files downloaded on 51aspx be opened?
A: First, use the corresponding version of Vs, that is, use vs2005,Note: For a webapplication project, you must enter the SP1 Patch to open it!

Q: Why do I prompt"The installation does not support the project type."
A: This is because the SP1 Patch package is not used. By default, the webapplication option is not integrated in vs2005. This problem will be solved when the SP1 Patch package is used.

Q:What is the difference between webapplication and website? Which one should I choose?
A: AboutFor selection of webapplication and website, visit http://www.51aspx.com/ct/opazutb9ed488/. we recommend that you useWebapplication Q: Why does the system prompt "error 602: failed to find the object in Database ID 14 in sysindexes... please run DBCC checktable on sysindexes" when I append the SQL database? (For example)

A: In this case, first check the development environment (for example, vs2005 + sql2005) indicated by the source code on 51aspx ), if you use sqlserver2005, this error will occur when you use SQL2000 to append the sql2005 database (solution: Use sqlserver2005 to append it, if you want to use the SQL2000 format, use the export SQL statement and other methods for conversion. This type of conversion from sql2005 to SQL2000 is not described in detail ), if the problem persists, the database file may be damaged. For more information about the coexistence of SQL2000 and sql2005, see sql2005 and SQL2000 coexistence

Q: Why can't many controls be found during compilation in my project file, and the project opened in vs2005 does not have the XXX. Design. CS file?

A: In this case, the project files are directly copied from somewhere else or the source code files near the new project. In vs2005 Xxx. Design. CSThe file is the control storage file. The solution to this problem is to right-click the project and convert it to webapplication to solve the problem, as shown in figure



Q: Why are all the text in the project file I opened with vs2005 garbled? A: You can solve this problem by setting the vs editing environment. Tools-Options)
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.