Server Error in '/' Application
-
Error executing child request for new_Page.aspx. 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: Error executing child request for new_Page.aspx. Source Error: Line 14: Server.Transfer("new_Page.aspx"); Above is the error found. It works fine in local host but not when I trying to run in on virtual directory. When I deleted the Export Excel Function in my page, the error gone. Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook xlWorkbook = xlApp.Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel.Sheets xlSheets = null; Excel.Worksheet xlWorksheet = null; Anyone know how to fix this?
-
Error executing child request for new_Page.aspx. 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: Error executing child request for new_Page.aspx. Source Error: Line 14: Server.Transfer("new_Page.aspx"); Above is the error found. It works fine in local host but not when I trying to run in on virtual directory. When I deleted the Export Excel Function in my page, the error gone. Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook xlWorkbook = xlApp.Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel.Sheets xlSheets = null; Excel.Worksheet xlWorksheet = null; Anyone know how to fix this?
Not sure, are you getting this error: "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack." ?
Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]
-
Not sure, are you getting this error: "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack." ?
Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]
No. I think it might because of the server doesn't have excel library?? I have no idea how to fix this.
-
No. I think it might because of the server doesn't have excel library?? I have no idea how to fix this.
-
can you deploy Excel ddl to application path or install Excel InteropServices -Vijay
-
can you deploy Excel ddl to application path or install Excel InteropServices -Vijay