# Duplicate Quote Error in LIVE, but not in PILOT? - After .700.30 update

**URL:** <https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823>\
**Category:** Epicor ERP 10\
**Tags:** epicor\
**Created:** [February 23, 2022, 9:58pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823 "2022-02-23T21:58:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@Adam](https://www.epiusers.help/u/Adam)\
**Post date:** [February 23, 2022, 9:58pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/1 "2022-02-23T21:58:29Z")

</div>

We recently updated to .700.30 (from .700.21 I think) and since then we cannot duplicate quotes. When we do, we get the following error. HOWEVER, if I copy the DB and put it into PILOT, without any change, there is no error. Duplicate works fine.

I’ve disabled form customization and all BPMs that touch anything Quote related, but still nothing.

Why would it work in PILOT, but not in LIVE? Same dot release, same license, and a copy of the same database from minutes ago…

Any ideas?

## System Information

==================

AppServer Connection: net.tcp://EP10APP2/EP102700\_LIVE  
Form Name: Opportunity/Quote Entry  
Customization Name:  
Menu ID: EQMT2010  
Software Version: 10.2.700.30

============

Application Error

Exception caught in: Epicor.ServiceModel

## Error Detail

============  
##!Correlation ID:##! 4e07905f-5baf-4d7d-ac4c-c0652d0b8567  
##!Message:##! Unable to cast object of type ‘System.Func`4[Erp.ErpContext,System.String,System.String,Erp.Services.BO.QuoteSvc+RoleCdResult]' to type 'System.Func`4[Erp.ErpContext,System.String,System.String,Erp.Triggers.QuoteHed.WriteTrigger+RoleCdResult]’.  
##!Program:##! Epicor.ServiceModel.dll  
##!Method:##! ShouldRethrowNonRetryableException

## Client Stack Trace

==================  
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet dataSets)  
at Erp.Proxy.BO.QuoteImpl.DuplicateQuote(Int32 sourceQuote, String sourceLines, Boolean mtlCosts, Boolean opStds)  
at Erp.Adapters.QuoteAdapter.DuplicateQuote(Int32 sourceQuote, String sourceLines, Boolean mtlCosts, Boolean opStds)

---

<div class="post-metadata">

**Author:** ![utaylor](https://www.epiusers.help/user_avatar/www.epiusers.help/utaylor/32/64664_2.png) [@utaylor](https://www.epiusers.help/u/utaylor)\
**Post date:** [February 23, 2022, 10:02pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/2 "2022-02-23T22:02:53Z")

</div>

Is this launching a function?

---

<div class="post-metadata">

**Author:** ![Adam](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@Adam](https://www.epiusers.help/u/Adam)\
**Post date:** [February 23, 2022, 10:06pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/3 "2022-02-23T22:06:41Z")

</div>

Launching “duplicate quote” function… that works, then we select the desired lines, then we get the error after the lines are selected and ready to duplicate.

---

<div class="post-metadata">

**Author:** ![Adam](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@Adam](https://www.epiusers.help/u/Adam)\
**Post date:** [February 23, 2022, 10:08pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/4 "2022-02-23T22:08:39Z")

</div>

1. In Quote Entry, Actions → Quote → Duplicate Quote
2. Select lines (works)
3. Then back on Duplicate Quote screen clicking “okay” generates the error

…again, this works perfectly in PILOT with an exact copy of the LIVE database

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [February 23, 2022, 10:16pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/5 "2022-02-23T22:16:19Z")

</div>

I would say the update was not done correctly on LIVE.

Since its working on PILOT, check if both Erp.Triggers.QuoteHed.dll and Erp.Services.BO.QuoteHed.dll are the same in both environments.

---

<div class="post-metadata">

**Author:** ![utaylor](https://www.epiusers.help/user_avatar/www.epiusers.help/utaylor/32/64664_2.png) [@utaylor](https://www.epiusers.help/u/utaylor)\
**Post date:** [February 23, 2022, 10:21pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/6 "2022-02-23T22:21:56Z")

</div>

That’s what I was going to say, it has to be something with outdated .dlls

---

<div class="post-metadata">

**Author:** ![Adam](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@Adam](https://www.epiusers.help/u/Adam)\
**Post date:** [February 24, 2022, 1:43pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/7 "2022-02-24T13:43:26Z")

</div>

Where would I find these different .dll files to compare? On a client machine or the server? PILOT and LIVE are both running on the same server.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://www.epiusers.help/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@Jonathan](https://www.epiusers.help/u/Jonathan)\
**Post date:** [February 24, 2022, 3:42pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/8 "2022-02-24T15:42:08Z")

</div>

These are on the server, inside the Assemblies folder.

---

<div class="post-metadata">

**Author:** ![Adam](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@Adam](https://www.epiusers.help/u/Adam)\
**Post date:** [March 2, 2022, 2:55pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/9 "2022-03-02T14:55:50Z")

</div>

In the end, it somehow fixed itself. All we can figure is that a recycle of the IIS Application Pool (for another reason) fixed this one.

---

<div class="post-metadata">

**Author:** ![utaylor](https://www.epiusers.help/user_avatar/www.epiusers.help/utaylor/32/64664_2.png) [@utaylor](https://www.epiusers.help/u/utaylor)\
**Post date:** [March 2, 2022, 3:55pm UTC](https://www.epiusers.help/t/duplicate-quote-error-in-live-but-not-in-pilot-after-700-30-update/87823/10 "2022-03-02T15:55:28Z")

</div>

This has to do with dlls loading in or being kept in memory by the server I believe.

@Jonathan could explain better.

Glad you figured it out.
