unable to launch iis express web server vs2012 ?

solution :

Step 1: C:\Users\<username>\Documents\IISExpress\config

step 2:  open the file using textpad or your fav text editor

step 3:  find <applicationPools> node 

and you can see 

<add name=”Clr4IntegratedAppPool” managedRuntimeVersion=”v4.0″ managedPipelineMode=”Integrated”     CLRConfigFile=”%IIS_USER_HOME%\config\aspnet.config” autoStart=”true” />


step 4:  change  to 

<add name=”Clr4IntegratedAppPool” managedRuntimeVersion=”v4.0.30319″ managedPipelineMode=”Integrated”     CLRConfigFile=”%IIS_USER_HOME%\config\aspnet.config” autoStart=”true” />


step 5: Save  the file , restart vs2012  , 

f5 should be working now 




unable to launch iis express web server vs2012 ?

simple stopwatch game from codeSkulptor

codeskulptor is a web based python interpretor and simple ide 

i tried to build a small stopwatch and game with that 

# template for “Stopwatch: The Game”

import simplegui
import math

# define global variables
interval = 10
position = [250,250]
mil_sec =0
sec = 0
mins = 0

# define helper function format that converts integer
# counting tenths of seconds into formatted string A:BC.D

def format(t):
global mil_sec
global sec
global mins
mins = 0
mil_sec = (t %10)
sec = (t-mil_sec )//10
sec, mins = sec % 60 ,sec // 60
if mil_sec > 9 :
mil_sec = 0
sec = sec + 1
if( sec > 59):
mins = mins + 1
sec = sec – 60
sec_string = str(sec)
if len(str(sec)) == 1:
sec_string = “0”+str(sec)
return str(mins)+”:”+sec_string +”.”+str(mil_sec)

# define event handlers for buttons; “Start”, “Stop”, “Reset”

def start():

def stop():

def reset():
global t
t = 0

def draw(canvas):

# define event handler for timer with 0.1 sec interval
def tick():
global t
t = t+1

# create frame
frame = simplegui.create_frame( “Stop Watch Game ” , 500 , 500)
timer = simplegui.create_timer(interval,tick)

# register event handlers
startButton = frame.add_button(“Start”, start)
stopButton = frame.add_button(“Stop”, stop)
resetButton = frame.add_button(“Reset”, reset)

# start timer and frame


to run this. copy paste this code on to http://www.codeskulptor.org

simple stopwatch game from codeSkulptor

Accessing SSIS User Variables in WinForms

In this post , I will try to put some code to easily access user defined variables (User::VariableName) in the Winforms.

Step 1:


the parameters to the initialize method ,Taskhost and IserviceProvider holds the key to current problem.

Step 2:  Winform


the dts variables  are accessible in the _taskHost.variable collection in the TaskHost class. From here, we can either get or set values  DTSX variables. Normally , In script tasks , they are accessed as Dts.Variables[“SomeName”].Value . But accessing them is little trickier in a custom data task is little different, which is shown in 2 screen shots.

\God Speed



Accessing SSIS User Variables in WinForms