Follow us on LinkedIn Find us on YouTube
home recent topics recent posts search faq  

Devolutions inc. > Forum

user:
psw:
| register | lost password   open id
Messages in this topic - RSS

Home » Remote Desktop Manager - AddOns » Modify existing PDF Add-on

Remote Desktop Manager - AddOns support
7/20/2011 12:00:32 PM

thfs
thfs
Posts: 59
Could the existing PDF Add-on be modified to include ‘http://sharepoint/<filename>.pdf’ as our files are located on a Microsoft SharePoint?

A workaround is to use the web browser session, then change the icon image.
Just ignore error message: The Web Browser url is not valid, do you want to continue?

Cheers,
thfs
0 permalink
7/20/2011 1:11:15 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Just to be sure I understand, we will download it and open it in the application?

--
David Hervieux
Devolutions inc.


0 permalink
7/21/2011 9:10:35 AM

thfs
thfs
Posts: 59
The following example gives error: Unable to open the requested file!
Suggestion, when 'http://' is specified the 'PDF Viewer' field could change to the 'Web browser application' field.



Cheers,
thfs
0 permalink
7/21/2011 10:24:21 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Ok,
I see

--
David Hervieux
Devolutions inc.


0 permalink
12/7/2011 7:31:14 PM

thfs
thfs
Posts: 59
Any updates? I have PDF Add-on version 1.3.0.0 installed.

Cheers,
thfs
0 permalink
12/7/2011 8:30:00 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
It's implemented in the version 1.3. Do you received an error?

--
David Hervieux
Devolutions inc.


0 permalink
12/7/2011 9:23:16 PM

thfs
thfs
Posts: 59
David Hervieux wrote:
Do you received an error?

Error Message: Unable to retrieve <filename>.pdf

I have PDF Add-on version 1.3.0.0 installed. While the screenshot example above works, it doesn't for the following:
http://sharepoint/sites/network/Shared%20Documents/IP_Addresses_1.0.pdf
Its probably related to the space (%20)

Cheers,
thfs
0 permalink
12/8/2011 7:58:26 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Have you tried with a pdf somewhere else?

--
David Hervieux
Devolutions inc.


0 permalink
12/8/2011 8:51:27 AM

thfs
thfs
Posts: 59
David Hervieux wrote:
Have you tried with a pdf somewhere else?

Yes, the 'http://remotedesktopmanager.com/download/RDM6.0.pdf' example above works.

Cheers,
thfs
0 permalink
12/8/2011 8:54:31 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
I will andré to do some test with %20

--
David Hervieux
Devolutions inc.


0 permalink
12/8/2011 12:13:23 PM

ASanscartier
ASanscartier
Posts: 67
Hi,

I have just tried to view a pdf file in a folder with "%20" and it works.
I will let you do the same test.
http://remotedesktopmanager.com/Space%20folder/RDM6.0.pdf
I will delete this folder after you will have finish with it.

Is it possible that it is a security/login issue with Sharepoint. Do you need to have an open session ?

Regards
edited by ASanscartier on 12/8/2011
edited by dhervieux on 12/8/2011

--
André Sanscartier
Devolutions inc.


0 permalink
12/8/2011 3:51:30 PM

thfs
thfs
Posts: 59
ASanscartier wrote:
I have just tried to view a pdf file in a folder with "%20" and it works.
I will let you do the same test.
http://remotedesktopmanager.com/Space%20folder/RDM6.0.pdf
I will delete this folder after you will have finish with it.

Is it possible that it is a security/login issue with Sharepoint. Do you need to have an open session ?

The SharePoint uses my existing Windows Security Credentials.

Successful for:
http://remotedesktopmanager.com/Space%20folder/RDM6.0.pdf

Unsuccessful for:
http://sharepoint/sites/network/Shared%20Documents/Standards/RDM6.0.pdf
Error: Unable to retrieve RDM6.0.pdf

Unsuccessful for:
file://c:/RDM6.0.pdf
Error: Unable to open the requested file!

Successful for:
c:/RDM6.0.pdf

Successful for:
c:\RDM6.0.pdf

All of the above examples are successful in a Web Browser.

Cheers,
thfs
0 permalink
12/8/2011 5:29:06 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
The add-on is not a web browser. We download the file and open it. This explain the problem with file://. For Sharepoint, I''m not sure that we are able to download a file if we are not logged. Just to be sure I understand, Sharepoint use your domain credentials? I will talk to André and he might be able to supply them.

--
David Hervieux
Devolutions inc.


0 permalink
12/8/2011 7:22:32 PM

thfs
thfs
Posts: 59
David Hervieux wrote:
Just to be sure I understand, Sharepoint use your domain credentials?

Correct.

Cheers,
thfs
0 permalink
12/12/2011 8:35:33 AM

ASanscartier
ASanscartier
Posts: 67
Hi,

Could you test this new DLL please ?
I added the possibility to use your default credentials.
You just have to edit your session to activate this option.

Regards

--
André Sanscartier
Devolutions inc.




Attachments:
PDFAddOn.zip
0 permalink
12/13/2011 1:33:55 PM

thfs
thfs
Posts: 59
ASanscartier wrote:
Could you test this new DLL please ?

Tried to add new session using 'http://sharepoint/sites/network/Shared%20Documents/Standards/RDM6.0.pdf' and got the following error:

Unexpected error, contact us at remotedesktopmanager.com

OS: Windows XP Service Pack 3 32-bit

InvalidOperationException - There was an error generating the XML document.

at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces)
at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o)
at RemoteDesktopManager.AddOn.PDFAddOn.PDFConfiguration.ToXml()
at RemoteDesktopManager.AddOn.PDFAddOn.PDFEditor.SaveFromControls()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreAddOnConnectionSettings.SaveConnectionFromControls(Connection connection, ConnectionType connectionType, String connectionSubType)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.SaveConnectionFromControls(Connection connection)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.butOk_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

InvalidCastException - Unable to cast object of type 'RemoteDesktopManager.AddOn.PDFAddOn.PDFConfiguration' to type 'RemoteDesktopManager.AddOn.PDFAddOn.PDFConfiguration'.

at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterPDFConfiguration.Write4_PDFConfiguration(Object o)
0 permalink
12/13/2011 1:35:06 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
This error usually happen when you have the dll installed twice. Once in the application folder and once in the %LocalAppData%\Devolutions\RemoteDesktopManager

--
David Hervieux
Devolutions inc.


0 permalink
12/13/2011 2:05:47 PM

thfs
thfs
Posts: 59
David Hervieux wrote:
This error usually happen when you have the dll installed twice.

Thank you, removing the duplicate DLL resolved the error. I can now read the PDF file from the Sharepoint, but I must check the option 'Use default credentials'.

Cheers,
thfs
0 permalink
1/25/2012 3:32:54 PM

thfs
thfs
Posts: 59
The PDFAddOn.dll file has not been updated on the Add-ons webpage, its still 1.3.0.0.

Are the other files even necessary?
AxInterop.AcroPDFLib.dll
AxInterop.PDFXCviewAxLib.dll
Interop.AcroPDFLib.dll
Interop.PDFXCviewAxLib.dll

Cheers,
thfs
0 permalink
1/25/2012 4:46:06 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
Have you tried the latest beta? This add-on is now included and it will be removed from the web site. So all those dll will no longer be needed.

--
David Hervieux
Devolutions inc.


0 permalink

Home » Remote Desktop Manager - AddOns » Modify existing PDF Add-on





Powered by Jitbit Forum 7.0.4.0 © 2006-2011 Jitbit Software