I am getting this error while sending mail with some attachment when we host it.Its working fine locally.
Note: Its throwing error in the Career Page.

Thanks,
Prasant

Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prasant JinagaPosted Mar 14, 2012, 3:07 PM
I tried these solutions but didn't work either!!!
Thanks,
Prasant
SenthilkumarPosted Mar 13, 2012, 9:59 AM
Ya. this will work fine locally. Because you are accessing the file and sending from the same machine.
But when you try to access from the client machine if it is not in the network you will get this error.
You go through this discussion... you will get the idea to do changes in the configuration file.
http://forums.asp.net/t/1142387.aspx/1
http://www.gleamtech.com/support/forums/2616/request-for-the-permission-of-type-system-security-permissions