Also I was only able to fix the problem by moving up the .RPT files to the root directory where the project solution file existed, this way NANT would not add in the subdirectory path erroneously into the namepace of the resource in the manifest.  Please respond.  Thanks.

 

-----Original Message-----
From: David Bibayoff
Sent:
Friday, October 17, 2003 10:32 AM
To: '[EMAIL PROTECTED]'
Subject: NANT bug.

 

I earlier sent this message but recently found bug 805307 csc task - wrong resource ID for code-behind resources which may be a solution to my problem if

it extended itself to a Crystal report .RPT resource.  I noticed the ILDASM disassembly of the manifest NANT created using a solution XML tag(see below)

was different from the manifest created by Visual Studio IDE 2003 where the namespace of the resource RPT erroneously included in the filename path.

The bug 805307 does resolve this but does it do it for RPT file types - reference answer in the 805307.  By the way is this bug fix in the current version already or do I have to patch this?  - I am new to your site and product.  If I should be making this request in your site differently please advise.  Thanks.

 

<target name="build">

                        <solution configuration="release">

                                    <projects>

                                                <includes name="*.vbproj" />

                                    </projects>

                        </solution>

            </target>

 

The previous EMAIL path.

 

Has anyone had any success with building a VB.NET project which includes Crystal .RPT files?  The first build complained about unauthorized access to the .RPT files.  After I took the read only flag off, I recompiled without error but running the ASP.NET application failed with unable to find the report in the manifest resources.  The project file was built using the <solution> tag.  Does NANT know what to do with .RPT extension files in builds? 

 

CrystalDecisions.CrystalReports.Engine.InternalException error (0x4):  CrystalDecisions.CrystalReports.Engine.InternalException: "Unable to find the report in the manifest resources. Please build the project, and try again.

   at _._F(String _     , EngineExceptionErrorID _

)

   at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument._(()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object value)

  

 

BELOW is NANT bug documentation:

http://sourceforge.net/tracker/index.php?func=detail&aid=805307&group_id=31650&atid=402868

"WorldSecure <nefn.com>" made the following
annotations on 10/17/03 13:42:42
------------------------------------------------------------------------------


The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message.


==============================================================================

Reply via email to