Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

Error Viewing a Report in Vista AxCrystalActiveXReportViewer

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help
View previous topic :: View next topic  
Author Message
kitmancraig

Joined: 12 Sep 2008
Posts: 9
PostPosted: Wed Sep 17, 2008 3:32 am    Post subject: Error Viewing a Report in Vista AxCrystalActiveXReportViewer Reply with quote

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.
Back to top
View user's profile Send private message
Phil

Joined: 26 Nov 2008
Posts: 2
PostPosted: Wed Nov 26, 2008 3:31 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Phil

Joined: 26 Nov 2008
Posts: 2
PostPosted: Wed Nov 26, 2008 6:25 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron