Cannot run the .net aspose.word demo

hi

I am trying to evaluate your Aspose.word product. Having the Aspose.word msi installed it tried run the demo in demos/csharp/webforms. After copying its files into my local server and trying to browse it through a browser, I get the following error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type ‘Aspose.Words.Demos.WebForms.Global’.

Source Error:

Line 1: <%@ Application Codebehind=“Global.asax.cs” Inherits=“Aspose.Words.Demos.WebForms.Global” %>

Source File: /aspose/global.asax Line: 1

Please advice.

Regards,

Abtin Ghods

Hi

Thanks for your inquiry. Please make sure that you properly add reference to Aspose.Words dll into the demos project and properly build the project before loading it to the server.

Please let me know if you need more assistance, I will be glad to help you.

Best regards,

Newbie alert!

I’m getting the same error as abets. I’ve run the install (Aspose.Words.msi) then created an application called aspose on my development server pointing to C:\Program Files (x86)\Aspose\Aspose.Words for .NET\Demos\VisualBasic\WebForms and tried to run http://localhost/aspose/default.aspx but got the could not load type.

“Please make sure that you properly add reference to Aspose.Words dll into the demos project and properly build the project before loading it to the server.”

Could you elaborate on this comment for a newbie please. There’s no mention of doing anything additional in the documentation.

Hello,

Thanks for your inquiry. Please read this article from our documentation: https://docs.aspose.com/words/net/

I think it is help you! If you have any other questions, feel free to ask.

How would I go about doing what is suggested in that link in Microsoft Visual Web Developer 2010 Express? Or do I need Microsoft Visual Studio?

Forgive the rather newbie questions. I’m slowly converting our web application to asp.net from asp so somewhere behind the times as it were.

Hi

Thanks for your request. You can run demos in any version of Visual Studio. Just open solution in Visual Studio. If the project was created with older version, Visual Studio will convert the project to newer. Once you open the project, try to compile it, if there are errors, make sure all references are added. Just expand references folder under the project. If there is no reference to Aspose.Words, right click on the References folder and add the reference to Aspose.Words.dll.

Best regards,