Hi I have a SharePoint webpart which is compiled as a DLL and placed in the BIN folder of my SP site. My webpart works on my local machine, but when I put it on production it fails with a
(401) Unauthorized.
After doing some research I came acrooss what is known as the "One hop rule". Meaning I have to either pass in the credentials of a network user, or use
<identity impersonate= "true" />
in my web.config. I do not want to hard-code a network user, so my question is how can I use the impersonate in my web part? Do dll support web.configs? Thanks for the help.