PDA

View Full Version : سوال: مشکل با ویژوال استدیو در عدم اجرای فایل های ASPX



one hacker alone
شنبه 02 تیر 1397, 05:21 صبح
با سلام
متاسفانه VS2015 فایل های asp.net رو اجرا نمیکنه و IIS خطای زیر رو در مورد کامپایلشون نشون میده




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: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform .CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform , Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.

Source Error:



Line 14: <system.codedom>
Line 15: <compilers>
Line 16: <compiler language="C#‎‎‎;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform .CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform , Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
Line 17: <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform .VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform , Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
Line 18: </compilers>



Source File: C:\inetpub\wwwroot\w4\web.config Line: 16

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0





کل خطا زیر سر این قسمته:
Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform .CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform , Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located


تمام راهکارهایی که تو انجمن های لاتین و استک اورفلو .... هم گفته شده بود رو انجام دادم ولی باز همین مشکل هست دوستانی که تجربه این مورد رو دارن راهنمایی بفرمایند.