从sharepoint 2010事件接收器调用java webservice

从sharepoint 2010事件接收器调用java webservice,java,.net,web-services,sharepoint-2010,Java,.net,Web Services,Sharepoint 2010,我们正在使用sharepoint事件接收器,如下所示: public override void ItemUpdated(SPItemEventProperties properties) { if (properties.ListItemId > 0 && properties.ListId != Guid.Empty) { string id, url, operation;

我们正在使用sharepoint事件接收器,如下所示:

public override void ItemUpdated(SPItemEventProperties properties)
       {
           if (properties.ListItemId > 0 && properties.ListId != Guid.Empty)
           {
               string id, url, operation;
               url = properties.AfterUrl;
               operation = "Update";
               id = properties.ListItemId.ToString();
               //id=properties.ListId.ToString();
               JavaSendAlert.AlertWebServiceService jsa = new   JavaSendAlert.AlertWebServiceService();
               jsa.sendAlert(id,url,operation);
           }
JavaSendAlert是一种使用的WSDL,用java制作并发布在32位系统上

我们在这一行遇到异常: JavaSendAlert.AlertWebServiceService jsa=新建JavaSendAlert.AlertWebServiceService()

例外情况是:

无法执行程序。正在执行的命令无效 “C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe”/noconfig /完整路径 @“C:\Users\461167\AppData\Local\Temp\OICE_FEF98CDC-FC33-4071-B497-DC6B21E9E725.0\w1tuwwu5.cmdline”

我们如何处理这个例外


谢谢你的回复

u共享页面上的错误不是我的

我的错误路径是C:\Users\myname\AppData\Local\Temp\OICE_FEF98CDC-FC33-4071-B497-DC6B21E9E725.0\w1tuwwwu5.cmdline

在页面上,您共享的是@“D:\WINNT\TEMP\eyrpuhyg.cmdline,这在internet上非常常见

我仍然无法解决这个问题,但人们在安装SQL server时也遇到了同样的问题

谢谢
Mohit Leekha

有了这些信息,我只能猜测……我想说这是一个权限/身份验证问题-请查看KB。

终于成功了

我刚刚将信任级别更改为farm,该级别以前设置为sandbox

谢谢 莫希特·利卡