This project is read-only.

The operation is not valid for the state of the transaction.

Topics: Writing modules
May 13, 2011 at 6:57 AM
Edited May 13, 2011 at 7:00 AM

 hello all,

I am new in orchard CMS, I am integrating my own application in orchard CMS. I have create a edmx file then  I have created an Action to Display the records,  But it give me ERROR THAT  "The operation is not valid for the state of the transaction".

Waiting for your valuable reply.

May 13, 2011 at 10:52 AM

Can you post the code of your action?

To be honest you should be trying to use Orchard's DB layer instead of edmx. Have you read the basic module authoring tutorials?

May 13, 2011 at 1:40 PM

Can You please provide me any link to study module authoring tutorials. I haven't find much on the internet.

May 13, 2011 at 2:12 PM

Well the offical documentation has a whole section on Extending Orchard:

You should pay particular attention to the 1-N and N-N section if you're implementing data access.