.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Error when trying to open recently saved documents with Office

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :SharePoint

Having a strange issue with one of our customers. They are using a drive letter mapping to a SP Document library (WSS 3.0). For some reason out of the blue now, if they create a new word document, save it up to WSS (via drive mapping) and then try and open it again, it gives a "Could not open" error. Trying to open the file via the web interface gives a "No connectivity with the server. The file http://... can't be opened because the server couldn't be contacted". Strange issue is, we can open the files just fine with Wordpad. So something between Office & Sharepoint appears to be causing the issue. Stranger even still, if we save using word to save an office document to SharePoint via the web interface instead of the drive mapping, it appears to fix the issue. From there on we can save and open files directly to\from the drive letter mapping!

So the issue can be temporarily resolved that way, but it still re-occurs every once in a while, and It would be nice to know what is causing the issue and how/if we can permanently prevent it.

Screenshots of errors when opening the docs from drive mapping and web interface:



View Complete Post

More Related Resource Links

Microsoft Office Excel cannot open or save any more documents because there is not enough available


hi all,

     i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,

i wrote the complete code for it but the it is saying

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 

i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :

Imports System.Data.OleDb
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Tools.Excel
Imports System

Working with In-Memory Open XML Documents (Office Talk Column)

Working with Open XML Documents without loading from a file or saving to a file is important when you build applications that work with Microsoft SharePoint Server 2010 or Microsoft ASP.NET Web applications.

Office 2010 will not open Office 2003 Documents on SharePoint

Going directly to a document in the document view and selecting any of them will present the Read Only/Edit prompt and when clicking Read Only Word or Excel 2010 depending on the document type will open to a blank page and just sit there. If you do a search and then click on the documents that are returned in the search results, it opens as expected.

WSS2.0 opening pdf documents an error message appears: The document could not be saved. The file may

Hi All,. In a WSS2.0 document library, a user is trying to open pdf files. However, an error message is displayed: 'The document could not be saved. The file may be read only, or another user may have it open. Please save the document with a different name or in a different folder'. No one else has the file open. When the user saves the file using Save As (as it is apparently Read Only) and then saves the file back to the SharePoint site, all previous versions of the file disappear. The user has noted that this has been happening since today, and she had some other network issues that have been resolved. No other users are experiencing this problem.  Not sure if this problem is related to the network problems the user was facing. I've had the user reboot but this has not resolved it. Any ideas?

SharPoint 2010 : Open word and excel documents within Browser without installing office Web App on S

guys, SharePoint 2010 how can i have the word documents and excel sheets open up with in the browse windows without installing Office Web App on the server, all i want to give users is the read access. Also i did not install anyting on sharepoint server to have pdf open up in the browser and yet it does. thanks in advance. sameer   thanks sameer

Office 2007 Documents Open in Read-Only when Opening them from a WSS 2.0 Document Library

Hi, When any of our Windows 7 Pro computers that run Office 2007 Pro attempt to open a Word document that resides in a WSS 2.0 document library by using the drop down menu and selecting "Edit with MS Word", the documents open in read-only.  Our work-around is to save the document locally, modify it, and then save it back to the document library. We have some Windows XP and Vista systems that run Office 2007 and they are fine and can simply edit the document and save it.  We also have a handful of pc's that run Office 2003 and they are not having any issues either. Things I've tried: Office 2007 Repair - no luck Office Reinstall - no luck Some registry mod HKCU\Software\Microsoft\Office\12\Internet\OpenDocumentReadWrite=1 (noted on a MSKB article) - no luck and after re-reading the article it clearly states that this will not address content hosted on WSS or SPS sites Clearing IE temp files, resttting IE to defaults - no luck Once again, this only seems to happen to Win7Pro pc's that run Office 2007.  Honestly, I can't tell if IE8 has anything to do with this. Any thoughts or help would be extrememly appreciated. Thanks, Mike

Can't open SharePoint documents in Office 2010

Hi, I have a SharePoint 2010 standalone installation and a SP 2007 with SQL back-end installation for testing and proof of concept demonstrations.  All the servers are running Windows 2008 Server and are on a vSphere 4.0 ESX server as virtual machines. Most of the pilot team are on Office 2007 and are working fine with the installations.  I am running Office 2010 (not beta) and am unable to open any Word or Powerpoint files in a standard Project site's Shared Documents library. (I can open a word document stored and linked from a publishing site.) Whether I browse to the file or click the link in a search results page, Powerpoint and Word load up but before I get any login prompt or application screen appearing, the application crashes.  This occurs whether I open the document Read only or click the implicit check out 'Edit' button. If I check the document out to my local drafts folder I can open normally.  As I can't find anything about this on the internet I'm guessing it's not a common occurence!

Open Office Documents from Document Library without Password Prompt

We have a SharePoint site and Document library set up for anonymous access.   All non-Microsoft file types open correctly without a password.   When users click on Microsoft Office documents they are prompted for passwords.   Is there some way to configure the Office documents or Document Library so that users are not prompted for passwords when they open documents or is this a bug?

RTF documents not displaying in rich text box (word pad) ,but able to open using MS office Word


hi there ,

my application has a rich text box ,where rtf files are opened and processed . 90% of the time am able to load this with out any trouble . but rest 10% of the rtf files are not displayed in the rich text box (though they are able to load )

And also i have observed a weird behavior : IF the number of pages of this rtf files are stripped off (from  100 to 10 ) the same are displayed .

Is there any limit for the the number of pages in RTB (rich text bOx) .

thanks in advance 


Error Opening Office Documents with Office 2003


Hi all,

Sharepoint 2007. When I try to open documents (clicking on it) in a sharepoint document Library with office 2003, i receive an error that say that the file is not valid and to check the path.

If i try to open document with the scroll down menu and the "edit command", the document open normaly.

Even if i try to open the same document with office 2007 it works normally. 

It seem something due to the read only opening of the file...


Can you help me?

Many thanks


All documents open as Read Only in Office 2010 from SharePoint 2007


I have recently installed Office 2010 and now when I select "Edit in Microsoft Word" from a SharePoint document library, the document will only open as Read Only.  I am running SharePoint 2007 SP1, I have admin rights to the workstation, server, sharepoint list and document.

I have tried the registry entry " OpenDocumentsReadWriteWhileBrowsing = 1 " but that has made no difference.  I have also run webfldrs.msi with no effect.  The website is a trusted site and I have switched off all of the protected view options.

Any help welcome!

Error opening Office Open XML file when using SD workflow to create item in document library.


I have a Sharepoint document library that is using a word template with xml mapping (Word-Sharepoint).

I have a workflow created in Sharepoint designer that Creates an item in this document library with select data from a form library on the same site. 

It appears to create the entry in the document library correctly, it is showing the copied data from the form library and the correct default data in the columns specific to the document library. The explorer view shows the filename.docx files.

I am able to edit the data using the datasheet view, however it will not open the word document.

The error message reads "The Office Open file <filename> cannot be opened because there are problems with the contents." If I click on the details button it states "No error detail available".

Any ideas?

Open PopUp Window From Error httpModule


I would like to open a popup window from the assembly to present the information to the user. Does anyone know if this is possible, I am presently doing the following:

        WriteLine("body {font-family:""Verdana"";font-weight:normal;font-size: .7em;color:black; background-color:white;}")
        WriteLine("b {font-family:""Verdana"";font-weight:bold;color:black;margin-top: -5px}")
        WriteLine("H1 { font-family:""Verdana"";font-weight:normal;font-size:18pt;color:red }")
        WriteLine("H2 { font-family:""Verdana"";font-weight:normal;font-size:14pt;color:maroon }")
        WriteLine("pre {font-family:""Lucida Console"";font-size: .9em}")

Error Message when trying to open crystal report


Logon failed. Details: 42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "DATA" requested by the login. The login failed. Error in File C:\Windows\TEMP\NewQuote {573CE511-64B7-4161-B9DF-0E58EB1EDA19}.rpt: Unable to connect: incorrect log on parameters.

I get the above message when loading the crystal report from the Intranet via IIS but it works fine from the localhost the report loads ok and picks up my parameters.  This is my Code behind Page.

Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Load

        Dim Count As Int32
        Count = Int32.Parse(Label1.Text)

        Dim ConnInfo As New ConnectionInfo
        With ConnInfo
            .ServerName = "\\Server1\Sqlexpress"
            .DatabaseName = "DATA"
            .UserID = "sa"
            .Password = "1181

Office Services: Merging Word Documents on the Server Side with SharePoint 2010


Office 2010 and SharePoint 2010 include a new set of components called Application Services. These put a rich set of tools in a developer's bag for Office automation. We'll show you how to use Office OpenXML, Word Automation Services and SharePoint to build a simple application that merges separate status reports into a single document.

Manvir Singh, Ankush Bhatia

MSDN Magazine July 2010

SharePoint and Open XML: Generating Documents from SharePoint Using Open XML Content Controls


This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.

Eric White

MSDN Magazine October 2009

Office Space: Building Office Open XML Files


This new column explores how you can extend and customize Microsoft Office System applications and file formats.

Ted Pattison

MSDN Magazine February 2007

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend