Base solution for your next web application
Open Closed

How do I find the breaking changes in version 4.0? #3036


User avatar
0
fguo created

I just downloaded v4.0. While run it, I got exceptions of "invalid column name 'ConcurrencyStamp'" and "invalid column name 'NormalizedName'". I think v4.0 changed the database schema and I didn't migrate it again. Because my old database already contains some data, I like to compare the changes and manually repair the database table, if it is not too hard.

How do I find the breaking changes in version 4.0? For example, I want to know which table contains column "ConcurrencyStamp". I went to Github repository, but cannot find it.

Please advise.

Thanks,


9 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If you want to use IdentityCore in your project, you need to update your database with below steps. I suggest you to do it on a local copy first, a kind reminder :).

    • New Tables

      AbpRoleClaims AbpUserTokens __EFMigrationsHistory

    • Changed Tables

      AbpUsers + NormalizedEmailAddress: UPPER case of EmailAddress. + NormalizedUserName: UPPER case of UserName. + ConcurrencyStamp AbpRoles + NormalizedName: UPPER case of Name. + ConcurrencyStamp

    • Deleted Tables

      __MigrationHistory

  • User Avatar
    0
    fguo created

    Got it. It works now after I modified the data tables as you described. Thanks a lot!

  • User Avatar
    0
    fguo created

    I am adding some OUs without problem. However, when I edit an OU and click the "Save" button, I got an error: An error has occurred! Error detail not sent by server. See attached screen shot.

    I looked at Log file. Here is the log: DEBUG 2017-04-28 16:30:57,267 [18 ] NetCore.StaticFiles.StaticFileMiddleware - POST requests are not supported

    I checked the user right in SQL Server. The user's default schema is dbo and has Role Members of db_owner.

    Please advise what I missed.

    Thanks,

  • User Avatar
    0
    fguo created

    By the way, the above issue happens while deployed on production IIS. I can edit OUs on local development machine. Any clue?

  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    Are there eny error tagged logs? Could you check this issue? #2740@6e9cca5c-6ad1-40cc-96d2-84cac53c3a88

    There may be some additional logs. Thanks...

  • User Avatar
    0
    fguo created

    I just repeated it and here is the log:

    INFO 2017-04-29 13:44:29,161 [45 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://dev0.bcnyintl.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010626">http://dev0.bcnyintl.com/signalr/ping?e ... 3417010626</a> application/x-www-form-urlencoded; charset=UTF-8 INFO 2017-04-29 13:44:29,175 [45 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:44:29,175 [45 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:44:29,175 [45 ] NetCore.StaticFiles.StaticFileMiddleware - The request path /signalr/ping does not match a supported file type DEBUG 2017-04-29 13:44:29,175 [45 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJID" completed keep alive response. INFO 2017-04-29 13:44:29,175 [45 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 14.1265ms 200 application/json; charset=UTF-8 INFO 2017-04-29 13:45:06,422 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://dev0.bcnyintl.com/api/services/app/OrganizationUnit/UpdateOrganizationUnit">http://dev0.bcnyintl.com/api/services/a ... zationUnit</a> 0 DEBUG 2017-04-29 13:45:06,423 [42 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJID" completed keep alive response. INFO 2017-04-29 13:45:06,423 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.2711ms 204 DEBUG 2017-04-29 13:45:09,500 [35 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" completed keep alive response. INFO 2017-04-29 13:45:09,500 [35 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 110016.3903ms 200 application/json; charset=UTF-8 INFO 2017-04-29 13:45:09,611 [36 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://dev0.bcnyintl.com/signalr/poll?transport=longPolling&clientProtocol=1.5&enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jE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2BdBwkX9HpmIjDstftwDyRLeR4KA4AHkfCVnd4a9etvYCabgpzzvQKp%2FxZKK5euBP2%2F7vny&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D">http://dev0.bcnyintl.com/signalr/poll?t ... b%22%7D%5D</a> application/x-www-form-urlencoded; charset=UTF-8 74 INFO 2017-04-29 13:45:09,625 [36 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:45:09,625 [36 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:45:09,625 [36 ] NetCore.StaticFiles.StaticFileMiddleware - POST requests are not supported DEBUG 2017-04-29 13:47:04,625 [45 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJID" completed keep alive response. INFO 2017-04-29 13:47:04,625 [45 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 115013.6836ms 200 application/json; charset=UTF-8 DEBUG 2017-04-29 13:47:04,731 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" received FIN. DEBUG 2017-04-29 13:47:04,731 [42 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" disconnecting. DEBUG 2017-04-29 13:47:04,732 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" sending FIN. INFO 2017-04-29 13:47:04,732 [52 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://dev0.bcnyintl.com/signalr/poll?transport=longPolling&clientProtocol=1.5&enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVS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%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D">http://dev0.bcnyintl.com/signalr/poll?t ... b%22%7D%5D</a> application/x-www-form-urlencoded; charset=UTF-8 74 DEBUG 2017-04-29 13:47:04,732 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" sent FIN with status "0". DEBUG 2017-04-29 13:47:04,732 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIC" stopped. INFO 2017-04-29 13:47:04,746 [52 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:47:04,746 [52 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:47:04,746 [52 ] NetCore.StaticFiles.StaticFileMiddleware - POST requests are not supported DEBUG 2017-04-29 13:48:54,781 [36 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJID" completed keep alive response. INFO 2017-04-29 13:48:54,781 [36 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 110049.4167ms 200 application/json; charset=UTF-8 INFO 2017-04-29 13:48:54,911 [52 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://dev0.bcnyintl.com/signalr/poll?transport=longPolling&clientProtocol=1.5&enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVSjAi1m2U%2Bog9pkHw9%2FRkp3UZ8A1gKoReYXpvXHc0KFXzGY3aUxaXUOjpNPSTn4LyfFvWqGRq42yefBXGrkBTbBN3h9UXPP%2B25Rfae1rBCQrd8mQ0G3JHpGlVZBMKMD5RSIjWMCe3sPKe05J4ZS4x7ipM9FJHtoJ0Ev%2FfvM08rDbeioKKXNqOF9YqzdChxSnpsH4gsiia6e%2BSRx0RP0skstiLR5WYN6E0KS%2FKx1CnzbvIqQsLErePfm%2B4K%2BzwRlNun5S9TMPzbl1oVQJWbOMGVLF6%2BcQThZyZHt2vp6%2FwmXVHue314EkugOGxY9GZeHV8ca%2FZp5jVTqwC4bQKqQLttXuY%2F31whwjkNmpaZ12CAWjOwkU1zn9J9aCgNY1OLVhglHENixozz3etWJmOhwv8SbBloRiI4rLq2CxXQHE%2BW9VEYSIQ3ZhCOnYDFu0yJ4%2BMmqqR66Emk4zspyOOblYRcJ7LP9Kl47tH8mg14tMv2u%2FYNLqfSc0UQiq4GOxAhvqtReWEPzS7%2BdMj9sgTBmyYbHitIAN0wORfJ3z6Gfs0SBgXJVGr1RkFXlWLHVHqSrzYGG1DneFYUPfX6Qq%2BvSiUFgI9HpjNb8wM%2FVHdJ%2B7wwyM37QuOJ49azeyovNiUShktDzZeRqWyPi%2B9JcaB0tBGkvOU3AeuW%2FgazI0B%2FdB%2FakBxiQfjeItIpOu1wVqjy9xAspPPF3Nw2zDbu181rK2kqAIlH9%2FBhOaDMLbn5OrlGaJQLMj%2BpuIE2dP7QIw7ZhBe3qs%2FDun1BDKLlFpkT02jlq4Jj3ngiY9hdHoO9f95euFSfSlyP4GDhDY229Oreg%3D%3D&connectionToken=Sl6E4ZKS%2B39Epn%2FNLhbvwVx8HgKLsYWTr%2FwHQnjnu4TOASjZ85iLlJMcE%2F%2BdBwkX9HpmIjDstftwDyRLeR4KA4AHkfCVnd4a9etvYCabgpzzvQKp%2FxZKK5euBP2%2F7vny&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D">http://dev0.bcnyintl.com/signalr/poll?t ... b%22%7D%5D</a> application/x-www-form-urlencoded; charset=UTF-8 74 INFO 2017-04-29 13:48:54,925 [52 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:48:54,925 [52 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:48:54,925 [52 ] NetCore.StaticFiles.StaticFileMiddleware - POST requests are not supported DEBUG 2017-04-29 13:49:29,240 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" started. INFO 2017-04-29 13:49:29,240 [52 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://dev0.bcnyintl.com/signalr/ping?enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVSjAi1m2U%2Bog9pkHw9%2FRkp3UZ8A1gKoReYXpvXHc0KFXzGY3aUxaXUOjpNPSTn4LyfFvWqGRq42yefBXGrkBTbBN3h9UXPP%2B25Rfae1rBCQrd8mQ0G3JHpGlVZBMKMD5RSIjWMCe3sPKe05J4ZS4x7ipM9FJHtoJ0Ev%2FfvM08rDbeioKKXNqOF9YqzdChxSnpsH4gsiia6e%2BSRx0RP0skstiLR5WYN6E0KS%2FKx1CnzbvIqQsLErePfm%2B4K%2BzwRlNun5S9TMPzbl1oVQJWbOMGVLF6%2BcQThZyZHt2vp6%2FwmXVHue314EkugOGxY9GZeHV8ca%2FZp5jVTqwC4bQKqQLttXuY%2F31whwjkNmpaZ12CAWjOwkU1zn9J9aCgNY1OLVhglHENixozz3etWJmOhwv8SbBloRiI4rLq2CxXQHE%2BW9VEYSIQ3ZhCOnYDFu0yJ4%2BMmqqR66Emk4zspyOOblYRcJ7LP9Kl47tH8mg14tMv2u%2FYNLqfSc0UQiq4GOxAhvqtReWEPzS7%2BdMj9sgTBmyYbHitIAN0wORfJ3z6Gfs0SBgXJVGr1RkFXlWLHVHqSrzYGG1DneFYUPfX6Qq%2BvSiUFgI9HpjNb8wM%2FVHdJ%2B7wwyM37QuOJ49azeyovNiUShktDzZeRqWyPi%2B9JcaB0tBGkvOU3AeuW%2FgazI0B%2FdB%2FakBxiQfjeItIpOu1wVqjy9xAspPPF3Nw2zDbu181rK2kqAIlH9%2FBhOaDMLbn5OrlGaJQLMj%2BpuIE2dP7QIw7ZhBe3qs%2FDun1BDKLlFpkT02jlq4Jj3ngiY9hdHoO9f95euFSfSlyP4GDhDY229Oreg%3D%3D&=1493417010627">http://dev0.bcnyintl.com/signalr/ping?e ... 3417010627</a> application/x-www-form-urlencoded; charset=UTF-8 INFO 2017-04-29 13:49:29,254 [52 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:49:29,254 [52 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:49:29,254 [52 ] NetCore.StaticFiles.StaticFileMiddleware - The request path /signalr/ping does not match a supported file type DEBUG 2017-04-29 13:49:29,254 [52 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" completed keep alive response. INFO 2017-04-29 13:49:29,254 [52 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 14.0299ms 200 application/json; charset=UTF-8 DEBUG 2017-04-29 13:50:49,906 [42 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJID" completed keep alive response. INFO 2017-04-29 13:50:49,906 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 114994.4135ms 200 application/json; charset=UTF-8 DEBUG 2017-04-29 13:50:50,021 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" received FIN. DEBUG 2017-04-29 13:50:50,021 [49 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" disconnecting. DEBUG 2017-04-29 13:50:50,021 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" sending FIN. DEBUG 2017-04-29 13:50:50,021 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" sent FIN with status "0". DEBUG 2017-04-29 13:50:50,021 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL4EIOERKJIE" stopped. INFO 2017-04-29 13:50:50,021 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://dev0.bcnyintl.com/signalr/poll?transport=longPolling&clientProtocol=1.5&enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVSjAi1m2U%2Bog9pkHw9%2FRkp3UZ8A1gKoReYXpvXHc0KFXzGY3aUxaXUOjpNPSTn4LyfFvWqGRq42yefBXGrkBTbBN3h9UXPP%2B25Rfae1rBCQrd8mQ0G3JHpGlVZBMKMD5RSIjWMCe3sPKe05J4ZS4x7ipM9FJHtoJ0Ev%2FfvM08rDbeioKKXNqOF9YqzdChxSnpsH4gsiia6e%2BSRx0RP0skstiLR5WYN6E0KS%2FKx1CnzbvIqQsLErePfm%2B4K%2BzwRlNun5S9TMPzbl1oVQJWbOMGVLF6%2BcQThZyZHt2vp6%2FwmXVHue314EkugOGxY9GZeHV8ca%2FZp5jVTqwC4bQKqQLttXuY%2F31whwjkNmpaZ12CAWjOwkU1zn9J9aCgNY1OLVhglHENixozz3etWJmOhwv8SbBloRiI4rLq2CxXQHE%2BW9VEYSIQ3ZhCOnYDFu0yJ4%2BMmqqR66Emk4zspyOOblYRcJ7LP9Kl47tH8mg14tMv2u%2FYNLqfSc0UQiq4GOxAhvqtReWEPzS7%2BdMj9sgTBmyYbHitIAN0wORfJ3z6Gfs0SBgXJVGr1RkFXlWLHVHqSrzYGG1DneFYUPfX6Qq%2BvSiUFgI9HpjNb8wM%2FVHdJ%2B7wwyM37QuOJ49azeyovNiUShktDzZeRqWyPi%2B9JcaB0tBGkvOU3AeuW%2FgazI0B%2FdB%2FakBxiQfjeItIpOu1wVqjy9xAspPPF3Nw2zDbu181rK2kqAIlH9%2FBhOaDMLbn5OrlGaJQLMj%2BpuIE2dP7QIw7ZhBe3qs%2FDun1BDKLlFpkT02jlq4Jj3ngiY9hdHoO9f95euFSfSlyP4GDhDY229Oreg%3D%3D&connectionToken=Sl6E4ZKS%2B39Epn%2FNLhbvwVx8HgKLsYWTr%2FwHQnjnu4TOASjZ85iLlJMcE%2F%2BdBwkX9HpmIjDstftwDyRLeR4KA4AHkfCVnd4a9etvYCabgpzzvQKp%2FxZKK5euBP2%2F7vny&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D">http://dev0.bcnyintl.com/signalr/poll?t ... b%22%7D%5D</a> application/x-www-form-urlencoded; charset=UTF-8 74 INFO 2017-04-29 13:50:50,035 [42 ] entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. INFO 2017-04-29 13:50:50,035 [42 ] entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. DEBUG 2017-04-29 13:50:50,035 [42 ] NetCore.StaticFiles.StaticFileMiddleware - POST requests are not supported

    Here is the 405 error from client side:

    Name Protocol Method Result Content type Received Time Initiator <a class="postlink" href="http://dev0.bcnyintl.com/api/services/app/OrganizationUnit/UpdateOrganizationUnit">http://dev0.bcnyintl.com/api/services/a ... zationUnit</a> HTTP PUT 405 text/html 1.26 KB 101.54 ms XMLHttpRequest

  • User Avatar
    0
    fguo created

    I also took hours to search on forum, but no clue. I read the link as on your post, viewtopic.php?f=5&t=5476&p=13813&hilit=POST+requests+are+not+supported#p13813. You suggest to update to System.Net.Http 4.3.1 ? I am not sure how to do it. Can you give me a more detail steps?

    As the original post stated, it seems not a solution. He said he added Nuget dependency to System.Net.Http 4.3.1 explicitly in .Application, .Core and .Web.Core projects, but he got same error after run the site once and click New Tenant or Login.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    Updating a record makes a PUT request to server and I think PUT requests are not enabled on your server. Disabling WebDav in IIS should solve your problem. See below screenshot for that.

  • User Avatar
    0
    fguo created

    The WebDav is installed in my IIS, but it is not enabled. Anyway, I uninstalled it from server, through powershell command: uninstall-windowsfeature -name web-dav-publishing. It works now! :D

    Thank you very much!