We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Gettiing error Microsoft JScript runtime error: 'acwmain' is undefined


i installed the aspose grid and i tried to just have a basic grid and it gives a runtime error:

Microsoft JScript runtime error: 'acwmain' is undefinedv

This message was posted using Page2Forum (attachment) from Upgrade from Aspose.Grid.Web to Aspose.Cells.GridWeb Control - Aspose.Cells for .NET


Such error occurs when GridWeb control has not been properly set.

Please download the Offline Version of Aspose.Cells.GridWeb demos. You can run them in Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010.

There are separate solution .sln files for each of the above Visual Studio versions.

Once you will run them, you will not encounter the problems relating to setting up the project for GridWeb control.


I am getting this error also. Can you provide more details in the setting up my own project for GridWeb? I've downloaded the demos and ran it. I am trying to create my own demo to test it out.

Thank you.


Please go through this Technical Article on how to integrate Aspose.Cells.GridWeb component in Visual Studio.

Also, check the attachment for a snapshot taken from Website Project build on Aspose.Cells.WebGrid [latest fix version is attached].

We suggest you to create a ASP.NET Web Application. Once you have created a Web Application project, expand the solution window and follow the below steps,
  1. Copy the folder acw_client and paste it directly on solution windows while selecting the top second node in the tree [second node is of project].
  2. Copy the Aspose.Cells.GridWeb.dll and paste it into the bin folder on solution window. If bin folder does not appear in solution window then you can copy the dll in bin folder after browsing to the location of your project. Once the dll is placed, add the reference to this newly pasted assembly in your project.
  3. Edit web.config and paste the lines between tags [as shown in image].
Note: tag can only appear under tag and for once in web.config.

You are ready to go. Please let us know if you need more elaboration. If you face any difficulties then post your project. We will look into it to provide your further guidance.

Thanks for the solution.


We are evaluating the product and I found this thread and followed your instructions and am still getting the acwmain problem. Using VS 2010 .net 3.5. Is there something else I need to do so it will start working?



Please refer to my answer in this your other thread for a help.


We recommend you to kindly first download and install Aspose.Cells for .NET package v7.1.1 using its MSI Installer:
It will also install Aspose.Cells.GridWeb on your machine v2.7.3.2000, now please use this control into your IIS based ASP.NET project.

Also, check the articles:

Moreover, we recommend you to evaluate and try our offline demos for your further reference:
(Check the readme.txt file in the archive)

If you still could not evaluate, kindly create a sample project and post it here, we will check it soon.

Thank you.