GNU/Linux >> Belajar Linux >  >> Panels >> Plesk

Konfigurasi Direktori di IIS Tidak Valid

Konfigurasi Direktori di IIS Tidak Valid

Masalah

Saat Anda menelusuri URL di situs Anda, Anda mendapatkan pesan yang mirip dengan berikut ini:
Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 59:   <!-- The system.webServer section is required for IIS7 compatibility It is ignored by IIS6--> Line 60:   < system.web > Line 61:     < machineKey validationKey = "7CDEECDEAF58BEDD27C65D6B862516DD86F737B1" decryptionKey = "7136E5BFC076FB1C4B49F8D87A4E9111EDCB7EA2ACFE7AAD" decryption = "3DES" validation = "SHA1" /> Line 62:     <!-- HttpModules for Common Functionality --> Line 63:     < httpModules > Source File: C:\Inetpub\vhosts\(primary domain)\httpdocs\(child directory)\web.config    Line: 61
Kemungkinan Penyebabnya
  • Ada web.config tambahan di direktori anak.
  • Anda mencoba menjalankan Aplikasi dari sub-direktori yang tidak disiapkan sebagai aplikasi di IIS.
Resolusi
Ada web.config tambahan di direktori anak.
  • Ganti nama (atau hapus) web.config tambahan di direktori portal anak.
Anda mencoba menjalankan aplikasi dari sub-direktori.
  1. Masuk ke Panel Kontrol Anda. Lihat Bagaimana cara Mengakses Panel Kontrol Managed.com saya?
  2. Klik Domain lalu klik situs yang mengalami masalah ini.
  3. Klik Buat Direktori Virtual .
  4. Hapus centang Buat direktori fisik dengan nama yang sama dengan direktori virtual kotak.
  5. Uji aplikasi untuk melihat apakah itu berfungsi.

Plesk
  1. Bash:Gema:Kesalahan Tulis:Argumen Tidak Valid?

  2. File Lisensi cPanel Tidak Valid Setelah Mengubah Kesalahan Nama Host

  3. Swapon Gagal Memasang Swap – Memberikan Kesalahan Argumen Tidak Valid

  1. Tidak ada kesalahan file atau direktori saat menjalankan biner

  2. Untar file pada laporan Solaris - tar:directory checksum error

  3. Kesalahan fatal:cuda.h:Tidak ada file atau direktori seperti itu

  1. Modifikasi akun dibatalkan – Kesalahan Konfigurasi Apache

  2. Tidak dapat membuat exec Tidak ada file atau direktori seperti itu [Fix]

  3. Penyebab kesalahan:Nama tabel atau database 'hilang+ditemukan' tidak valid (lama?)