When I run the Web Application in debug mode, the following line evaluates properly:
litProfileInfo.Text = "Welcome " & HttpContent.Current.Profile.Item("FirstName") & " " & HttpContent.Current.Profile.Item("LastName")
However, when I run the application normally, the page only outputs "Welcome" (instead of "Welcome John Doe").
Though I don't see why this should make a difference, could it have something to do with the paths?
Debug URL:
http://localhost:56862/Index.aspx
Regular URL:
http://localhost/VirtualDir/Index.aspx
...
Go to the complete details ...