# Publish of ASMX service goes in a loop

**URL:** https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103
**Category:** Mercury
**Created:** [January 31, 2022, 2:18pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103 "2022-01-31T14:18:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [January 31, 2022, 2:18pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/1 "2022-01-31T14:18:21Z")

</div>

Open visual studio and create a new project - RemObjects Mercury, [ASP.Net](http://asp.net/) Classic Web Service Application.

Right click the project in the solution explorer and press Publish.

Set the target location to bin\Release\Publish and the configuration to Precompile.

Now press the Publish button, and the asmx site is compiled and the published, but during publish, the following line keeps being repeated in the output:

 ![image](https://talk.remobjects.com/uploads/default/original/3X/d/a/dab0a6db8cc2fb9f15d622e557de58001e789684.png)  
and the publish never finishes.

---

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [January 31, 2022, 2:19pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/2 "2022-01-31T14:19:50Z")

</div>

Update:  
After about 5 minutes, it goes to repeating:

 ![image](https://talk.remobjects.com/uploads/default/original/3X/6/2/623983fe3cee6549ff2cbffaa448419622da5b9b.jpeg)

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [January 31, 2022, 2:19pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/3 "2022-01-31T14:19:56Z")

</div>

Logged as [bugs://E25653](https://www.remobjects.com/portal/bugs/?id=E25653).

---

<div class="post-metadata">

### Author: ![viktoriad](https://talk.remobjects.com/user_avatar/talk.remobjects.com/viktoriad/32/11148_2.png) [@viktoriad](https://talk.remobjects.com/u/viktoriad)
#### Post date: [February 1, 2022, 4:22pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/4 "2022-02-01T16:22:38Z")

</div>

Hello Theo.  
Could you please give a project that shows the problem? I tried with a newly create webservice and I can’t reproduce the endless loop.  
It more looks like we have some problems with resolving refs here but not with publish itself.

---

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [February 1, 2022, 4:37pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/5 "2022-02-01T16:37:27Z")

</div>

Just tried.

It only happens when you do a solution rebuild and then publish.

---

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [February 1, 2022, 4:38pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/6 "2022-02-01T16:38:35Z")

</div>

But I see that it is publishing now, the loops stops now after about 30 secs.

---

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [February 2, 2022, 12:57pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/7 "2022-02-02T12:57:51Z")

</div>

Close the issue for now.

With the latest version from the firehose it takes some time for the resolving, but it finishes within 30 secs now.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [February 2, 2022, 1:00pm UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/8 "2022-02-02T13:00:19Z")

</div>

> [@Theo69](#):
>
> With the latest version from the firehose it takes some time for the resolving,

Longer than it should IYO?

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 10, 2022, 8:10am UTC](https://talk.remobjects.com/t/publish-of-asmx-service-goes-in-a-loop/26103/9 "2022-02-10T08:10:55Z")

</div>

[bugs://E25653](https://www.remobjects.com/portal/bugs/?id=E25653) was closed as unable to reproduce.
