Solved

Getting Silverlight web part to deploy in SharePoint

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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 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 this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

816 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

12 Experts available now in Live!

Get 1:1 Help Now