List of Request.ServerVariables

ALL_HTTP HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:*/* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:sv HTTP_HOST:localhost:1229 HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) ALL_RAW Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, deflate Accept-Language: sv Host: localhost:1229 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) APPL_MD_PATH APPL_PHYSICAL_PATH D:\code\web\demos\membership\ AUTH_TYPE NTLM AUTH_USER SYSTEMEN-D9AE02\Stefan Holmberg AUTH_PASSWORD LOGON_USER SYSTEMEN-D9AE02\Stefan Holmberg REMOTE_USER SYSTEMEN-D9AE02\Stefan Holmberg CERT_COOKIE CERT_FLAGS CERT_ISSUER CERT_KEYSIZE CERT_SECRETKEYSIZE CERT_SERIALNUMBER CERT_SERVER_ISSUER CERT_SERVER_SUBJECT CERT_SUBJECT CONTENT_LENGTH 0 CONTENT_TYPE GATEWAY_INTERFACE HTTPS HTTPS_KEYSIZE HTTPS_SECRETKEYSIZE HTTPS_SERVER_ISSUER HTTPS_SERVER_SUBJECT INSTANCE_ID INSTANCE_META_PATH LOCAL_ADDR 127.0.0.1 PATH_INFO /membership/servervariables.aspx PATH_TRANSLATED D:\code\web\demos\membership\servervariables.aspx QUERY_STRING REMOTE_ADDR 127.0.0.1 REMOTE_HOST 127.0.0.1 REMOTE_PORT REQUEST_METHOD GET SCRIPT_NAME …

Continue Reading

Colors in ASP.NET

System.Drawing.Color AliceBlue Hex Code: #F0F8FF AntiqueWhite Hex Code: #FAEBD7 Aqua Hex Code: #00FFFF Aquamarine Hex Code: #7FFFD4 Azure Hex Code: #F0FFFF Beige Hex Code: #F5F5DC Bisque Hex Code: #FFE4C4 Black Hex Code: #000000 BlanchedAlmond Hex Code: #FFEBCD Blue Hex Code: #0000FF BlueViolet Hex Code: #8A2BE2 Brown Hex Code: #A52A2A BurlyWood Hex Code: #DEB887 CadetBlue Hex Code: #5F9EA0 Chartreuse Hex Code: #7FFF00 Chocolate Hex Code: #D2691E Coral Hex Code: #FF7F50 CornflowerBlue Hex Code: #6495ED Cornsilk Hex Code: #FFF8DC Crimson Hex Code: #DC143C Cyan Hex Code: #00FFFF DarkBlue Hex Code: #00008B DarkCyan Hex Code: #008B8B DarkGoldenrod Hex Code: #B8860B DarkGray Hex Code: …

Continue Reading

Custom paging nav on GridView control

<PagerTemplate> <asp:LinkButton CommandName=”Page” CommandArgument=”First” ID=”LinkButton1″ runat=”server” Style=”color: white”> &lt;&lt;First</asp:LinkButton> <asp:LinkButton CommandName=”Page” CommandArgument=”Prev” ID=”LinkButton2″ runat=”server” Style=”color: white”> &lt; Prev</asp:LinkButton> [Records <%= GridView1.PageIndex * GridView1.PageSize %> – <%= GridView1.PageIndex * GridView1.PageSize + GridView1.PageSize – 1 %>] <asp:LinkButton CommandName=”Page” CommandArgument=”Next” ID=”LinkButton3″ runat=”server” Style=”color: white”> Next &gt;</asp:LinkButton> <asp:LinkButton CommandName=”Page” CommandArgument=”Last” ID=”LinkButton4″ runat=”server” Style=”color: white”> Last &gt;&gt;</asp:LinkButton> </PagerTemplate>

Continue Reading

Paradígmas digital – novos ditados populares

Como estamos na ‘Era Digital’, foi necessário rever os velhos ditados existentes e adaptá-los à nova realidade. Vejam alguns: 1. A pressa é inimiga da conexão. 2. Amigos, amigos, senhas à parte. 3. Antes só, do que em chats aborrecidos. 4. A arquivo dado não se olha o formato. 5. Diga-me que chat freqüentas e te direi quem és. 6. Para bom provedor uma senha basta. 7. Não adianta chorar sobre arquivo deletado. 8. Em briga de namorados virtuais não se mete o mouse. 9. Em terra off-line, quem tem um 486 é rei. 10. Hacker que ladra, não morde. …

Continue Reading
FILED UNDER: Fun

Erro ao abrir Outlook 2003/2007

“Não é possível iniciar o microsoft office outlook. Não é possível abrir a janela do Outlook.” Erro ao abrir o Outlook 2007 (Não é possivel abrir a janela do outlook) Hoje depois de um reboot ao PC não estava a conseguir abri o Outlook. Após alguma pesquisa e debug, lá encontrei a solução: “Limpar e gerar novamente o painel de navegação do perfil actual.” Para isso basta ir ao “Menu Iniciar”, escolher a opção “Executar” e escrever o comando outlook /resetnavpane Outros comandos que podem ser úteis para o Outlook: http://office.microsoft.com/pt-pt/outlook/HP010031102070.aspx http://www.mundibrasil.org/news/atualizacao-pode-causar-pane-no-outlook-saiba-como-resolver.html

Continue Reading

Error “The report server database is an invalid version”

Source: Report Server Windows Event ID: 117 Description: The report server database is an invalid version. Reporting Services Configuration Manager Open up the “Reporting Services Configuration Manager” by going to Start -> Programs ->Microsoft SQL Server 2005 -> Configuration Tools -> Reporting Services Configuration. On the left hand side, click on “Database Setup”. (there should be a red “x” to the left of Database Setup. Choose the appropriate Server Name. For the Database Name, click “New” and do not use the default name “ReportServer” since it’s possible a .MDF file was already created with this name. I used “ReportServer2”. Make …

Continue Reading

Installing GPMC on Windows Server 2008 and Windows Vista Service Pack 1

The Group Policy Management Console is included in Windows Server 2008; however, you must install it before you can use it. The domain controller promotion process installs GPMC on the server, in addition to adding the domain controller to the domain. Additionally, you can install GPMC on a member server as long as it’s a member of the domain. Let’s look at two ways to install GPMC on Windows Server 2008 (other than through DCPROMO). Installing GPMC using Server Manager (Windows Server 2008) The Group Policy Management Console is a Feature in Windows Server 2008. You install Features using Server …

Continue Reading