I am trying to build an application on our company\'s intranet using ASP.NET and VB.NET.
Neither of these functions return anything once my application is published
The reason it works in development is because VS's test web server is not IIS, and runs under your current user account.
If you want this to work in IIS you need to be able to configure IIS correctly - there is no other way to do it.