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
437 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now