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
441 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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