Skip to main content

AddToAny

Share/Save

Error

Error : Unable to connect to the remote server

I got "Unable to connect to the remote server error" when I tried to call a webservice that is hosted on some remote machine outside my firewall. I am using a proxy server, and figured it that my application is not aware of the proxy server. So I did some googling and add the following defaultproxy settings under System.net tag in applications web.config file.

Error-GetTypeHashCode()': no suitable method found to override

Posted in

GetTypeHashCode()': no suitable method found to override

How to remove this error. Please help

SQL Server 2005 error 10061

I needed to connect to sql server from a remote computer which is on my home lan.
But got this error message.

"Error: 26 – Error Locating Server/Instance" Specified SQL Server

“An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connection. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified)”

This error might have occured due to the following reasons.

"FormatException was unhandled" Input string was not in a correct format.

Hi ! Here I am trying to write a function that returns me value based on the following condition... IF Variable is NULL return me DBNull.Value ELSE Convert Variable into DataType whose DataTypeCode has been provided to me as a parameter of function. Now while converting a variable into required DataType an exception is thrown "FormatException was unhandled". Input string was not in a correct format. How do I resolve this error please help. Here is my code...

public object ReturnDBNullOrRequiredDatatype(object IsThisObjectANull, TypeCode DataTypeCode)
 
{

Syndicate content