PDA

View Full Version : خطا در publish



arta.nasiri
پنج شنبه 24 مرداد 1387, 12:20 عصر
با سلام

من سایتم رو publish کردم حالا این خطا رو می ده



Server Error in '/2' Application.

Failed to access IIS metabase.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[HostingEnvironmentException: Failed to access IIS metabase.] System.Web.Configuration.MetabaseServerConfig.MapP athCaching(String siteID, VirtualPath path) +3591442 System.Web.Configuration.MetabaseServerConfig.Syst em.Web.Configuration.IConfigMapPath2.MapPath(Strin g siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath virtualPath, Boolean permitNull) +169 System.Web.CachedPathData.GetConfigPathData(String configPath) +389 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(Virtu alPath virtualPath, Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRunti meConfig(VirtualPath path) +189

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
مشکل از کجاست
اگه کمک کنید ممنون میشم

milade
جمعه 25 مرداد 1387, 06:35 صبح
ببینم ایا توی هاست کپی کردی؟
اگه اره یه پروژه کوچیک دیگه کپی کن اگه ارور داد مشکل از IIS هاست هست اگه نداد از برنامه ای که نوشتی .
اگه هم توی IIS هست (کامپیوتر خودت)ببین برای پروژ] های دیگه هم این طوریه؟
بای

arta.nasiri
جمعه 25 مرداد 1387, 12:41 عصر
سلام
دوست عزیز پروژه دیگه ای رو اجرا کردم اما این بار این خطا رو داد
Server Application Unavailable


The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.


البته از IIs کامپیوتر خودم استفاده میکنم