HI All,
I need to write a transport agent to store email in the database.I created a class library project.Added ADO.net data model. When i get the instance of data model. It throws error:
"The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid."
The same thing works fine when i create a console appplication.I have checked app.config file, there exist my connection string.Don't know why it is throwing error.
Any Idea?