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
Just to be sure I understand, we will download it and open it in the application?
David Hervieux
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
Ok,
I see
David Hervieux
Any updates? I have PDF Add-on version 1.3.0.0 installed.
Cheers,
thfs
Hi,
It's implemented in the version 1.3. Do you received an error?
David Hervieux
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
Have you tried with a pdf somewhere else?
David Hervieux
Yes, the 'http://remotedesktopmanager.com/download/RDM6.0.pdf' example above works.
Cheers,
thfs
I will andré to do some test with %20
David Hervieux
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
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
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
Correct.
Cheers,
thfs
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
PDFAddOn.zip
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)
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
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
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
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
My installed PDFAddOn.dll file is version 1.4.0.0 and works perfectly.
Cheers,
thfs
Hi,
I mean the latest beta version of Remote Desktop Manager (6.9.5.0)
David Hervieux