I have a question about ASP.NET and running test web sites locally.I have written two asp.net web sites for testing purposes. One works and the other one fails. The one that fails does not give any useful diagnostic information.

Can you tell me how these id’s are generated that are alongside the localhost: url?

Mittineague
—
2013-07-16T18:22:21Z —
#2

Are you sure those are IDs and not port numbers?

wwb_99
—
2013-07-16T19:54:49Z —
#3

They are port numbers, and they are randomly generated. In any case, install and use IIS express -- the built-in web server is a holdover from a bygone era.

cpradio
—
2013-07-16T22:44:37Z —
#4

I need to look it up, but I think if you right click on the web project, go to the Web section, you might be able to set the port number (in case you need a specific port number).

You can also tell it to use IIS instead of the Cassini web server

wwb_99
—
2013-07-17T19:20:16Z —
#5

Yup, that would be the proper place to tweak that.

NightStalker
—
2013-07-18T04:47:37Z —
#6

cpradio said:

I need to look it up, but I think if you right click on the web project, go to the Web section, you might be able to set the port number (in case you need a specific port number).

You can also tell it to use IIS instead of the Cassini web server

Yes, you can. But you must be running VS as an administrator in order for it to be able to edit the IIS metabase