I have build a simple application (CF9, MS SQL 2005, IIS 7, windows server 2008, cfwheels 1.1.8).
I have a model Asset.cfc with a many-to-many relation with Term.cfc, Usecase.cfc and Relatedassets.cfc (many-to-many with the same table).
Everything is working fine until I have about 10 records in the Assets table.
Every time I try to add/update an extra asset I get a 500 - internal server error. I have changed the error message in IIS from custom error pages to detailed error pages, but I get no extra info.
If change the create function to just do a cfdump, I get the same internal server error.
<cffunction name="create">
<cfif isdefined("params.key")>
<cfset asset = model("asset").findByKey(params.key)>
<cfset asset.update(params.asset)>
<cfelse>
<cfset asset=model("Asset").new(params.asset)>
<cfset asset.save()>
</cfif>
</cffunction>
As you can see the assets table has a lot of columns (attachment).
If I clean up the assets table ( + assetsTerms and assetsUsecases) the error is gone until I have inserted another 10 to 15 records.
You can see my application at
http://interoperabilityassets.ramit.be/Inge