HighTechTalks DotNet Forums  

Dsofile with UNC path - ASP.NET

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Dsofile with UNC path - ASP.NET in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Dsofile with UNC path - ASP.NET - 07-10-2006 , 03:53 AM






I have an exception when i try to open a file (which is located on a
shared directory) with dsofile :

oDSO = New DSOFile.OleDocumentPropertiesClass
oDSO.Open("\\developpement\Doc1.doc", False,
DSOFile.dsoFileOpenOptions.dsoOptionDefault)

-> Exception from HRESULT : 0x800300FC (STG_E_INVALIDNAME)

I have R/W permissions on the file (it works fine when i use
system.IO.file class).

any ideas ?


Reply With Quote
  #2  
Old   
BE_Developer
 
Posts: n/a

Default Re: Dsofile with UNC path - ASP.NET - 07-18-2006 , 10:13 AM






Did you get an answer to/ figure out this problem? I am running into
the same thing.

thomas.denolle (AT) gmail (DOT) com wrote:
Quote:
I have an exception when i try to open a file (which is located on a
shared directory) with dsofile :

oDSO = New DSOFile.OleDocumentPropertiesClass
oDSO.Open("\\developpement\Doc1.doc", False,
DSOFile.dsoFileOpenOptions.dsoOptionDefault)

-> Exception from HRESULT : 0x800300FC (STG_E_INVALIDNAME)

I have R/W permissions on the file (it works fine when i use
system.IO.file class).

any ideas ?


Reply With Quote
  #3  
Old   
t
 
Posts: n/a

Default Re: Dsofile with UNC path - ASP.NET - 01-17-2007 , 02:06 PM



hiiiii
---
Posted via DotNetSlackers.com

Reply With Quote
  #4  
Old   
d
 
Posts: n/a

Default Re: Dsofile with UNC path - ASP.NET - 01-17-2007 , 02:06 PM




---
Posted via DotNetSlackers.com

Reply With Quote
  #5  
Old   
dds
 
Posts: n/a

Default Re: Dsofile with UNC path - ASP.NET - 01-17-2007 , 02:06 PM



sdsd
---
Posted via DotNetSlackers.com

Reply With Quote
  #6  
Old   
Rodrigo
 
Posts: n/a

Default RE: Dsofile with UNC path - ASP.NET - 06-18-2009 , 08:29 AM



Anyone got the answer for this problem of accessing UNC share files through DSO? Thank you very much.

From http://www.developmentnow.com/g/21_2006_7_0_0_785324/Dsofile-with-UNC-path--ASP-NET.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Reply With Quote
  #7  
Old   
Thomas
 
Posts: n/a

Default RE: Dsofile with UNC path - ASP.NET - 06-18-2009 , 03:48 PM



hi
To fix it, I created a console application which did the stuff and ran it from the web server.
Tom.

From http://www.developmentnow.com/g/21_2006_7_0_0_785324/Dsofile-with-UNC-path--ASP-NET.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.