Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Denied error #1213

Open
BlaycheM opened this issue Dec 8, 2024 · 7 comments
Open

Access Denied error #1213

BlaycheM opened this issue Dec 8, 2024 · 7 comments

Comments

@BlaycheM
Copy link

BlaycheM commented Dec 8, 2024

I initially ran WIFISurveyor successfully the first time I launched the application. I am using Windows 11 and I am unsure if I shut it down improper or something, but I am unable to launch the application again after PC reboot. It is stating Access Denied listed in the image attached. I do believe it stated something about cross-orgin access error. Any suggestions to fix this would be great. Thanks and beautiful tool concept!
Screenshot 2024-12-08 104101

Terminal Output of Errors:
fail: WiFiSurveyor[0]
12/08/2024 10:51:24: Access is denied. (0x80070005 (E_ACCESSDENIED))
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://127.0.0.1:54469
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\ETS-Support\Desktop\Wifi-Surveyor
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/favicon.ico - -
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/ - -
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/favicon.ico - - - 404 0 - 22.1896ms
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/index.html'. Physical path: 'C:\Users\ETS-Support\Desktop\Wifi-Surveyor\wwwroot_content\WiFiSurveyor.Core\index.html'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/ - - - 200 - text/html 38.6401ms
fail: WiFiSurveyor[0]
12/08/2024 10:51:25: Access is denied. (0x80070005 (E_ACCESSDENIED))
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/index.8cda34f9.css - -
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/index.8cda34f9.css'. Physical path: 'C:\Users\ETS-Support\Desktop\Wifi-Surveyor\wwwroot_content\WiFiSurveyor.Core\index.8cda34f9.css'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/index.ba0dbf00.js - -
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/index.8cda34f9.css - - - 200 - text/css 6.9208ms
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5]
CORS policy execution failed.
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6]
Request origin http://127.0.0.1:54469 does not have permission to access the resource.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/index.ba0dbf00.js'. Physical path: 'C:\Users\ETS-Support\Desktop\Wifi-Surveyor\wwwroot_content\WiFiSurveyor.Core\index.ba0dbf00.js'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/index.ba0dbf00.js - - - 200 - text/javascript 26.2189ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://127.0.0.1:54469/signals/negotiate?negotiateVersion=1 - 0
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5]
CORS policy execution failed.
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6]
Request origin http://127.0.0.1:54469 does not have permission to access the resource.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/signals/negotiate'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '/signals/negotiate'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://127.0.0.1:54469/signals/negotiate?negotiateVersion=1 - 0 - 200 - application/json 25.9458ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/noto-sans-latin-300-normal.1aea802d.woff2 - -
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5]
CORS policy execution failed.
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6]
Request origin http://127.0.0.1:54469 does not have permission to access the resource.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/noto-sans-latin-300-normal.1aea802d.woff2'. Physical path: 'C:\Users\ETS-Support\Desktop\Wifi-Surveyor\wwwroot_content\WiFiSurveyor.Core\noto-sans-latin-300-normal.1aea802d.woff2'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/noto-sans-latin-300-normal.1aea802d.woff2 - - - 200 13024 font/woff2 4.2439ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/roboto-latin-300-normal.f7591131.woff2 - -
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5]
CORS policy execution failed.
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6]
Request origin http://127.0.0.1:54469 does not have permission to access the resource.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Sending file. Request path: '/roboto-latin-300-normal.f7591131.woff2'. Physical path: 'C:\Users\ETS-Support\Desktop\Wifi-Surveyor\wwwroot_content\WiFiSurveyor.Core\roboto-latin-300-normal.f7591131.woff2'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/roboto-latin-300-normal.f7591131.woff2 - - - 200 15740 font/woff2 6.0250ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/signals?id=y8rte3X5y9Lt_cFvyMVe5Q - -
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5]
CORS policy execution failed.
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6]
Request origin http://127.0.0.1:54469 does not have permission to access the resource.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '/signals'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:54469/favicon.ico - -
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:54469/favicon.ico - - - 404 0 - 0.9733ms
fail: WiFiSurveyor[0]
12/08/2024 10:51:26: Access is denied. (0x80070005 (E_ACCESSDENIED))
fail: WiFiSurveyor[0]
12/08/2024 10:51:27: Access is denied. (0x80070005 (E_ACCESSDENIED))
fail: WiFiSurveyor[0]
12/08/2024 10:51:28: Access is denied. (0x80070005 (E_ACCESSDENIED))

@SteveDesmond-ca
Copy link
Member

Interesting, not sure I've seen that one before. Is the user running the application an Administrator? That might be a new requirement on Windows 11 to access Wi-Fi adapter data.

If your user is an Administrator, v2.0 might need to add some additional logging to help troubleshoot why. Thanks for the report!

@BlaycheM
Copy link
Author

BlaycheM commented Dec 9, 2024 via email

@SteveDesmond-ca
Copy link
Member

Thanks, I've pushed some additional debug logging, and will get a 2.0 beta out at some point this week to try and hopefully provide some more details on what's going on under the hood.

@SteveDesmond-ca
Copy link
Member

2.0.0-beta.2 is currently working its way through the release pipeline, which has additional logging. Once you extract the application, if you're still getting the Access Denied error, update the logging level in appsettings.json from Information to Debug and upload the terminal output here.

Thanks!

@BlaycheM
Copy link
Author

BlaycheM commented Dec 13, 2024 via email

@SteveDesmond-ca
Copy link
Member

SteveDesmond-ca commented Dec 13, 2024 via email

@BlaycheM
Copy link
Author

BlaycheM commented Dec 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants