I have the same problem just like Luk has. Sitefinity does not accept my classic user authentication ticket. My authentication code block is below.
Interesting point is that i have no problem when i created the secure folders and pages physically. I created a "member" folder. Then myprofile.aspx without sitefinity "pages" module. I created them physically. I saw that form authentication can work correctly.
Then i delete this file and folder. And started to create "member" folder(as a page group) , and "myprofile page" in "members" page group (as a page, with denying anonymous access) .. After this i got the error message below. What should i do to make sitefinity accept my authenticationticket ? What should be the reason for this ?
role = "spacer";
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, space.ID.ToString(), DateTime.Now,
DateTime.Now.AddMinutes(30), false, role, FormsAuthentication.FormsCookiePath);
// Encrypt the cookie using the machine key for secure transport
string hash = FormsAuthentication.Encrypt(ticket);
// Name of auth cookie
// Hashed ticket
HttpCookie cookie = new HttpCookie(FormsAuthentication.FormsCookieName, hash);
// Set the cookie's expiration time to the tickets expiration time
if (ticket.IsPersistent) cookie.Expires = ticket.Expiration;
// Add the cookie to the list for outgoing response
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.aspx' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
This type of page is not served.
Requested URL: /myApplication/sitefinity/cmsentrypoint.aspx