Skip to main content

AddToAny

Share/Save

Asp.Net

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

How to create a session variable in ASP.NET

  1. Define an ASP.NET web site.
  2. Create two pages within the site. The first page will contain an ASP.NET Web Form that will post back to itself and then redirect to the second page.

    Note: The reason this example uses two pages is to prove that a session variable is available to a second, third, fourth, etc. page in the web site. Request variables, which are an alternative to session variables, cannot be carried over from an ASP.NET Web Form on one page to a second page

Element "embed" is not Supported Error

Hi,

I embed a flash in my web page, but, it has an error said that

Validation: (XHTML 1.0 transitional) Element "embed" is not supported.

so what

I need to replace it? please help. The following is the code. Thanks.

<object width="600" height="400">
       <param name="movie" value="http://www.youtube.com/v/xHN8zGn28BA&hl=en_US&fs=1&color1=0x2b405b&color2=0x6b8ab6&border=1"/>
       <param name="allowFullScreen" value="true"/>
       <param name="allowscriptaccess" value="always"/>

Regular Expression to Check Password Strength

Last few days I was trying hard to come up with a Regular Expression for checking password strength in JavaScript. For those who don't know what is a regular expression and How it can be used, Here is a wonderful link for you. Regular Expression can be a very handy code, for Matching two strings, Data Validation and even Syntax Highlighting.

Syndicate content