Click here to Skip to main content
15,920,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Redirect from one page of a one project to another page of another project in same solution Pin
padmanabhan N8-Nov-09 23:30
padmanabhan N8-Nov-09 23:30 
GeneralRe: Redirect from one page of a one project to another page of another project in same solution Pin
getaccessyr8-Nov-09 23:36
getaccessyr8-Nov-09 23:36 
Questiontotal and subtotal in gridview footer Pin
RajpootRohan8-Nov-09 23:08
professionalRajpootRohan8-Nov-09 23:08 
AnswerRe: total and subtotal in gridview footer Pin
Nishant Singh8-Nov-09 23:38
Nishant Singh8-Nov-09 23:38 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 0:21
professionalRajpootRohan9-Nov-09 0:21 
GeneralRe: total and subtotal in gridview footer Pin
Member 42191699-Nov-09 0:24
Member 42191699-Nov-09 0:24 
GeneralRe: total and subtotal in gridview footer Pin
RajpootRohan9-Nov-09 0:29
professionalRajpootRohan9-Nov-09 0:29 
GeneralRe: total and subtotal in gridview footer Pin
Member 42191699-Nov-09 0:36
Member 42191699-Nov-09 0:36 
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 

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.