majorsilence/My-FyiReporting — Issue #9: RemotingException on re-open RdlDesigner
Author: ausadmin
Created: 2012-02-07 19:18:46+00:00
State: open

I'm not sure if this is actually an issue or my misunderstanding of how to use RdlDesigner. We need a very simple designer to allow our users to edit report designs, and it seems RdlDesigner could meet our needs (in fact it does much more than we need).

We are using RdlDesigner as follows

'manage the designer
_designer = New fyiReporting.RdlDesign.RdlDesigner("ReportChannel", False)
_designer.Show()
_designer.OpenFile(filePath)
_designer.Text = "Report Designer"

'add a handler to detect the save
AddHandler _designer.SavedFileEvent, AddressOf designer_SavedFileEvent

This works very well the first time RdlDesigner is opened, however if the user tries to edit the report again, we get a RemotingException:
Failed to create an IPC Port: Access is denied.

Perhaps IpcChannelPortName is not being used correctly? How should RdlDesigner be opened again.

On a possibly releated note, there is no click event associated with File > Exit, so the exit menu does not work (easily fixed by connecting up the event handler, but maybe there is a reason for this).

Thanks,
Tim