c#

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Web Development Posted 1 year ago

Fixed Price

Delivery by March 2, 2014

$10.00

Budget

Details

Please see the code below. i basically have a page with the code. i get this following error when i open two separate web pages and try to submit the same data from the same document . here is the error message. NOTE : BEFORE SUBMITTING A SOLUTION. PLEASE EXPLAIN IN WORDS WHY I GET THIS MESSAGE. i will not buy any code before a verbal explanation statement is stated.

Message: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Cannot add an entity with a key that is already in use. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Data.Linq.DuplicateKeyException: Cannot add an entity with a key that is already in use. at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects() at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges() at GoreMutual.GIA.DataModels.DataRepository.AddAddressBookContactToDocument(Int64 correspondenceKey, Int64 addressBookContactKey, Boolean IsOvernightOnly, Boolean IsFinance) in D:\Development\GoreMutual.GIA-November 2013\GoreMutual.GIA.DataModels\DataRepository.cs:line 300 at GoreMutual.GIA.Middleware.ExposedServices.AddAddressBookContactToDocument(Int64 docId, Int64 contactId, Boolean IsOvernightOnly, Boolean IsFinance) in D:\Development\...). StackTrace: Server stack trace: at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at GoreMutual.GIA.WebClient.WebClientService.IWebClientService.AddAddressBookContactToDocument(AddAddressBookContactToDocumentRequest request) at GoreMutual.GIA.WebClient.WebClientService.WebClientServiceClient.GoreMutual.GIA.WebClient.WebClientService.IWebClientService.AddAddressBookContactToDocument(AddAddressBookContactToDocumentRequest request) in D:\Development\GoreMutual.GIA-November 2013\GoreMutual.GIA.WebClient\Service References\WebClientService\Reference.cs:line 6476 at GoreMutual.GIA.WebClient.WebClientService.WebClientServiceClient.AddAddressBookContactToDocument(Int64 AddressBookContactKey, Int64 CorrespondenceKey, Boolean IsFinance, Boolean IsOvernightOnly) in D:\Development\GoreMutual.GIA-November 2013\GoreMutual.GIA.WebClient\Service References\WebClientService\Reference.cs:line 6485 at GoreMutual.GIA.WebClient.UserControls.EditRecipients.btnAdd_Click(Object sender, EventArgs e) in D:\Development\GoreMutual.GIA-November 2013\GoreMutual.GIA.WebClient\UserControls\EditRecipients.ascx.cs:line 1072 at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


About the Client

(4.64) 9 reviews

Canada
Kitchener 10:42 PM

21 Jobs Posted
43% Hire Rate, 1 Open Job

$210 Total Spent
9 Hires, 0 Active

Member Since Oct 2, 2013