Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 24th, 2006, 04:13 AM
Authorized User
Join Date: Nov 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cryatal Report and Word document object conflict


In my application(Asp.net),I am doing mail-merging in word document.To access Word object I put <identity impersonate="true" />.If I don't use impersonation then I will not be able to access Word object.

Problem which I am facing is of Crystal Report.There are some crystal reports in that project.If I put <identity impersonate="true" /> in web.config then my crystal reports don't work.If I remove that tag they work.But when I remove "identity" tag then word document doesn't work it gives me the error of "Unauthorized access".Please help me.


Old July 24th, 2006, 05:25 AM
Authorized User
Join Date: Nov 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

i forgot to tell I get this error when I exceute crystal report after setting impersonate="true" :

CrystalDecisions.CrystalReports.Engine.LoadSaveRep ortException: Load report failed. at .F(String  , EngineExceptionErrorID  ) at .B(String , Int32 ) at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.'() at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.get_Database()

what do I gusee it is an authentication problem.Plese let me know how to fix it.So that i can access word document as well as crystal report.One poer thing this problem comes only when I host my application on the production server

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report and word document conflict deeptisingh20 ASP.NET 1.0 and 1.1 Professional 0 July 24th, 2006 04:15 AM
Cryatal Report Help newbeenthere Crystal Reports 0 May 9th, 2006 05:05 PM
Reading from a word Document Thagi C# 2005 1 May 8th, 2006 08:17 PM
Crystal Report to word document? help cwaletzko Crystal Reports 0 January 28th, 2005 01:30 PM
Reserved word conflict! Timmyboy SQL Language 4 June 14th, 2004 02:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.