Ответ в этом контексте недоступен. , как я могу решить эту проблему мне нужна помощь, пожалуйста, я пытался решить, но я не мог работы сайта должным образом на моем локальном хосте, но когда я загрузить его на хост его не работает кто-нибудь помочь мне, пожалуйстаОшибка сервера в '/' Application 4
{
Response 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: Response 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): Response is not available in this context.]
System.Web.HttpContext.get_Response() +8820296
ASP.global_asax.Application_Start(Object sender, EventArgs e) +54
[HttpException (0x80004005): Response is not available in this context.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2731054
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295
System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231
[HttpException (0x80004005): Response is not available in this context.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8929163
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333
}
Вы переоцениваете нашу способность читать ваши мысли. –
Прикрепите код, дайте больше информации о своей странице, попробуйте еще немного, чтобы объяснить вашу проблему. – wudzik
может быть другой сценарий, просто подумайте о среде развертывания и поделитесь своим кодом. Если возможно, измените код, введя блок catch try и напишите в файл и отправьте его в производственную среду. – kbvishnu