PDA

View Full Version : خطای Server Error in '/' Application



IqoopI
یک شنبه 12 مهر 1394, 15:30 عصر
سلام
چند وقتی هست که هر پروژه ای رو ران میکنم پیغام زیر رو میده

Server Error in '/' Application

Specified argument was out of the range of valid values
Parameter name: site

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.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: site

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:



[[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: site]
System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +303

[HttpException (0x80004005): Specified argument was out of the range of valid values.
Parameter name: site]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +9882460
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +101
System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest wr, HttpContext context) +254












آقا اصلا هر صفحه .aspx جدیدی ایجاد میکنم هم وقتی ران میکنم باز همین خطا رو میده ولی مثلا صفحه html رو باز میکنه.
ویژوال استادیه رو پاک کردم و دوباره نصب کردم ولی باز همین مشکل هست.
لطفا راهنمایی کنید. این ویژوال استادیو چه مرگشه؟؟؟؟

etratesamet
سه شنبه 29 آبان 1397, 10:28 صبح
به این نشونی در ویندوز بروید:

Control Panel ->> Programs ->> Programs and Features ->> Turn Windows features on or off ->> Internet Information Services

همه گزینه های سرویس رو فعال کنید.

مقاله:
https://stackoverflow.com/questions/17772216/specified-argument-was-out-of-the-range-of-valid-values-parameter-name-site