I always get this error occasionally... "UILib" is a library attached to my project.... It was working fine and no problem...but sometimes occasionally I get this error -------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Access is denied: 'UILib'. Source Error: Line 196: Line 197: Line 198: Line 199: Line 200: Source File: d:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198 Assembly Load Trace: The following information can be helpful to determine why the assembly 'UILib' could not be loaded. === Pre-bind state information === LOG: DisplayName = UILib (Partial) LOG: Appbase = file:///d:/inetpub/wwwroot/eSMP LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: UILib LOG: Attempting download of new URL file:///D:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/esmp/37394cef/fe96a4c0/UILib.DLL. LOG: Attempting download of new URL file:///D:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/esmp/37394cef/fe96a4c0/UILib/UILib.DLL. LOG: Attempting download of new URL file:///d:/inetpub/wwwroot/eSMP/bin/UILib.DLL. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: UILib, Version=1.0.1443.31586, Culture=neutral, PublicKeyToken=null
jagadish_chatarji
Posts
-
what is this error -
How to make Excel Process close by itselfDim FN As String = Server.MapPath("\esmp\temp\" & Session.SessionID & ".xls") Dim xl As New Excel.Application Dim wk As Excel.Workbook = xl.Workbooks.Add() xl.Cells(2, 2) = "its ok" wk.Close(SaveChanges:=True, FileName:=FN) wk = Nothing xl.Quit() xl = Nothing ------------------------------- that was the coding I wrote in the button click event. It does work fine...but it is creating a separate process every time, the event is fired...and the process from task manager could not get deleted automatically. If I click on button 5 times....5 processes named as "EXCEL.EXE" are staying in the processes of TaskManager. So, How to make the process to close byitself after the completion of its work.
-
How to make an Excel Process...close by itselfDim FN As String = Server.MapPath("\esmp\temp\" & Session.SessionID & ".xls") Dim xl As New Excel.Application Dim wk As Excel.Workbook = xl.Workbooks.Add() xl.Cells(2, 2) = "its ok" wk.Close(SaveChanges:=True, FileName:=FN) wk = Nothing xl.Quit() xl = Nothing ------------------------------- that was the coding I wrote in the button click event. It does work fine...but it is creating a separate process every time, the event is fired...and the process from task manager could not get deleted automatically. If I click on button 5 times....5 processes named as "EXCEL.EXE" are staying in the processes of TaskManager. So, How to make the process to close byitself after the completion of its work.