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 6615625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:29:08+00:00 2026-05-25T20:29:08+00:00

I have one wcf webservice deployed on server. In case of an exception the

  • 0

I have one wcf webservice deployed on server. In case of an exception the error message behaves like code is getting executed from local machine. For example the below error message indicates the local machine folder where actual code is stored. for example “C:\initpub…”. Why i am getting this error on server. Any suggestion?

Message: Object reference not set to an instance of an object.
Trace:
Server stack trace:
at
System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
operation, ProxyRpc& rpc)

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 Domain.ExternalAccount.ExternalAccount.InsertExternalAccountWithPositions(ExternalAccountWithPositionsInParam
request)
at Domain.ExternalAccount.ExternalAccountClient.InsertExternalAccountWithPositions(ExternalAccountWithPositionsInParam
request) in
C:\Inetpub\wwwroot\Site\Secure\finplanextsvc\NaviplanExternalServices\Domain\ExternalAccount.cs:line
3145
at NaviplanExternalServices.NaviplanExternalAccount.InsertExternalAccount(AccountType
acctType, ExternalPosition[] positions) in
C:\Inetpub\wwwroot\Site\Secure\finplanextsvc\NaviplanExternalServices\NaviplanExternalServices\Services\NaviplanExternalAccount.svc.cs:line 178

  • 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-25T20:29:08+00:00Added an answer on May 25, 2026 at 8:29 pm

    The original source path and line number are stored in the .pdb file that is built along with your application. If you also deploy the .pdb with your .dll, then you get these in your stack traces. That is the default .net behavior, and is actually makes throwing an exception slower to execute if you have the .pdb in the deploy directory next to the .dll or .exe. You can remove that detail from the error message by not deploying, or deleting the .pdb file.

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

Sidebar

Related Questions

I have one test wcf service with default methods and web config is :
I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library)
I am connecting to a third-party end point via WCF and I have one
I am working with WCF .NET 3.5 SP1 and have read that one does
I have a WCF service and one of the method returns Stream. Now the
I have a WCF service (the same one) running on multiple servers, and I'd
I have a WCF Service Library (implemented using NH) with one of the class
I have a WCF service which accepts a string as a paramter for one
I have a fairly straightforward WCF service that performs one-way file synchronization for a
I have a WCF service that is returning a block of xml. One element

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.