After finishing the web application and publishing it online no matter I try I keep getting the following error, keep in mind that it runs locally as it should...
Note: I was compiling my WebForms pages at build time.
I had aspx files not referenced in the project but were on disk and that was causing the build errors.