Reputation: 1059
I has last executed my ASP.NET program yesterday. But when today I again opened to run it, it showed me a Microsoft Visual Studio error that port 1033 is in use.
How can I solve this error? Where should I change to make the port available?
My web.config file is:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="ConStr" connectionString="Data Source=.;Integrated Security=SSPI;Initial catalog=sshopping"/>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5"/>
</system.web>
</configuration>
Please help me to solve this error.
Upvotes: 1
Views: 831
Reputation: 3681
Might be some other service using port 1033
. try setting some other random portno. and follow these steps.
For more Clarity check these links
Upvotes: 1
Reputation: 312
If you are using the Visual Studio Web Development Sever. Go to the properties inside of the project, go to the web tab. There is an option "Auto Assign Port" make sure it is selected. If that doesn't work change it manually by selecting "Specific Port" and setting a port that is not used.
Upvotes: 0