Solved

Getting this error message when throwing an Exception in a Web Service - How do get more info to trace/fix this error

Posted on 2008-06-19
7
442 Views
Last Modified: 2008-06-22
Language = C#
Medium - Web Service with  try/catch block

catch block consists of:
  catch
  {
     throw;
  }

When exception is thrown again I get:
Type is not resolved for member 'CIS.Core.Security.SecurityPrincipal,CIS.Core.Security, Version=0.0.0.0, Culture=neutral, PublicKeyToken=2100caacdcc05444'.  

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.Serialization.SerializationException: Type is not resolved for member 'CIS.Core.Security.SecurityPrincipal,CIS.Core.Security, Version=0.0.0.0, Culture=neutral, PublicKeyToken=2100caacdcc05444'.

Source Error:  An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Web Service is using the SoapHeader to Authenticate the UID/PWD of the calling end user.

Just don't know how to track this error, if I can not walk through it, I don't see how I can fix it without being very, very lucky.

Thanks in advanced,

Marv

0
Comment
Question by:Marvin_Rowe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 18

Accepted Solution

by:
Richard Lee earned 250 total points
ID: 21824542
If the webservice is part of your solution then you can walk through. Place a breakpoint just before the call to the webservice web method is made and trace into with F11.

Also if the webservice is in the solution, set the project properties to use IIS / Custom server. (Property pages: Custom server & Base Url)

Update your web references (you may have to delete and recreate).
0
 

Author Comment

by:Marvin_Rowe
ID: 21824653
webservice is in the solution in fact is test mode, it's the start-up project.  The throw that is causing the error is within the w/s.  I have a breakpoint at the throw.  Pressing F11 while in the w/s at the throw get this error
0
 

Author Comment

by:Marvin_Rowe
ID: 21824697
Correction: webservice is in the solution, in fact, in test mode, it's the start-up project.
0
 

Author Comment

by:Marvin_Rowe
ID: 21824835
Just found out that CIS is an intra company DLL - sorry

Closing question.
0
 
LVL 18

Expert Comment

by:Richard Lee
ID: 21825460
If I assisted in solving the problem then some points should be awarded. I assume that debugging the webservice provided conclusively that the problem originated elsewhere. I advised on the possibility of debugging the webservice.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question