Skip to main content
Home Forums Silverlight Programming Programming with .NET - General compile error
4 replies. Latest Post by oneone on May 14, 2008.
(0)
oneone
Member
15 points
31 Posts
05-12-2008 1:16 AM |
hello every one:
i try to use vs2008 to rebuild http://blogs.msdn.com/swiss_dpe_team/archive/2008/03/17/silverlight-2-beta1-wcf-linq-to-sql-a-powerfull-combination.aspx
but when i compile, it tell me "can not open port 1839, it was used". no matter what i change port, still not working >"<
pls someone help me, thx.
Allen Ch...
Star
13873 points
1,803 Posts
05-13-2008 11:06 PM |
Hi:
I cannot reproduce this problem. Do you mean even if you change another port it's still complaining "can not open port 1839"? To change the port, right select the Web Application node in solution explorer, select Properties->Web->Change port in "Specific port".
Regards
05-14-2008 1:21 AM |
yes, if i change to 2XXX, it will tell can not open prot 2XXX. if change to 3XXX, the same problem.
so i rebuild a new project( project 1 ), it's working !! ..... i really don't understand why >"<
and the day off, when tomorrow go back, the project 1 is dead ..... --"
i try to rebuild new pfoject( project 2 ), working !! reboot the computer, project 2 dead ......
have any thought ?!
05-14-2008 1:52 AM |
After restarting the computer please check:
>netstat /ano
You can find whether this port is occupied by a process (you can get the PID). Look it up in Task Manager (View->Select Columns->Check PID) to see what's that process.
Anyway I think you can select Auto-assign Port to work it around.
05-14-2008 2:37 AM |
Thanks for your reply !!
The way your teach, i have done. not working.
When i use >netstat, i did't see profect 1 or 2's port. And i select Auto-assign, the same problem.
I also check IIS, trun it off, then restart. ( I don't think is IIS's problem ) no useful.
Now i try to connect another PC's SQL, see what happen.
Thanks.