Saturday, September 27, 2008

Digital life - USB A-DATA

USB A-DATA RB19

USB A-DATA RB19

USB A-DATA C702

USB A-DATA MYFLASH PD1

USB A-DATA MYFLASH PD1

Read more...

Digital life - USB JVJ

We have some pictures:
FLASH JVJ A1 RB

USB JVJ MINI RB

USB JVJ MINI RB

FLASH JVJ Supper Thin

FLASH JVJ Supper Thin

FLASH USB JVJ P1

FLASH USB JVJ RUBBER R

FLASH USB JVJ RUBBER R

FLASH JVJ RUBBER R2

USB JVJ White






Read more...

IIS is installed or not?

How should I check whether IIS is installed or not?

To verify if IIS is installed, go to your 'Add or Remove Programs' utility in the Control panel and click on the 'Add/Remove Windows Components' in the side menu.

On XP Pro and below, you should see an item called "Internet Information Services (IIS)". If this is checked, IIS should be installed.

On Win2K3, you'll see "Application Server". If this is checked, select it and then click 'Details'. Another form should open which will contain "Internet Information Services (IIS)". If it is checked, IIS should be installed.

Read more...

Version of ASP.NET I am using on my machine?

How to find out what version of ASP.NET I am using on my machine?

Use this:

Response.Write(System.Environment.Version.ToString() )

Read more...

Server control tags shown in the browser instead of the controls it represents?

This is because the server control tags were not converted into their respecting HTML element tags by ASP.Net. This happens when ASP.Net is not properly registered with IIS.

.Net framework provides an Administration utility that manages the installation and uninstallation of multiple versions of ASP.NET on a single machine. You can find the file in C:\WINNT\Microsoft.NET\Framework\v**\aspnet_regiis.exe

use the command: aspnet_regiis.exe -u ---> to uninstall current asp.net version.
use the command: aspnet_regiis.exe -i ---> to install current asp.net version.

Read more...

Thursday, September 25, 2008

Send a simple email message with an attachment using ASP.NET 2.0

Imports System.Net.Mail



Partial Class _Default
Inherits System.Web.UI.Page



Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click


Try

Dim SendFrom As MailAddress = New MailAddress(txtFrom.Text)

Dim SendTo As MailAddress = New MailAddress(txtTo.Text)



Dim MyMessage As MailMessage = New MailMessage(SendFrom, SendTo)



MyMessage.Subject = txtSubject.Text


MyMessage.Body = txtBody.Text



Dim attachFile As New Attachment(txtAttachmentPath.Text)


MyMessage.Attachments.Add(attachFile)



Dim emailClient As New SmtpClient(txtSMTPServer.Text)


emailClient.Send(MyMessage)



litStatus.Text = "Message Sent"


Catch ex As Exception


litStatus.Text = ex.ToString()


End Try


End Sub


End Class


Read more...

Saturday, September 06, 2008

How do I configure a local SMTP server?

Install the SMTP virtual server that is part of IIS.

You will need your Windows installation CD.

Use Add or Remove Programs in the Windows Control Panel to launch Add/Remove Windows Components.

Select Internet Information Services (IIS) and then click Details.

Check SMTP Service and then click OK.

The installation process will prompt you for your Windows CD and will install the SMTP virtual server.

After installing the SMTP server (also reboot), configure it by following these steps:

1. In the Control Panel, choose Administrative Tools, and then choose Internet Information Services.

2. Open the node for your computer, right-click the Default SMTP Virtual Server node and choose Properties.

3. In the Access tab, click Connection.

4. Select Only the list below, click Add and add the IP 127.0.0.1. This restricts connections to just the local computer, i.e., localhost. Close the Connection dialog box.

5. Click Relay and repeat Step 5 to allow only localhost to relay through this server. In your firewall or router (or both), close incoming port 25. This is an important security measure that will prevent spammers from finding your SMTP server and using it to relay spam.

Now you can use your local SMTP server.

Read more...

Asp.Net - How to send HTML mail ?

Code:


Dim mail As New MailMessage()

mail.To = "emailto"

mail.From = "emailfrom"

mail.Subject = "Test."

mail.BodyFormat = MailFormat.Html

mail.Body = "Test Message"

SmtpMail.SmtpServer = "yourserver"

SmtpMail.Send(mail)

Read more...

Friday, September 05, 2008

Asp.Net A potentially dangerous Request.Form value was detected from the client

Request validation looks at every request and determines if it could be a possible CSS (Cross Site Scripting) attack. By default Request Validation is on for every page. If you wish to allow users to post arbitrary HTML to you site you need to turn off request validation:

<%@Page ValidateRequest="false" %>

Read more...

Thursday, September 04, 2008

Vista

Vista
Vista
Vista
Vista
Vista

Read more...

Asp.Net "Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable..

Why do I get the error message "Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request."?

By default, ASP.NET runs its worker process (Aspnet_wp.exe) with a weak account (the local machine account, which is named ASPNET) to provide a more secure environment.

On a domain controller or on a backup domain controller, all user accounts are domain accounts and are not local machine accounts.

Therefore, Aspnet_wp.exe fails to start because it cannot find a local account named "localmachinename\ASPNET".

To provide a valid user account on the domain controller, you must specify an explicit account in the section of the Machine.config file, or you must use the SYSTEM account.

Read more...

Asp.Net All works fine in Windows 2K but i am not able to view pages using Windows Server 2003?

You have to enable the ASP.NET in the Web Server Extensions list

From Start -> Settings -> Control Panel -> Administrative Tools -> double click IIS Manager.

Go to the Web Service Extensions tab, click Active Server Pages, then press the "Allow" button on the left.

Read more...

ASP.Net Why are Server control tags shown in the browser instead of the controls it represents?

This is because the server control tags were not converted into their respecting HTML element tags by ASP.Net.

This happens when ASP.Net is not properly registered with IIS.

.Net framework provides an Administration utility that manages the installation and uninstallation of multiple versions of ASP.NET on a single machine.

You can find the file in C:\WINNT\Microsoft.NET\Framework\v**\aspnet_regiis.exe

use the command: aspnet_regiis.exe -u ---> to uninstall current asp.net version.
use the command: aspnet_regiis.exe -i ---> to install current asp.net version.

Read more...

Sea






Read more...

Tuesday, September 02, 2008

Cool


Sky
Sky
Tree
Tre
water

Read more...

New Wallpapers

Cool
Cool
Green
Water
Tree

Read more...

2008

Back to TOP