Tuesday, 2 October 2012

How to increase time out for WCF Test Client

To increase say the send timeout of the WCF Test client

Run the Service from Visual Studio while the Test client is up or running
do the following


1. Right click on the config file

2. select "Copy full Path" from the popup

3. Paste the path into the address bar of a window after,
delete the file path up to the first back slash from the right
and press enter or return.

4. Edit the config file with your preferred text editor adding
the required time out and save the file.

5. Now click the Tools menu and select options then un-check
"Always regenerate config when launching services" and click OK.

its done.

Tuesday, 24 April 2012

Solve deployment err - HTTP Error 500.19 - Internal Server Error

How to solve this problem


edit your web.config xml file within your application folder and comment out the following tags
1. name="scriptResourceHandler" ....
2. name="jsonSerialization" ...
3. name="profileService" ...
4. name="authenticationService" ...
5. name="roleService" ...
re-run the application and i hope this solve the problem

Monday, 16 April 2012

How to set default browser in Visual Studio

Right click on any .aspx file
Select your preferred browser from the list and
click on the set as default button
you are done

Friday, 13 April 2012

Setting up an SMTP Server for my - ASP.NET PROJECT

My boss is coming and monitoring will be great I need to wrap up my asp.net project on email security
this is what i did
1. Configure an SMTP server I used Apache James Server
i. download the Apache JAMES server and unzip to a location on your PC
ii. Set the environmental variables for the server i.e add it to the system path
this can be done by right clicking on my computer and select properties
select advanced system settings
Click on Environment Variables button
Click on New under system variable group box
Fill in the variable name and value this should be the path to the variable(folder or file)
Click the OK button
Search through and select the variables under the system variables group box, select PATH
and click edit
append to the end of the variable value the following
a semicolon [ ; ] followed by the name of the variable you set early on enclosed in % %
our environment variable is set
iii. open command prompt and type run to start the Apache JAMES server
if it starts successfully you will see the following

C:\Users\User>run
Using PHOENIX_HOME: C:\james-2.3.2
Using PHOENIX_TMPDIR: C:\james-2.3.2\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_26

Phoenix 4.2

James Mail Server 2.3.2
Remote Manager Service started plain:4555
POP3 Service started plain:110
SMTP Service started plain:25
NNTP Service started plain:119
FetchMail Disabled

if not check the environment variable settings by closely following steps (ii, iii)

Thursday, 12 April 2012

This is me

Well!!! we start today, I'm code-let, I code , lets say i'm easy going. This is a blog about what I experience as a developer or programmer everyday till one day i might forget to blog.... that will be, a sorry in advance. today 12/04/2012 i have a task to make sure one module of a bigger software runs from 1-> 2-> 3, a task from the lead engineer of the project (my direct boss) could have done this in minutes but He wanted me to learn nice of him. this is how my desktop looked @ the time
just started.