I just realized I made a mistake. You can't compile the .aspx page directly. Instead, you have to locate the temporary .vb
file, and you can compile that one. ASP.NET creates that temp VB
file by manipulating your .aspx page.
I'd start by rebooting. Then, don't use ThePhileVB after the boot. Instead, locate the temp path for this application and delete the files there. Mine was located here:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files\thephilevb
Now, bring up a browser, but don't go into ThePhileVB yet. Just go directly to the page giving you trouble. Leave your browser up, then go to that temporary path mentioned above (it got recreated just now), and find the .vb
file for that page (it will have a wierd name, but it will end in .vb
). You should be able to compile this .vb
file from a batch file. Make sure you run the batch file in a VS Command prompt - this gives you the right path.