Answered by:
Dynamic Data migration issue IIS 7

Question
-
User-536915050 posted
I recently migrated a Dynamic Data website from IIS6 to 7, after the migration the many-to-many fields that only should appears in Edit pages start to showing in Insert pages, this issue provoke that the insert function doesn't work.
Somebody know if I need to change something in web.config specifically for IIS7
Any idea about this issue?Monday, July 27, 2015 9:29 AM
Answers
-
User-330204900 posted
Ah.... just realised that M2M now works in insert mode you will need to upgrade the field template to get this working :), you must be running under a newer version of .Net on IIS7 than you were on IIS6 :)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, July 28, 2015 5:45 AM
All replies
-
User-330204900 posted
Hi Joe, no you should not need to change anything in the web.config to get it to work, not sure why it's appearing in the insert. what version of .Net are you developing in?
Monday, July 27, 2015 10:11 AM -
User-536915050 posted
Hi Steve, I'm using .NET 4.5.1 and VS2012
Monday, July 27, 2015 10:32 AM -
User-330204900 posted
did you create the project from scratch in that, if not make a new project with the same namespace in a separate folder and copy the M2M field templates across (Make a backup first though)
Monday, July 27, 2015 2:49 PM -
User-536915050 posted
Hi Steve, I just moved the site from the old server to the new one. This is an "old" project, I didn't change anything in the code during migration. By the way, this site use some old stuff from your blog, like SecureMetaModel and David Ebbo's Many-to-Many Template.
I'll check if is possible that the code has some issue with the relationship load in Insert Mode, the weird thing is that worked good since a few years in IIS 6.
Do you have some similar integration between your SecureMetaModel and that old Ebbo's Template in your archives??
Maybe there are many old things in that website but I'm little bit lazy to upgrade systems that work well for a long time
Thanks for your time
Monday, July 27, 2015 3:49 PM -
User-330204900 posted
Ah.... just realised that M2M now works in insert mode you will need to upgrade the field template to get this working :), you must be running under a newer version of .Net on IIS7 than you were on IIS6 :)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, July 28, 2015 5:45 AM -
User-536915050 posted
Thank you Steve!
Tuesday, August 4, 2015 9:00 AM