Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > VBScript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 7th, 2003, 04:07 AM
Registered User
 
Join Date: Oct 2003
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening Word doc gives logon prompt

Hi,
I'm working on a company intranet site that returnes VB script to the browser that is supposed to open an MS Office document in it's native application. The idea being that the users will open the document, amend it and save it back. The folders and documents on the site are secured using ACLs and the IIS6 website uses Windows Integrated Authentication only.

The code being used looks like this
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
objWord.Documents.Open ("http:\\site.name.net\folder\mydoc.doc")

This had been working fine until recently when I started getting reports of users complaining they were getting prompted for a network logon (twice !) at the point where Word opens the document. Whether they supply valid logon details or just cancel the prompts they only ever get a read-only copy of the document opened in Word. I set up a test site with the same authentication menthods where using a URL seems to work fine but my production web-site seems to exhibit the problem all the time.
I changed the URL to a UNC path "\\server.name.net\folder\mydoc.doc" and this works fine, with no logon prompt appearing.

I was advised to use a URL to help speed up the opening of the document for users in the Far East and South America accessing the web-site hosted in Sweeden but because of the logon prompts & read-only problem I switched to the UNC paths and peformance has dropped considerably leading to other problems.

MS Kb article 225234 seems to indicate the logon prompt and read only problem was fixed in Office SR1 but I have Sp3 on my client.

MS Kb article 308138 says you can't open a word doc for read-write in IE at all, though I'm not sure if it was refering to opening it in a browser Window rather than it's native Word application

Any advice would be appreciated.

Cheers
Andy


Reply With Quote
  #2 (permalink)  
Old June 21st, 2005, 10:06 PM
Registered User
 
Join Date: Jun 2005
Location: , , USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Andy,

I am having this same issue. Have you found a fix or a work around? We were using IIS 5 and just recently moved to Windows Server 2003 (IIS 6) and this problem just started for us. Any help would be greatly appreciated.

Thank you,

Kevin
Reply With Quote
  #3 (permalink)  
Old June 26th, 2007, 02:54 PM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
My company recently upgraded from Office 97 to Office 2003 and we are now having this same problem on the intranet. The MS Kb article applies to Office 2000. Any suggestions would be appreciated.

Stacey

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy text from 1 doc to other doc thru vba in word itchock Word VBA 2 December 29th, 2006 02:47 AM
Logon prompt when upgrade to Crystal 11 ERC Crystal Reports 0 September 5th, 2005 10:35 AM
Copy word to word doc. in VB vamshi Pro VB 6 1 March 24th, 2004 06:25 PM
Datasource + logon prompt jeroenjmdejong Crystal Reports 0 November 12th, 2003 09:21 AM



All times are GMT -4. The time now is 05:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.