Click here to Skip to main content
15,861,168 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 0:40
professionalRajpootRohan9-Nov-09 0:40 
AnswerRe: total and subtotal in gridview footer Pin
Nishant Singh9-Nov-09 0:51
Nishant Singh9-Nov-09 0:51 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 0:57
professionalRajpootRohan9-Nov-09 0:57 
AnswerRe: total and subtotal in gridview footer Pin
Nishant Singh9-Nov-09 0:55
Nishant Singh9-Nov-09 0:55 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 0:59
professionalRajpootRohan9-Nov-09 0:59 
GeneralRe: total and subtotal in gridview footer Pin
Nishant Singh9-Nov-09 1:13
Nishant Singh9-Nov-09 1:13 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 1:19
professionalRajpootRohan9-Nov-09 1:19 
QuestionUnable to host WCF service in IIS7 Pin
cranialsurge8-Nov-09 22:22
cranialsurge8-Nov-09 22:22 
I have a WCF Service library written in .NET 4.0. I have a WCF application (in order to host this service in IIS) within the same solution. It contains the WCF library assembly reference and a service.svc file pointing to the service from the library along with a web.config that is a replica of the WCF service library's app.config. The WCF application is set to host the service in IIS7 (the virtual directory has been set). The same solution contains an ASP.NET Webforms solution to which I have added a service reference pointing to the WCF service I hosted in IIS (as mentioned).

When i start an instance of this ASP.NET Web application, I get a message saying that "The WCF service has been hosted" and the ASP.NET application can access the data from it correctly. However, when i try and access this data via a service reference added to an MVC 2 Web Application on the same machine in a different solution (pointing to the service hosted in IIS), I get a "The remote server returned an error: (405) Method Not Allowed." protocol exception . However, the MVC application is able to access the service data if I manually invoke an instance of the WCF Application that I was using to host the WCF Service Library from the other solution.

I am using VS2010 Beta 2 as my development IDE. I have been stuck with this issue for a while now. Any help would be appreciated.

My service config is as follows:-


<system.serviceModel>
  <services>
    <service behaviorConfiguration="CruxServices.BasicSearchServiceBehavior"
      name="CruxServices.BasicSearch.BasicSearch">
      <endpoint address="" binding="wsHttpBinding" name="WSBindingEndpoint" bindingConfiguration="WSBindingConfig"
        contract="CruxServices.BasicSearch.Interfaces.IPropertyListFilter">
        <identity>
          <dns value="localhost" />
        </identity>
      </endpoint>
      <endpoint address="mex" binding="mexHttpBinding" name="MexEndpoint"
        contract="IMetadataExchange" />
      <host>
        <baseAddresses>
          <add baseAddress="http://localhost/CruxServices" />
        </baseAddresses>
      </host>
    </service>
  </services>
  <behaviors>
    <serviceBehaviors>
      <behavior name="CruxServices.BasicSearchServiceBehavior">
        <serviceMetadata httpGetEnabled="true" />
        <serviceDebug includeExceptionDetailInFaults="false" />
      </behavior>
    </serviceBehaviors>
  </behaviors>
  <bindings>
    <wsHttpBinding>
      <binding name="WSBindingConfig">
        <security mode="None">
          <transport clientCredentialType="None"/>
          <message establishSecurityContext="false"/>
        </security>
      </binding>
    </wsHttpBinding>
  </bindings>
</system.serviceModel>

AnswerRe: Unable to host WCF service in IIS7 Pin
Gamzun8-Nov-09 23:43
Gamzun8-Nov-09 23:43 
Questionfileupload postback Pin
m@dhu8-Nov-09 21:35
m@dhu8-Nov-09 21:35 
AnswerRe: fileupload postback Pin
Gamzun8-Nov-09 21:39
Gamzun8-Nov-09 21:39 
GeneralRe: fileupload postback Pin
m@dhu8-Nov-09 21:49
m@dhu8-Nov-09 21:49 
GeneralRe: fileupload postback Pin
Gamzun8-Nov-09 21:56
Gamzun8-Nov-09 21:56 
QuestionCould not load type 'Andri.Web.MySqlMembershipProvider' Pin
nebitesh8-Nov-09 20:16
nebitesh8-Nov-09 20:16 
AnswerRe: Could not load type 'Andri.Web.MySqlMembershipProvider' Pin
Abhishek Sur8-Nov-09 21:08
professionalAbhishek Sur8-Nov-09 21:08 
GeneralRe: Could not load type 'Andri.Web.MySqlMembershipProvider' Pin
nebitesh9-Nov-09 1:37
nebitesh9-Nov-09 1:37 
AnswerRe: Could not load type 'Andri.Web.MySqlMembershipProvider' Pin
Gamzun8-Nov-09 22:08
Gamzun8-Nov-09 22:08 
Questionset dropdownbox value which affect on other dropdown Pin
KIDYA8-Nov-09 20:00
KIDYA8-Nov-09 20:00 
AnswerRe: set dropdownbox value which affect on other dropdown Pin
Gamzun8-Nov-09 20:14
Gamzun8-Nov-09 20:14 
GeneralRe: set dropdownbox value which affect on other dropdown Pin
KIDYA8-Nov-09 20:42
KIDYA8-Nov-09 20:42 
GeneralRe: set dropdownbox value which affect on other dropdown Pin
Gamzun8-Nov-09 20:47
Gamzun8-Nov-09 20:47 
AnswerRe: set dropdownbox value which affect on other dropdown Pin
deepseeindeepsy8-Nov-09 20:25
deepseeindeepsy8-Nov-09 20:25 
GeneralRe: set dropdownbox value which affect on other dropdown Pin
KIDYA8-Nov-09 20:39
KIDYA8-Nov-09 20:39 
GeneralRe: set dropdownbox value which affect on other dropdown Pin
deepseeindeepsy8-Nov-09 20:46
deepseeindeepsy8-Nov-09 20:46 
GeneralRe: set dropdownbox value which affect on other dropdown Pin
KIDYA8-Nov-09 20:55
KIDYA8-Nov-09 20:55 

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.