Error Viewing a Report in Vista AxCrystalActiveXReportViewer 17/09/2008 09:38:52
Messasge: Unable to get the window handle for the 'AxCrystalActiveXReportViewer' control. Windowless ActiveX controls are not supported.
Source: System.Windows.Forms
Stack Trace: at System.Windows.Forms.AxHost.InPlaceActivate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at CrystalDelivery.frmViewer.InitializeComponent()
at CrystalDelivery.frmViewer..ctor()
at CrystalDelivery.frmMain.ViewReport()
Target Site: Void InPlaceActivate()
Above is an error we are getting when trying to view a very simple report in version 7.0.7. I have tried the following to attempt to resolve the issue:
1. Installed Crystal Reports
2. Installed .Net 2.0 SDK to change .Net Permissions (reports are on network)
3. Turned DEP on (and turned it off again)
4. Installed version 6
None of these have resolved the problem.
Any help would be gratefully received.
Phil- 11-26-2008
I am currently having the same issue when trying to use a windowless view through a finance package.
Works fine in XP
Has a solution been found for this?
Kind Regards,
Phil
Phil- 11-26-2008
Ok,
I have had a bit of a play and the line of code
bcdedit.exe /set {current} nx AlwaysOff
Does resolve the issue.
How ever it does make the computer very vulnerable. Is there a switch that will allow to just set the value off for a particular application?
I tried through System but no go as says unable to set parameter for this application.
I will have to force through cmd.
Any help would be greatly appreciated.
Kind Regards,
Phil
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.