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. Image for the cookie policy date

cant open file on server

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.


5 Replies

BP Bhuvaneswari P Syncfusion Team 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




AD Administrator Syncfusion Team 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






BP Bhuvaneswari P Syncfusion Team August 21, 2008 12:47 PM UTC

Hi Paul,

Thanks for the update.

Glad to know that now its working.

Best Regards,
Bhuvana



NM Naresh Macha 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.


VS Vijayakumar S Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon