locked
Error Publishing to IIS RRS feed

  • Question

  • User1557556235 posted

    Dear all i am getting this error message when i try to publish my web site to IIS . It fails to publish 

    Error 3 The "GetProjectProperties" task failed unexpectedly.
    System.FormatException: String was not recognized as a valid Boolean.
    at System.Boolean.Parse(String value)
    at Microsoft.Web.Publishing.Tasks.GetProjectProperties.Execute()
    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() 0 0 PerfAttribution

    any idea what this error means or how could i fix it . 

    Wednesday, May 13, 2015 5:12 AM

Answers

  • User1557556235 posted

    Hi 

    After workaround with my CSProj file  i found following UsIIS was set to be false i just changed it to true and it worked .

    <WebProjectProperties>
    <UseIIS>fales</UseIIS>
    <AutoAssignPort>True</AutoAssignPort>
    <DevelopmentServerPort>57510</DevelopmentServerPort>
    <DevelopmentServerVPath>/</DevelopmentServerVPath>
    <IISUrl>http://localhost:57510/</IISUrl>
    <NTLMAuthentication>False</NTLMAuthentication>
    <UseCustomServer>False</UseCustomServer>
    <CustomServerUrl>
    </CustomServerUrl>
    <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
    </WebProjectProperties>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 14, 2015 3:48 AM

All replies

  • User-166373564 posted

    HI,

    Welcome to asp.net forum.

    Error 3 The "GetProjectProperties" task failed unexpectedly.
    System.FormatException: String was not recognized as a valid Boolean.

    I can hardly give precise troubleshooting according to the error message above, first you need make sure your asp.net application works fine before you deploy it to IIS. For this issue, I’d like to suggest you to enable the failed Request Tracing in IIS, this will give us some hint on why a request has failed, and check log files in C:\inetpub\logs\FailedReqLogFiles.

    Please let me know if there is anything that I can do to help.

    Best regards,

    Angie

    Thursday, May 14, 2015 1:44 AM
  • User1557556235 posted

    Hi 

    After workaround with my CSProj file  i found following UsIIS was set to be false i just changed it to true and it worked .

    <WebProjectProperties>
    <UseIIS>fales</UseIIS>
    <AutoAssignPort>True</AutoAssignPort>
    <DevelopmentServerPort>57510</DevelopmentServerPort>
    <DevelopmentServerVPath>/</DevelopmentServerVPath>
    <IISUrl>http://localhost:57510/</IISUrl>
    <NTLMAuthentication>False</NTLMAuthentication>
    <UseCustomServer>False</UseCustomServer>
    <CustomServerUrl>
    </CustomServerUrl>
    <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
    </WebProjectProperties>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 14, 2015 3:48 AM