I'm guessing I missed some very obvious step in the documentation, but I can't find it anywhere... I've installed Cuyahoga, logged into the Admin page, customized the config and added a few nodes. Unfortunately I can only get to the main page (
http://localhost/Cuyahoga/). When I click on any of the child nodes (even the ones created by default) I just get a 404 error. I created an additional site and added a few nodes to that, but that site gives me all 404 errors. It seems like there's some dll that might not be working that translates the calls to pages...? When I click on the links for the pages that are returning 404 errors, there's absolutely no delay, it just goes right to the error...
Any idea what I might be missing here?
Thanks for helping a noob out!
eddie
For some reason the URL rewriter doesn't seem to work. Maybe, your IIS configuration needs the .aspx files to exist physically? (Virtual directory -> Properties -> Configuration -> Mappings -> .aspx extension -> Check that file exists must be turned off).
I checked and it wasn't turned off. So I un-checked that box, restarted IIS and it still returns a 404 error on any page I try. For example, my main site is at:
http://localhost/Cuyahoga. My other site is at
http://localhost/DevWiki. When I try to go to the second site I get a 404 error. When I try to go to any page in my main site other than the home page or Admin, I get a 404 error. Like I said, I did restart IIS, so I'm not sure what else to do at this point...? Anything else I can try?
Thanks for the help!
eddie
Hmmm... Nothing else I can try?
Well, I was hoping to use Cuyahoga, but if it won't work for me, does anyone have any suggestions for other .net based wikis?
Thanks!
eddie
Eddie
What happens if you turn off "Use friendly url's" in the site edit page?
Simon
Hi Simon,
Still get 404 errors even if I turn off friendly urls for the site. The only site I can use is the Cuyahoga site that IIS knows about already. If I try to create any other sites it chokes. I can get to all of the virtual pages in the main Cuyahoga site, so at least I can get that working. That should work for me for the time being. Hopefully I'll get this resolved in the next few weeks...
A few more quick questions though:
1. Where is the setting to change the name and tagline at the top of the page? (Cuyahoga - A .NET Web Site Framework) Is that hard-coded in? I can't find it anywhere...
2. Is it relatively simple to change the template for a site? I'll need to create a custom template for us to use in-house...
3. Anyone working on modules for FAQs (question/answer/category/url) and Links (title/description/url)?
Thanks for the help!
eddie
Eddie
Are you saying that the original site works, but new sites don't work? Could it be that the site url defined in the 'edit site' page is for a URL that doesn't exist or hasn't been configured?
The tagline you see in a page is part of the standard template. Creating templates is very easy. You just need to create an ASP.NET ascx file containing the HTML for your layout. The file must have a form element with
<form runat="server">
and blocks of
<asp:placeholder runat="server" id="some_name" />
where you wish content to be added. Our web site
http://www.igentics.com runs on Cuyahoga (with a few tweaks for the menu CSS) with very little evidence it is Cuyahoga, or even a CMS site.
There isn't an FAQ module, but you could try using the Article module instead. I'm not sure what you mean by a Links module.
Many thanks
Simon
Yes, the original site works, new sites do not. When you say "configured", are you referring to configuring the new site in IIS as a virtual directory? I've definitely only configured IIS for the original Cuyahoga site. I didn't know you were supposed to do that for each new site... Are there instructions somewhere explaining that process?
I'll definitely take a crack at creating our own templates. Thanks for the info on that. I may try creating my own modules for FAQs and Links as well. Unfortunately the documentation for creating modules only covers VS 2003, and I'm working in VS 2005. But I think I can figure out how to do it... FOr Links I just want users to be able to add Links using a Title, Description, Url (and maybe a Category) and then I can display them in different ways...
Thanks again for the help Simon - I REALLY appreciate it!!
eddie
Eddie
diggityDawgWhen you say "configured", are you referring to configuring the new site in IIS as a virtual directory? I've definitely only configured IIS for the original Cuyahoga site.
When you install Cuyahoga you will have a single web site with a single base URL for the site. On my computer I have
http://localhost/cuyahoga15 for the main site. If you have another site, say at
http://localhost/anothersite, IIS must be able to access a real default.aspx from that URL. IIS must be told where to find that file. You can set up another virtual directory called anothersite from IIS' default web site and point it to exactly the same file system directory as your other virtual directory.
diggityDawgFor Links I just want users to be able to add Links using a Title, Description, Url (and maybe a Category) and then I can display them in different ways...
For the links bit, you might be better off creating a Node/Page for each of the 'links' and using the custom menu feature found in the home page. There you can select a collection of pages and insert them into a placeholder as a consistent <li> - rendered list of hyperlinks. No point reinventing the wheel if you can avoid it.
For VS2005, you may have to install SP1 to make the modules work at all. They really broke web development when they brought out VS2005.
Many thanks
Simon
Thanks again for the great advice, it's exactly what I needed. I will give that custom menu bit a try and see if it works for my purposes. These are basically links off the site, to articles or resources for the development team.
I do have SP1 installed for VS 2005, so hopefully that'll do the trick.
Thanks again!
eddie
swilliamWhen you install Cuyahoga you will have a single web site with a single base URL for the site. On my computer I have http://localhost/cuyahoga15 for the main site. If you have another site, say at http://localhost/anothersite, IIS must be able to access a real default.aspx from that URL. IIS must be told where to find that file. You can set up another virtual directory called anothersite from IIS' default web site and point it to exactly the same file system directory as your other virtual directory.
Well, still not quite working... I did set up the new virtual directory in IIS, and I can get to the main page for the site, but I still get a 404 on any child pages. So, for example, I have a new site I created here:
http://localhost/DevWiki. I set up DevWiki as a virtual directory and pointed it to the same folder that I'm using for the original (default) Cuyahoga site. I can get to this url:
http://localhost/DevWiki/default.aspx. But if I try to get to any child pages in that site, like
http://localhost/DevWiki/home.aspx, or
http://localhost/DevWiki/home/faqs.aspx, I get a 404. I tried turning off friendly urls, but that didn't work either. What am I missing here??
Thanks again,
eddie
diggityDawgBut if I try to get to any child pages in that site, like http://localhost/DevWiki/home.aspx, or http://localhost/DevWiki/home/faqs.aspx, I get a 404. I tried turning off friendly urls, but that didn't work either. What am I missing here??
Are those 404 error pages IIS 404 pages or ASP.NET 404 pages? Or could you post a screenshot?
My bad, I had to turn off "Verify page exists" checkbox for the new virtual directory and everything worked fine.
Thanks again for the help - eddie
Pfew, glad you solved it. I was already starting to worry.
Now good luck with the rest!