Solved

Getting Silverlight web part to deploy in SharePoint

Posted on 2009-07-07
2
741 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sharepoint 2010 Auditing for One Site 3 39
Error viewing ASP page 12 151
SharePoint 2013 List with Ratings 6 39
URL Redirect using IIS v8 4 27
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

863 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

23 Experts available now in Live!

Get 1:1 Help Now