最新最好的? Visual Studio 2005和Crystal Reports [英] Latest and Greatest? Visual Studio 2005 and Crystal Reports

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

问题描述





Crystal Reports Engine似乎正在尝试读取一个无法找到的
配置文件,因为我们的方法很有用用于将我们的应用程序作为托管程序集启动。

It appears that the Crystal Reports Engine is trying to read a
configuration file that cannot be found most likely due to the method
we use for launching our applications as managed assemblies.


请参阅下面的错误,在这里寻找".config":
http://intranet.taglab.org/
SharedApps-TEST / Stub.exe?loc = NERKA2& app = CS& tm = TRUE.config


See in the error below the '.config' is being sought here:
http://intranet.taglab.org/
SharedApps-TEST/Stub.exe?loc=NERKA2&app=CS&tm=TRUE.config


我的问题是:


My questions are:


CR正在寻找什么配置文件?它是动态动态的还是在客户端机器上罐装的东西?


What configuration file is CR looking for?  Is it dynamic on the fly
or something canned on the client machine?


如何使用定义的命令/
path /重定向CR来查找此文件以防止上述错误?


How can I redirect CR to look for this file using a defined command/
path/whatever to prevent the above error?


System.TypeInitializationException:
'CrystalDecisions.CrystalReports.Engine.ReportDocument'的类型初始值设定项引发了一个
异常。 ---> System.Configuration.ConfigurationErrorsException:
配置系统初始化失败--->
System.Configuration.ConfigurationErrorsException:根

级别的数据无效。第1行,第1位。( http://intranet.taglab.org/
SharedApps-TEST / Stub.exe?loc = NERKA2& app = CS& tm = TRUE.config line 1) - -


System.TypeInitializationException: The type initializer for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an
exception. ---> System.Configuration.ConfigurationErrorsException:
Configuration system failed to initialize --->
System.Configuration.ConfigurationErrorsException: Data at the root
level is invalid. Line 1, position 1. (http://intranet.taglab.org/
SharedApps-TEST/Stub.exe?loc=NERKA2&app=CS&tm=TRUE.config line 1) ---


System.Xml.XmlException:根级别的数据无效。第1行,
位置1.
System.Xml.XmlTextReaderImpl.Throw(Exception e)
System.Xml.XmlTextReaderImpl.Throw(String res,String arg)
System.Xml。 XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()


System.Xml.XmlException: Data at the root level is invalid. Line 1,
position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()

推荐答案

此错误通常是由未正确安装或未安装的错误引起的足够的权限。最好的办法是卸载Crystal,然后重新安装。
This error is usually caused by something not being installed correctly, or not having sufficient permissions.  The best thing to do is uninstall Crystal, and reinstall it.


这篇关于最新最好的? Visual Studio 2005和Crystal Reports的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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