when i upgrade my project 2003 to Visual Studio 2005, it does not work any more, even the Demo in my PC. and this is the define of Grid : <agw:gridweb id=“GWUB” runat=“server” AGWClientPath="/agw_client/" Width=“100%” ></agw:gridweb>
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an
object.
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:
[NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.WebControls.FontNamesConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +136 System.ComponentModel.TypeConverter.ConvertFromString(String text) +9 Aspose.Grid.Web.ViewerStyleTemplate.parseXml(XmlElement ele) +889 Aspose.Grid.Web.GridWeb.ࣧ() +189 Aspose.Grid.Web.GridWeb.OnInit(EventArgs e) +1323 System.Web.UI.Control.InitRecursive(Control namingContainer) +321 System.Web.UI.Control.InitRecursive(Control namingContainer) +198 System.Web.UI.Control.InitRecursive(Control namingContainer) +198 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692
then i added the CustomStyleFileName="./style/3d.xml", it displayed :
Value cannot be null. Parameter name: host
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.ArgumentNullException: Value cannot be null. Parameter name:
host
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.
i made it working with the v1.6 of Aspose.Grid, so i think there are something wrong in the last version of 1.6.0.7. but CustomStyleFileName still does not work (host parameter NULL), it works only when i delete this property.