Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

VS2017 IISExpress Debug failes to start #4275


User avatar
0
rafalpiotrowski created

Host/Mvc/Public all of them failes to start in debug mode under IISExpress

Any idea why? This happens after upgrading to latest version!


9 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    What's the error?

  • User Avatar
    0
    rafalpiotrowski created

    It does not show any errors

    Sometimes it quits and retuns to normal view, sometimes it hangs on Chrome showing that the applications is starting...

    I am doing VS Repair to see if this helps.

  • User Avatar
    0
    aaron created
    Support Team

    Try waiting.

  • User Avatar
    0
    rafalpiotrowski created

    Tried! did not solve the problem!!!

    other Web project starts in debugging!

  • User Avatar
    0
    rafalpiotrowski created

    What is this?

    FATAL 2017-12-04 12:49:12,015 [3    ] oCore.Licensing.AspNetZeroLicenseChecker - Failed to validate project name. Should not rename a project downloaded from aspnetzero.com. You can contact to [email protected] if you are using a licensed product.
    StartIndex cannot be less than zero.
    Parameter name: startIndex
    System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex
       at System.String.Substring(Int32 startIndex, Int32 length)
       at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.INCPSWyI6EpS0p68KV(Object , Int32 , Int32 )
       at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.GetHashedProjectName()
       at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.IsProjectNameValid()
       at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.<CheckInternal>d__9.MoveNext()
    
  • User Avatar
    0
    aaron created
    Support Team

    Did you rename your project? If you did not, you can download a fresh project from aspnetzero.com and it will build correctly.

  • User Avatar
    0
    rafalpiotrowski created

    I use github to download source code and merge with my local changes

    How can I get the license key?

  • User Avatar
    0
    aaron created
    Support Team

    That's not how it works :)

    Just download a fresh project from aspnetzero.com and it will build correctly.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rafalpiotrowski,

    You can download a new project using your existing project name as @aaron suggested. Then you can take the newly generated license code in downloded project's appsettings.json and use it in your existing application.