PDA

نسخه کامل مشاهده نسخه کامل : خطا در هنگام اجراي ASP.net



Ultimator
26-05-2007, 09:28
من هر وقت ميخام ای اس پی دات نت رو تحت IIS اجرا کنم با پيغام هايه زير موجه ميشم در ضمن ms.netframework 2 and 3 رو هم دارم
پيغام :

Server Error in '/wincms' 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 [ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ] ([ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]).


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) +688 System.Web.Configuration.MetabaseServerConfig.Syst em.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActua l(VirtualPath virtualPath, Boolean permitNull) +173 System.Web.CachedPathData.GetConfigPathData(String configPath) +398 System.Web.CachedPathData.GetConfigPathData(String configPath) +263 System.Web.CachedPathData.GetVirtualPathData(Virtu alPath virtualPath, Boolean permitPathsOutsideApp) +166 System.Web.Configuration.RuntimeConfig.GetLKGRunti meConfig(VirtualPath path) +187

hamidreza_buddy
26-05-2007, 20:26
احتمالاً دلیلش اینه که .NET رو قبل از IIS نصب کزدی.
یه بار .NET Framework که نصبه رو از توی Add Remove Programs ی repair کن احتمالاً درست بشه.
اگه درست نشد خبر بده چون این خطا ممکنه دلایل دیگه ای هم داشته باشه.

Ultimator
27-05-2007, 00:11
yani hichki balad nist ?

Ultimator
27-05-2007, 04:55
ممنونم شديدن اون مشکل هل شد ديگه اون پيغام نيومد ولی مجموعه ای از پيغام های ديگه مياد کم کم ميپرسم

maddahi.m.p
13-01-2008, 20:36
فقط مي خواستم تشكر كنم منم مشكلم حل شد 1!!!!!!!!!!!!!!

toliddd
27-09-2012, 13:02
سلام اي كاش راه حل خودتون رو هم مي نوشتيد
من هم همين مشكل رو دارم لطفا بگيد چه كار كرديدتا مشكلتون حل شد؟