cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create a top-level child window

Former Member
0 Kudos

Dear Experts,

I have two issues.

I'm working in WPF browse application with framework 4.5 and using VB script as well as I'm using sap crystal report

1.  when I rebuilt project then I'm getting a Warning

Warning 1 Referenced assembly 'C:\Windows\assembly\GAC_64\log4net\1.2.10.0__692fbea5521e1304\log4net.dll' targets a different processor than the application. Ocean

------------------

2. is, I have created two crystal report in WPF Application  A. rptproductlist, B. rptHeader

I have insert rptHeader as subreport into rptproductlist in Report header section (Report is viewing fine)

after viewed the report when enter mouse or move mouse in subreport area then getting an error

Please guide me what is wrong with this

Thanks & Regards

Manoj Patel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Experts,

Soled my issue with miner changes

        <CrystalViewer:CrystalReportsViewer.Owner>

            <CrystalViewer:DialogBase/>

        </CrystalViewer:CrystalReportsViewer.Owner>


whole code as


<Window x:Class="frmcrviewer"

             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

             xmlns:CrystalViewer="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"   WindowState="Maximized"  WindowStartupLocation="CenterScreen">

                <CrystalViewer:CrystalReportsViewer Name="crViewer" EnableToolTips="False" >

        <CrystalViewer:CrystalReportsViewer.Owner>

            <CrystalViewer:DialogBase/>

        </CrystalViewer:CrystalReportsViewer.Owner>

    </CrystalViewer:CrystalReportsViewer>

</Window>

Answers (2)

Answers (2)

former_member183750
Active Contributor
0 Kudos

Re. issue1;

Use the search box in the top right corner. Search for 'log4net crystal net'. When the search results return, you can filter for KBAs by clicking on the "Support Notes" link on the left ide. Re. # 2, do as Don recommended please.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

0 Kudos

One issue per post, this way it keeps the step clear and easier to search for things.

Please search for log4net, you'll find lots of post on how to resolve those issues.

Thanks

Don