Visual Studio: COMException Opening Project File

I am using VS 2008. When I opened the C # project file created by another developer, I received a System.Runtime.InteropServices.COMException. I searched the website and found that the solution is to comment on the ProjectExtensions section of the project file. I did it and everything was fine. But, looking through the commented code, I do not understand what might cause this. Does anyone know why this could happen on my local machine? I have IIS 7 installed and working correctly.

  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>True</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>62088</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost/</IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
+3
source share
3 answers

Ok, I found the reason (s):

  • I did not run VS 08 as an administrator.
  • , localhost, Solution? IISUrl localhost/sitename
+5

.

  • , , - - project_file_name.vbproj.
  • ProjectExtensions.
  • .
  • " ".

, .

+9

XP , " " " ": > " Windows":

Internet Information Services Manager
Background Intelligent Transfer Services (BITS) Server Extensions
Common Files
World Wide Web Service

( Credit )

+2
source

Source: https://habr.com/ru/post/1721236/


All Articles