i’m using the evaluation edition to test aspose controls to choose for a project of our company.
When i convert a MSWord file with a table with about 20 rows i get this error.
Index and length must refer to a location within the string. Parameter name: length
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.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length
Source Error:
Line 115: Line 116: 'Now produce the PDF file. Line 117: pdf.Save(“Aspose.Word.Demos.pdf”, Aspose.Pdf.SaveType.OpenInBrowser, Me.Response) Line 118: End Sub Line 119:
But the problem cotinue with diferent specification:
Server Error in ‘/WebAppLocat’ Application.
Index and length must refer to a location within the string. Parameter name: length
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.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length
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:
[ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length] Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) +791 Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +23 WebAppLocat.Viewer.SendToBrowserAsPdf(Document doc) in D:\wwwProjects\XSLTOnline2\WebAppLocat\Viewer.aspx.vb:135 WebAppLocat.Viewer.SendToBrowser(Document doc, String outputFormat) in D:\wwwProjects\XSLTOnline2\WebAppLocat\Viewer.aspx.vb:87 WebAppLocat.Viewer.Page_Load(Object sender, EventArgs e) in D:\wwwProjects\XSLTOnline2\WebAppLocat\Viewer.aspx.vb:62 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731
I just sent an email to you with the document and the xml generated from the
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.