Recently, when we were configuring servers, the company was preparing to host the servers. Naturally, we had to move the company's website back from the virtual host. We didn't expect many problems, you can also make a record for yourself. Of course, you can also make a reference for those who need it.
The first problem is that PHP + MySQL and IIS + MSSQL Server need to be integrated in the future. Of course, you can choose to install and configure them one by one. But for most new users, configuration is still very troublesome, there is an integrated tool is very good, there is mysql5 and mysql4 version, the name is: PhP setup for IIS, is: http://www.isk.com.cn/_apmsetup.php? INC = download
The second problem is: after the ASP + MSSQL Server website is moved back from the VM, ProgramAn error always occurs during running. After searching, it is found that the database table name is preceded by the user name used to back up the database on the VM. After testing, change the username of the owner before the database table to DBO. The method is as follows:
Batch change:
Exec sp_msforeachtable 'SP _ changeobjectowner ''? '', ''Dbo '''
Change a single table:
Exec sp_changeobjectowner '[admin888]. [employee]', 'dbo'
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