|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Word 2003 cannot save files to http://host/site/folder/file.docI have an Intranet Web site which generates an HTML document on the server-side, and then, on the client-side, runs MS Word, which opens this HTML document, adds some Word formatting, prints it, and then saves it (via the http://host/site/folder/file.doc from which it was received). Now, here's the problem. On all IIS servers, bar one, this process works. On one server, it will not save Word documents using http url address file names. We have checked directory security, IIS Web site security; compared security and IIS settings with a working machine; and we've tried allowing/disallowing anonymous access. We've had no success. The file will not save. The error, on this one machine, which has no distinguishing features, when attempting to save a Word document this way is "Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server" If someone can give me some pointers as to what I should look for. There are so many places and things that have permissions and security (not to mention inheritance), and we've compared all the ones we can think of between the one duff machine and all the working machines. Now I'm desparate! Gem
Show quote
Hide quote
"Gemma M" <gemmamakepi***@hotmail.com> wrote in message Is WebDAV enabled in the Web Services Extensions folder?news:dtkdua$b92$1$8300dec7@news.demon.co.uk... > Hi, > > I have an Intranet Web site which generates an HTML document on the > server-side, and then, on the client-side, runs MS Word, which opens this > HTML document, adds some Word formatting, prints it, and then saves it > (via the http://host/site/folder/file.doc from which it was received). > > Now, here's the problem. On all IIS servers, bar one, this process works. > On one server, it will not save Word documents using http url address file > names. > > We have checked directory security, IIS Web site security; compared > security and IIS settings with a working machine; and we've tried > allowing/disallowing anonymous access. We've had no success. The file > will not save. > > The error, on this one machine, which has no distinguishing features, when > attempting to save a Word document this way is > > "Documents in this folder are not available. The folder may have been > moved or deleted, or network problems may be preventing a connection to > the server" > > If someone can give me some pointers as to what I should look for. There > are so many places and things that have permissions and security (not to > mention inheritance), and we've compared all the ones we can think of > between the one duff machine and all the working machines. -- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserver2003/community/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS Now, I'm glad you asked. I have done as was said in
http://support.microsoft.com/kb/241520/EN-US/ (basically added DisableWebDAV to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), which appears to be the only way to disable WebDAV. Shame there isn't a proper switch in some software. Is this enough, or is there a more efficacious way of disabling WebDAV? Gem Show quoteHide quote "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message news:OGaD9fIOGHA.208@tk2msftngp13.phx.gbl... > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > news:dtkdua$b92$1$8300dec7@news.demon.co.uk... >> Hi, >> >> I have an Intranet Web site which generates an HTML document on the >> server-side, and then, on the client-side, runs MS Word, which opens this >> HTML document, adds some Word formatting, prints it, and then saves it >> (via the http://host/site/folder/file.doc from which it was received). >> >> Now, here's the problem. On all IIS servers, bar one, this process >> works. On one server, it will not save Word documents using http url >> address file names. >> >> We have checked directory security, IIS Web site security; compared >> security and IIS settings with a working machine; and we've tried >> allowing/disallowing anonymous access. We've had no success. The file >> will not save. >> >> The error, on this one machine, which has no distinguishing features, >> when attempting to save a Word document this way is >> >> "Documents in this folder are not available. The folder may have been >> moved or deleted, or network problems may be preventing a connection to >> the server" >> >> If someone can give me some pointers as to what I should look for. There >> are so many places and things that have permissions and security (not to >> mention inheritance), and we've compared all the ones we can think of >> between the one duff machine and all the working machines. > > Is WebDAV enabled in the Web Services Extensions folder? > > -- > Tom Kaminski IIS MVP > http://www.microsoft.com/windowsserver2003/community/centers/iis/ > http://mvp.support.microsoft.com/ > http://www.iistoolshed.com/ - tools, scripts, and utilities for running > IIS > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message WebDav is the protocol used by the FrontPage server extensions, and MS Word news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... > Now, I'm glad you asked. I have done as was said in > http://support.microsoft.com/kb/241520/EN-US/ (basically added > DisableWebDAV to > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), > which appears to be the only way to disable WebDAV. Shame there isn't a > proper switch in some software. > > Is this enough, or is there a more efficacious way of disabling WebDAV? > > Gem to save files. You disabled WebDav, and now it doesnt work because MS Word requires it to save to the web site. Enable it and it will probably work. Thanks for being patient with me.
Now, you see, an article on Microsoft (http://support.microsoft.com/kb/304133/#XSLTH3129121125120121120120) told me to disable it (admittedly, this talks of XP, and I'm using Office 2003 on Windows 2003, but the priniciple is the same). Are they barking up the wrong tree, or am I mis-interpreting their message? Gem Show quoteHide quote "Ratatooie" <postmas***@idbdeveloper.com> wrote in message news:43fdd607$1_1@newspeer2.tds.net... > > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... >> Now, I'm glad you asked. I have done as was said in >> http://support.microsoft.com/kb/241520/EN-US/ (basically added >> DisableWebDAV to >> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), >> which appears to be the only way to disable WebDAV. Shame there isn't a >> proper switch in some software. >> >> Is this enough, or is there a more efficacious way of disabling WebDAV? >> >> Gem > > WebDav is the protocol used by the FrontPage server extensions, and MS > Word to save files. > > You disabled WebDav, and now it doesnt work because MS Word requires it to > save to the web site. > > Enable it and it will probably work. > Hi,
I think you need to tell us exactly how you are saving this file back to the server. Previous posters have made the assumption that you are using WebDAV, but perhaps you aren't. Normally, you can't just save a file back to a webserver (otherwise one would be able to overwrite any old file out there on anyone's server). So, you need to be using some kind of authoring technology: the two most popular with IIS being either WebDAV -or- FPSE (Frontpage Server Extensions). Which one are you using? Cheers Ken Show quoteHide quote "Gemma M" <gemmamakepi***@hotmail.com> wrote in message news:dtko2j$r78$1$8300dec7@news.demon.co.uk... : Thanks for being patient with me. : : Now, you see, an article on Microsoft : (http://support.microsoft.com/kb/304133/#XSLTH3129121125120121120120) told : me to disable it (admittedly, this talks of XP, and I'm using Office 2003 on : Windows 2003, but the priniciple is the same). : : Are they barking up the wrong tree, or am I mis-interpreting their message? : : Gem : : "Ratatooie" <postmas***@idbdeveloper.com> wrote in message : news:43fdd607$1_1@newspeer2.tds.net... : > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message : > news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... : >> Now, I'm glad you asked. I have done as was said in : >> http://support.microsoft.com/kb/241520/EN-US/ (basically added : >> DisableWebDAV to : >> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), : >> which appears to be the only way to disable WebDAV. Shame there isn't a : >> proper switch in some software. : >> : >> Is this enough, or is there a more efficacious way of disabling WebDAV? : >> : >> Gem : > : > WebDav is the protocol used by the FrontPage server extensions, and MS : > Word to save files. : > : > You disabled WebDav, and now it doesnt work because MS Word requires it to : > save to the web site. : > : > Enable it and it will probably work. : > : : Hi Ken,
My client-side script does the following : Set objWord = CreateObject("Word.Application") docPath = location.protocol + "//" + location.host + location.pathname + "docname.doc" Set masterDoc = objWord.Documents.Open(docPath, False, True, False) Then it does some Word stuff, adding headers and footers, setting up the page etc. And finally it does this : Call masterDoc.SaveAs(newFileName, 0, , , False) ' 0 = wdWordFormat, False = don't AddToRecentFiles On EVERY PC in this building, bar one, this works. On one PC, it does not, with the error given earlier. This is true whether the Web page is accessed from another PC, or from the same PC. And in fact, it used to work on that PC, until Active Reports was installed and then uninstalled, which suggests to us that Active Reports poked its fingers into the IIS settings, and then didn't pull them out again. Thanks Gem Show quoteHide quote "Ken Schaefer" <kenREM***@THISadOpenStatic.com> wrote in message news:eXzMjGOOGHA.1832@TK2MSFTNGP11.phx.gbl... > Hi, > > I think you need to tell us exactly how you are saving this file back to > the > server. Previous posters have made the assumption that you are using > WebDAV, > but perhaps you aren't. > > Normally, you can't just save a file back to a webserver (otherwise one > would be able to overwrite any old file out there on anyone's server). So, > you need to be using some kind of authoring technology: the two most > popular > with IIS being either WebDAV -or- FPSE (Frontpage Server Extensions). > Which > one are you using? > > Cheers > Ken > > > > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > news:dtko2j$r78$1$8300dec7@news.demon.co.uk... > : Thanks for being patient with me. > : > : Now, you see, an article on Microsoft > : (http://support.microsoft.com/kb/304133/#XSLTH3129121125120121120120) > told > : me to disable it (admittedly, this talks of XP, and I'm using Office > 2003 > on > : Windows 2003, but the priniciple is the same). > : > : Are they barking up the wrong tree, or am I mis-interpreting their > message? > : > : Gem > : > : "Ratatooie" <postmas***@idbdeveloper.com> wrote in message > : news:43fdd607$1_1@newspeer2.tds.net... > : > > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > : > news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... > : >> Now, I'm glad you asked. I have done as was said in > : >> http://support.microsoft.com/kb/241520/EN-US/ (basically added > : >> DisableWebDAV to > : >> > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), > : >> which appears to be the only way to disable WebDAV. Shame there > isn't > a > : >> proper switch in some software. > : >> > : >> Is this enough, or is there a more efficacious way of disabling > WebDAV? > : >> > : >> Gem > : > > : > WebDav is the protocol used by the FrontPage server extensions, and MS > : > Word to save files. > : > > : > You disabled WebDav, and now it doesnt work because MS Word requires > it > to > : > save to the web site. > : > > : > Enable it and it will probably work. > : > > : > : > > This says nothing about what you are using to connect to the backend server.
Cheers Ken Show quoteHide quote "Gemma M" <gemmamakepi***@hotmail.com> wrote in message news:dtmdem$719$1$8300dec7@news.demon.co.uk... : Hi Ken, : : My client-side script does the following : : : Set objWord = CreateObject("Word.Application") : docPath = location.protocol + "//" + location.host + location.pathname + : "docname.doc" : Set masterDoc = objWord.Documents.Open(docPath, False, True, False) : : Then it does some Word stuff, adding headers and footers, setting up the : page etc. And finally it does this : : : Call masterDoc.SaveAs(newFileName, 0, , , False) ' 0 = wdWordFormat, : False = don't AddToRecentFiles : : On EVERY PC in this building, bar one, this works. On one PC, it does not, : with the error given earlier. This is true whether the Web page is accessed : from another PC, or from the same PC. And in fact, it used to work on that : PC, until Active Reports was installed and then uninstalled, which suggests : to us that Active Reports poked its fingers into the IIS settings, and then : didn't pull them out again. : : Thanks : Gem : : "Ken Schaefer" <kenREM***@THISadOpenStatic.com> wrote in message : news:eXzMjGOOGHA.1832@TK2MSFTNGP11.phx.gbl... : > Hi, : > : > I think you need to tell us exactly how you are saving this file back to : > the : > server. Previous posters have made the assumption that you are using : > WebDAV, : > but perhaps you aren't. : > : > Normally, you can't just save a file back to a webserver (otherwise one : > would be able to overwrite any old file out there on anyone's server). So, : > you need to be using some kind of authoring technology: the two most : > popular : > with IIS being either WebDAV -or- FPSE (Frontpage Server Extensions). : > Which : > one are you using? : > : > Cheers : > Ken : > : > : > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message : > news:dtko2j$r78$1$8300dec7@news.demon.co.uk... : > : Thanks for being patient with me. : > : : > : Now, you see, an article on Microsoft : > : (http://support.microsoft.com/kb/304133/#XSLTH3129121125120121120120) : > told : > : me to disable it (admittedly, this talks of XP, and I'm using Office : > 2003 : > on : > : Windows 2003, but the priniciple is the same). : > : : > : Are they barking up the wrong tree, or am I mis-interpreting their : > message? : > : : > : Gem : > : : > : "Ratatooie" <postmas***@idbdeveloper.com> wrote in message : > : news:43fdd607$1_1@newspeer2.tds.net... : > : > : > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message : > : > news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... : > : >> Now, I'm glad you asked. I have done as was said in : > : >> http://support.microsoft.com/kb/241520/EN-US/ (basically added : > : >> DisableWebDAV to : > : >> : > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), : > : >> which appears to be the only way to disable WebDAV. Shame there : > isn't : > a : > : >> proper switch in some software. : > : >> : > : >> Is this enough, or is there a more efficacious way of disabling : > WebDAV? : > : >> : > : >> Gem : > : > : > : > WebDav is the protocol used by the FrontPage server extensions, and MS : > : > Word to save files. : > : > : > : > You disabled WebDav, and now it doesnt work because MS Word requires : > it : > to : > : > save to the web site. : > : > : > : > Enable it and it will probably work. : > : > : > : : > : : > : > : : This is where we find a flaw, or possibly a blind-spot, in my knowledge. I
don't know how to answer this question. A curse on my blonde hair. Let me describe the process, and maybe you could tell me the technical terminology for the method of connection. * I have a page, on which is a button, in the "onclick" (client-side) event of which is code which does a window.open(url.asp...) * On the server side of url.asp a file is created which is MSWord compatible. * On the client side of url.asp is the code, a fragment of which is given below (i.e. lauches MSWord using a URL address for the document to open, manipulate and then save). The client-side of this relationship is Internet Explorer and VBScript, with a little bit of MSWord. The server-side is ASP running in IIS under a flavour of MSWindows. How would you define that type of connection. Yours blondely! Gem Show quoteHide quote "Ken Schaefer" <kenREM***@THISadOpenStatic.com> wrote in message news:OXawRFSOGHA.3196@TK2MSFTNGP09.phx.gbl... > This says nothing about what you are using to connect to the backend > server. > > Cheers > Ken > > > > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > news:dtmdem$719$1$8300dec7@news.demon.co.uk... > : Hi Ken, > : > : My client-side script does the following : > : > : Set objWord = CreateObject("Word.Application") > : docPath = location.protocol + "//" + location.host + location.pathname > + > : "docname.doc" > : Set masterDoc = objWord.Documents.Open(docPath, False, True, False) > : > : Then it does some Word stuff, adding headers and footers, setting up the > : page etc. And finally it does this : > : > : Call masterDoc.SaveAs(newFileName, 0, , , False) ' 0 = wdWordFormat, > : False = don't AddToRecentFiles > : > : On EVERY PC in this building, bar one, this works. On one PC, it does > not, > : with the error given earlier. This is true whether the Web page is > accessed > : from another PC, or from the same PC. And in fact, it used to work on > that > : PC, until Active Reports was installed and then uninstalled, which > suggests > : to us that Active Reports poked its fingers into the IIS settings, and > then > : didn't pull them out again. > : > : Thanks > : Gem > : > : "Ken Schaefer" <kenREM***@THISadOpenStatic.com> wrote in message > : news:eXzMjGOOGHA.1832@TK2MSFTNGP11.phx.gbl... > : > Hi, > : > > : > I think you need to tell us exactly how you are saving this file back > to > : > the > : > server. Previous posters have made the assumption that you are using > : > WebDAV, > : > but perhaps you aren't. > : > > : > Normally, you can't just save a file back to a webserver (otherwise > one > : > would be able to overwrite any old file out there on anyone's server). > So, > : > you need to be using some kind of authoring technology: the two most > : > popular > : > with IIS being either WebDAV -or- FPSE (Frontpage Server Extensions). > : > Which > : > one are you using? > : > > : > Cheers > : > Ken > : > > : > > : > > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > : > news:dtko2j$r78$1$8300dec7@news.demon.co.uk... > : > : Thanks for being patient with me. > : > : > : > : Now, you see, an article on Microsoft > : > : > (http://support.microsoft.com/kb/304133/#XSLTH3129121125120121120120) > : > told > : > : me to disable it (admittedly, this talks of XP, and I'm using Office > : > 2003 > : > on > : > : Windows 2003, but the priniciple is the same). > : > : > : > : Are they barking up the wrong tree, or am I mis-interpreting their > : > message? > : > : > : > : Gem > : > : > : > : "Ratatooie" <postmas***@idbdeveloper.com> wrote in message > : > : news:43fdd607$1_1@newspeer2.tds.net... > : > : > > : > : > "Gemma M" <gemmamakepi***@hotmail.com> wrote in message > : > : > news:dtkk8e$jdf$1$8300dec7@news.demon.co.uk... > : > : >> Now, I'm glad you asked. I have done as was said in > : > : >> http://support.microsoft.com/kb/241520/EN-US/ (basically added > : > : >> DisableWebDAV to > : > : >> > : > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters), > : > : >> which appears to be the only way to disable WebDAV. Shame there > : > isn't > : > a > : > : >> proper switch in some software. > : > : >> > : > : >> Is this enough, or is there a more efficacious way of disabling > : > WebDAV? > : > : >> > : > : >> Gem > : > : > > : > : > WebDav is the protocol used by the FrontPage server extensions, > and > MS > : > : > Word to save files. > : > : > > : > : > You disabled WebDav, and now it doesnt work because MS Word > requires > : > it > : > to > : > : > save to the web site. > : > : > > : > : > Enable it and it will probably work. > : > : > > : > : > : > : > : > > : > > : > : > > Hi All,
You see before you someone with a greate weight lifted. 'Tis true, it was wrong to disable WebDAV. Thanks to those who suggested such. The prime suspect of causing my problem was Active Reports. After installing it for evaluation, my problem emerged. After uninstalling it, my problem remained. Very suspicious. The only way to remove the suspected Active Reports grubby paw prints was to uninstall and re-install IIS. Now, it works again. Gem Show quoteHide quote "Gemma M" <gemmamakepi***@hotmail.com> wrote in message news:dtkdua$b92$1$8300dec7@news.demon.co.uk... > Hi, > > I have an Intranet Web site which generates an HTML document on the > server-side, and then, on the client-side, runs MS Word, which opens this > HTML document, adds some Word formatting, prints it, and then saves it > (via the http://host/site/folder/file.doc from which it was received). > > Now, here's the problem. On all IIS servers, bar one, this process works. > On one server, it will not save Word documents using http url address file > names. > > We have checked directory security, IIS Web site security; compared > security and IIS settings with a working machine; and we've tried > allowing/disallowing anonymous access. We've had no success. The file > will not save. > > The error, on this one machine, which has no distinguishing features, when > attempting to save a Word document this way is > > "Documents in this folder are not available. The folder may have been > moved or deleted, or network problems may be preventing a connection to > the server" > > If someone can give me some pointers as to what I should look for. There > are so many places and things that have permissions and security (not to > mention inheritance), and we've compared all the ones we can think of > between the one duff machine and all the working machines. > > Now I'm desparate! > Gem > |
|||||||||||||||||||||||