Runtime error in C# ASP.NET project - JScript runtime error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhijaiswal
    New Member
    • Aug 2013
    • 1

    Runtime error in C# ASP.NET project - JScript runtime error

    Hi All,

    I am working on a project where I used to views (view1 and view2). I set my first page as view2. I have around 10 Textboxes, 5 dropdown, 4 List view and 6 buttons.

    When I run my web application it goes to view2 as expected and on view2 I have a button which redirect me to View1, when I click this button here is the few errors I am getting on different runtime pages called "Script Block [dynamic]" mainly on this line " var c2soffer=docume nt.querySelecto rAll('div.c2sof fer'); ",

    "Microsoft JScript runtime error: Permission denied"

    "Microsoft JScript runtime error: Object doesn't support property or method 'querySelectorA ll'"

    Here I am getting 3 different button option on error i.e. Break , Continue , Ignore and if I continue its working and I am redirected to view1.

    Here if I am inserting expected value in textbox then I am getting below error opening in a new window,

    "Do you want to debug this webpage?

    This webpage contain error that might prevent it from displaying or working correctly. If you are not testing this webpage, click NO "

    and having YES and NO button with masg "Line: 1 Error: Permission denied" "Line: 4 Error: Object doesn't support property or method 'querySelectorA ll'".

    Can anyone please help me with this? I need to resolve it asap.

    Thank you so much for your help.

    Regards,

    Abhishek
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What web browser are you using to debug?

    Comment

    Working...