[b]今天在单位做了一个有关解析xml测试例子,想在家再完善一下,可就是运行不了,始终报错[/b][img]http://dl.iteye.com/upload/attachment/191573/baa14e18-5d69-3227-b29d-9950a9cd8cee.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/191575/f5a4b5c4-7d4e-3877-9a09-eb906aa017e6.jpg[/img]
[b]但是在iis中运行正常,想来是不是端口的问题,一试便知……[/b]
[b]第一步:在项目上单击,F4调出属性窗口[/b]
[img]http://dl.iteye.com/upload/attachment/191577/0a55d44e-2130-3650-9ff0-742fed72e17d.png[/img]
[b]第二步:设置端口为不是动态[/b]
[img]http://dl.iteye.com/upload/attachment/191581/3ae55751-781e-3e11-8865-d1264ba5767c.jpg[/img]
[b]第三步:随意输入一个端口即可[/b]
[img]http://dl.iteye.com/upload/attachment/191583/e1488774-f1aa-3ac3-a2e9-f22d0e66cdbf.png[/img]
[b]运行程序,一切OK[/b]
[img]http://dl.iteye.com/upload/attachment/191575/f5a4b5c4-7d4e-3877-9a09-eb906aa017e6.jpg[/img]
[b]但是在iis中运行正常,想来是不是端口的问题,一试便知……[/b]
[b]第一步:在项目上单击,F4调出属性窗口[/b]
[img]http://dl.iteye.com/upload/attachment/191577/0a55d44e-2130-3650-9ff0-742fed72e17d.png[/img]
[b]第二步:设置端口为不是动态[/b]
[img]http://dl.iteye.com/upload/attachment/191581/3ae55751-781e-3e11-8865-d1264ba5767c.jpg[/img]
[b]第三步:随意输入一个端口即可[/b]
[img]http://dl.iteye.com/upload/attachment/191583/e1488774-f1aa-3ac3-a2e9-f22d0e66cdbf.png[/img]
[b]运行程序,一切OK[/b]