| |
ActiveReports for .NET 2.0 Visual Studio .NET 2005 Support
Started by cjorgensen at 11-08-2005 4:18 AM. Topic has 9 replies.
 
 
|
|
Sort Posts:
|
|
|
|
11-08-2005, 4:18 AM
|
cjorgensen
Joined on 09-30-2003
Edmonds, Washington
Posts 49
|
Upgrade reports in a project
|
|
|
|
|
Ok. I have looked and can't find the answer. I just installed VS 2005 PRO and downloaded the latest Beta of .NET for 2005. I load my VS 2003 project and the wizard converts the application for me. I can compile and run it, and it works great. Only problem is that the reports don't work. It seems like it seperates some of the files. What can I do to get my VS 2003 Active Reports 1.0 reports to convert over correctly to the new VS 2005 Active Reports 2.0. Thanks, Cory Jorgensen Bitco Software
Thank you,
Cory Jorgensen Bitco Software
|
|
|
|
|
Report
|
|
|
|
11-08-2005, 10:56 AM
|
cjorgensen
Joined on 09-30-2003
Edmonds, Washington
Posts 49
|
Re: Upgrade reports in a project
|
|
|
|
|
|
No, this isn't a windows project. It is a web project. When the wizard converts it, it takes the .vb file and put it under another directory called App_Code. When I try to view the code it can't find the reference to the code and when I run it, this is the error I get. DataDynamics.ActiveReports.ReportException: Can't load report layout - resource "PermitTraxAdmin.rptCustomData.rpx" is not available (check if renamed, moved, or deleted). at DataDynamics.ActiveReports.ActiveReport.LoadLayout(Type type, String resourceName) at PermitTraxLogin.rptCustomData.InitializeReport() in c:\inetpub\wwwroot\PermitTrax\App_Code\admin\Reports\rptCustomData2.vb:line 74 at PermitTraxLogin.rptCustomData..ctor() in c:\inetpub\wwwroot\PermitTrax\App_Code\admin\Reports\rptCustomData2.vb:line 46 at PermitTraxLogin.wfViewReport.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\PermitTrax\Admin\wfViewReport.aspx.vb:line 43 Thanks, Cory
Thank you,
Cory Jorgensen Bitco Software
|
|
|
|
|
Report
|
|
|
|
11-08-2005, 1:18 PM
|
cjorgensen
Joined on 09-30-2003
Edmonds, Washington
Posts 49
|
Re: Upgrade reports in a project
|
|
|
|
|
I am doing this in VB... so should that be: Rename the *.vb to *.rpx.vb?
Thank you,
Cory Jorgensen Bitco Software
|
|
|
|
|
Report
|
|
|
|
11-08-2005, 1:41 PM
|
cjorgensen
Joined on 09-30-2003
Edmonds, Washington
Posts 49
|
Re: Upgrade reports in a project
|
|
|
|
|
When I change the name in the XML file, and then open up the report in the designer, it clears the name and puts it back to "".
Thank you,
Cory Jorgensen Bitco Software
|
|
|
|
|
Report
|
|
|
|
11-08-2005, 1:41 PM
|
rakeshjani
Joined on 08-28-2004
Columbus,Ohio
Posts 362

|
Re: Upgrade reports in a project
|
|
|
|
|
Yes but why are you changing the name of the xml files? You don't need to do this. Just right click on rpx, select the openwith option and open in the xml editor. and change the code base.
Rakesh Jani
|
|
|
|
|
Report
|
|
|
|
11-08-2005, 1:45 PM
|
cjorgensen
Joined on 09-30-2003
Edmonds, Washington
Posts 49
|
Re: Upgrade reports in a project
|
|
|
|
|
Ok... I got it to work. The problem was that my files were like this: report.rpx and report2.vb When I changed report2.vb to report2.rpx.vb it didn't like the fact it didn't have the same name. So I changed it to report.rpx.vb and now it is associated correctly. Thought I would share if anyone else has this problem. Thanks, Cory Jorgensen Bitco Software
Thank you,
Cory Jorgensen Bitco Software
|
|
|
|
|
Report
|
|
|
|
11-10-2005, 10:11 PM
|
Perecli
Joined on 08-28-2004
Posts 3
|
Re: Upgrade reports in a project
|
|
|
|
|
|
I tried your step by step conversion but still have a problem. In the .vb file there is a reference that can not be resolved. Public Sub InitializeReport() Me .LoadLayout( Me .GetType, "ArgoWeb.BalanceSheet.rpx" ) ... ...
End Sub On this LoadLayout call the runtime complains with: Can't load report layout - resource "ArgoWeb.BalanceSheet.rpx" is not available (check if renamed, moved, or deleted).
However if I add a new report, there is no LoadLayout but instead there is something like this: Me .XmlLayout = "<?xml version=""1.0"" ......
It looks like the conversion is a lot more complicated than the steps you mentioned. Don't you have some conversion tool for this? I have a lot of reports to convert and I have spent hours on just this one with no solution.
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Forum Archives » ActiveReports f... » Upgrade reports in a project
|
|
|
|
|