aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes permission denied problem with XP SP2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "permission denied problem with XP SP2" Watch "permission denied problem with XP SP2" New topic
Author

permission denied problem with XP SP2

kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Hi all
I am having Permission denied problem with windows XP SP2. i AM USING A WHOLE CODE FOR MENU DISPLAY. I am using popup object .Initially everything works fine but when i distroy objects and try to repaint ,it is giving strange problem of permission denied. This works fine with windows 2000/nt even XP SP1.
I guess it cannot be coding problem.
Thanks
kundan


SCJP1.4,SCBCD,SCEA,CNA
Failures are practice shoots for success.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
SP2 has a bunch of security restrictions that are set autommatically now, especially when you are testing on a local file.

Eric
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
HI ERic ,
I know its a problem with xp sp2 but what can be the possible solution.
Do i have to rewrite the whole code ???
What if they again come up with new restrictions.
THanks
kundan
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What is the exact line of code that is giving you the problem?

Eric
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
We're encountering "permission denied" and sometimes "access denied" problems since upgrading to XP SP2 as well.
Strangely the errors are spurious. Sometimes the code works fine, sometimes it will result in an error (and then it's anyone's guess which of the two it will give).

This is the function that gives the error:


The error is always generated on the doc.open() command.
Findframe() returns a document from an array (cache) of documents, which is then filled with data retrieved and sent as an http request (the result of which is later used to fill an html element on screen, usually a div or td).


42
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Ya the problem is very much like jeroeme problem. For refreshing menu i am clearing the cache...and the code is some what like that only
THanks
kundan
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Hi Eric
can you throw some light on this problem.
Thanks
kundan
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Usually "Permission Denied" or "Access Denied" means that you are using a site accross domains. I did some searching on the net and found that SP2 has issues with thinking that the browser is accessing a site on a different domain when a request is made even though it is on the same domain. Solution: no one has found one and people complained to MS SP2 team but no one has said anything.

Eric
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Hi Eric Pascarello
I found the solution.
You have to change in registry "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_OBJECT_CACHING
Value: IExplore.exe
Setting: 0 (Off), 1 (On)

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_OBJECT_CACHING
Value: IExplore.exe
Setting: 0 (Off), 1 (On)"

With SP2 they have introduces Object caching. You have to desable it.


You can go to this site and found more information

http://support.microsoft.com/?kbid=884698

Thanks
kundan
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
HAPPY NEW YEAR TO ALL RANCH MEMBERS, FRIENDS AND COLLEAGUES, SENIORS AND JUNIORS

BYE BYE
KUNDAN
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Yes, I found that solution too. Sadly it doesn't work for us, the only thing that happens is that we're now getting "permission denied" instaed of "access denied" as an error.

P.S. we get the error on the exact same line of code...
[ January 03, 2005: Message edited by: Jeroen Wenting ]
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
HI Jeroen
Is firewall installed on your pc...i.e default firewal that comes with XP sp2. Because we have stopped many things other that this solution also. like popup option is there.
Have you gone through that page fully.
Thanks
kundan
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
yes, the firewall and popup blocker are disabled.
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
HI Jeroen
can you send me the full code, because i coudnt run ur this code, because its not complete. You can send me that at kundanvarma@rediffmail.com
I would like to run that code on my xp sp2.
THen only i will be able to say some thing
THanks
kundan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: permission denied problem with XP SP2
 
Similar Threads
RMI Server Connection Problem on XP prof
Caught java.lang.UnsatisfiedLinkError
JAI error :EXCEPTION_FLT_DIVIDE_BY_ZERO
Apache not working when accessed with IP address
Cannot Start RMI Server