Alright, pretty simple conundrum.
I have deployed an application using Web Deploy in Visual Studio Web developer express 2010. It's developed in asp.net, .net 4.0.
It works great, the vb code executes on localmachine, the logging files I create through the code display the logs properly etc.
Initially, when I set up the application on a windows 2008 server using iis7, it worked fine, and the codebehind aspx.vb resulted in the correct values. I've since made some modifications to my codebehind file and have used the web deploy feature in visual studio web developer express again.
However, now when I try to access the application now, and it executes the vb code, its giving me the incorrect results. However, when I check the logfile, the logfile has the correct timestamp, but for the values I am supposed to get, I get incorrect ones.
I have recycled application pool, reset iis multiple times, I've disabled caching on my individual pages, I've even disabled caching in Internet explorer, reset ie browser settings to default etc.
I'm just puzzled as to why it would work the first time, and not the second time. And why when Im debugging on my localmachine everything works fine still, but when I web deploy the code just keeps giving me the same results, with the current timestamps on the files.
Basically, my application scans the users registry for some values, and displays those values to the user in a prompt and then a logfile, which can be opened directly from the prompt.