We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cant open file on server

Thread ID:

Created:

Updated:

Platform:

Replies:

76067 Aug 21,2008 10:02 AM UTC Oct 14,2009 06:27 AM UTC ASP.NET Web Forms (Classic) 5
loading
Tags: DocIO
Administrator [Syncfusion]
Asked On August 21, 2008 10:02 AM UTC

Hi.

I am trying to use DocIO to open and read a word document.

I get the following error:

Cannot open storage. File Name is: /usercvs/343/Paul_Davidson_CV.doc

The filename I am trying to access is configured as follows:

dim strFilename as string = "/usercvs/343/Paul_Davidson_CV.doc"

Is this correct? Or do I somehow need to get remote paths or something?

Thanks, Paul.


Bhuvaneswari P [Syncfusion]
Replied On August 21, 2008 11:32 AM UTC

Hi Paul,

Thank you for your interest in Syncfusion products.

What you have tried is correct to open the document from the server. Could you please ensure that document is opening from local disk (copy into c: and try to open using DocIO), if again shows the same error then there is a problem with the document, in that case please send the file to us to reproduce the issue and investigate more on this issue.

Please let me know if you have any questions.

Best Regards,
Bhuvana



Administrator [Syncfusion]
Replied On August 21, 2008 12:44 PM UTC

it now seems to work, I changed the file location to :

Dim strFileLocation As String =
Server.MapPath("/usercvs/" &
candidateID.ToString() & "/" & strFilename)

so it was all just about the remote server path.

>Hi Paul,

Thank you for your interest in Syncfusion products.

What you have tried is correct to open the document from the server. Could you please ensure that document is opening from local disk (copy into c: and try to open using DocIO), if again shows the same error then there is a problem with the document, in that case please send the file to us to reproduce the issue and investigate more on this issue.

Please let me know if you have any questions.

Best Regards,
Bhuvana





Bhuvaneswari P [Syncfusion]
Replied On August 21, 2008 12:47 PM UTC

Hi Paul,

Thanks for the update.

Glad to know that now its working.

Best Regards,
Bhuvana


Naresh Macha
Replied On October 12, 2009 03:16 PM UTC

Hi Bhuvana,

Is it possible to open a word document which on a different servers's file share using DocIO?

if so can you please show me an example?

Thank you,
-Naresh.

Vijayakumar S [Syncfusion]
Replied On October 14, 2009 06:27 AM UTC

Hi Naresh,

Thank you for posting your query.

We have prepared a sample to open a document from different server. Please have a look at the sample in the below link and let us know if this helps.

Sample:
http://files.syncfusion.com/support/DocIO.Windows/F76067/F76067.zip

Please let us know if you have any questions.

Regards,
Vijay

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;