Ticket Q375552
Visible to All Users
Duplicate

Solution from B222208 for VB.NET

created 12 years ago

Hi Dennis,
I implemented the solution that you send me in a new little project that i'm sending you now. In runtime i loaded 3 clients and 3 countries and i published the solution in the IIS.
When i tried to access to an especific object whith the folowing URL : "http://localhost/TestHttpHandler/Login.aspx?Request=default.aspx#ShortcutViewID=Pais_DetailView&ShortcutObjectKey=3&ShortcutObjectClassName=TestHttpHandler.Module.Pais&Shortcutmode=View" and I´m logged i don´t have problem but when I´m not logged the xaf show me the list of clients, not the object that I defined in the URL.

Sorry by my english, please let me know if is not clear.

Many Thanks.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hello German,
I have found that your project was missing the following code in the Web.config file:

XML
<authorization> <allow users="*" /> </authorization>

Take special note of the removed <deny users="?" /> part.
Refer to the Web - Do not ignore the ReturnUrl value at login screen to allow passing links to XAF Views in applications with security system ticket for more details.

    Comments (2)
    G G
    German P. de Perosanz 12 years ago

      Excellent Dennis.
      Now it’s work perfect.
      Well done.
      Regards

      Dennis Garavsky (DevExpress) 12 years ago

        I am glad to hear of your progress, German.
        Do not hesitate to contact me in case of any further difficulties.
        P.S.
        Once your question has been resolved to your satisfaction, mark the corresponding answer as a Solution. Your question status will immediately become Closed.
        http://devexpress.com/Support/Center/FAQ

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.