Make sure the build action of the SqlMap.config file is set to embedded resource in Visual Studio. Assuming that your package (folder path) is correct, the error is telling me that the file was not embedded to the dll when building your project.
Alberto Acevedo sanjeev40084 wrote: > > i am getting this error everytime when i try to call method in my data > access layer. Any clue why i am getting this error? > > BatisNet.Common.Exceptions.ConfigurationException was caught > Message="Embedded config file stream was null. Could not find embedded > resource 'test.DataAccess.Config.SqlMap.config' in assembly > 'test.DataAccess, Version=0.1.0.0, Culture=neutral, PublicK > -- View this message in context: http://www.nabble.com/BatisNet.Common.Exceptions.ConfigurationException-was-caught---Message%3D%22Embedded-config-file-stream-was-null.---Could-not-find-embedded-resource-%27test.DataAccess.Config.SqlMap.config%27-in-assembly-%27test.DataAccess%2C-Version%3D0.1.0.0%2C-Culture%3Dneutral%2C-PublicKeyToken%3Dnull%27.%22-tp24484437p24484973.html Sent from the iBATIS - User - Cs mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-cs-h...@ibatis.apache.org