发生意外错误
我已经在本地计算机上创建了一个 asp.net Web 应用程序,并将其部署到 sharepoint。为此,我参考了以下
在 Windows SharePoint Services 3.0 _layouts 文件夹中部署 ASP.NET Web 应用程序 [http://msdn.microsoft.com/en-us/library/ cc297200.aspx]
它在我的本地计算机上运行完美,但是当我尝试在客户端计算机上部署相同的内容时,它给了我“发生了意外错误。”错误。
情况是,我的客户端计算机上没有安装 Visual Studio,所以我所做的只是将我的解决方案文件夹与 bin 文件夹一起复制到 12'hives LAYOUT 文件夹中。然后,当我尝试通过点击 URL
http://[machineName]/ 来访问它时_layouts/[MyCustomFolder]/default.aspx 它给了我上面提到的错误。
谁能帮我解决这个问题..? 预先感谢..
萨钦
I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following
Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder
[http://msdn.microsoft.com/en-us/library/cc297200.aspx]
Its works perfect on my local machine but when I was trying to deploy the same on clients machine it was giving me the "An unexpected error has occurred." Error.
The scenario is, There is not visual studio install on my clients machine so what I was doing is I simply copying my solution folder in 12'hives LAYOUT folder along with the bin folder. Then when I was try to access it by hitting the URL
http://[machineName]/_layouts/[MyCustomFolder]/default.aspx it was giving me the error mention above.
Can anyone help me to solve this issue..?
Thanks in advance..
Sachin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
意外错误可能是什么,您需要查看错误的根本原因是什么,
Unexpected error might be anything, You need to see what is the root cause of the Error,
尝试查看日志文件,将日志记录级别设置为最大,以确保您看到共享点对您的页面的说明。
为此,如果您有权访问服务器:
\\server\c$\Program Files\Common Files\Microsoft Shared\web server extensions\12
并按修改日期排序日志
[MyCustomFolder]
名称然后发布错误消息这里。
Try to watch the logfiles, set logging level to maximum to be sure you see what sharepoint says about your page.
To do that, if you have access to the server:
\\server\c$\Program Files\Common Files\Microsoft Shared\web server extensions\12
and order by modification datelogs
[MyCustomFolder]
nameThen post the error message here.
意外错误可能有多种原因。
转到 C:\inetpub\wwwroot\wss\VirtualDirectories\80
打开 Web.Config
更改
以
关闭自定义错误
An unexpected error can have multiple reasons.
Go to C:\inetpub\wwwroot\wss\VirtualDirectories\80
Open Web.Config
Change
to
Turn off custom errors
我知道这是一个老问题,但对我来说,解决方法是从 IIS 停止并重新启动 SharePoint Web 应用程序。
I know that is an old question but for me the fix was to stop and start again the SharePoint Web Application from IIS.