Solved

Soap Exception!!!

Posted on 2006-10-26
4
1,405 Views
Last Modified: 2012-05-05
I have a windows application which calls a web service for changing data and both are written in C#.

It have been under developement for 2 years and it is about to be released recently. However, it sendly Suddenly occured an error. The error message is below:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at EMSWS.UserWS.IsTicketValid(String ticket) in d:\ems\emsws\userws.asmx.cs:line 290
   at EMSWS.UserWS.GetUserInfo(String ticket) in d:\ems\emsws\userws.asmx.cs:line 82
   --- End of inner exception stack trace ---

Dear experts, please help.
0
Comment
Question by:bvwang
4 Comments
 
LVL 8

Expert Comment

by:sabeesh
ID: 17810232
all the methods in webservice should be in serializable format
0
 
LVL 4

Accepted Solution

by:
boy8964 earned 450 total points
ID: 17810270
most likely it is a database issue. make sure your database is runing and can be connected by web service and try again.
0
 
LVL 8

Assisted Solution

by:redpipe
redpipe earned 50 total points
ID: 17810985
I might be really missing the point here, but as fare as I can see the "only" problem is that the received value can not be parsed as an Int32. Please check the object you try to use in your webservice, and check if it is really parseable as an integer.
0
 
LVL 3

Author Comment

by:bvwang
ID: 17816149
thanks for respons. the bug has bee fixed and i have released it on http://www.ialda.com
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

Suggested Solutions

Title # Comments Views Activity
Runtime Error 2 28
Not showing JavaScript in the list 5 40
Windows Media Player 2 16
How useful is the free version of Selenium? 3 14
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
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 …

867 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

21 Experts available now in Live!

Get 1:1 Help Now