Click here to Skip to main content
15,898,790 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to make discussion forums? Pin
maheshsahini23-Mar-09 21:21
maheshsahini23-Mar-09 21:21 
AnswerRe: how to make discussion forums? Pin
Abhishek Sur23-Mar-09 21:34
professionalAbhishek Sur23-Mar-09 21:34 
AnswerRe: how to make discussion forums? Pin
Blumen23-Mar-09 21:38
Blumen23-Mar-09 21:38 
QuestionFileUpload Not Working in the Wizard Pin
anada888623-Mar-09 20:56
anada888623-Mar-09 20:56 
AnswerRe: FileUpload Not Working in the Wizard Pin
Abhishek Sur23-Mar-09 21:37
professionalAbhishek Sur23-Mar-09 21:37 
QuestionRe: FileUpload Not Working in the Wizard Pin
anada888623-Mar-09 21:56
anada888623-Mar-09 21:56 
AnswerRe: FileUpload Not Working in the Wizard Pin
Abhishek Sur23-Mar-09 22:15
professionalAbhishek Sur23-Mar-09 22:15 
QuestionSystem.Web.Services.Protocols.SoapException: Client Error - WindowsLiveSearchProvider Pin
Blumen23-Mar-09 20:29
Blumen23-Mar-09 20:29 
Hi,

I'm trying to use WindowsLiveSearchProvider for search in my ASP.NET website. I've configured proxy and AppId in the web.config.
<system.net>
      <defaultProxy enabled="true" useDefaultCredentials="true">
        <proxy bypassonlocal="True" proxyaddress="http://proxyServer:80"/>
      </defaultProxy>
</system.net> 

<microsoft.web.preview>    
    <search enabled="true">
      <providers>
        <add name="WindowsLiveSearchProvider" type="Microsoft.Web.Preview.Search.WindowsLiveSearchProvider, Microsoft.Web.Preview"
          appID="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" siteDomainName="http://localhost:49781/" />
      </providers>
    </search>    
    <diagnostics enabled="true"/>   
  </microsoft.web.preview>

This is the html part:
<asp:GridView runat="server" ID="myGrid" datasourceid="mySource" AutoGenerateColumns="false">
  <Columns> 
     <asp:BoundField HeaderText="Title" DataField="Title" />
     <asp:BoundField HeaderText="Url" DataField="Url" />
     <asp:BoundField HeaderText="Description" DataField="Description" />
  </Columns>
</asp:GridView>

<asp:SearchDataSource ID="mySource" runat="server">
  <SelectParameters>
     <asp:ControlParameter Name="query" Type="String" ControlID="query" />
   </SelectParameters>
</asp:SearchDataSource>

But when click on Search, I receive SoapException. This is the Stack Trace:
[SoapException: Client Error]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431766
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
   Microsoft.Web.Preview.com.msn.search.soap.MSNSearchService.Search(SearchRequest Request) +107
   Microsoft.Web.Preview.Search.WindowsLiveSearchProvider.Search(SearchQuery searchQuery) +606
   Microsoft.Web.Preview.Search.SearchService.Search(SearchQuery query) +264
   Microsoft.Web.Preview.Search.SearchService.Search(String query) +85

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +488
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
   System.Web.UI.WebControls.GridView.OnPreRender(EventArgs e) +17
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

I've Googled for a while, but could not find a solution. Any help in this regard would be sincerely appreciated.

Blumen

“Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.”
Questionwant to give cssclass to a string Pin
bhavna432123-Mar-09 20:08
bhavna432123-Mar-09 20:08 
AnswerRe: want to give cssclass to a string Pin
Spunky Coder23-Mar-09 20:17
Spunky Coder23-Mar-09 20:17 
GeneralRe: want to give cssclass to a string Pin
bhavna432123-Mar-09 20:27
bhavna432123-Mar-09 20:27 
GeneralRe: want to give cssclass to a string Pin
Spunky Coder23-Mar-09 22:29
Spunky Coder23-Mar-09 22:29 
AnswerRe: want to give cssclass to a string Pin
kumar_k50823-Mar-09 21:46
kumar_k50823-Mar-09 21:46 
Questionis it possible to integerate two websites in vs2008? Pin
Ramesh A.23-Mar-09 19:54
Ramesh A.23-Mar-09 19:54 
AnswerRe: is it possible to integerate two websites in vs2008? Pin
Abhijit Jana23-Mar-09 19:59
professionalAbhijit Jana23-Mar-09 19:59 
GeneralRe: is it possible to integerate two websites in vs2008? Pin
Ramesh A.23-Mar-09 20:48
Ramesh A.23-Mar-09 20:48 
GeneralRe: is it possible to integerate two websites in vs2008? Pin
Abhijit Jana23-Mar-09 20:58
professionalAbhijit Jana23-Mar-09 20:58 
Questionneed some explaination about the session in as.net Pin
prasadbuddhika23-Mar-09 19:45
prasadbuddhika23-Mar-09 19:45 
AnswerRe: need some explaination about the session in as.net Pin
krishnaveer23-Mar-09 19:56
krishnaveer23-Mar-09 19:56 
AnswerRe: need some explaination about the session in as.net Pin
Abhijit Jana23-Mar-09 19:56
professionalAbhijit Jana23-Mar-09 19:56 
GeneralRe: need some explaination about the session in as.net Pin
prasadbuddhika23-Mar-09 22:05
prasadbuddhika23-Mar-09 22:05 
AnswerRe: need some explaination about the session in as.net Pin
kumar_k50823-Mar-09 21:48
kumar_k50823-Mar-09 21:48 
Questionunable to find a version of the run time to run this application, VB.NET Pin
krishnaveer23-Mar-09 19:43
krishnaveer23-Mar-09 19:43 
AnswerRe: unable to find a version of the run time to run this application, VB.NET Pin
Abhijit Jana23-Mar-09 20:09
professionalAbhijit Jana23-Mar-09 20:09 
QuestionControl Slide Show. Pin
Wlink23-Mar-09 19:42
Wlink23-Mar-09 19:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.