Problem with Javascript after SP2

  • Thread starter Thread starter Mark Christensen
  • Start date Start date
M

Mark Christensen

Hello,

The admin site of my website is setup so that when I add a new product, I
can browse to a photo on my local hard drive to upload. After browsing to
that photo, I can click a Preview button before uploading the photo and the
photo would open in a new window. This worked great for months - until I
installed SP2 last week. Now when I click on the Preview button, I do not
get a preview of the photo. Instead, I get an "Error on page" notification
in the bottom left corner of my browser (IE 6) and when I click on it, it
says:

Line: 522
Char: 2
Error: Access is denied.
Code: 0
URL: it then lists the url of this admin page on my website

I've talked with the IT guy who wrote the code for the admin part of our
site and he says the problem might have to do with SP2 not allowing me to
read files from my local machine via JavaScript. Does anyone know if he is
correct? Or what I need to do to make this Preview button work again? (I've
set IE to allow popups from my site but that hasn't helped.) Thanks for the
help.

Mark
 
Mark Christensen said:
Hello,

The admin site of my website is setup so that when I add a new product, I
can browse to a photo on my local hard drive to upload. After browsing to
that photo, I can click a Preview button before uploading the photo and the
photo would open in a new window. This worked great for months - until I
installed SP2 last week. Now when I click on the Preview button, I do not
get a preview of the photo. Instead, I get an "Error on page" notification
in the bottom left corner of my browser (IE 6) and when I click on it, it
says:

Line: 522
Char: 2
Error: Access is denied.
Code: 0
URL: it then lists the url of this admin page on my website

I've talked with the IT guy who wrote the code for the admin part of our
site and he says the problem might have to do with SP2 not allowing me to
read files from my local machine via JavaScript. Does anyone know if he is
correct? Or what I need to do to make this Preview button work again? (I've
set IE to allow popups from my site but that hasn't helped.) Thanks for the
help.

Mark

I apologize this is not a solution, but wanted to express that I am having the same problem with the "error on page" notification. It occurs when I request assistance with my internet banking account and has occurred on other web sites when I seek to further investigate something. I am most interested in learning where this javascript error is happening and how to resolve it. Thanks for any and all help. I am a novice, so would appreciate simplicity. pam
 
Pam,

I'd love to be able to tell you the solution, but I don't know what it is as
of yet. I've played with a bunch of settings but nothing has worked.
 
Thanks for getting back Mark. I typed in "error on page" in the search box
and several discussions re: this problem cropped up. I tried the firewall
disabling solution to no avail, but there are some other solutions I am going
to try when time permits. I will let you know what happens after that. One
suggestion was that it is a server problem. I will also check that out. Let
me know if anything comes up? Thanks Mark. Pam
 
Mark - Did you find a fix for your problem? I have the same problem as Pam.
Please advise. Thank you!
 
Pam - Did you or Mark find a solution to your problem? I have the same
problem. Hopefully you found a way to fix it but I do not see the solution in
the discussion group replies. Thank you for your help.
 
Back
Top