.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

Cross domain search

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
We have a need to search site A (WSS) hosted on an environment (domain A) from an SSP hosted on a totally separate environment and domain (MOSS 2007). Let us call the SSP domain as domain B. What kind of trust the domain B's search account need to have with respect to domain A? What kind of authentication site A needs to have? Is it possible to crawl site A with NTLM authentication or it has to be anonymous? Thanks

View Complete Post

More Related Resource Links

How do I preserve __viewstate between cross domain posts or how do I get a __viewstate of a Remote S


Here is what I want to do:
I have a local site in which I want to display data from a remote site
Lets say: I want to display data of http://www.abc.com/Default.aspx on my localhost

Now Default.aspx requires some post-data which it sends to itself. Thus the __viewstate and __eventvalidation are posted back to it by itself. I want to directly post the data to Default.aspx from localhost without opening Default.aspx and display the Default.aspx's response on my localhost.

The WebApp on http://www.abc.com is configured for __eventvalidation i.e. I cannot post-data to it from my localhost without getting a __viewstate from it. I also have to post the current __viewstate of http://www.abc.com/Default.aspx to itself

How can I accomplish it?

ASP.NET Proxy Page - Used for Cross Domain Requests from AJAX and JavaScript

The article ASP.NET Proxy Page - Used for Cross Domain Requests from AJAX and JavaScript was added by Aamir Hasan on Thursday, August 19, 2010.

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn't allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull content

WF Service and Silverlight Cross domain exception

Hi I have created a workflow service (xamlx) and hosted it on IIS. The web.config file of the service is: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.serviceModel> <services> <service name="VacationRequestService"> <endpoint contract="IVacationEntry" binding="wsHttpBinding"/> </service> </services> <behaviors> <serviceBehaviors> <behavior> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="true"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> </behaviors> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" /> </system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests

FAST Search Sever Installation - Domain / Password Issue


I have isntalled SharePoint Server 2010 and here is my configuration:  One virtual machine with Windows 2008 R2 as a domain controller.  One virtual machine with SharePoint Server 2010, SQL Server R2 2010.  SharePoint was installed as a farm pointing to the local SQL Server.  I also used the domain account domainname\SPUser during the SharePoint Server configuration wizard.  I then installed FAST Search Server 2010.  Everything worked without an issue until I try to run the FAST Search Server 2010 Configuration Wizard.  When asked to provide username and password, I try to use a domain account domainname\FSUser.  I receive the following:  User validation failed.  Username or domain is incorrect.

I tried logging into the SharePoint Server / FAST Search Server virutal machine with the domain account domainname\FSUser with no problem.

Any ideas?

Search working for only select users in same domain


I have encountered an issue where one user is able to conduct a search and retrive a full list of results but another user in the same domain and same membership group recieves no results at all.  Our environment is complex with several domains each trusting one another.  The SharePoint build is as follows:


2 Front End Servers with Loadbalance, 1 Application Server, 1 Index Server


So far I have tested with a user that cannot get results from a terminal client, desktop cleint and VPN remote access in all cases the user is unable to return results.   This user has accounts in 2 domains and when selecting to log on as a different user in the other domain results are returned.  I beleived then that it had to be an account issue in the other domain.  However when I worked with another user who also has accounts in both domains that user was not able to return results with either account.  So I am not sure it is domain account related.


I setup a dev box in the domain and made it bare bones with no load balancer, however when I add the user account who was having issue and a search is run no results are returned. 


The search database appears fine and healty and data is populating the tables

cross domain error in self hosted wcf service




I get this error when trying to access a self hosted wcf service...

An error occurred while trying to make a request to URI 'http://localhost:2363/Service1.svc'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.

Can someone please explain what I need to do to get this to work, I do not have any cross domain policy file. And don't know how that is supposed to look like.

how to add search for available domain name and find information about specific one ?


Hello All , 

i have a task to add search for available domains and also to find some information about specific one

anyone has any background about how to do that or there is any web services that provide this functionality 

Thanks in advance

Cross domain issues on iframes with WSS 3.0


Hai All,

             I have 3 SiteCollections say

1. Default  - http://Mysite.com

2.  SubSite1 - http://Site1.MySite.com

3.  Site1 - http://MySite2.com

4. Site2 - http://MySite3.com

There is a page says http://Mysite.com/Main.aspx add 3 Iframes into it during the pageload by javascript code.

var bFrameCount =0;

function setIframe(args)
        var iframecreater = "<iframe id=\"iframeLogout"+bFrameCount+"\" height=\"50px\" width=\"50px\" frameborder=\"0\" src=\""+args+"\" scrolling=\"no\" ></iframe>";
            document.getElementById('divContainer').innerHTML = document.getElementById('divContainer').innerHTML + iframecreater;

Cross domain authentication


How can I make my customer, situated in a different domain, access my database using SSMS using Windows authentication?

Can you please direct me to step-by-step guidance.

All the best


Sharepoint Search Server Express 2008 can not index external domain fileshare with valid account


Since i have understood that sharepoint 2008 search express doesn't do any security trimming i am trying to index an external fileshare (on a non trusted domain) with it. After authenticating with the external domain account I can manually access all the files in that share i need to. Sharepoint 2008 search express somehow is unable to use the crawl rule in which i specified a different content access account (which is the external domain account).It continuously gives the error "Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content."

Exactly the same configuration works fine with sharepoint search server 2010, but that does do security trimming and because of the share being completely external my users could't see any search results.

Any suggestions?

Cross-Domain policy error using soap in Silverlight with a Webservice


Getting the following error...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso

Cross domain javascript callback is not supported in authenticated services.


i am getting following errors to run WCF 4.0 web services.

Cross domain javascript callback is not supported in authenticated services.

after commenting following lines in web.config file now wcf project is working fine. what is the wrong in my side.


        <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="false" maxReceivedMessageSize="2147483647" crossDomainScriptAccessEnabled="true" />

How does cross domain users (in the same forest) get authenticated/ authorized in MOSS 2007 ?


How does cross domain users (in the same forest) get authenticated/ authorized in MOSS 2007 site (Windows Authentication).
Is it possible? If yes, then how? and if no then appreciate any workaround.



Search crawl to SPS3://mysite.domain.com gives "Access Denied"


I am having an issue with indexing user profiles with the SPS3 protocol handler.   Each time it runs I get an "Access Denied" error in my crawl logs.   I have verified that the default content search account has full read permissions on the web application.   I have verified that I don't have a  loop back check issue.

In my environment I have 3 seperate web applications.  One hosts intranet publishing content, one hosts collaboration content and the third is for the mysites.   The web applications all use host headers and share a single IP address.   Everything is over HTTP.

My dev farm is configured with a single web front end, a single services server and a SQL server.    The services server is running the search admin and crawl components.  The web front end hosts the query component.

In the search content source the URL being crawled is SPS3://mysites.domain.com and http://mysites.domain.com.   In the crawl logs it shows the following error for SPS3://mysites.domain.com:

Access is denied. Verify that either the Default Content Access Account has access to t

Cross domain error in WCF


I have developed the small application demo using PollingDuplex. It was working fine.

I am getting Cross domain error. Please help me


Error : An error occurred while trying to make a request to URI 'http://localhost:xxxxx/DuplexSvc.svc'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sen

I have uploaded code here...



Many Thanks Deepak

FAST Search Server 2010 Config Error - ValidationException 1034: Username or domain is incorrect.



I've seen other related threads and I've tried all the tricks in getting through the post-setup configuration, but I can't get by the "ValidationException 1034: Username or domain is incorrect." error message taken from the FAST psconfig log. I've tried both the wizard and the psconfig, but get the same results. I'm attempting to deploy the single server (stand-alone) on a single x64 box, under ws2008 SP2, w/SP2010, the server is also the domain controller, and i've been passing the FQDN to the post-setup script as described in the FAST deployment document (see log below):

Verbose [1] PostSetupUI - Displaying next panel :Enter the user name and password
Verbose [1] PostSetupUI - Displaying button set to the default settings
Verbose [1] PostSetupUI - Next button clicked
Verbose [1] PostSetupUI - Starting to process form data of panel :Enter the user name and password
Verbose [1] PostSetupUI - Collecting input parameters from the text input controllers.
Verbose [1] PostSetupUI - Collecting value:dev.devnet.com\fastuser of input parameter: userName
Verbose [1] PostSetupUI - Adding config parameter: userName for the next validation parameter batch
Verbose [1] PostSetupUI - Collecting value of input parameter: password
Verbose [1] PostSetupUI - Adding config parameter: password for the ne

Importing huge tables from cross domain SQL servers



I am new in SQL server world and I have a problem in handling the import of lot of records (~12*10^6 records) between two SQL Servers that are in different domains.

I started using DTS through the import facility and I don't see lot of traffic on the LAN, so this seems a good approach, but it takes more than 4 hours to copy the entire temporary table from source SQL to destination SQL.

So I was thinking to linked server, and using sp_addlinkedserver I can hook the remote server. Now I would like to know if performing the select with the OPENQUERY is a better approach or if I could use a better solution.

My problem is that I should find a way for automating this activity every night, so every solution should be schedulable through SQL jobs, is this correct?

Thanks for any suggestion and help




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