all groups > visual studio .net general > january 2006 >
You're in the

visual studio .net general

group:

Performance Wizard


Performance Wizard preport
1/31/2006 5:47:23 PM
visual studio .net general: Has anyone had any problems with the performance wizard in Team System?

In the start options for my website I have the "Use custom server" selected,
so that I can point it to http://localhost:8081/ and debugging works fine.
But when I select Tools/Peformance Tools/Performance Wizard it seems to run
fine, although when I click on the launch button I get an error that says:

http://localhost:8081/ doesn't map to a valid local website. But it does,
debugging works fine. I don't have a problem if I take out my start option,
but then my website doesn't work because I have everything mapped to the
"root". Thats why I use http://locahost:8081/ so that I don't get the sub
directory....

Hopefull you half way understand.

Any suggestions?

RE: Performance Wizard v-kevy NO[at]SPAM online.microsoft.com
2/1/2006 12:00:00 AM
Hi preport,

Do you mean that you're debugging on another web server on your local
machine, and the performance wizard cannot do performance test on that
server?

So can you do performance wizard on a subsite of that root? Also, can you
do the performance wizard on the default site root?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
RE: Performance Wizard PrePort
2/1/2006 10:02:46 AM
I've setup my site via the following post by ScottGu:
http://weblogs.asp.net/scottgu/archive/2005/11/21/431138.aspx

So, under the startup options I chose "Use custom server" and the Base URL
is http://localhost:8081/

When I click on the launch button in the Performance Explorer, it says that
the URL doesn't map to a valid local website. But I know that it is running
because I can see it fine if I paste the url in IE.

If I "undo" everything in the post (so I'm using the default Web server) it
works fine, but my site is all messed up because the URL is different now.
All the pointers to my css and js files are "/js/myjsfile.js" and
"/css/mycssfile.css", because if I use the default web server, the url is
know "http://localhost:randomport/SubDirectory/"

Hopefully that makes sence.
RE: Performance Wizard v-kevy NO[at]SPAM online.microsoft.com
2/2/2006 12:00:00 AM
Hi,

Thanks for your clarify. Based on my research, mapping the site to root
like this is only a workaround. However, the performance test doesn't
support launching like this. So the workaround to this issue, is to copy
the project to IIS and create a new performance test that tests the app on
IIS. Sorry for the inconvenience.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Re: Performance Wizard PrePort
2/2/2006 9:34:59 AM
Well...hopefully this is the correct group for this problem then.
I can't start the "w3svc"

From my command prompt:
----------------------------------------------
C:\Program Files\Microsoft Visual Studio 8\VC>net start w3svc
The World Wide Web Publishing service is starting.
The World Wide Web Publishing service could not be started.

A system error has occurred.

System error 87 has occurred.

The parameter is incorrect.
----------------------------------------------

If I click the play button from IIS it says "The service did not respond to
the start or control request in a timely fashion."

Again from the command prompt:
----------------------------------------------
C:\Program Files\Microsoft Visual Studio 8\VC>iisreset

Attempting stop...
Internet services successfully stopped
Attempting start...
Restart attempt failed.
IIS Admin Service is disabled
----------------------------------------------

The IIS Admin service is running in the Services list.

I have seen this problem posted on the net, but nobody has come up with a
solution. All I have seen are hints to "try uninstalling iis and installing
it". I did. same problem.
Any suggestions?



Re: Performance Wizard PrePort
2/2/2006 2:27:03 PM
Fixed....

What I did was delete the Registry Key:
LocalMachine/Software/Microsoft/RPC/Internet
The Internet key had one value...I forgot what it was, it was a string and
all the listings I found online said it was suppose to be a DWORD...so I
just deleted the damn thing (the entire Internet key)

After that I rebooted and everything was fine.

Try this at your own risk.

Re: Performance Wizard v-kevy NO[at]SPAM online.microsoft.com
2/3/2006 12:00:00 AM
Nice to hear that you have had the problem resolved.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
AddThis Social Bookmark Button