Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# jms 7/26/2006 4:12 PM
Hello,

I would like to use an application in the same domain where Cuyahoga is used. This application is stored in a directory created manually and should be accessed over mydomain.com/directory/index.aspx

The problem is that Cuyahoga does not find this node and displays the following error message:
No node found with the following parameters: NodeId: , ShortDescription: OpenEye/a, SectionId:

Any ideas on how to access applications (a forum for example) or aspx pages that reside in the file system and aren't nodes in Cuyahoga?
What about applications or aspx pages in sub-domains?

I hope that this post fits in the "General" Forum category.
Many thanks for your help and have a nice day.

Joel
# dagda1 7/27/2006 11:38 AM
Hi,

If you want your .aspx page not to be re-directed to Default.aspx then add the page to the UrlMappings element and have replace value of an empty string.

If you want dependency injection then make sure your page inherits from CuyahogaPage.

Paul
# jms 7/27/2006 3:46 PM
Hello Paul,

thank you for your feedback! Unfortunatelly I could not make it work properly.

I created a simple /b.aspx page and added the following entry in the w e b . c o n f i g < U r l M a p p i n g s > section:

(please ignore the blank spaces between the characters. It was the only way to post the message)
< a d d   m a t c h = " / b . a s p x "   r e p l a c e = " "   / > 
(I tried as well with b.aspx instead of /b.aspx)

and still received the error message:
No node found with the following parameters: NodeId: , ShortDescription: b, SectionId


I have also tried your suggestion for a directory with several sub-directories and aspx files:
< a d d   m a t c h = " \ / m y n e w d i r \ / "   r e p l a c e = " "  />

and again no luck.

Basically, what I wish is to have other applications running in the same domain independently of Cuyahoga. For that I would just need to create a directory and put the needed files inside and use the application.
All this beause I added web tracking code to the UI\PageEngine.cs to monitor visitors and I would like to access the statistics that this web tracking solution provides.

Thanks once again,
Joel
# martijnb 7/27/2006 4:18 PM
Two possible solutions:

1. In your custom ASP.NET application, remove the httphandler for Cuyahoga (from my head, check the exact syntax):
&lt;httpHandlers&gt;
      &lt;remove verb="*" path="*.aspx" type="Cuyahoga.Web.Handlers.PageHandler, Cuyahoga.Web" /&gt;
&lt;/httpHandlers&gt;
Only problem here is that the custom application needs a reference to Cuyahoga.Web.

2. Put Cuyahoga and your app in their own virtual directory so their configurations won't conflict. This means moving Cuyahoga from the root and you'll need some redirect script at the root.