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” %>
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.
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.
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,
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.
Enables storage, such as cookies, related to analytics.
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.