Strange behaviour!!! Options
ni5ni6
Posted: Friday, December 28, 2007 2:17:39 PM
Rank: Enthusiast

Joined: 12/18/2007
Posts: 34
I had a page node (e.g. Test) under this structure:
Code:

Content
--Home
----en
------Test

and I used to reach it with pointing to this url:
http://localhost/en/test.aspx

Everything worked fine until I changed the name of 'en' node to 'en-US' and tried to reach it with
http://localhost/en-US/test.aspx
I got the error
No node found (http://localhost/default.aspx?umbPage=/test.aspx, '/root/node [@urlName = "test"] | /root/node/node [@urlName = "test"]')

but I could reach it with these 2 urls:
http://localhost/en/test.aspx
http://localhost/en-US.aspx/test.aspx

I've already tried to republish everything again, each node, restart IIS and everything seems well except this tiny issue...

Whats wrong!??
drobar
Posted: Friday, December 28, 2007 4:03:36 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,698
Location: KY, USA
"Republish entire site" and "publish" are not quite the same thing. I suggest you right-click each and every top-level content node (welcome in your example) and select the "publish" menu. Place a checkmark in the "publish all children" box and click OK. Do this for every top-level content node.

Now try your new url with the en-US path.

Also, if you're using hostnames you may need to update the language associated with the hostname. Right-click the content node(s) and select "manage hostnames" if you're using hostnames in umbraco.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
ni5ni6
Posted: Friday, December 28, 2007 4:25:54 PM
Rank: Enthusiast

Joined: 12/18/2007
Posts: 34
yeah yeah.. i've found what was going worng.. it was something with my custom HttpModules, but I dont know what exactely.
I've removed them from umbraco's web.config file and it works great now..
but, I still dont get it how my customized controls work if its not entering that HttpModule code.

Nevermind, I will probably have problems again.. :no:

Thanks Doug!!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.