PDA

View Full Version : Compilation Error



m.hamidreza
شنبه 16 تیر 1386, 23:18 عصر
این چی میگه واسه خودش :
یه link دارم به اسم SiteMap ، تو localhost کار می کنه رو server این error رو میده
Compilation Error


Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0716: Cannot convert to static type 'System.Web.SiteMap'

Source Error:

Line 120: public sitemap_aspx() {Line 121: string[] dependencies;Line 122: ((SiteMap)(this)).AppRelativeVirtualPath = "~/SiteMap.aspx";Line 123: if ((global::ASP.sitemap_aspx.@__initialized == false)) {Line 124: global::ASP.sitemap_aspx.@__stringResource = this.ReadStringResource();]

Behrouz_Rad
شنبه 16 تیر 1386, 23:41 عصر
احتمال ناسازگاری با کامپوننت های نصب شده بر روی سرور وجود داره.
نام صفحت رو عوض کن.

موفق باشی.