When adding the Aspose.Words.dll to my project and trying to use “Publish Website” in VS 2010, I get the following error.
Unable to add ‘bin/AjaxControlToolkit.dll’ to the Web site. The Web server does not appear to have FrontPage Server Extensions installed.Error: The operation could not be completed. Unspecified error
FrontPage Server Extensions are installed on the server since I’m able to publish other websites. If I use an older version of Aspose (Aspose.Word.dll), which is 32-bit, I don’t have any problems publishing.
Any help would be appreciated!
Hello,
Thank you for your request.
Could you please describe the software on your server (OS, IIS).
And a brief outline of the points as I can simulate the problem. I will tune up a virtual machine and give you more detailed information.
I’m using VS 2010 on Windows 7 Professional N (64 bit) to publish the website.
I’m publishing to a website on Windows Server 2008 Standard SP2 (64 bit). The web server has IIS 7.0 and the website is using a .NET 4.0 Application Pool with 32-bit Applications enabled.
Here are some of the properties of the Application Pool:
.NET Framework Version: v4.0
Enable 32-Bit Applications: True
Managed Pipeline Mode: Integrated
Identity: NetworkService
I can publish the same website (using 32-bit version of Aspose) to the same server and same application pool and everything works fine.
Hi
Thank you for additional information. Older and new Aspose.Words.dll is compiled for “Any CPU”. So I do not think the it is the reason of the problem.
Could you please also specify which version of Aspose.Words you are using? There are few Aspose.Words dlls in the installation package, one for each client profile. For ASP.NET application you should use .NET 1.1 or .NET 2.0 client profile dll. So please make sure you are using a right dll.
Best regards,
Hi Alexey,
Thanks for the response.
We purchased Aspose.Words for .NET Developer Enterprise Subscription. The license file has the following information:
LicenseType: Developer Enterprise Subscription
Product: Aspose.Words for .NET
EditionType: Enterprise
LicenseVersion: 2.2
In the bin folder i see 6 folders (listed below), 1 PDF, and 1 readme.txt
net1.1
net1.1_AuthenticodeSigned
net2.0
net2.0_AuthenticodeSigned
net3.5_ClientProfile
net3.5_ClientProfile_AuthenticodeSigned
The readme.txt says that net2.0 “Contains assemblies to use with .NET Framework 2.0, 3.0, 3.5, 4.0 and Mono. This is the assemblies that you should normally use.”
For net3.5_ClientProfile it says “Contains assemblies to use with .NET Framework 3.5 or 4.0 Client Profile.”
We are on .NET 4.0 and VS 2010. I tried using the net1.1, net2.0, and net3.5_ClientProfile dlls and none of them worked.
Am I using the correct dlls?
-Amarjot
Hello,
Thank you for additional information.
Unfortunately I was not able to reproduce your problem on my side.
Please tell me a version of the library Aspose.Words.dll.
Right-click on the library, select “Properties”. On the tab “Details” found “File version”.
Type: Application extension
File version: 9.5.0.0
Product name: Aspose.Words for .NET
Product version: 2010.10.31
Size: 4.81 MB
Original filename: Aspose.Words.dll
Hi
Thank you for additional information. Have you tried using the latest version of Aspose.Words (9.7.0)? You can download the latest version from here:
https://releases.aspose.com/words/net
Also, please make sure you are using the latest version of AjaxControlToolkit. You can get the latest version from here:
http://www.asp.net/ajaxlibrary/Download.ashx
Best regards,
I just downloaded the latest version of Aspose.Words (9.7.0) and that didn’t fix the problem either.
I also verified that I am using the latest version of AjaxControlToolkit.
Hi
Thank you for additional information. Let’s try to narrow down the problem to a simple application. Please try creating a simple ASP.NET application, add reference to Aspose.Words and try to publish this application. Does the problem occur with such a simple application?
If not, try to add some functionality to it, for example creating a “Hello World!!!” document using Aspose.Words on button click. Again, try to publish this application.
If you will be able to reproduce the problem with such a simple application, please attach whole solution here for testing. We will check it on our side and provide you more information.
Please use Aspose.Words.dll for .NET 2.0 for testing.
Thank you for cooperation and sorry for inconvenience.
Best regards,