Frequently asked questions about deploying Silverlight applications _blog

Source: Internet
Author: User
Tags net command silverlight

One, server application is not available solution

This is probably caused by the fact that IIS installed after the. NET Framework has caused. NET to not be registered in IIS.
I've been searching the internet for a long time. You can run aspnet_regiis/i from 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 did not try many times, and later found that you have to uninstall and then install, recreate the application to the line, specifically as follows:
Run the aspnet_regiis/u uninstall from the. NET command-line tool and aspnet_regiis/i the installation
Then restart IIS, remove the default application, and then recreate the site as an application.
Alternatively, it is possible that the ASPNET account does not have permissions for the server directory specified by IIS. Find tools-Folder Options-view-Using simple folder sharing (recommended) In Explorer remove the front tick and then right-click on the server's designated directory, attribute-security-add-advanced-Find Now, add the ASPNET account and give it a full access permission. If you do this, you will find that you have not made that mistake, but if you access the database you may be prompted that the ASPNET account does not have permission to access the database. This hint is much clearer, put the account in the database to add the appropriate permissions on it.
workaround one re-register. Net 2.0:
C:/windows/microsoft.netframeworkv2.0.50727as.net_regiis.exe–i
workaround Two Create a new application pool:
To create a new application pool
1. Click Start, point to Programs, and then click Control Panel.
2. Double-click Administrative Tools, and then double-click inte.net Information Services (IIS).
3. Right-click application Pool, point to New, and then click Application Pool.
4. Type AppPool1 in the application pool ID text box.
5. Click OK.
assigning applications to an application pool
1. Click Start, point to Programs, and then click Control Panel.
2. Double-click Administrative Tools, and then double-click inte.net Information Services (IIS).
3. Double-click Web site.
4. Double-click Default Web site.
5. Right-click DebugApp1, and then click Properties.
6. In the Home Directory tab, in the Application Pool list box, select AppPool1, and then click OK.
workaround Three, modify the access rights of the folder where the site directory resides:
Locate the current Site Directory-> right--> Properties-> Security-> Add-> Advanced-> Find Now-> Select Users-> identify-> determine
Solution:
1, create a new application pool, point attributes, identification, select the application pool security account, Local system, OK.
2, the permissions in the Web folder properties Add Network Service account permissions.
At this point, the Web site can function correctly. NET program has

second, SQL Server cannot be managed remotely

SQL Server is not remotely accessible by default

Configuration Tool

Configure TCP/IP properties.
Surface area Configuration--> Database Engine--> Remote connections--->using tcp/it
SQL Server Perimeter Application Configurator-service and connection perimeter configuration-database englie-remote connections-enabled (TCP/IP and named pipes for remote connections)
SQL Server Configuration manager-sql2005 Network configuration-enable TCP/IP and Named pipes

Protocol for->sql Server Configuration manager->mssqlserver
To see if the TCP/IP protocol starts, if it starts, right-click menu Point "Properties", select "IP Address" in the paging menu, and "TCP port" in "IP1" and "IP2" as 1433,
"Enabled" instead of "yes"
Configuration Tool->sql Server Configuration manager->sql Native Client Configuration-> clients protocol->TCP/IP
Select Properties in the TCP/IP right-click menu to confirm that the default port is 1433, enabled is Yes

third, the user ' NT authority/network SERVICE ' Login failed '

Search on the Internet "user ' NT authority/network SERVICE ' Login failed" This error, you can see a lot of solutions have a "network SERVICE" account to join the Administrators group of steps to add anonymous account to the Administrators group , there is a security risk. In fact, there is absolutely no need to add anonymous accounts to the Administrators group to resolve this problem. Set the method as follows:
1, in the database you want to set up, create a new database user:

2, in the New User's dialog box, select "New" after the login name:

3, in the New Login dialog box, in the General tab, after the name, "NT authority/network SERVICE"
Paste in:

4, open the Database Access tab, tick on your database and tick in front of the character. Click the OK button.

5, click the Cancel button in step 2nd.

Four, blank pages need to add Silverlight mime

Open iis-Site Properties-http header-mime Type-NEW:

Extension:. xap MIME type: XAP application/x-silverlight

Extension:. xaml MIME type: Application/xaml+xml

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.