Application.StartupPath simply returns the root file path of the app on the server (the client can’t load that file URL)., Something like:
You need to load the url from the client’s perspective (include domain and relative path from the root)., ie.:
Try Application.Url and Application.StartupUrl instead.
Let me know if you have any questions!
Please login first to submit.