Last post Jul 08, 2008 02:05 AM by Suan Ngaihte
Jun 27, 2008 01:13 AM|Suan Ngaihte|LINK
I am working on web application which was converted from v1.x to v2.0.
(a.) Development Environment: Windows XP SP2, Visual Studio 2008 SP1, SQL Server 2005 SP2.
(b). Deployment/Publishing Environment: Widows Server 2008 Standard Edition. .Net Framework v2.0, SQL Server 2005 SP2.
We use one DLL called Aspose.Words.dll, which was used for exporting data from our Application to Word document. We got this dll from our client. Apart from that we used a Flash. Until recently it's working fine without any problem. Since the license for
the dll expires our client sent a renewed license for Aspose.Words.dll.
There is one particular page in which when the user click on a Save button it will save the data and send email and also launch a Flash application to show list of Players where their position could be changed by user. This works properly on the development
machine and also was working fine until recently on the deployment server. But suddenly due to some unknown reason when we published a new built/version of the application we got an error as follows:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.
[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
ࠥ.ࡩ.(ࠤ , ࠤ , UInt32 ) +0
ࠥ.ࡢ.ࡨ(ࠤ ز, ࠤ ࠾) +446
..(Byte ) +105
..(Byte , Byte , Byte , Byte ) +141
ࣇ..(XmlNode ࣦ, XmlNode ࣧ) +410
ࣇ..(XmlDocument _߹) +89
ࣇ..ࣜ(Stream ղ) +101
ࣇ..ࣜ(String ࣝ, Assembly ࣞ) +63
Aspose.Words.License.SetLicense(String licenseName) +141
bolton.doctemplates.asposeclass.EvaluateAsposeLicence(String sPath) +104
bolton.doctemplates.asposeclass.exportDocForEmail(String newFileLocation, DataSet iSet, String path, String fileName, String templateFilename, String mergetype, HttpResponse resp) +747
bolton.Scouting.View.AddTeamScoutingReport.save_Click(Object sender, ImageClickEventArgs e) +82
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +135
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +164
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
I have been googling around the net for solution for quite long time but could not get good enough response. Dear friends, if you have experience on this and have the solution it would be a great help to me. Need your help guys.
Jun 27, 2008 04:20 AM|jobejufranz|LINK
Maybe, just maybe, the new DLL was not registered on your production SERVER.
Jul 08, 2008 02:05 AM|Suan Ngaihte|LINK
That is not the case, the DLL does not required to be registered in the machine. Is there anyone else who can give/show me some solution to this problem?