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
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?
IssueMigrationDynamicIIS7
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
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)
IssueMigrationDynamicIIS7
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
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
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 :)
IssueMigrationDynamicIIS7
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
Member
4 Points
30 Posts
Dynamic Data migration issue IIS 7
Jul 27, 2015 09:29 AM|joe_dotnet|LINK
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?
Issue Migration Dynamic IIS7
All-Star
17916 Points
5681 Posts
MVP
Re: Dynamic Data migration issue IIS 7
Jul 27, 2015 10:11 AM|sjnaughton|LINK
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?
Issue Migration Dynamic IIS7
Always seeking an elegant solution.
Member
4 Points
30 Posts
Re: Dynamic Data migration issue IIS 7
Jul 27, 2015 10:32 AM|joe_dotnet|LINK
Hi Steve, I'm using .NET 4.5.1 and VS2012
Issue Migration Dynamic IIS7
All-Star
17916 Points
5681 Posts
MVP
Re: Dynamic Data migration issue IIS 7
Jul 27, 2015 02:49 PM|sjnaughton|LINK
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)
Issue Migration Dynamic IIS7
Always seeking an elegant solution.
Member
4 Points
30 Posts
Re: Dynamic Data migration issue IIS 7
Jul 27, 2015 03:49 PM|joe_dotnet|LINK
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
Issue Migration Dynamic IIS7
All-Star
17916 Points
5681 Posts
MVP
Re: Dynamic Data migration issue IIS 7
Jul 28, 2015 05:45 AM|sjnaughton|LINK
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 :)
Issue Migration Dynamic IIS7
Always seeking an elegant solution.
Member
4 Points
30 Posts
Re: Dynamic Data migration issue IIS 7
Aug 04, 2015 09:00 AM|joe_dotnet|LINK
Thank you Steve!
Issue Migration Dynamic IIS7