Error Message Being Thrown

macca

Member
Joined
Mar 3, 2005
Messages
7
Programming Experience
Beginner
I keep getting the following error message in my vb.net code:

"Format of the initialization string does not conform to specification starting at index 0."

I get the message when I refer to a class from a web form, when this code runs:

oPolicy = New Policy
oDR = oPolicy.GetPolicy()

I am calling the function GetPolicy in the Class Policy.

Anyone any ideas.

macca
 
What is a Policy? Is it a class of your own creation or from a third party? Do you have the source code or documentation? If you have the source then you can step into that method and see where exactly the exception is being thrown. If you have documentation then you can read about what circumstances would cause that method to throw an exception of that type.
 
Back
Top