i got the below
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS"
on putting session on web.config file.
by referring the below links, i got resolved my issue.
Have a Great Day...
You won't get error if you open file by double clicking solution file.
Am i rite?