WebApplication moss 功能在一个环境中抛出 FileNotFound
我在 Web 应用程序范围内开发了某个功能,我已将其部署在我的开发计算机中,激活它并且运行良好。
一旦我将其部署在测试环境中并尝试激活它,它就会抛出“找不到文件”。
我认为服务器之间的主要区别是测试环境中的中央管理。不是前端,而在我的开发计算机中,所有内容都托管在同一台计算机上。
我认为这与试图达到“propeties.Feature.Parent as SPWebApplication”的功能有关(我无法在测试环境中调试代码)有
什么想法吗?
提前致谢。
I developed a certain feature at web application scope, I've deployed it in my development computer, activated it and it worked fine.
Once I've deployed it in out Test environment and tried to activate it, it throws "File Not Found".
The main difference between the servers which I think of is that the Central Admin in the Test env. is not a front-end, while in my dev computer everything is hosted on the same computer.
I think it has something to do with the feature trying to reach "propeties.Feature.Parent as SPWebApplication" (I can't debug the code in the test environment)
Any ideas ?
Thanks in advanced.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 FileNotFound创建 SPSite 或获取对 SPWebApplication (SharePoint 2010) 的引用时出现异常
请参阅这篇文章:带有 SPSite 构造函数的 FileNotFoundException
From FileNotFound Exception when creating SPSite or getting reference to SPWebApplication (SharePoint 2010)
Also see this post: FileNotFoundException with the SPSite constructor