
NET 4.5 installed on the server (and had ran the aspnet_regiis -i command from the 4.0 directory) and the App Pool in IIS that I was using for this new project was set to 4.0, the browser complained about the web.config having a targetFramework=4.5.2 in it, which is Visual Studio 2015's default framework. I created a new website on port 80 and transferred the published contents of my site to the server. I had a line in the Page_Load to populate the label's Text property with "world!", just to make sure that part was working. I stopped the old project's website and built another, simple web project, that had "hello" and a label on the page and nothing else. I tried calling the site with (this was my homepage, which I opted to not call Default.aspx - I was going to update the "Default Documents" section with the name later) when I got the Parser Error the OP saw. I had been trying to use a binding on the web site, but this wasn't working. For me, I did a few things to troubleshoot this that eventually got me out of this "hole". Rebuilding/re-publishing my project/solution to the server did nothing to help me, and I doubt that will help that many out of this predicament. Unlike PHP and other interpreted languages, C# have to be successfully compiled before they can be used. If I had to guess, I'd put my money on a compilation error.

So, either the DLL isn't available, is out of date, or doesn't contain a public type with the given name.

(In this case, "type" refers to Inventory1.Global).
