PDA

View Full Version : Problem with Javascript after SP2


Mark Christensen
November 30th 04, 05:44 PM
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

pam
December 2nd 04, 01:19 AM
"Mark Christensen" wrote:

> 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
>

Mark Christensen
December 2nd 04, 05:39 PM
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.

"pam" > wrote in message
...
>
>
> "Mark Christensen" wrote:
>
>> 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
December 4th 04, 02:17 AM
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 Christensen" wrote:

> 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.
>
> "pam" > wrote in message
> ...
> >
> >
> > "Mark Christensen" wrote:
> >
> >> 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
> >>
>
>
>

UturnDave
February 4th 05, 04:27 AM
Mark - Did you find a fix for your problem? I have the same problem as Pam.
Please advise. Thank you!

"Mark Christensen" wrote:

> 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.
>
> "pam" > wrote in message
> ...
> >
> >
> > "Mark Christensen" wrote:
> >
> >> 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
> >>
>
>
>

UturnDave
February 4th 05, 04:29 AM
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.

"pam" wrote:

> 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 Christensen" wrote:
>
> > 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.
> >
> > "pam" > wrote in message
> > ...
> > >
> > >
> > > "Mark Christensen" wrote:
> > >
> > >> 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
> > >>
> >
> >
> >

Google