DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 01 Aug 2007 16:28:17 -0000,    posted on: microsoft.public.dotnet.distributed_apps        back       

Thread Index
  1    Tim Frawley


HELP! Crystal Reports for VS2005 not working!   
I am running our applications as managed assemblies from our intranet
site using a stub executable to load the assembly on the clients
machine.  Using Visual Studio 2003 and Crystal Reports version 9 this
worked fine because I installed all the supporting dlls on the
clients
machine ahead of time.

However, using Crystal Reports for Visual Studio 2005 I get the
following error when attempting to print from an assembly loaded from
our intranet site:


Note this line in the error message:
http://intranet.taglab.org/SharedApps-TEST/Stub.exe?loc=NERKA2&app=CS...


Something is looking for a .config file in the executing path and
obviously not finding it.  How can I change this behavior?


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: 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()
   at System.Configuration.XmlUtil..ctor(Stream stream, String name,
Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
   at
System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
   --- End of inner exception stack trace ---
   at
System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean
ignoreLocal)
   at
System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfiguratiĀ­
onSchemaErrors
schemaErrors)
   at
System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at
System.Configuration.ClientConfigurationSystem.EnsureInit(String
configKey)
   --- End of inner exception stack trace ---
   at System.Configuration.ConfigurationManager.GetSection(String
sectionName)
   at System.Configuration.ConfigurationSettings.GetConfig(String
sectionName)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
   --- End of inner exception stack trace ---
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at CommercialSample.frmCommercialSample.miPrint_Click(Object
sender, EventArgs e)
Date:Wed, 01 Aug 2007 16:28:17 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us