My application works fine in Visual Studio. However, when I try to move it to my Web IIS Host it is throwing errors. The first errors were that it did not like the two Compile statements in Site.Master (Microsoft.CodeDom.Providers.DotNetCompilersPlatform). I forget what the errors were, but deleting the two statements in Site.Master eliminated them.
Next problem was that my host complained about "~/" in the relative addresses in my code. I removed them and got past that error.
Now it is indicating that "Can not load type "WebApplication1.SiteMaster". In Site.Master.vb I have
I then created a simple Hello World website, but I had identical issues. I have rebuilt the site multiple times to no avail.
I have uploaded ASP.Net code to websites before and never had this problem. From what I gather from my internet research, others have similar issues starting with VS2017, but I have not found a solution. Any help would be appreciated.
Next problem was that my host complained about "~/" in the relative addresses in my code. I removed them and got past that error.
Now it is indicating that "Can not load type "WebApplication1.SiteMaster". In Site.Master.vb I have
Code:
Public Class SiteMaster
Inherits MasterPage
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
End Sub
End Class
I have uploaded ASP.Net code to websites before and never had this problem. From what I gather from my internet research, others have similar issues starting with VS2017, but I have not found a solution. Any help would be appreciated.