This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Access denied even the same domain

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting Error-Access is denied in IE. Child window for calendar is opened and when on change of say month/year try to write page content again, then getting this kind of error. Domain is same for both parent and child. And this error is not coming on each machine. What might be the problem?

Thanks in advance.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
same domain means can't have sub domain too.

What does: "try to write page content again" actually mean?

Eric
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When user clicks on Calendar button, First window is opened by window.open(), docCal is reference to that window's document object. Calendar body part is rendered by docCal.writeln(). Problem occurs whenever there is change in month/year, calendar body part is rendered again by docCal.writeln() where it gives Access is denied error. This doesn't came for the first time content is rendered and even doesn't came on all machines. I tried setting domain for this window before writing content, but it fails.
Is there any problem of browser's Internet options setting?
We are using IE version 6

Thanks
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error has gone when domain is changed to full name of that host.
For ex. for host cmssds2.ab.company.com, previously domain set was company.com, now if I changed to cmssds2.ab.company.com, its working. I dont know why? Any idea?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it needs to be the same domain.
http://www.mydomain.com is not the same as http://mydomain.com.
 
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a 2 frames. Each is within the website (let's say) www.website.com. The first frame has the page www.website.com/somedirectory/scriptname in it and it's trying to set the second frame to have the page /anotherdirectory/htmlpage (the "anotherdirectory" is at the same level on the server as "somedirectory". It gives an "Access is Denied" error. Any ideas? Do I need to put the full path in? I don't want to do this since the site name could change at any time and relativity would be best. Any help would be much appreciated.

Rob
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic