Javascript problem after installing 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
 
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

If you are affected by local machine lockdown [watch wrap]
(http://msdn.microsoft.com/security/productinfo/XPSP2/securebrowsing/localloc
kdown.aspx), then you can disable it in Internet Options -> Advanced ->
Security [At the bottom]. You can disable local machine lockdown by checking
"Allow active content to run in files from my computer" (Or CDs if you run
from CD).

Try converting your page into a HTML application (my HTML is pathetic but
AFAICT, renaming it to .hta seems to be enough).

--
------------------------------------------------------------------------
oshah
Control Panel -> System -> Advanced -> Error Reporting -> Choose Programs
-> Do not report errors for these programs:

Acrobat.exe
waol.exe

------------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top