首页 新闻 会员 周边 捐助

模仿Community Server的数据抽象层出现如下问题,请教。。。。

0
悬赏园豆:50 [已关闭问题]
<h2><em>未能加载文件或程序集&ldquo;SSS.OracleDataProvider&rdquo;或它的某一个依赖项。拒绝访问。</em> </h2> <p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><strong><span style="font-family: Verdana;">说明: </span></strong>执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br /><br /><strong><span style="font-family: Verdana;">异常详细信息: </span></strong>System.IO.FileLoadException: 未能加载文件或程序集&ldquo;SSS.OracleDataProvider&rdquo;或它的某一个依赖项。拒绝访问。<br /><br /><strong><span style="font-family: Verdana;">源错误:</span></strong> <br /><br /> <table border="0" width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>行 25: GetDataStoreParameters(dataProvider, out connectionString, out databaseOwner); 行 26: <span style="color: #ff0000;">行 27: Type type = Type.GetType(dataProvider.Type); </span>行 28: 行 29: object newObject = null;</pre> </code></td> </tr> </tbody> </table> </span></p> <p><strong>堆栈跟踪:</strong><span style="font-family: Arial;"> <br /><br /></span> <table border="0" width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>[FileLoadException: 未能加载文件或程序集&ldquo;SSS.OracleDataProvider&rdquo;或它的某一个依赖项。拒绝访问。] [FileLoadException: 未能加载文件或程序集&ldquo;SSS.OracleDataProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&rdquo;或它的某一个依赖项。拒绝访问。] System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark, Boolean loadTypeFromPartialName) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark) +64 System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark) +58 System.Type.GetType(String typeName) +50 SSS.Components.DataProviders.CreateInstance(Provider dataProvider) in F:\GSJ\SSS.Components\Provider\DataProviders.cs:27 SSS.Components.CommonDataProvider.CreateDefaultCommonProvider() in F:\GSJ\SSS.Components\Provider\CommonDataProvider.cs:51 SSS.Components.CommonDataProvider..cctor() in F:\GSJ\SSS.Components\Provider\CommonDataProvider.cs:24 [TypeInitializationException: &ldquo;SSS.Components.CommonDataProvider&rdquo;的类型初始值设定项引发异常。] SSS.Components.CommonDataProvider.Instance() in F:\GSJ\SSS.Components\Provider\CommonDataProvider.cs:30 SSS.Components.UserBLL.GetUser(String userName, Boolean useCache) in F:\GSJ\SSS.Components\BLLs\UserBLL.cs:106 SSS.Components.UserBLL.GetUser() in F:\GSJ\SSS.Components\BLLs\UserBLL.cs:93 SSS.Components.SSSContext.get_User() in F:\GSJ\SSS.Components\Components\SSSContext.cs:408 SSS.Web.Inner.MasterPages.InnerMasterPage.Page_Load(Object sender, EventArgs e) in F:\GSJ\SSS.Web\InnerSite\MasterPages\InnerMasterPage.Master.cs:24 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 </pre> </code></td> </tr> </tbody> </table> </p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>所有的权限都加上了。。。加了Everyone给予所有的权限。。。。</p>
撒旦之吻的主页 撒旦之吻 | 初学一级 | 园豆:155
提问于:2009-01-13 12:17
< >
分享
其他回答(1)
0

先确定一下F:\GSJ\SSS.Components\Provider\CommonDataProvider这儿的文件夹下面有没有这个dll。

暗香浮动 | 园豆:361 (菜鸟二级) | 2009-01-13 12:37
0

xuexixuexi...

Jared.Nie | 园豆:1940 (小虾三级) | 2009-01-13 19:42
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册