Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# ByteRot 6/17/2007 12:15 AM
I am having a problem running the source version through VS 2005

If I create a new database, everything runs fine. Creates the site and I can do whatever I want. If I log out, close the browser and restart the website, it errors out on Line 224, PageEngine.cs.

{"No node found with the following parameters: \r\n\t\t\t\t\tNodeId: ,\r\n\t\t\t\t\tShortDescription: Web/Default,\r\n\t\t\t\t\tSectionId: "}

If I delete the database and run it again, everything works until I close the browser and restart the website. Always the same error. Even if I create the sample site and exit and try and come back in.


Installed 1.5

Any help?
# mgaerber 6/17/2007 10:24 AM (edited 6/17/2007 10:25 AM)
You should check what the url in the browser looks like.

When you install the cms running visual studio, you have something like http://localhost/site:8080

When you call the site directly (having defined a virtual directory) the path (and the port) will differ from what you have above.

To make sure it always works, best add an alias to the site (in the cuyahoga site config) so that both urls are defined
# ByteRot 6/17/2007 8:59 PM
Thanks for pointing me the right direction. For some reason the cuyahoga.web project had a /web/ subdirectory in the properties for the startup url. When it is creating a new site, it looks like it bounces to the correct url so everything works. Since my virtual dir was pointing to the web dir already, I did not need that in the startup url.

Thanks for the help.