sharepoint-2010

WebPart on Sharepoint downloads a file locally - I need to send it to the client

丶灬走出姿态 提交于 2020-01-02 19:06:20
问题 please help me to Download file on the machine that use Sharepoint Site not the machine that has sharepoint server. public class WebClientBL { static WebClient client_ = new WebClient() { Credentials = CredentialCache.DefaultNetworkCredentials }; public static void DownloadToClient(string path_in_sp, string path_in_local) { try { client_.DownloadFile(path_in_sp, path_in_local); } catch (Exception ex) { } } } 来源: https://stackoverflow.com/questions/22659661/webpart-on-sharepoint-downloads-a

SharePoint 2010 error not found in logs, how to configure logging?

纵然是瞬间 提交于 2020-01-02 08:45:12
问题 We have a SharePoint 2010 feature that works fine on my development machine, but won't activate on the staging system. It's SiteCollection scoped, the containing solution was successfully deployed on one WebApplication. When we try to activate the feature, we get an error message with a Correlation ID. But we can't find this ID or the name of the feature in the SharePoint Logs nor in the Windows Event Log. Maybe logging wasn't configured right or there is an error with ULS on the machine, but

Can Url Rewrite only rewrite to an internal url?

家住魔仙堡 提交于 2020-01-02 05:24:06
问题 I've installed IIS 7.0 with SharePoint and Url Rewrite module. Are the following sentences or perhaps I have configured something incorrectly to see this result? Url Redirect can redirect a url to any internal (on the same site) or external urls (on a separate site). Url Rewrite can only rewrite to an internal url? Many thanks in advance. 回答1: Url Rewrite can redirect a url to any internal (on the same site) or external urls (on a separate site). 回答2: You can actually rewrite to a different

Java HTTP call to Sharepoint 2010 oData fails

左心房为你撑大大i 提交于 2020-01-01 19:57:29
问题 I am calling a Sharepoint 2010 oData service from Java which is resulting in a 400 error. I can connect to a Sharepoint 2010 list in XML format via the same code (using NTLM) successfully. I see a related post HttpClient using both SSL encryption and NTLM authentication fails which talks of the same service (listdata.svc) and the 400 error. Does anyone know what exact setting was used to resolve the error in the post above? Does anyone know if they are referring to the .NET Authorization

Java JBoss 401 Error on SharePoint 2010 Web Service

﹥>﹥吖頭↗ 提交于 2020-01-01 09:22:43
问题 My code runs successfully when tested within the Eclipse IDE. I'm connecting to MS SharePoint 2010 via Web Services using the generated Copy.wsdl When I deploy my code on the JBoss server (Running Adobe LifeCycle) my code receives a 401 Error. Error: Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75) at org.jboss.remoting.transport.http.HTTPClientInvoker

How can I change a site's default language after creation (sharepoint 2010)?

≡放荡痞女 提交于 2020-01-01 05:27:06
问题 after creating a site you can go to: Site Actions / Site Settings / Site Administration / Language Settings and select some alternate language(s) if you've got some language pack(s) installed, but the default one is fix and you can't cange it anymore. Is there a way or some settings.file where you can change the default language? 回答1: OK, It's me again answering my own question(s)... http://sharepointchick.com/archive/2008/04/29/changing-the-language-of-an-existing-sharepoint-site.aspx It

Programmatically get ListItemVersion using client object model SharePoint 2010

巧了我就是萌 提交于 2020-01-01 05:01:46
问题 I have a scenario where I have to move all my data in a SharePoint 2010 list (name= "VersionTestList") to a SQL server database. Since versioning is enabled in the list, I want to move the previous version details too. Anyway I was able to move the latest item, but unfortunately I am not able to get the previous version data. I have tried this using Client Object Model and able to get the versions, but not able to get the ListItem of that corresponding version. Please find below the code

Company wants me to learn Sharepoint 2010 development, should I? [closed]

自闭症网瘾萝莉.ら 提交于 2020-01-01 04:50:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I am a Asp.Net developer, currently working on Webforms in 3.5. I do C# now, used to do VB.Net. I am also a middle tier developer (business layer and data layer) working on refactoring the current code base to use the Service-Repository pattern. My boss asked me if I would like to start doing Sharepoint

How can I see the exception call stack in SharePoint 2010?

落花浮王杯 提交于 2020-01-01 02:42:06
问题 I am trying to port a SharePoint 2007 site collection feature to 2010. During the feature activation, SharePoint shows the "yellow screen of death" stating "The current custom error settings for this application prevent the details of the application error from being viewed.". AFAIK I have configured everything that is need to see the error: in c:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config I have set <system.web> <customErrors mode="Off" /> <compilation debug="true" /> <SharePoint>

columns dereferencing in SharePoint's calculated column

核能气质少年 提交于 2019-12-31 05:12:24
问题 I want to use the simple formula: ="FIX_" & [ID] The issue with this formula occurs when I confirm the calculated function, the formula appears to revert back to: ="FIX_" & ID The problem is now that these are no longer referencing the [ID] column so the result returns "FIX_" for all records. This does work for the first record entered but any other subsequent entries display this error. Is this a known issue? 回答1: So you only want to display the link in a VIEW. You can then use HTML