Why do i get error message ‘Could not load type’ whenever I browse to my ASP.NET web site
Your code-behind files for either your .aspx or the global.aspx page have not been complied. Use Visual Studio .NET’s ‘Build | Build Solution’ menu, or run the command line compiler. For more details refer PRB: ‘Could not load type’ error message when you browse to .aspx page
How do I publish my ASP.NET application to my ISP’s web server?
Your ISP must first create an IIS application and apply the Front Page Server Extensions to it. Then in Visual Studio .NET, select the ‘Project | Copy Project’ menu. Then enter the URL and select the FrontPage web access method. The ‘Copy Project’ feature copies all of the necessary files to your ISP’s machine for your ASP.NET application to run. You can also FTP your files to your ISP web server. But you must know which files to upload. For more details refer PRB: Remote ASP.NET Projects Require IIS on the Client Computer or FrontPage Server Extensions on the Server Computer
How to implement Form based Authentication in ASP.NET application
For VB.NET C#
How to Set Focus to Web Form Controls By Using Client-Side Script
<script language=’javascript’> function SetFocus() { // W3C approved DOM code that will work in all modern browsers if (document.getElementById) document.getElementById(’txt2’).focus(); else // To support older versions of IE: if (document.all) document.all(‘txt2′).focus(); return false; } </script> <body MS_POSITIONING=’GridLayout’ onload=’SetFocus()’> <form id=’Form1′ method=’post’ runat=’server’> Enter 1: <asp:TextBox ID=’txt1′ Runat=’server’ Width=’50’ /> <br> Enter 2: <asp:TextBox ID=’txt2′ Runat=’server’ Width=’50’ /> <br> <asp:Button id=’Button1′ runat=’server’ Text=’Button1′></asp:Button> </form> </body> Refer Sample IE Code
Why do I get error message ‘Internet Explorer cannot download MyPage.aspx from MyWebSite.com …’?
This happens for example, when you try to export data to excel from a datagrid. The problem occurs if the server is using Secure Sockets Layer (SSL) and has added one or both of the following HTTP headers to the response message: Pragma: no-cache Cache-control: no-cache,max-age=0,must-revalidate For more details refer PRB: Internet Explorer Is Unable to Open Office Documents from an SSL Web Site