Crystal Report和ASP的问题 [英] problem with crystal report and asp

查看:85
本文介绍了Crystal Report和ASP的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我将Web应用程序迁移到Windows Server2008.然后,经典ASP页面中的Crystal Report无法正常工作.

我以前的版本

Windows Server 2003,
水晶报表11
.net 2.0

当前版本

Windows Server 2008 64位,
水晶报表XI r2.
.net 2.0.

我正在从经典的ASP页面调用水晶报表.

Server.Create Object("CrystalDecisions.Application.115");在此行出现错误.
我用Google搜索并尝试了所有解决方法.但是没有用.

是否可以从Server 2008 64位的ASP页面调用Crystal报表?


请帮帮我.


OP评论:
这是错误:

Dear All,
I migrated my web application to windows server 2008. Then crystal report in classic asp page is not working.

My previous versions

windows server 2003,
crystal report 11
.net 2.0

current versions

windows server 2008 64bit,
crystal report XI r2.
.net 2.0.

I am calling crystal report from classic asp page.

Server.Create Object("CrystalDecisions.Application.115"); getting error at this line.
I Googled and tried all work around. But not is working.

Is it possible to call crystal report from asp page in server 2008 64 bit?


Please help me.


OP Comment:
This is the error:

Error Occurred creating Report Object: 006~ASP 0177~Server.CreateObject Failed~800401f3

推荐答案

为什么800401F3/800A01AD错误?
此错误通常与尝试使用未在计算机上实际注册的ProgID创建COM对象的实例有关.错误消息可能是以下之一:

服务器对象错误''ASP 0177:800401f3''
Server.CreateObject失败
/<file>.asp,第< line>行
无效的类字符串

服务器对象错误''ASP 0177:800a01f3''
Server.CreateObject失败
/<file>.asp,第< line>行
无效的类字符串

Microsoft VBScript运行时(0x800A01AD)
ActiveX组件无法创建对象:< progid>
/<file>.asp,第< line>行

造成这种情况的常见原因是:

忘记使用regsvr32注册对象;
胖指ProgID(例如"CDNOTS.NewMial");
没有意识到该对象尚未实际安装;
损坏的MDAC(请参阅文章#2121;
使用未安装的MSWC或IIS示例组件(有关详细信息,请参见KB#249290).

有关确定服务器上是否安装了COM对象的信息,请参见文章#2135.

如果出现以下错误:

服务器对象错误''ASP 0177:80080005''
Server.CreateObject失败
/<file>.asp,第< line>行
服务器执行失败

有关适当设置MTS软件包标识的信息,请参见KB#241057.

如果您使用的是索引服务器,并且在以下行中发生此错误:

设置一些内容= Server.CreateObject("IXSSO.Query")

然后按以下顺序尝试以下操作:

确保启用了会话状态
停止索引服务,清空catalog.wci文件夹,然后重新启动索引服务
升级到版本3.0
卸载/重新安装索引服务器
Why do I get 800401F3 / 800A01AD errors?
This error is usually associated with trying to create an instance of a COM object using a ProgID that is not actually registered on the machine. The error message might be one of the following:

Server object error ''ASP 0177 : 800401f3''
Server.CreateObject Failed
/<file>.asp, line <line>
Invalid class string

Server object error ''ASP 0177 : 800a01f3''
Server.CreateObject Failed
/<file>.asp, line <line>
Invalid class string

Microsoft VBScript runtime (0x800A01AD)
ActiveX component can''t create object: <progid>
/<file>.asp, line <line>

Common causes for this are:

forgetting to register the object using regsvr32;
fat-fingering the ProgID (e.g. "CDNOTS.NewMial");
not realizing that the object is not actually installed;
corrupted MDAC (see Article #2121;
using an MSWC or IIS sample component that is not installed (see KB #249290 for more info).

See Article #2135 for information on determining if a COM object is installed on your server.

If you are getting the following error:

Server object error ''ASP 0177 : 80080005''
Server.CreateObject Failed
/<file>.asp, line <line>
Server execution failed

See KB #241057 for information on setting your MTS package identity appropriately.

If you are using Index Server, and this error occurs on the following line:

Set something = Server.CreateObject("IXSSO.Query")

Then try the following, in this order:

Make sure session state is enabled
Stop Index Service, empty the catalog.wci folder, restart the Index service
upgrade to version 3.0
uninstall / reinstall Index Server


这篇关于Crystal Report和ASP的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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