.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

WCF Service with anonymous means Internet Facing site

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#

Hi Guys,

I have Web application with NTLM and this webapplication extended to Internet zone with anonymous for public facing site.

Now i have developed WCF service to get data from sharepoint calendar list which will be consume by silverlight application.

This works fine on Intranet Zone with Windows authentication but on public facing site it Prompt for Credentials and if i cancel it doesnt get data.


Please advise how can i make it work for Internet facing site.


Thanks Ron

View Complete Post

More Related Resource Links

How do I publish public facing SharePoint site(on internet)?

I developed public facing SharePoint 2010 portal publishing website using Window Server 2008 R2 and SharePoint 2010 Server and SPD 2010 on my computer. I have custom master page, page layout, css…. I want to publish it(on the internet).  I want to know cheap host and domain name service provider Company and steps to do it. I’ appreciate any advice in advance.

Internet facing SharePoint site - user shouldn't have to log in to change the langague

Hello, I am using SharePoint 2010 for Internet sites.  Anonymous access has been enabled.  Language packs have been installed so that users can switch to different languages as required.  However, the only way for a different language to be selected other than the default is for the user to log into the site and then the option would be displayed.....This is an internet facing site with anonymous access therefore users shouldn't have to log in to change the language.  Can someone guide/advise on switching the lanuguage of the site without loggin in. Thanks, Shelley

Host-named site collections and content deployment jobs (SharePoint 2007 Internet facing Web Sites)



I have an editing web application with multiple site collections (only accessible internally on a dedicated port), and I've one public facing web application (on port 80). Now I want to create several host-named site collections in the public facing web application (to limit the number of web apps in the farm), and then use content deployment jobs to push the content from the site collections on the editing web app into these host-named site collections.

Does anyone have any experience with this?
Do you see any issues?


Anonymouse user - Cannot search in SharePoint 2010 internet facing site


Anonymouse user - Cannot see search results in SharePoint 2010 internet facing site. They see blank results.aspx while admin see all search result.

How to make Anonymouse user - see search results in SharePoint 2010 internet facing site?

anonymous users vs intranet users in sharepoint 2010 internet facing sites




We have sharepoint 2010 internet facing sites where inside custom master page we have security trimmed control which hides site actions for general users.

Now we have anonymous access enabled. So any body can access this site.

Now even if user is author or from intranet , he can not see site actions as we do not have any sign in link.

How to automatically show site actions to users from intranet and with proper rights and hide siteactions to anonymous users?

search results for anonymous user ---public facing site



How Do I enable search results for anonymous users on my internet site

I changed the inheritance of  results page but it didnot work

Thanks in advance

Internet facing publishing site - Ribbon

I'm working on customizing the design of a site which will be an internet facing publishing site. Does anyone know if the Ribbon box (with links to site settings, login information +++) will always show (even to anomymous users)?

Cannot create Blog site from within my Internet facing Publishing Site

i have an internet facing Publishing Portal which i would like to add a blog sub-site. When i navigate to Site Actions > Create Site i am only presented with the Publishing Template to create a 'Publishing Site with workflow'. I am not seeing the Collaboration Templates. Is it possible to create a sub-site within an Internet facing Publishing portal that is not based on the Publishing template?

cannot access sharepoint site through Internet Explorer 8 on a machine running Win XP Service Pack 3


The Sharepoint portal can be accessed fine through Firefox. Opera allows me to access it, but I cannot sign out, check out a shared document or do anything which opens a small window on clicking an option.

I can stay with Firefox, but when I try to edit a shared Word document in Word I get the message "Edit document requires a Windows Sharepoint Services compatible application and Microsoft Internet Explorer 6.0 or greater" We need to edit a shared document/calendar which is uploaded. All I know is we are using Sharepoint 2007 and the version of our site is Does that mean we have Windows Sharepoint Services SP2 on our Sharepoint server?

When I try Internet Explorer, I cannot log on at all. I get a window which asks for my credentials which I enter, it fails to authenticate me, then shows me the You are not authorized to view this page message. I tried with different computers, but cannot get in using Internet explorer.

What could be the issue?

Our Sharepoint admin does not have time to look into such matters so I am on my own.

Any suggestions would be appreciated.

ASP.NET: Collect Customer Order Information on an Internet Site Using XML and Web Forms


XML has quickly become the new data structure standard for everything from database access to cross-platform computing. XML is typically considered to be a vehicle for data exchange, dynamic data presentation, and data storage. However, the potential of XML far surpasses those limited applications. This article examines one new use: the gathering of data across a number of forms in an ASP.NET Beta 1 framework application. The sample program is a Web app used for ordering pizza. It uses ASP and C# to gather order information and then stores it in XML. To build the application, several concepts are explained, including data collection, order persistence using cookies, grouping input forms, and formatting the data for display.

Jeff Jorczak

MSDN Magazine September 2001

Sharepoint site shows Service Unavailable


Hello everyon,

I am working sith WSS 3.0.

I have one webapplication with one sitecollection.Later i wanted to provide it HTTPS URL, so i extended the WebApplication with option-Yes in SSl field.

And in the virtlay directory properties -> Directory Security -> Secure communications -> Edit

selected Required Secure Chanel.

Thats it. I didn't do anything in that.


Then because of some problems , i deleted the iis website of extended webapplication from central admin.

After that when ever i try to open the site, it shows service unavailable.  And the application pool is getting disabled.

Please help me to get the site working.


Thanks in advance.


Anonymous Web Site receives "The request failed with HTTP status 401: Unauthorized"


I set up a test website on my local box and was able to access sharepoint search using the querySearch web service from SP.  After I got it all working properly I transferred the code to the target website that is set up with anonymous access for all people on the fab floor.  However from this website I keep getting the 401 error.  It can't be SP because the same code worked from my local website "localhost".  Any suggestions?  we don't want to have to have the fab people log in so we can't not have the box anonymous.  I would appreciate any suggestions very much!!!

Using WSS 2007 with MOSS.


  private void GetDefaultCredentials()
      m_where = "get configuration data for credentials";
      string userid = ConfigurationManager.AppSettings[ "userid" ];
      string password = ConfigurationManager.AppSettings[ "password" ];
      string domain = ConfigurationManager.AppSettings[ "domain" ];

      m_where = "set search query credentials";
      m_query.Credentials = new NetworkCredential ( userid, password

With Anonymous access disabled, is there any way to use an AJAX-enabled WCF Service?

I have a website where anonymous access is disabled but I want to user an ajax-enabled WCF service. Configuring the service's binding security to use "TransportCredentialOnly" with clientCredentialType="Windows" seems like the obvious thing to do; indeed, many posts in various places suggest this approach. Unfortunately, however, it doesn't work. I always get the error "Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service." How can I configure the service to function correctly. I'm running IIS 7.5 with .Net framework 4.0. Thanks.

calling a web service on a remote server from a ASPX page (web site project VS2005)

HI,I am maintaining a web site project in VS2005 and have to call a new web service on a remote server. I've done add web reference, and created the .wsdl and .discomap files in the app_webReference folder.  When I try to create a object representing the web service in the code ( wsnamespace.serviceName ws = new wsnamespce.serviceName(); ) the code wouldn't compile.The web site project is already calling other web services. When I right click on the type representing the web service and "go to definition" it takes me to a proxy class (derived from of course SoapHttpClientProtocol) in the metadata. I think this is what's missing for  the new web service i'm trying to call. Have I missed any steps?Thanks in advance.-me

Web Service and Web Site in same application? .net 2.0

Hi  Is it possible to have a web Service and Website in the same application. e.g The web service would be mydomain.com/service.asmx  and website mydomain.com/sameapplication/login.aspx    Both would share the same code for logic and data access   Thank you

Sharepoint 2010-Site Anonymous access

i have enabled Anonymous access for my site , and also turned the option 'Entire Site' under Anonymous Access but still i am prompted for the authentication when i try to access the Site. is there any solution for this .....???

MOSS 2007 Licence for Internet Site

Hi techies,      good day,we are using Moss2007 for intranet site in our organisation. we want to Develope the internet site so do we need separate licence for the Development of Internet site. i dont have an idea how the Licencing works. please adivce or send any links much appreciated. thanks, raju.Nag: http://nagaraju-sharepoint.blogspot.com. Posting is provided with no warranties.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend