Ошибка при запуске приложения из расшаренной папки
От: Nimua Россия  
Дата: 30.05.07 08:04
Оценка:
Здравствуйте,

IIS 6.0, ASP.NET 2.0

Добавили AJAX на странички, в отладке все работало нормально, перенесли на рабочий сервер выдает ошибку.


Server Error in '/' Application.
--------------------------------------------------------------------------------

Security Exception 
Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

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.



У нас web farm, проект лежит в общедоступной папке. При переносе в локальную все рабоает

Если создать app pool и юзера под него. выдает Service Unavailable
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.