Solved

Getting Silverlight web part to deploy in SharePoint

Posted on 2009-07-07
2
740 Views
Last Modified: 2013-11-12
I'm trying to get a Silverlight Web Part working in MOSS by creating it in Visual Studio 2008 (based on the tutorial here: http://msdn.microsoft.com/en-us/magazine/dd148643.aspx).

When I try to deploy it, I get the error message:
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'.

I've changed the authentication settings for the SharePoint site to "Negotiate,NTLM" as this article suggests: http://support.microsoft.com/kb/215383

When I enable anonymous access on the VSeWSS website in IIS, I stop getting that error message and instead get this one:
The requested service, 'http://[IP address]/SPService.svc' could not be activated. See the server's diagnostic trace logs for more information.

Going to the Event Log reveals this error for the System.ServiceModel 3.0 source:
The exception message is: Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.

All of the documentation for this error seems to indicate that I need to DISable the anonymous access.  All of my websites in IIS have Integrated Windows authentication enabled.

Any help?

Thanks!
0
Comment
Question by:StacyThomas
2 Comments
 
LVL 11

Accepted Solution

by:
andrei_teodorescu earned 500 total points
ID: 24796227
0
 

Author Comment

by:StacyThomas
ID: 24796474
Thanks SO much!  That thread did the trick: I created a new App Pool named VSeWSS using the defaults.  Then I uninstalled and reinstalled 1.3, changed the VSeWSS App Pool identity to one with Administrator rights, and presto!

Perfect!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now