Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 19:48
    Jose Malone
    0

    UrlRewritingNet.UrlRewriter error after upgrade to 4.0.2.1

    Finally upgraded my site to 4.0.2.1 from 3.0.6(?). I copied over the files folder by folder so I wouldn't blow out the templates or media files. I had to re-give Network Services full control on the usual folders. Ran the installer with sucess and can login to the admin area, but the public site has an configuration error saying: "Parser Error Message: Could not load file or assembly 'UrlRewriting.UrlRewriter' or one of its dependencies." Points to the line in the web.config file mentioning the URL REWRITER.

    I never touched that line. The file exist in the bin folder. I've check permissions and everything looks fine. Not sure what else to do?

    Any hints?

    Thank you.

    Jose

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jul 08, 2009 @ 20:18
    Peter Dijksterhuis
    0

    When upgrading, did you also overwrite the web.config with the one from the latest version?

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 20:33
    Jose Malone
    0

    Yes. I did. I read somewhere I should do that.

     

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 20:39
    Jose Malone
    0

    I should note, I wrote over almost every file or folder. except xslt, or media where it'd delete my site info.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jul 08, 2009 @ 20:57
    Peter Dijksterhuis
    0

    Ok, that's good then :)

    Do you have a UrlRewritingNet.UrlRewriter.dll in your bin folder?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jul 08, 2009 @ 20:58
    Peter Dijksterhuis
    0

    Oh, and a UrlRewriting.config in the config-folder?

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 21:08
    Jose Malone
    0

    Yup and Yup.

    I'll reapply the permissions, but its weird that the admin site works great, but it's the public side that doesn't. I guess none of the admin features use any of the bin or config files? You'd think I'd see permission errors there too?

    Jose

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jul 08, 2009 @ 21:22
    Peter Dijksterhuis
    0

    Only thing I can think of is the version of the dll.....wouldn't hurt to overwrite it with the one from version 4

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 21:52
    Jose Malone
    0

    I've copied over everything that was there again, folder by folder. Same result.

    Just to loop back. This is running on a Windows Server 2003, SQL 2005, .NET 2.0. and ran fine with 3.0.6.

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 23:29
    Jose Malone
    0

    OK. I got live site to come up. I guess there were some conflicting sites created in the Default Web Site. I deleted them and it came up! Yeah. But then realized....

    1) My breadcrumb macro isn't working and

    2) None of the Flat URLs are working. I don't even see them in the link to document under properties.

    Thank you for spoon feeding me here.

    Jose

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jul 08, 2009 @ 23:37
    Douglas Robar
    100

    Whenever upgrading a site I find it a good idea to delete the /data/umbraco.config file. This file will be re-created when the application pool starts so no worries in that regard.

    If that doesn't fix the bread-crumb and link issue, re-publish each of your first-level nodes, along with all the children. That'll force umbraco to re-calculate all the urls.

    cheers,
    doug.

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 23:44
    Jose Malone
    0

    Yes! Success! OK. I'm going to breath a bit easier now.

    Thank you Doug for puting this over the top, and Peter for keeping me going.

    Alrightly, now I can start playing around!

    Jose

     

     

  • Jose Malone 121 posts 58 karma points
    Jul 08, 2009 @ 23:44
    Jose Malone
    0

    Yes! Success! OK. I'm going to breath a bit easier now.

    Thank you Doug for puting this over the top, and Peter for keeping me going.

    Alrightly, now I can start playing around!

    Jose

     

     

Please Sign in or register to post replies

Write your reply to:

Draft