![]() Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.On the taskbar, click Start, and then click Control Panel.If you are using Windows Vista or Windows 7: On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.If you are using Windows Server 2008 or Windows Server 2008 R2: Click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.Hold down the Windows key, press the letter X, and then click Control Panel.If you are using Windows 8 or Windows 8.1: On the taskbar, click Server Manager, click Tools, and then click Internet Information Services (IIS) Manager.If you are using Windows Server 2012 or Windows Server 2012 R2: Open Internet Information Services (IIS) Manager: How To How to add a default document for an application or site The element is included in the default installation of IIS 7. The element replaces the IIS 6.0 DefaultDoc property and the EnableDefaultDoc value of the DirBrowseFlags property on the IIsWebService metabase object. The element was not modified in IIS 10.0. If you disable both default documents and directory browsing, IIS sends an "HTTP 404 File Does Not Exist" error to the browser. If you disable default documents but have enabled directory browsing, IIS returns a directory listing when a request for the root directory arrives from a browser. Depending on the number of folders in your Web site and the number of client browser requests, this may impact your performance. For example, if you intended to use Index.php for the home page in all the folders of your Web site and you add Index.php to the bottom of the list of default documents, IIS will have to check for each of the default documents in the list before attempting to return Index.php to the client browser. If you order this list of default documents correctly, you can improve the performance of IIS. IIS continues in this manner until it attempts to send each default document file to the client browser. If the Default.htm file does not exist, IIS attempts to send the Default.asp file to the browser, and if the Default.asp file does not exist, IIS attempts to send the Index.htm file to the browser. If the Default.htm file exists, IIS sends it to the client browser. IIS attempts to return the correct files in the order that they appear in the element. (If you install ASP.NET on your Web server, the installation process will add the Default.aspx file to this list.)īy default, when a request arrives for your site's or application's root directory, IIS 7 sends a response to the browser based on the file names you defined in the element. ![]() ![]() You can also use the element to remove all default document settings defined higher in the configuration hierarchy.ĭefault documents are enabled by default, and IIS 7 defines the following default document files in the nfig file as server-wide defaults: Each element removes a specific default document file inherited from a higher-level configuration file on the Internet Information Services (IIS) 7 server. The element can also contain one or more elements. ![]() Each element defines the default documents that the site or application will return to a client browser when the site receives a request to the root directory. This element contains a child element, which contains a collection of elements. 30319.The element allows you to enable or disable default document behavior for your Web site or application. To turn this feature off, remove the registry value. Note: There is some performance penalty associated with assembly bind failure logging. To enable assembly bind failure logging, set the registry value (DWORD) to 1. WRN: Assembly binding logging is turned OFF. Source File: G:\PleskVhosts\\httpdocs\web.config Line: 39Īssembly Load Trace: The following information can be helpful to determine why the assembly ', Version=.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded. It could, however, be viewed by browsers running on the local server machine. The current custom error settings for this application prevent the details of the application error from being viewed remotely ( for security reasons). The system cannot find the file specified.Īn application error occurred on the server. Parser Error Message: Could not load file or assembly ', Version=.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Please review the specific error details below and modify your configuration file appropriately. Description: An error occurred during the processing of a configuration file required to service this request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |