Visual Basic, .NET, ASP, VBScript
 

   
   
     

Форум - .NET

Страница:

 

  Вопрос: Помогите плиз. Мучаюсь уже 2 месяца. Добавлено: 19.07.05 19:28  

Автор вопроса:  Systemer
Ошибка: При попытке логона в броузере локально на сайт - возникает это:

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

Access is denied.
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.UnauthorizedAccessException: Access is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

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:


[UnauthorizedAccessException: Access is denied.]
   NCsoft.L2Admin.DB.SqlObject.ExecuteQuery(Int32 page, Int32 rowsPerPage) +49
   NCsoft.L2Admin.Admin.Data.AdminUser.Get(String id, Boolean isDeleted) +93
   NCsoft.L2Admin.Admin.Business.AdminUserBL.IsValidUser(String userId, String password) +13
   NCsoft.L2Admin.Web.Login.ProcessRequest() +74
   NCsoft.L2Admin.Web.Login.Page_Load(Object sender, EventArgs e) +45
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300



Суть:
Под ИИСом сделан сайт L2Admin, он работает с базой MSSQL L2Admin на том же сервере. Авторизация - ОК. Все прописано, все работает. Те к базе я через dsn коннекчусь нормально.
Он работает через ссылки в реестре. В реестре авторизация тоже прописана правильная. Права на нужную ветку реестра для ASP.NET выданы.

Используется l2ATL.dll компонент. Там тоже с доступом все хорошо.
Где копать, народ?

Ответить

  Ответы Всего ответов: 0  

Нет ответов

Страница:

Поиск по форуму



© Copyright 2002-2011 VBNet.RU | Пишите нам