The following are some of the problems I encountered during my website testing:
1. An error occurred while modifying the category (Browser problem)
2. Separating and attaching database OK (earlier versions cannot be appended with later versions)
3. Generate the database script OK (this method creates a database)
4. the IIS port is in use and cannot be started: Change the port number to OK (change the port number to 81)
5. The requested Database "newssystem" cannot be opened ". Logon Failed.
User 'nt Authority \ Network service' Login Failed. ???
----> User 'nt Authority \ Network service' Logon Failed.
This error occurs when you connect to SQL Server using a trusted connection. in Windows XP, Asp. the Running Account of net is ASPnet, while in Windows Server 2003, the running account is changed to network service, and the user is directly added to the login account of SQL Server, in this way, many examples do not need to change the connection string!
The network service user maps to the newssystem database, db_owner
----> Solution
Step 1: Add 'nt Authority \ Network Service' to the Administrator Group
My computer --> right-click --> Manage --> local users and groups
Select "group" --> double-click "Administrators" --> click "add" --> click "advanced" --> click "find now" --> select a network service user from the list below --> click "OK" --> join twice. (Important)
Step 2 Add a network service user to the Enterprise Manager
Open SQL Server Enterprise Manager --> select database instance --> open "security" node --> select "login" --> right-click the list on the right --> select "New login "--> on the "General" tab, click the button next to "name"... "--> select" Administrators "group --> click the" members "button below --> select" Network Service "--> click" add "--> click" OK ", return to the "New login" dialog box --> ensure that the authentication type is "Windows Authentication" and "Allow access" --> click "OK" --> close "Enterprise Manager"
Step 3
Run the Asp.net program again and select windows for the database connection string.
6. The server cannot access the application directory. This directory does not exist or cannot be accessed due to security settings. Favorites
Recently, I migrated some programs on an old server (Win2000) to the new server (win2003). I found that the following error was reported on the Asp.net page: "The server cannot access the application directory" X: \ XXX \". This directory does not exist or cannot be accessed due to security settings ." I have set the ASPNET user permission for this directory. Why does the permission error message appear?
It is found that the execution of ASP. NET pages is in Win2000 and WINXP. The default account is ASPnet, win2003, and network services.
7. The Homepage cannot be correctly displayed.
The logo path http: // 192.168.0.10: 81/web/images/niunanlogo.jpg is incorrect.
Logo: http: // 192.168.0.10: 81/yingernewssystem/images/niunanlogo.jpg display
BANNER: http: // 192.168.0.10: 81/web/images/tg029logo.gif not displayed
Http: // 192.168.0.10: 81/images/tg029logo.gif
How to configure the path? If you drag it in, you cannot click the logo to enter the homepage.
---> Solved! The virtual directory is called Web.
<* In my computer, the virtual directory web is located in the absolute position/web/images/... *>
Final Solution: use absolute path/web/images /....
8. There are still some problems with the pattern. The category list is too long (CSS attribute)
9. Ftb. dll is not added in (the original reference is in the original position, but the current position has changed)
10. Check the browser compatibility. OK!
11. You have successfully logged on to other computers.