Click here to Skip to main content
15,891,847 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Applying a selection effect on 3D models Pin
Pete O'Hanlon16-Aug-09 9:35
mvePete O'Hanlon16-Aug-09 9:35 
GeneralRe: Applying a selection effect on 3D models Pin
Etienne_12317-Aug-09 7:07
Etienne_12317-Aug-09 7:07 
GeneralRe: Applying a selection effect on 3D models Pin
Etienne_12318-Aug-09 4:55
Etienne_12318-Aug-09 4:55 
QuestionNeed help with styling a groupbox Pin
Etienne_12315-Aug-09 9:50
Etienne_12315-Aug-09 9:50 
AnswerRe: Need help with styling a groupbox Pin
Pete O'Hanlon15-Aug-09 10:56
mvePete O'Hanlon15-Aug-09 10:56 
GeneralRe: Need help with styling a groupbox Pin
Etienne_12315-Aug-09 21:42
Etienne_12315-Aug-09 21:42 
GeneralRe: Need help with styling a groupbox Pin
Etienne_12315-Aug-09 22:06
Etienne_12315-Aug-09 22:06 
QuestionHave had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 7:41
fiaolle14-Aug-09 7:41 
Hi
I may have trouble to explain my problem but I will try. I have made a
Silverlight Application, in which I added a WCF Service. I added the
servicereference to the project. When I run it in VS it works great and when
I publish it in IIS it works great. But when I'm trying to deploy or what
it's called on the webserver, it gives me the error 405 . I can see in the web development helper that it doesn't download, or what that is called, the
clientaccesspolicy.xml. The clientaccesspolicy.xml and crossdomain.xml file
are placed in the root.

This is my web.config

 <system.serviceModel>
  <behaviors>
   <serviceBehaviors>
    <behavior name="AcceditWeb.Web.ServiceBehavior">
     <serviceMetadata httpGetEnabled="true" />
     <serviceDebug includeExceptionDetailInFaults="false" />
    </behavior>
   </serviceBehaviors>
  </behaviors>
  <services>
   <service behaviorConfiguration="AcceditWeb.Web.ServiceBehavior" 
name="AcceditWeb.Web.Service">
        <endpoint address="" binding="basicHttpBinding" 
contract="AcceditWeb.Web.IService">
    </endpoint>
    <endpoint address="mex" binding="mexHttpBinding" 
contract="IMetadataExchange" />
   </service>
  </services>
 </system.serviceModel>
</configuration>


This is my ServiceReference.config which is placed in AcceditWeb.xap in the directory
ClientBin

<code>lt;configuration>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_IService" 
maxBufferSize="2147483647"
                    maxReceivedMessageSize="2147483647">
                    <security mode="None" />
                </binding>
                <binding name="BasicHttpBinding_IService1" 
maxBufferSize="2147483647"
                    maxReceivedMessageSize="2147483647">
                    <security mode="None" />
                </binding>
            </basicHttpBinding>
        </bindings>
      <client>
        <endpoint address="http://thewebsite.thewebserver.se/Service.svc" 
binding="basicHttpBinding"
          bindingConfiguration="BasicHttpBinding_IService1" 
contract="ServiceReference.IService"
          name="BasicHttpBinding_IService" />
      </client>
    </system.serviceModel>
</configuration>



This is my clientaccesspolicy.xml file

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from http-request-headers="SOAPAction,Content-Type">
  <domain uri="*" />
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true"/>
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>


This is my crossdomain.xml file

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from http-request-headers="SOAPAction">
        <domain uri="*"/>
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true"/>
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>


Please help me, I have googled for two weeks now and tried the examples I
found, but nothing have helped.

Please I need HELP

Fia
AnswerRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery14-Aug-09 8:57
Mark Salsbery14-Aug-09 8:57 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 9:29
fiaolle14-Aug-09 9:29 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery14-Aug-09 10:22
Mark Salsbery14-Aug-09 10:22 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 21:23
fiaolle14-Aug-09 21:23 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery15-Aug-09 5:55
Mark Salsbery15-Aug-09 5:55 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Adam Maras14-Aug-09 21:46
Adam Maras14-Aug-09 21:46 
QuestionWindowState.Maximized -- How to get the proper size of the window? [modified] Pin
Cristoff13-Aug-09 22:01
Cristoff13-Aug-09 22:01 
QuestionWPF Expander Control Template Modification Pin
Kunal Chowdhury «IN»13-Aug-09 20:47
professionalKunal Chowdhury «IN»13-Aug-09 20:47 
AnswerRe: WPF Expander Control Template Modification Pin
Mark Salsbery14-Aug-09 6:28
Mark Salsbery14-Aug-09 6:28 
QuestionUpload large files Pin
Tarun.Suneja12-Aug-09 20:34
Tarun.Suneja12-Aug-09 20:34 
AnswerRe: Upload large files Pin
Pete O'Hanlon12-Aug-09 22:01
mvePete O'Hanlon12-Aug-09 22:01 
GeneralRe: Upload large files Pin
Tarun.Suneja13-Aug-09 0:59
Tarun.Suneja13-Aug-09 0:59 
QuestionAnnouncing MoXAML Power Toys 2.5 Pin
Pete O'Hanlon12-Aug-09 11:34
mvePete O'Hanlon12-Aug-09 11:34 
AnswerRe: Announcing MoXAML Power Toys 2.5 Pin
Kunal Chowdhury «IN»13-Aug-09 21:08
professionalKunal Chowdhury «IN»13-Aug-09 21:08 
QuestionControlling the ObservableCollection rendering Pin
guy181212-Aug-09 10:40
guy181212-Aug-09 10:40 
AnswerRe: Controlling the ObservableCollection rendering Pin
Kunal Chowdhury «IN»14-Aug-09 0:53
professionalKunal Chowdhury «IN»14-Aug-09 0:53 
AnswerRe: Controlling the ObservableCollection rendering Pin
Pete O'Hanlon14-Aug-09 1:13
mvePete O'Hanlon14-Aug-09 1:13 

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.