Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Web Service не работает на боевом сервере
|
|||
|---|---|---|---|
|
#18+
Добрый день, Написал и отладил простенький WEB Service, в проекте всё работает! Перенёс на рабочий сервер, создал виртуальную директорию, положил туда прекомпилированный WEB Service, получаю следующую ошибку: ============================================== Server Error in '/WS_NewsWebService' Application. -------------------------------------------------------------------------------- This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported. 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: This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported. 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): This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported.] System.Web.Compilation.ProfileBuildProvider.GetProfileTypeFromAssembly(Assembly assembly, Boolean isPrecompiledApp) +2939394 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +3450646 System.Web.Compilation.BuildManager.CompileCodeDirectories() +525 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448 [HttpException (0x80004005): This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456 [HttpException (0x80004005): This application was precompiled with personalization turned off, but it appears to have been turned on after the precompilation, which is not supported.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426871 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ============================================== У меня в корневой директории сайта, крутится сайт, у которого WEB части, персонализация и т.д. Такое ощущение, как будто мне на это и намекает данная ошибка. Все настройки виртуальной директории - верны. Что делать не ясно?Automatic intellegance, a task of generations ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.08.2006, 08:19 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=33931285&tid=1390416]: |
0ms |
get settings: |
6ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
50ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
16ms |
get tp. blocked users: |
1ms |
| others: | 243ms |
| total: | 335ms |

| 0 / 0 |
