Hi, Robbe,
Thank you for the reply.
If I remember correctly from the last time I came across this problem, it was Assembly.GetExecutingAssembly()
that caused the security exception with my hosting provider. All I wanted to get from this was the version, a harmless text string, but of course this call doesn't know that.
I could be wrong. I haven't run the code on the live server yet, but as I say, I do remember having problems with this before.
Kind wishes, Patrick