hello
when i try to add new data source aftre selecting the table & befor finishing i got the message

An error occured while creating the new data source
An error occured while generating the data source

and in error window following error does come

Custom tool error: Failed to generate code. Failed to generate code. Invalid access to memory location. (Exception from HRESULT: 0x800703E6) Invalid access to memory location. (Exception from HRESULT: 0x800703E6) E:\hadi\tryLog\tryLog\dbMSDataSet.xsd 1 1 tryLog

can anybody tellme the solution?

There is probably a bug with Visual Basic and its installation. Try redownloading? It seems to be an error related to memory location which is Visual Basic, not you.