2009年10月27日 星期二

client found response content type of text/html...

架設一個內部網站,出現這個錯, 很怪...
client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. the request failed with the error message:
...
section or group name 'system.web.extensions' is already defined. updates to this may only occur at the configuration level where it is defined.

最後找到原因
是iis root 的目錄下放一個web.config, 大概是衝到了吧...

沒有留言:

張貼留言

publish error allowDefinition='MachineToApplication'

一個老舊的aspx web form專案,調了一些功能建置成功,但進行部署時顯示以下錯誤。 在應用程式層級之外使用註冊為 allowDefinition='MachineToApplication' 的區段發生錯誤。錯誤的原因可能是虛擬目錄尚未在 IIS 中設定為...