Thursday, April 24, 2008

The type or namespace name 'Transactions' doesnot exist in the namespace 'System'




The type or namespace name 'Transactions' doesnot exist in the namespace 'System' (are you missing an assembly reference



Cause : You are missing a DLL.

Solution : This can be added by adding reference by right clicking in the solution in the Visual studio IDE. After adding this one, you can see the change in the Web.config file. You will see a new assembly been added there..


















1 comment:

AK Sabin said...

Hey, no need of 3.5 and all. This error may also happen when you are working in a Normal Website Project ( Not an Ajax Enabled Website ).

If you are working in a (Non Ajax Enabled ) Website and using update panel with out knowing the fact that you are not working in an Ajax Enabled website, Update panels may work some points ( I dont know how, and its wonder). But the same block of code will throw some parser error at certain time too.

I was experiencing the same and had waisted more than three days to sort this out. Finally i could find the issue with the web.config. I had a comparison with the web.config of other website project which was build in Ajax. ( Update panels and all were working fine there. )
Was shocked knowing that i was working in a non Ajax Website Project ! :))

Included the required tags for Ajax in the Web.config, started working cool.

Have a comparison between the Web.Config of Both Ajax and Non-Ajax website Projects.