New Posts New Posts RSS Feed: How to deploy to IIS?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How to deploy to IIS?

 Post Reply Post Reply
Author
skingaby View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 23-Apr-2008
Location: United States
Posts: 146
Post Options Post Options   Quote skingaby Quote  Post ReplyReply Direct Link To This Post Topic: How to deploy to IIS?
    Posted: 17-Aug-2009 at 3:16pm
Almost all of the docs and learning modules and postings and such are about deploying the Windows Client as a One Click on IIS.
I have been struggling with a Silverlight deployment ALL DAY!
Please help.

I have tried so many things. The Silverlight client is downloading, the bootstrapper is running, the EntityServer is running, but I can't get the Silverlight Client to connect to the Entity Server no matter how I configure it.

Here's the web config changes I made:
<services>

      <service name="EntityService">
        <endpoint address="http://devserver/GcsAg/EntityService.svc" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServiceContract" />
      </service>
      <service name="IdeaBlade.EntityModel.Server.EntityServer">
        <endpoint address="http://devserver/GcsAg/EntityServer.svc" binding="customBinding" bindingConfiguration="customBinaryBinding" contract="IdeaBlade.EntityModel.IEntityServerContract" />
      </service>
    </services>

The endpoint tags used to have nothing inside the address="".

I am getting the following error:
The remote server returned an error: NotFound.. If the service is available, then also make sure that the endpoint bindings match between client and server.

The client app.config shows:
<objectServer isDistributed="true" remoteBaseURL="http://devserver/GcsAg" serverPort="80" serviceName="EntityService.svc" />


What am I doing wrong? How do I get this to work? Thanks, Simon.



Edited by skingaby - 17-Aug-2009 at 3:17pm
Back to Top
JoshO View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Location: United States
Posts: 86
Post Options Post Options   Quote JoshO Quote  Post ReplyReply Direct Link To This Post Posted: 17-Aug-2009 at 5:16pm
Hello Simon,
 
Please change the endpoint address in the web.config back to the "".
The client app.config needs to have the virtual directory name in the "serviceName" property and not in the "remoteBaseURL".
It should look like this:
<objectServer isDistributed="true" remoteBaseURL="http://devserver" serverPort="80" serviceName="GcsAg/EntityService.svc" />
Back to Top
skingaby View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 23-Apr-2008
Location: United States
Posts: 146
Post Options Post Options   Quote skingaby Quote  Post ReplyReply Direct Link To This Post Posted: 18-Aug-2009 at 4:16am
Fantastic! That worked. Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down