As mentioned in my profile, my primary activity these days is caring for mother but I have a couple of projects on the go as well when I get the chance to code. One of these project is porting a previous project to VB.NET 2010, party to learn 2010, partly to take advantage of some of the .NET 4.0 technologies to make the application more maintainable and efficient.
So far I have managed to port over all the source code and the existing NUnit tests, converting the NUnit tests to MSUnit Test as I go. So I had all my unit test running (or so I thought, it turns out I had missed some) and I tried running the application. So splash screen appears and login then I select one of the user screen from the main menu and bang! the application crashes.
The application has a dependency on Adobe Reader in several screens and Adobe does not play well in 64bit environments. So then I get that working by setting the target CPU to x86 and now I can open the application view the screens but now there is no data on several. It turns out that the Web Services are throwing errors.
So I googled the error and got a lot of info on checking that the .asmx file markup refers to the correct namespace and the code behind class is correctly named, also that the namespaces match. All of this I played around to no effect but of the 3 services one was working.
To no avail, it turns out that the code behind should be in an App_Code folder, even though Visual Studio did not create one when I created the .asmx file.
Must play around with this some more.