I have my web application asp.net everything is working well but when i publish it from another computer to localhost it throws an error
ReferenceError: WebForm_AutoFocus is not defined
and also Uncaught ReferenceError: WebForm_FireDefaultButton is not defined
in my code behind i have textbox1.Focus()
so what's the problem and how to fix it?
This happens also when webresource.axd file is inaccessible. Sometimes Firewall policy of Web Server can create this issue.
Please ensure this file is accessible.
If this file is accessible then look solutions provided in other answers of this question.
Try to turn off the ISAPI filters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With