Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3784288
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:21:16+00:00 2026-05-19T11:21:16+00:00

I have a WCF service hosted in a webrole in Azure. When I test

  • 0

I have a WCF service hosted in a webrole in Azure.

When I test it in dev fabric it works ok from my web page (other web role).

But when I deploy it in the Cloud it doesn’t seems to be running, although the webrole is ready.

When I use Fiddler to do a GET on one of the public methods of my WCF service, I get:

[Fiddler] Connection to
xxxxxxxxxxxxxx.cloudapp.net failed.
Exception Text: A connection attempt
failed because the connected party did
not properly respond after a period of
time, or established connection failed
because connected host has failed to
respond yyyyyyyyyyyyyy

This is the service configuration:

<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="GovGuard" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
  <WebRole name="GovGuard.Services">
    <Sites>
      <Site name="Web">
        <Bindings>
          <Binding name="GuardServiceEndpointBinding" endpointName="GuardServiceEndpoint" />
        </Bindings>
      </Site>
    </Sites>
    <ConfigurationSettings>
      <Setting name="DevelopmentConnectionString" />
      <Setting name="GovGuardStorageConnectionString" />
    </ConfigurationSettings>
    <Endpoints>
      <InputEndpoint name="GuardServiceEndpoint" protocol="http" port="81" />
    </Endpoints>
    <Imports>
      <Import moduleName="Diagnostics" />
    </Imports>
    <LocalResources>
      <LocalStorage name="MyCompany.GovGuard.Services.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />
    </LocalResources>
  </WebRole>
  <WebRole name="GovGuard.Web">
    <Sites>
      <Site name="Web">
        <Bindings>
          <Binding name="GuardWebEndpointBinding" endpointName="GuardWebEndpoint" />
        </Bindings>
      </Site>
    </Sites>
    <ConfigurationSettings>
      <Setting name="GuardServiceUrl" />
      <Setting name="DevelopmentConnectionString" />
      <Setting name="GovGuardStorageConnectionString" />
    </ConfigurationSettings>
    <Endpoints>
      <InputEndpoint name="GuardWebEndpoint" protocol="http" port="80" />
    </Endpoints>
    <Imports>
      <Import moduleName="Diagnostics" />
    </Imports>
    <LocalResources>
      <LocalStorage name="MyCompany.GovGuard.Web.svclog" cleanOnRoleRecycle="false" sizeInMB="1000" />
    </LocalResources>
  </WebRole>
</ServiceDefinition>

(edit)
In my investigation of the problem it may be this: I use the Microsoft.SqlServer.Types assembly as file reference in the WCF project. I use copy-local = true to copy the assembly to the bin folder and it is packaged in the .csx file. But…. the Microsoft.SqlServer.Types also needs the SqlServerSpatial.dll library (not assembly). I created a postbuild script to copy that dll to the bin also, but I didn’t succeed….

Maybe someone can help me how to package a dll (not an assembly) to the .csx file….

(edit)
Found it here: http://msdn.microsoft.com/en-us/gg271395

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:21:17+00:00Added an answer on May 19, 2026 at 11:21 am

    Finally the solution that works: I develop on a 32 bit Win7 machine and I copied the SqlServerSpatial.dll from my machine to the WCF project (with Copy to Output Directory and BuildAction Content). That caused a weird error message in the Cloud, because that library was 32 bit! I renewed the library with a 64 bit version and now after deploy in the Cloud everything works!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF Data service hosted in Azure as a Azure Web Role.
I have a WCF service hosted in an Azure WorkerRole. Everything works as expected
I have a WCF Ajax-Service hosted within a Web Application (.NET 4.0, C#). I
I have a WCF Web Service hosted in IIS6 and it targets the .NET
I have a WCF Service hosted on Windows Azure and I just recently changed
I have a WCF web service hosted in IIS7 which is reporting its endpoint
I have a WCF application hosted as a webrole in Azure with the following
Have a WCF service (hosted in IIS 6.0) that takes an XML feed from
I have a WCF Web Service hosted in a Windows Service. The service is
I have a WCF service hosted at IIS7 web application. It's created by a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.