Solved

Getting Silverlight web part to deploy in SharePoint

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 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