Sharepoint Client Context Retrieval From a Web app authenticated with Ping Federate
Hi All,
We are developing a WCF which would read value from a SharePoint list where web application only has Ping Federate authentication in all Zones. We have to use client object model since WCF would be hosted in a different server.We are not able to get data as
when clientContext.ExecuteQuery(); is called it throws forbidden error. We have followed the below blog http://travisspencer.com/blog/2010/03/getting-a-token-from-pingfeder.html how ever we are getting reply <faultstring>Unable to determine partner
SP connection by AppliesTo: url</faultstring>. While we are calling the using the below blog were getting forbidden error at _layouts/authenticate.aspx itself.
http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
Please let le me know if you have any working examples or documents regarding the same.
Thanks & Regards, Balu
Hi,
Does the account in use has the permission to access the SharePoint list? By default, we will come across the “Access Denied” if the current account has no access to a SharePoint
object.
For the authentication issue with SharePoint Client Object Model, you can try to set the credential to ClientContext object with the help of
NetworkCredential Class.
More information about authentication with SharePoint Client Object Model:
http://bramdejager.wordpress.com/2013/08/02/using-csom-and-powershell-to-query-sharepoint-online-or-on-premise/
http://sharepointdragons.com/2012/04/20/authentication-when-using-the-sharepoint-client-object-model/
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support
Similar Messages
-
How to create new instance of the process from external web apps?
Hi Everyone,
How to create a new instance of the process which deploy to the weblogic server from the external web app?
Thank you.Assuming the process includes a message start event, the simplest way is to use Web Service call. Once you've deployed the process you can use Enterprise Manager to get the URL of the WSDL. There's and icon at the top of the composite summary page for getting the WSDL, or you can get it from the test page. Use that WSDL URL to construct the client to use from the web app. If it's an ADF client you can generate either an ADF Data Control or a client proxy.
-
Office Web Apps 2013 with SharePoint 2013 Server
Hi All,
I have installed a separate server for Office Web Apps 2013 on Windows Server 2012 VM. I have followed TechNet's article on
Deploying Office Web Apps Server & exactly followed steps.
On SharePoint Server 2013 (Windows Server 2012), I followed TechNet’s article on
Configure Office Web Apps for SharePoint. The Office Web Apps on SharePoint 2013 environment works for
Excel document that shows “View in Browser” but
no Preview.
However, PowerPoint and Word documents doesn’t show “View in Browser”. I thought Internet Explorer 10 has some issue with Office Web Apps and checked on Chrome and results were same.
On SharePoint Server 2013 environment, I have configured 3 services applications, MMS, UPS and Excel Service.
1.) Do I need any other service applications to be enabled for OWA 2013?
I read number of blogs,
Installing Office Web Apps Server for SharePoint 2013 (Steve Mann),
Install Office Web Apps 2013 with SharePoint 2013 (Max Melcher) and Spence Harbar
(Enabling Office Web Apps Preview editing with SharePoint 2013). and all these blogs give more or less same steps that I have followed.
Strange thing is that Excel documents on my SharePoint 2013 sites are working but neither word or PowerPoint documents are not showing option for “View in Browser”.
I am using HTTP and not HTTPS.
2. Can someone please advice how could I solve the Office Web Apps 2010 on Word and PPT?
3. How to can enable preview for Excel, Word and PPT documents.
Thanks you.
Regards,
Aroh
Aroh ShuklaHi Inderjeet and Olafur,
Thanks for your reply.
@Inderjeet: That site collection feature on SP2010 works on our production environment but on SP2013 site collection there is no OWA feature. Microsoft recommends to have a separate OWA2013 server and what I create
a separate VM for OWA2013 server.
@Olafur: Your suggestion looks spot on. The OWA server does show the discovery:
Our SP2013 development server has limited RAM (4GB) and it think is causing the issue.
Let me check if increasing RAM solves the issue.
Thanks again for your suggestions. (Interjeet and Olafur).
--Aroh
Aroh Shukla -
I get an error message when clicking on a link from Outlook Web App
I get about 10 error message boxes whenever I click on a link that takes me away from Outlook Web App. Here is the error:
Client Information ------------------ User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.11) Gecko/20100701 Firefox/3.5.11 ( .NET CLR 3.5.30729) CPU Class: undefined Platform: Win32 System Language: undefined User Language: en-US CookieEnabled: true Exception Details ----------------- Date: Thu Jul 29 2010 09:13:01 GMT-0500 (Central Daylight Time) Message: Permission denied for <https://webmail.stjohns-network.org> to call method UnnamedClass.toString on <>. url: Line: 0 Call Stack ---------- undefinedError()@:0 window$onerror("Permission denied for <https://webmail.stjohns-network.org> to call method UnnamedClass.toString on <>.","",0)@https://webmail.stjohns-network.org/owa/14.0.639.21/scripts/premium/uglobal.js:1 function Array$get_Length() { return this.length; } function Array$get_Item(index) { return this[index]; } function Array$get_Enumerator() { return new (Owa.Collections.ListEnumerator)(this); } function Array$remove(oItem) { var index = this.indexOf(oItem); if (index > -1) { this.splice(index, 1); } return index > -1; } function Array$removeAt(iIndex) { if (iIndex < this.length) { this.splice(iIndex, 1); return true; } return false; } function Array$add(oItem) { this.push(oItem); } function Array$clone() { return this.slice(); }
== URL of affected sites ==
https://webmail.stjohns-network.org/owa/Hi Everyone,
I figured out the error. The error is caused by the "Fasterfox extension". Disable or uninstall the extension and then try to open the outlook after restarting the firefox. -
From what I understand, with sharepoint it is possible to run web apps on the server that don't need to be referenced via the cloud, ie in contrast to SkyDrive.
If so, would it be possible to create a web site on the share point server that embeds say a word web app in a page, all done in the one server, on the same domain?
ThanksHi,
First Office Web Apps and SharePoint can't be installed in one server as it's not supported. So you need at least two servers - one for SharePoint and another for Office Web Apps. About 'word web app', As far as I know you can run word app/excel app runs
in either word/excel but not inside Office Web Apps.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
How can I get the context-parm from a web.xml file using struts?
Hello:
I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
<context-param>
<param-name>datasource</param-name>
<param-value>jdbc/formacion</param-value>
<description>Jdbc datasource</description>
</context-param>
and then from any Action class get this parameter.
Similar using a simple server can be:
/** Initiates new XServlet */
public void init(ServletConfig config) throws ServletException {
for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
System.out.println(e.nextElement());
super.init(config);
String str = config.getInitParameter("datasource");
System.out.println(str);
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
// res.setContentType( );
System.out.println("Got post request in XServlet");
PrintWriter out = res.getWriter();
out.println("nada");
out.flush();
out.close();
but only this works for init-params, if I use
<servlet>
<servlet-name>MyServlet</servlet-name>
<display-name>MyServlet</display-name>
<servlet-class>myExamples.servlet.MyServlet</servlet-class>
<init-param>
<param-name>datasource</param-name>
<param-value>jdbc/formacion</param-value>
</init-param>
</servlet>
inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
Thank youTo get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
ServletContext context = getServlet().getServletContext();
String tempContextVar =
context.getInitParameter("<your context param >"); -
Access file object from flex web app
Hi all,
I want to access file object from flex web app. What should i do?
I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
What should I do?
Any Ideas?
Thanks,
-CKHi Michael
My question is that I dont want to give name of images in XML file.
In XML file there will be only path of image directory. So I need to find all image name from that image directory.
Thats why I want to access file object.
Any ideas? -
Data sync to external SQL from Access Web App
Hi all
Am I dreaming or does creating a table in an Access Web app based on an external SQL Azure database table (not the intrinsic one) end up being an import not a sync? It doesn't even seem to update when i open the external table and refresh it?
I am adding new records at the external SQL source and they are not updating in the table in the WebApp
Is anyone having similar problems?
Cheers
SallyHi Sally,
>> I am adding new records at the external SQL source and they are not updating in the table in the WebApp
Do you mean that you import a table from an external SQL Azure database into Access Web app, the data in Access Web app did not update after you change the an external SQL Azure database data? In my option, this is expected behavior if you are using import
table. Importing from another database would not achieve that, and it only achieves copying data from another database. I am afraid that you could not achieve your requirement from Access Web app.
As far as I know, the database of Access web app is Azure DB, I think you could sync the Access web app Azure DB and External Azure DB, you could refer the link below for more information.
Reference:
http://azure.microsoft.com/en-us/documentation/articles/sql-database-get-started-sql-data-sync/
I am not familiar with Azure DB, and if you have issues about Azure DB, I will recommend you go to the link below for help.
Reference:
http://social.technet.microsoft.com/Forums/en-US/home?forum=ssdsgetstarted
Thanks for your understanding.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
In on premise Exchange server (Local Exchange) i want send the email using custom address like [FAX:name@/FN=333] from
Outlook Web App(OWA), while clicking on send button i got the error like "The message can't be sent because at least one recipient isn't valid." so i am unable to submit the email from OWA.
but i am able to send the email using custom address like [FAX:name@/FN=333] from Outlook Web App(OWA) of Office 365 exchange server.
what is difference b/w Local Exchange server OWA & Office 365 OWA?
is there any configuration changes needed for Local exchange server?
so How to disable the searching contacts functionality(auto complete) & error message in OWA of Local exchange server?Hi,
What’s your Exchange environment? Exchange 2010 co-existing with Exchange 2013? Can you share your related transport rule here for more analysis? What’s your custom email address format?
I created a custom address like Fax:Winnie@/FN=333 in my tab environment, it returned an error about “The address ‘Fax:Winnie@/FN=333’ is not a valid SMTP address”. Please update your Global Address List in Exchange server and if there is any error log,
please provide more information for further analysis.
Thanks,
Winnie Liang
TechNet Community Support -
Delete reminders from Outlook Web App
Hello
I am an Outlook 2010 and Outlook Web App user running Windows 7.
I have had issues with Calendar Logging and huge numbers of items - tens of thousands, often for the same meeting request. I spoke with my exchange provider and they removed the calendar logging folders from the web app (not sure what they did), however,
I still receive reminders (currently 150) for meetings that no longer exist in my calendar. These do not appear in Outlook 2010 (although calendar logging is an issue, see below), only in the Outlook Web App. When I dismiss or individually delete the reminders
they disappear only to return a few seconds later.
I have tried running Outlook with the /cleanreminders switch and others. I have tried using MFCMAPI to find reminders and delete them although none are shown. I have checked and repaired my outlook ost file.
Outlook 2010 often displays an "updating calendar logging" message. This often causes Outlook to be unresponsive. I have the same issue with the Mail application on a mac machine.
I am a sole trader without an IT department. My exchange host is not that helpful.
Any help on this would be appreciated.
Thanks
RhysThanks Martina.
I made the change you suggested and found the reminders... all 51,600 of them!
Do you have any idea what might be causing this. Anyway, I am not able to delete them. I get an error message:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function lpSourceFolder->CopyMessages( lpEIDs, NULL, lpWasteFolder, lpProgress ? (ULONG_PTR)hWnd : NULL, lpProgress, ulCopyFlags)
File MAPIFunctions.cpp
Line 998
Followed by:
Warning:
Code: MAPI_W_PARTIAL_COMPLETION == 0x00040680
Function DeleteToDeletedItems( lpMDB, (LPMAPIFOLDER) m_lpContainer, lpEIDs, m_hWnd)
File FolderDlg.cpp
Line 695 -
Office Web Apps Server 2013 - Word Web App - Problem with Tab space
Hello We have Office Web Apps Server 2013 running with SharePoint 2013. Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
Has anyone noticed this? Is this a bug?
-thanks
thomas
-TomYes, currently the Word Web App does not support
Tab Keyboard shortcut for editing document content .
For more information, you can have a look at
the article:
http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral -
Cross Domain Web App Authentication
I have two web apps that are running within different domains. They both use j_security for authentication. Is it possible to link from one web app to the other without requiring the user to reauthenticate? I tried setting the security credential to the same on both servers, which didn't work. Do I have to have to do something with cookies and do the roles need to be defined the same on both servers? Is what I am trying to do even possible without a third party single sign on product?
1)Enable domain wide security credentails same for both the domain.
2) Have user and groups and roles the same in both servers. -
Can you purchase an app from the mac app store with an itunes gift card
Can you purchase an app from the mac app store with an itunes gift card and if so how.
Yes.
Click Redeem on the right side of the MAS window under Quick Links.
Carolyn -
Best
practice to remove content databases from SharePoint 2007 without any Farm
impact <o:p></o:p>Hi ,
For removing a content database from a Web application, you can take steps as below:
1.On the Manage Content Databases page, click the content database that you want to remove.
2.On the Manage Content Database Settings page, in the Remove Content Database section, select the Remove content database check box.
If any sites are currently using this database, a message box appears. Click OK to indicate that you want to proceed with the removal.
3.Click OK.
Reference:
http://technet.microsoft.com/en-us/library/cc262440(v=office.12).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
How to get error information back from Office Web Apps server?
I'm developing a web application with an embedded Word iframe that interfaces with an Office Web Apps server; I am trying to implement the MS-FSSHTTPB protocol for my WOPI server.
More details here. When I send a bad response back to the OWA server it stops making requests to the WOPI server and sends the following error message back to the browser client: "Sorry, there was a problem and we can't open this document. If this
happens again, try opening the document in Microsoft Word."
Is there a way I can get additional information about what went wrong so that I can correct it?Yes, this is closely related to SharePoint.
I'm trying to embed a Word editor in our web app. The Word iframe is served from the OWA server. It typically communicates with a SharePoint server to receive information about the document its trying to display.
I'm trying to implement the SharePoint portion. The servers communicate via the MS-FSSHTTPB protocol (among others) which I'm struggling to implement. When I send a response to the OWA server that it doesn't like then it stops replying. I'm wondering how
I can retrieve the exact error the occurred.
I believe I originally posted this question to Open Specifications > SharePoint Server Protocols.
Maybe you are looking for
-
Miserable experience with replacement LG Fathom, that replaced defective TP2
Freezes It does freeze. Alarms don't work right I use the alarms & those didn't work right. I had set 1 for 9:30 pm & 1 for 10 pm, The 10 pm one got up to 12 alarms--even though only 1 was set. Tech support wanted me to do a hard reboot but wasn't v
-
7.3 CD Burning issue.
[IMG]http://i5.photobucket.com/albums/y198/kameki/Untitled-1.gif[/IMG] I've been getting this error since I got 7.3. I can burn using WMP and still import using iTunes, but I can't burn any playlists.
-
Scanned tables to word or excel
Hi, I tried to convert a pdf file that contains scanned tables (3 columns: title and two years financial entry). The outcome is not useful as I can not select the number from a particular column: either the whole table is selected or the title and th
-
hi...... ok, so i've got the card hooked up to the tv using the s-video cable. i can see the desktop picture and that's it -- no icons, no nothing.... um, help. i've played with all the options under display options/settings and no luck. any sug
-
HT4962 how do i know what generation my ipod touch is?
I am trying to update my ipod touch. how do i find out what generation it is? thank you.