cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing office documents twice from KM

former_member182374
Active Contributor
0 Kudos

Hi all,

I have a problem accessing office documents in Hebrew from the KM.

The problem is similar to this:

I tried to implement note 855500 - didn't help.

The issue is was noticed on:

Windows XP SP2 - IE6 SP2

Windows 2000 SP4 - IE6 SP1

Windows XP SP1 - IE6 SP1

Portal Version is: EP6 SP15

All systems are fully patched.

The MS Office version is: 2002 SP3.

Is there a solution/workaround? (I don't want the user cleaning the cache each time he wants to access a document...)

Thanks,

Omri

Accepted Solutions (0)

Answers (1)

Answers (1)

KarstenH
Advisor
Advisor
0 Kudos

Hi Omri,

have you submitted this as a support message to SAP?

We may have to discuss this with Microsoft to find a solution.

Regards, Karsten

former_member182374
Active Contributor
0 Kudos

Thanks Karsten.

I opened OSS.

Omri

Former Member
0 Kudos

Hi Omri,

We had a similar problem.

We noticed that emptying Internet Temporary Files solves the problem.

As a workaround, we put an iView (height fixed to 0), that contained a script for clearing Internet Temporary Files in the portal's innerpage.

This way, on every page-refresh the temporary internet files are cleared and the document can be opened again.

Hope that helps,

Yoav.

Former Member
0 Kudos

That's a bug in Microsoft's components. Applying <i>all</i> patches to Windows (including upgrading to XP SP2), Internet Explorer and Office should resolve it, as far as I can remember.

Best regards, Julian

former_member182374
Active Contributor
0 Kudos

Hi Yoav,

Doesn't clearing the cache will cause performance problems?

Another question:

How do you clear cache by using script?

Does it involves ActiveX or somthing similar? because it means deleting files from the client's machine

Regards,

Omri

Former Member
0 Kudos

Hi Omri,

Yes, clearing the cache has performance drawbacks.

This is why this is a workaround rather then a solution.

Here's the script we used:

<script language="vbscript">

On Error Resume Next

Sub safeDelete(file)

If Left(file.Name, 6) = "Cookie" Then

'do not delete cookies

Else

file.delete

End If

End Sub

Const TEMPORARY_INTERNET_FILES = &H20&

Set objShell = CreateObject("Shell.Application")

Set fso = CreateObject("Scripting.FileSystemObject")

Set objFolder = objShell.Namespace(TEMPORARY_INTERNET_FILES)

Set objFolderItem = objFolder.Self

strPath = objFolderItem.Path & "\"

For Each file In fso.GetFolder(strPath).Files

safeDelete(file)

Next

For Each SubFolder In fso.GetFolder(strPath).SubFolders

For Each file In SubFolder.Files

safeDelete(file)

Next

For Each SubSubFolder In SubFolder.SubFolders

For Each file In SubSubFolder.Files

safeDelete(file)

Next

Next

Next

</script>

Former Member
0 Kudos

See also Note 855500...