This may be better in an IIS forum, but here goes. I have the dreaded ASP.NET error page with the following error:
Compilation Error Message: BC30451: Name 'SqlHelper' is not declared.
I'm using the Microsoft.ApplicationBlocks.Data helper methods. I've compiled the application blocks DLL and then added a reference to the DLL in my website project.
But heres the thing, my local machine (running my virtual machine) is my development site running IIS, and the site compiles fine and also runs fine. Explorer displays the ASPX pages without any errors. I've asked 2 colleagues to point their HOSTS file
at my server machine and they are not getting the compiler error either. However one machine is displaying this compilation error. I've cleared out the cache of the browser and hit CTRL+F5 and still the above error. So what I can't understand is how a website
will work on 3 machines (one being the actual host machine) apart from one other machine?
Its not a runtime error either its an actual compilation error?!?
Member
93 Points
592 Posts
.NET Compilation error message on only one client machine
Dec 15, 2008 11:31 AM|swaino|LINK
This may be better in an IIS forum, but here goes. I have the dreaded ASP.NET error page with the following error:
Compilation Error Message: BC30451: Name 'SqlHelper' is not declared.
I'm using the Microsoft.ApplicationBlocks.Data helper methods. I've compiled the application blocks DLL and then added a reference to the DLL in my website project.
But heres the thing, my local machine (running my virtual machine) is my development site running IIS, and the site compiles fine and also runs fine. Explorer displays the ASPX pages without any errors. I've asked 2 colleagues to point their HOSTS file at my server machine and they are not getting the compiler error either. However one machine is displaying this compilation error. I've cleared out the cache of the browser and hit CTRL+F5 and still the above error. So what I can't understand is how a website will work on 3 machines (one being the actual host machine) apart from one other machine?
Its not a runtime error either its an actual compilation error?!?
Member
93 Points
592 Posts
Re: .NET Compilation error message on only one client machine
Dec 15, 2008 03:20 PM|swaino|LINK
Ok my fault, the client machine's host file pointed to a different machine with a similar but broken build:[:$]