Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Web Service не работает на боевом сервере / 1 сообщений из 1, страница 1 из 1
21.08.2006, 08:19
    #33931285
Virtual
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Web Service не работает на боевом сервере
Добрый день,

Написал и отладил простенький 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
...
Рейтинг: 0 / 0
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Web Service не работает на боевом сервере / 1 сообщений из 1, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]