尽量把Webpart加入到GAC中,以提升权限,以下是加入到GAC中的命令
C:\Documents and Settings\xiaojian.li>gacutil /i \\yahoo-12854\Utility\bin\Debug
\Utility.dll
C:\Documents and Settings\xiaojian.li>gacutil /if \\yahoo-12854\Utility\bin\Debug
\Utility.dll
加入之后要记得重新启动IIS
C:\Documents and Settings\xiaojian.li>gacutil /i \\yahoo-12854\Utility\bin\Debug
\Utility.dll
C:\Documents and Settings\xiaojian.li>gacutil /if \\yahoo-12854\Utility\bin\Debug
\Utility.dll
加入之后要记得重新启动IIS