I. Solutions to ASP. Net Server application unavailability
This is probably because IIS installed after. Net Framework is installed, and. Net is not registered in IIS.
I have been searching for it online for a long time. run aspnet_regIIS/I in the. net command line tool (or in a directory similar to the following: C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.1.4322 \ aspnet_regiis.exe-I), but I tried many times, but later I found that I had to uninstall, install, and recreate the application as follows:
Run aspnet_regIIS/u In the. net command line tool to uninstall it, And then install aspnet_regIIS/I.
Restart IIS, delete the "Default Application", and recreate the site as an application.
In addition, it may be that the ASPNET account does not have the permission for the server directory specified by IIS. Find "tools-Folder Options-View-use simple folder sharing recommendations" in the resource manager, remove the preceding check box, and right-click the directory specified on the server, property-security-add-advanced-search now, add the account ASPNET, and grant it full access permissions. After doing so, you will find that the error does not exist. However, if you access the database, you may be prompted that the account ASPNET has no permission to access the database. This prompt is much clearer. You can add the corresponding permissions to the account in the database.
Solution 1 re-register. Net 2.0:
C: \ WINDOWS \ Microsoft.NetFrameworkv2.0.50727as.Net_regiis.exe-I
Solution 2: Create an application pool:
To create an application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "Inte. Net Information Service (IIS )".
3. Right-click application pool, point to new, and click application pool ".
4. Type AppPool1 in the application pool ID text box.
5. Click OK ".
Allocate applications to the application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "Inte. Net Information Service (IIS )".
3. Double-click "Web site ".
4. Double-click "Default Web site ".
5. Right-click DebugApp1 and click Properties ".
6. In the "main directory" tab, select "AppPool1" in the "application pool" list box, and click "OK ".
Solution 3: Modify the access permission of the folder where the website directory is located:
Right-click the current website directory and choose Properties> Security> Add advanced> search now; select Users user-& gt; OK
Solution:
1. Create an application pool, click Properties, ID, and select the Security Account of the application pool, local system, OK!
2. Add the NetWork Service account permission to the permissions in the WEB Folder attribute.
Now, the website can run the. NET program normally.
2. SQL Server cannot be remotely managed
By default, SQLSERVER cannot be remotely accessed.
Configuration tools
Configure TCP/IP properties.
Surface Area Configuration -- & gt; Database Engine -- & gt; Remote Connections --- & gt; Using TCP/IT
SQL Server peripheral application configurator-service and connection peripheral configuration-database englie-remote connection-enabled (remote connection of TCP/IP and named pipes)
SQL Server Configuration Manager-SQL2005 network Configuration-enabling TCP/IP and named pipes
-& Gt; SQL Server Configuration Manager-& gt; MSSQLSERVER Protocol
Check whether the TCP/IP protocol is enabled. If yes, right-click "properties" and select "IP address" from the page menu ", set "TCP port" in "IP1" and "IP2" to 1433,
"Enabled" changed to "yes"
Configuration tool-& gt; SQL Server Configuration Manager-& gt; SQL Native Client Configuration-& gt; Client protocol-& gt; TCP/IP
Right-click TCP/IP and choose "properties" from the shortcut menu. Make sure that "Default port" is 1433 and "enabled" is "yes"
Iii. User 'nt AUTHORITY \ NETWORK service' Logon Failed"
Search for the error "User 'nt AUTHORITY \ NETWORK service' Logon Failed" on the Internet. You can see that many answers have a step to add the "network service" account to the Administrators group, adding anonymous accounts to the Administrator group poses security risks. In fact, there is no need to add anonymous accounts to the Administrator group to solve this problem. The setting method is as follows:
1. In the database to be set, create a database user:
650) this. width = 650; "style =" border-right-0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/191J62211-0.png "width =" 474 "height =" 308 "/>
2. In the new user dialog box, select "new" after the Login Name ":
650) this. width = 650; "style =" border-right-0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/191JBP6-1.png "width =" 414 "height =" 294 "/>
3. On the "General" tab in the "New Logon" dialog box, the name is "nt authority \ network service"
Paste it in:
650) this. width = 650; "style =" border-right-0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/191JC230-2.png "width =" 401 "height =" 282 "/>
4. Open the "database access" tab, check your database, and check the role. Click OK.
650) this. width = 650; "style =" border-right-0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/191JC1b-3.png "width =" 411 "height =" 348 "/>
5. Click "cancel" in step 1.
4. Add the MIME of Silverlight to the blank page
Open IIS-site properties-HTTP header-MIMEType-New:
Extension :.Xap MIMEType: xap application/x-Silverlight
Extension:. xamlMIMEType: application/xaml + xml