How to implement WebDav in ASP.Net application

Last post 11-15-2009 6:04 PM by shimonbh. 5 replies.

Sort Posts:

  • How to implement WebDav in ASP.Net application

    04-21-2008, 2:23 AM
    • Member
      point Member
    • Rohit_kumar
    • Member since 04-21-2008, 5:57 AM
    • Delhi
    • Posts 2

    Hi

     I m trying to implement a webdav user interface in our ASP.Net 2.0 application

    This interface will allow the user to open the office documents(.Doc, .ppt,.xls...etc)  from Database and then edit and save them to the DB (SQL server 2005).

    Also we are not using sharepoint

    pls help

     

    Rohit Kumar
    Software Engineer
    “OTS - IT Services, Solutions and Staffing.”
  • Re: How to implement WebDav in ASP.Net application

    04-24-2008, 2:24 AM

    Rohit,

    There is a Visual C++ ActiveX Control for hosting Office documents called Microsoft Developer Support Office Framer Control. This sample is available here:

    http://support.microsoft.com/kb/311765

    You can open or save files use this control and then save to or retrieve from SQL Server 2005.

    Please note this sample is provided "AS IS" with no warranty or support from Microsoft.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: How to implement WebDav in ASP.Net application

    04-24-2008, 4:56 AM
    • Member
      point Member
    • Rohit_kumar
    • Member since 04-21-2008, 5:57 AM
    • Delhi
    • Posts 2

    hi Zhoa

    Thanks for the reply.

    I have already tried DSOFramer component (Visual C++ ActiveX control from MS) ...also it is working fine in Windows Forms but  in asp.net web forms (.aspx)  it is not working. It is giving error while opening a word/excel  file (ERROR:- 0x80041108   Cannot access document when in modal condition) 

    Please suggest

    Rohit Kumar
    Software Engineer
    “OTS - IT Services, Solutions and Staffing.”
  • Re: How to implement WebDav in ASP.Net application

    11-13-2009, 8:49 AM
    • Member
      4 point Member
    • shimonbh
    • Member since 11-13-2009, 8:46 AM
    • Posts 2

    I am facing the same problem.

    Did you solve it? 

  • Re: How to implement WebDav in ASP.Net application

    11-15-2009, 1:36 AM
    • Contributor
      5,226 point Contributor
    • RickNZ
    • Member since 01-01-2009, 8:43 AM
    • Nelson, New Zealand
    • Posts 869

    WebDAV is available as a standard feature.  You can add it from the "Add Windows Components" dialog, along with other IIS features.  (you don't need SharePoint)

    Or, are you asking how to do it yourself instead?



  • Re: How to implement WebDav in ASP.Net application

    11-15-2009, 6:04 PM
    • Member
      4 point Member
    • shimonbh
    • Member since 11-13-2009, 8:46 AM
    • Posts 2

    Thanks for the response

    No real connectio to sharePoint.

    Im just trying to create the object and open it inside a web serive.

    something like this:

    FramerControl framer = new FramerControl();

    framer.Open(@"C:\presentation.ppt", true, "Powerpoint.Show", System.Reflection.Missing.Value, System.Reflection.Missing.Value);

    and i get this error.

    Any ideas?



Page 1 of 1 (6 items)