PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : پیام Server Error in '/' Application.



ariamovie
September 20th, 2014, 19:53
سایت من با پیام
Server Error in '/' Application.

Request is not available in this context

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.HttpException: Request is not available in this context

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:



[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpContext.get_Request() +8882736
DouranPortal.Common.Exceptions.Logger.Log(Int32 logLevel, LogType logType, String extraInfo, Exception exc) +230
DouranPortal.Common.Exceptions.Logger.Log(Int32 logLevel, LogType logType, Exception exc) +18
DouranPortal.Global.Application_Start() +1064

[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpApplicationFactory.EnsureAppStartCa lledForIntegratedMode(HttpContext context, HttpApplication app) +2761402
System.Web.HttpApplication.RegisterEventSubscripti onsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128
System.Web.HttpApplication.InitSpecial(HttpApplica tionState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
System.Web.HttpApplicationFactory.GetSpecialApplic ationInstance(IntPtr appContext, HttpContext context) +295
System.Web.HttpApplicationFactory.GetPipelineAppli cationInstance(IntPtr appContext, HttpContext context) +56
System.Web.Hosting.PipelineRuntime.InitializeAppli cation(IntPtr appContext) +231

[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8986035
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest wr, HttpContext context) +333



مواجه میشه
من یه بار netframewrok ام رو از 2 کردم 4 و دوباره کردم 2 اینجوری شد ، کسی میتونه راهنمایی کنه چه کنم؟

SixthElement
September 20th, 2014, 20:30
سلام دوست عزیز.

IIS امکانی به شما میده که میتونید انتخاب کنید که نرم افزار شما با کدوم نسخه .net framework کار کنه. کافیه در قسمت Application pools ، نسخه .net framework خودتون رو دوباره بگذارید 2.

پیروز باشید

ariamovie
September 20th, 2014, 20:32
خوب من shared host دارم مگه به این تنظیمات دسترسی دارم؟

SixthElement
September 20th, 2014, 20:35
سلام دوست عزیز.

باید قسمتی در کنترل پنل هاستتون باشه که اینکار رو انجام بده.

ariamovie
September 20th, 2014, 21:05
ببخشید ، توی پلسک میدونید کجاشه؟

- - - Updated - - -

راستی الان دو هستاا ، ینی اولش دو بود ، کردم 4 دوباره کردم 2 ، ولی سایت اینجوری شده
حتی زیر ارور هم زده
Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474

mehrshad13and11
September 20th, 2014, 22:16
همونطور که دوست عزیزمون اشاره کردند باید Application pools مورد نظری که وب سایت شما در اون قرار گرقته شده این تغیر انجام بشه و فکر نکنم شما بهش دسترسی داشته باشید چون معمولا از یک Application pool برای چند هاست استفاده میکنند میتونید درخواست بدید تا مدیر سرور انجام بده.

irantophost
September 20th, 2014, 22:20
اگر هاست شما از Dedicated Application Pool استفاده کند میتواند درخواست دهید تا Application pool را روی 4 integrated بزارند احتمالا مشکل برطرف خواهد شد.