i am trying to build a web part to display the TFS projects and i am using Microsoft.TeamFoundation.Framework.Client and using Microsoft.TeamFoundation.Framework.Common;
like here
This works perfectly in a sample web app , but the moment the code goes into a visual web part,
i get a SSL errors
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure...
Any help is appreciated
Thanks
Rajat
I never work with TFS interactiong with Sharepoint. Needless to say that I didn't came across such problem. But here is the link which explains in detail on how a aspx page can interacts with the TFS.
http://geekswithblogs.net/TarunArora/archive/2011/06/18/tfs-2010-sdk-connecting-to-tfs-2010-programmaticallyndashpart-1.aspx
Have Great Day!
I got TFS configured on my VM ,which solved my problem, but i was unable to solve the original issue .
Related
Technologies used:
BreezeJS
OData
Web API 2
MVC 5
IDE: Visual Studio 2013
I've been wrestling with the idea of having a Web API project and a separate web site project in a single solution.
My Web API 2 project opens up as: localhost:2020/ExampleProject.API
My MVC 5 WebSite project opens up as: localhost:5050/ExampleProject.WebSite
Now by default web api doesn't allow cross origin policies. So I played around with enabling CORS in my Web API 2, although I was able to get it to work, it only works for the latest browsers; I need the backward compatibility of IE7 to IE9.
So I played around with JSONP. I'm not fond of the lack of support that exists for this. I was able to get it to work for my Web API 2 project, but it doesn't work if I wanted to use BreezeController if using the breezejs web api library. It also doesn't work if I wanted to create an ODataController.
So I'm moving away from the idea of cross origin sharing; though hoping that in the future there will be enough support for jsonp regardless if I use BreezeJS WebAPI helper or ODataControllers.
For now, I have no idea how to put my WebAPI project and my MVC 5 Website under the same domain where I can have:
localhost/ExampleProject.API
localhost/ExampleProject.WebSite
Do I have to make some configuration in my host file? if I want to run my projects from VS2013 would it be able to run both projects under the same domain.. or do I have to keep on manually changing the URL in the browser?
Well, the answer was really really simple.
I know this an old question, it was just that I forgot how to do it since it's been so long since I did this. Searching for the answers on google and on stackoverflow was difficult since the discussions talked about setting up cross origin policies instead of setting up a same origin policy.
I spent the good portion of my time putting everything on IIS.
Created a website and had it point to the physical path where my website csproj and bin folder is located. I gave it a hostname of "dev.example.com" and changed my hostfile for 127.0.0.1 to refer to dev.example.com
Created a Web Application for the website, and set it up for web api 2 project. Everything magically worked after that.
The dumb part was, I could have easily done this in visual studio. I remember in VS2010, this cause many problems, but in 2013, I guess bugs have been fixed and it works now.
I had my WebSite project set up as
localhost:2020/ExampleProject.WebSite (incorrect)
instead of
localhost:2020 (correct)
and created a virtual directory. I do this by right clicking the project, going to properties, under "Web" tab.
So basically, the rule of thumb was to get my website to be my main root domain, and to copy that full domain to any web application I want to add under it.
So: website would be:
localhost:2020
web application:
localhost:2020/ExampleProject.API
I have a plain-vanilla MVC 4 Web Api project created using VS2012.
The (/api/Values) works out-of-the-box on the localhost but NOT when deployed on IIS (packages created using the standard "Publish..." from the project menu).
After been through lot of articles and reading suggestion for similar issue I found the Route tester which visualized how IIS was interpreting the request.
As the screenshot revels, the IIS is interpreting ~/api/values as ~/api/values.aspx
Any input on why this is happening and suggestion on how to resolve it is highly appreciated.
Thanks a lot for the help.
I'm in the process of deploying an xpages 8.5.3 app which users the xpages ext library.
Internally the app is working great, but for our ipad users to access it they need to go through a citrix gateway. It appears that the gateway is not allowing a couple of the files through. We are getting and error.
Could not load 'extlib.dijit.DynamicContent'
The network guys have found details that indicate it might be the way that the path's are defined in the Java script some use () and other use []. I need to know which one you use in domino to access the built in ext script libraries. Does anyone know?
http://support.citrix.com/article/CTX122319
Thanks
I had the same problem. I ended up publishing the application as an App instead of a website. It was a change in how the app is deployed but it seemed to work. I know, not the answer you were looking for... If you do find an answer I am very interested in hearing it.
I'm trying to use UnboundID's LDAP SDK to fetch contacts present on an LDAP server.
I'm using the VirtualListView(VLV) Control along with Server-side sort in my code and this code works perfectly fine when I tested with a LDAP server configured in my organization.
However, I wanted to setup a local server and add certain contacts/entries to it and test my code with that server. For this, I used OpenLDAP and configured it on Ubuntu 10.04 using instructions from this link: http://www.ghacks.net/2010/08/31/set-up-your-ldap-server-on-ubuntu-10-04/
Now, when I tried getting the contacts, my code does not work as the server I've setup is not supporting VLV. When I perform a simple search, i.e. without any VLV or other paging technique, then I am able to see the results. This means the server is working fine, but not supporting VLV control.
So what I need to know is how can I enable support for VLV or any other required controls for my server?
Please do let me know if anyone knows how to achieve this. Hors of googling hasn't lead to any promising results :(
Thanks & Regards,
Kiran
Question is off topic, should be on serverfault.com, but you have to load, enable, and configure the SSSVLV overlay.
Forget that blog, and all random Internet blogs while you're at it. Have a good look at the OpenLDAP Admin Guide itself, which is where you should have started. I can also recommend a really good reference here, but only because I've used it extensively, not just because Google said so.
Maybe this is a dumb question!
I'm just wandering is there any way/web part integrating with SharePoint, by which I can communicate with others instantly.
The reason behind this requirement is that I still have not found any workaround to communicate with my colleagues instantly, like MSN, in SharePoint.
P.s If I start building one, where should I get started!
Thanks for your input and forgive me if my question is stupid!
You can integrate Microsoft Office Communcations Server into SharePoint apparently. Gives you access to MSN Messenger internally to your enterprise, among other things.
Users who run Windows Live Messenger will get a precense icon for all user lookups when their email settings are configured properly. It requires all users to add each other to their live accounts, so it might not be the solution you are looking for. Another way to get the precense icon is by using Microsoft Office Communications Server as Moo suggested.
This also integrates well into Outlook and is the way Microsoft decided to implement communication in the Office suit.
Check out chatterbox:
http://blogs.msdn.com/sharepoint/archive/2007/05/15/chatterbox-persistent-chat-session-for-sharepoint.aspx
Here is another open source feature I have been working on.
EDIT: The name of the feature is Sharepoint Messenger. You can find it either google search, codeplex or the link below.
https://sharepointmessenger.codeplex.com/