Base solution for your next web application
Open Closed

System.FormatException #424


User avatar
0
chi created

After downloading, changing connection string and running Update Database command I tried running the website using Visual Studio 2015 and I have the following error..


4 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    It's strange. AbpSession.UserId gets a long type value from the cookie. Somehow your cookie contains a non-numeric value. Probably you did run another application on the same http port.

    You can logout from the application to clear it:

    <a class="postlink" href="http://localhost:6234/Account/Logout">http://localhost:6234/Account/Logout</a>

    Then login again, it should work.

    Have a nice day.

  • User Avatar
    0
    sysberries created

    Experiencing the same issue. Can't execute logout, same error especially in chrome. Hope you will consider this case (Format Exception) in next build.

  • User Avatar
    0
    chi created

    Thanks .. It worked...

  • User Avatar
    0
    hikalkan created
    Support Team

    @sysberries,

    I could not repeat the problem. Do you still have the problem? Can you try to change Web project's port to a different one?

    Thanks.