|
|
Rank: Newbie Groups: Member
Joined: 3/23/2026 Posts: 4
|
We are using WebBrowser to open a URL so we can programmatically enter data on a web page. An external security site is missing the favicon.ico and my program is erroring with a "Failed to load resource: the server responded with a status of 404 (Not Found)". Can I use the Custom Resource Handler to ignore this error and continue processing?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,516
|
Favicon should not affect loading the main page. If you get 404 error it's because the server gives you 404, which means the page you requested does not exist. How would you be able to ignore and continue if there is nothing to start with?
|
|
Rank: Newbie Groups: Member
Joined: 3/23/2026 Posts: 4
|
This is the error I am getting: Type=Network, Severity=Error, Source=https://xxx.xxx.xxxxx.xxx.xxx/favicon.ico, LineNumber=0, Message=Failed to load resource: the server responded with a status of 404 (Not Found)} The page loads just fine in Chrome or Edge because they can ignore the missing resource.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,516
|
Hi,
What version are you using? This is an error from JavaScript code. Why would your code fail when it can't find favicon.ico? Can you create a test project to reproduce the problem?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/23/2026 Posts: 4
|
The version of WebBrowser is 26.0.34.0. It shouldn't be erroring because of the missing favicon.ico, that is why I am trying to capture the error. I will try to create a sample project to recreate the error.
|
|