PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در ذخیره صفحه و ارور Access to the path is denied



sitegostar
August 6th, 2011, 21:46
من سال قبل یک سایتی داشتم که هیچ مشکلی نداشت ولی امسال ، نمیدونم چه تغییری در هاست و ... بوجود اومده که هنگام ذخیره کردن صفحه ارور زیر رو میده! کنترل پنلم هم پلسک هست! پرمشین ها رو هم قابل نوشتن کردم ولی نشد که نشد!

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

maiti
May 4th, 2014, 15:48
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