نمایش نتایج: از شماره 1 تا 2 , از مجموع 2

موضوع: مشکل در ذخیره صفحه و ارور Access to the path is denied

  1. #1
    عضو جدید
    تاریخ عضویت
    Mar 2011
    نوشته ها
    51
    تشکر تشکر کرده 
    36
    تشکر تشکر شده 
    27
    تشکر شده در
    12 پست

    پیش فرض مشکل در ذخیره صفحه و ارور Access to the path is denied

    من سال قبل یک سایتی داشتم که هیچ مشکلی نداشت ولی امسال ، نمیدونم چه تغییری در هاست و ... بوجود اومده که هنگام ذخیره کردن صفحه ارور زیر رو میده! کنترل پنلم هم پلسک هست! پرمشین ها رو هم قابل نوشتن کردم ولی نشد که نشد!

    Server Error in '/' Application

    .



    Access to the path 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.UnauthorizedAcces***ception: Access to the path 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 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:

    [UnauthorizedAcces***ception: Access to the path is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714157 System.IO.__Error.WinIOError() +33 System.IO.File.Move(String sourceFileName, String destFileName) +257 Conference.UserControls.Pages.CreatePageUC.Save() +448 Conference.Admin.Pages.CreatePage.btnSave_Click(Ob ject sender, EventArgs e) +55 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36

  2. تعداد تشکر ها از sitegostar به دلیل پست مفید


  3. # ADS




     

  4. #2
    عضو جدید
    تاریخ عضویت
    May 2014
    نوشته ها
    1
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    1
    تشکر شده در
    تشکر شده 1 بار در 1 پست

    پیش فرض پاسخ : مشکل در ذخیره صفحه و ارور Access to the path is denied

    man be in moshkel da hengam tabdil be excel mikhoram

    Server Error in '/' Application.


    Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    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.UnauthorizedAcces***ception: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

    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 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:

    Line 176: System.Globalization.CultureInfo oldCI = System.Threading.Thread.CurrentThread.CurrentCultu re;
    Line 177: System.Threading.Thread.CurrentThread.CurrentCultu re = new System.Globalization.CultureInfo("en-US");
    Line 178: Excel.Application app = new Excel.Application();
    Line 179: Excel._Workbook oWB;
    Line 180: Excel.Worksheet oSheet;

    Source File: E:\Tehran-Ard\UserControls\Pager.ascx.cs Line: 178

    Stack Trace:

    [UnauthorizedAcces***ception: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.]
    Ard.Pager.BuildExcelFile(String FileName, List`1 FieldNames) in E:\Tehran-Ard\UserControls\Pager.ascx.cs:178
    Ard.Pager.ConvertToExcel(String OrigExcelFileName) in E:\Tehran-Ard\UserControls\Pager.ascx.cs:240
    Ard.AmarKoliRepWebForm.ExportExcelButton_Click(Obj ect sender, EventArgs e) in E:\Tehran-Ard\Reports\AmarKoliRepWebForm.aspx.cs:51
    System.Web.UI.WebControls.LinkButton.OnClick(Event Args e) +111
    System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument) +79
    System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +175
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


    Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016

    man moghe tabdil be excel be in error mikhoram

    ویرایش توسط maiti : May 4th, 2014 در ساعت 15:50

  5. تعداد تشکر ها از maiti به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. مشکل access denied کاربران در سرور اوبونتو
    توسط Gamecock1 در انجمن سوالات و مشکلات
    پاسخ ها: 2
    آخرين نوشته: August 14th, 2016, 22:42
  2. رفع خطای Access denied for user
    توسط ayma در انجمن PHP-MySQL
    پاسخ ها: 3
    آخرين نوشته: November 27th, 2014, 12:46
  3. ارور 403 - Forbidden: Access is denied. درiis ??
    توسط iran20133 در انجمن سوالات و مشکلات
    پاسخ ها: 1
    آخرين نوشته: November 21st, 2013, 18:50
  4. علت خطای Access denied در ورود به لینوکس؟؟؟
    توسط dicaprio_4244 در انجمن سوالات و مشکلات
    پاسخ ها: 6
    آخرين نوشته: November 6th, 2012, 21:38
  5. Access Denied ...
    توسط WebRang در انجمن سوالات و مشکلات
    پاسخ ها: 6
    آخرين نوشته: October 9th, 2009, 17:29

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •