Silverdox Testing

27 views
Skip to first unread message

Sanjay Mishra

unread,
Sep 24, 2012, 2:19:24 AM9/24/12
to silv...@googlegroups.com

Dear,

I have tested the silverdox viewer at my silverlight 4.0 application and works fine. But I have some queries like

Q1. As per my application the multiple client can attched at the same time after ligin into application. So when the first client loaded .xod file, it loaded at their end, but at the same time other client got an error the message is below:
    An unhadled exception ('Unhandled Error in Silverlight Application Code: 4004, Category: ManageRuntimeError, Message: System.NullReferenceException: Object reference not set an instance of object.)

  So, how we handled with this error, so that other client also can view the same .xod file.

Q2. When a silverlight client press scroll up/down for document scroll, is it communicate to other client. If yes, the how please give example.

Q3. If I want to convert a pdf/ppt into .xod format with PDFNET into one step programaticcaly.
      e.q. If a client browse pdf/ppt file, it will convert into .xod file programatically and shown into silverdox viewer, and then shown to other client as well. If any sample you can provide to convert the PDF/PPT to .xod programatically.

Thanks in advance

James

unread,
Sep 25, 2012, 8:55:40 PM9/25/12
to silv...@googlegroups.com
Q1: Unless you've added a communication feature between clients, they should have no knowledge of each other, and so should behave the same whether the other exists or not. Likewise, so long as the webserver isn't set to limit the number of open connections, it should serve the .xod file to as many clients as request it. If you have a stacktrace showing where the exception took place, it would be help determine possibilities for its cause.

Q2: I'm not exactly sure of the functionality that you are are trying to achieve, but SilverDox does not have any client-to-client communication methods, and so these would be up to the application developer to implement.

Q3: Please have a look at the sample "WebViewerStreaming", included in our PDFNet download. It shows how to convert documents on demand and stream them to a SilverDox client.
Reply all
Reply to author
Forward
0 new messages