Windows Server 2008上使用Microsoft.Ink在ASP.NET [英] Using Microsoft.Ink in ASP.NET on Windows Server 2008

查看:146
本文介绍了Windows Server 2008上使用Microsoft.Ink在ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个ASP.NET Web应用程序。该网站会生成包含的手写内容(签名等)图像的PDF文件。位图图像由Microsoft.Ink文库的一些方法中,转换的MS油墨的数据(Tablet PC上生成,并传送至该站点。)

I'm developing an ASP.NET web application. The site generates PDF files which contain images of handwritten content (signatures etc.). The bitmap images are created by some methods of the Microsoft.Ink library, converting MS Ink data (generated on a Tablet PC and transferred to the site.).

现在,它的作品般的魅力我的Vista开发机上,而不是生产服务器,在Windows Server 2008 64位机器上。有一些非托管code为Microsoft.Ink除了我部署.NET程序集。所以我安装平板电脑SDK 1.7的服务器上 - 但是我还是在ASP.NET(0x80040154的收到COMException)缺少一些COM组件的错误消息:

Now, it works like charm on my Vista development machine, but not on the production server, a Windows Server 2008 64bit machine. There is some unmanaged code for Microsoft.Ink besides the .NET assemblies I deployed. So I installed the Tablet PC SDK 1.7 on the server - but I still get some missing COM component error messages in ASP.NET (COMException 0x80040154):

检索COM类工厂
  与CLSID组件
  {937C1A34-151D-4610-9CA6-A8CC9BDB5D83}
  由于以下错误失败:
  80040154。

Retrieving the COM class factory for component with CLSID {937C1A34-151D-4610-9CA6-A8CC9BDB5D83} failed due to the following error: 80040154.

我读过的Windows Server 2008 R2的有该选项来安装手写识别。是否有一个包的Windows Server 2008呢?我搜索谷歌,但我无法找到一个解决方案。

I've read that Windows Server 2008 R2 has the option to install Handwriting Recognition. Is there a package for Windows Server 2008 as well? I searched on Google, but I couldn't find a solution.

谢谢!

推荐答案

您是否尝试过重新编译只有86?您可能会发现其中一个组件是32位,并与64位code不兼容。我最近也有类似的经验,当我升级到一个新的笔记本电脑使用64位Vista的 - 即用于编译就好了不会任何更多的项目。原来,在Crystal Reports组件它只有32位,不会与64位code工作。我从任何CPU作为有效的解决方案平台,以86改变了它工作得很好。不幸的是,这意味着你的应用程序将无法充分利用的服务器的64位功能,但它会奏效。

Have you tried recompiling for x86 only? You may find that one of the components is 32-bit and is incompatible with 64-bit code. I had a similar experience recently when I upgraded to a new laptop with 64-bit Vista - a project that used to compile just fine wouldn't any more. It turned out that the Crystal Reports components in it were 32-bit only and would not work with 64-bit code. I changed from "Any CPU" as the active solution platform to "x86" and it worked fine. Unfortunately this means your app won't make full use of the 64-bit capabilities of the server, but it will work.

这篇关于Windows Server 2008上使用Microsoft.Ink在ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆