Hi, I'm working with umbraco for 2 months now so I'm a newbie.
I have a user control which is not working correctly so I'm trying to debug the usercontrol. I searched the forum and tried what was told by you guys but the interesting is that,when I try to attach to process, I can't see w3wp.exe file on the list. I checked both of the checkboxes below but nothing changed.
ps. operating system is Win7 and I use IIS7
Any help would be appreciated because I'm stuck in the middle of this control and I can't find the problem cuz I can't set up debugging :(
Before attaching to the process, you have to have an instance of your site running already. Fire up your favorite browser and then go to attach to the process. You should be able to see the process then.
If you still can't see it, you may want to reset IIS to see if you can see it then.
w3wp.exe is owned by system users, well most specifically the user who owns the app pool. Generally speaking this wont be your windows account user, but something like DefaultAppPool or Network Service.
As others have said you have to choose 'show processes in all sessions' and you'll also have to run VS as an admin to debug against that process.
Also it's assuming your not using Cassini or IIS Express ;)
Do you have an host name entry in your hosts file that allows you to run your site locally? Do you have a site configured in IIS that is bound to this host name?
Thanks for the replies..I'm not using Cassini or IIS Express..As I've said,even though i checked the "Show processes in all sessions" and "Show processes from all users" checkboxes,I still can't see the file.
--My project is open on VS,an it's on admin mode of course.
--The site is also open on ie and
--I have site in IIS but I don't know whether it's configured to bound to a host name or how to do it (I don't know so much about IIS,I think that's why I'm stuck with this problem) When I created the website on IIS,I didn't fill out the hostname cuz the domain has a site already. When I finish developing the website with umbraco,we're gonna replace the old version with it. Could this be the problem I wonder..
Yo guys are really helpful,so I'm sorry if I can't understand exactly what you said.
I'll try and ask help from a coworker for the IIS settings. Let's see what will happen then...
I think you also need to run VS "As Administrator". Is
this the case? Otherwize, you have to start VS by right-clicking on it
and select "Run As Administrator".
Hope this helps...
Cheers,
Michael.
WOOOPS sorry, I read your last post too quick and missed the fact you were indeed in admin mode :-S
w3wp.exe doesn't show up ?
Hi, I'm working with umbraco for 2 months now so I'm a newbie.
I have a user control which is not working correctly so I'm trying to debug the usercontrol. I searched the forum and tried what was told by you guys but the interesting is that,when I try to attach to process, I can't see w3wp.exe file on the list. I checked both of the checkboxes below but nothing changed.
ps. operating system is Win7 and I use IIS7
Any help would be appreciated because I'm stuck in the middle of this control and I can't find the problem cuz I can't set up debugging :(
Before attaching to the process, you have to have an instance of your site running already. Fire up your favorite browser and then go to attach to the process. You should be able to see the process then.
If you still can't see it, you may want to reset IIS to see if you can see it then.
-Craig
Try checking the "Show processes in all sessions" checkbox at the bottom - I have to check that for mine to show up
w3wp.exe is owned by system users, well most specifically the user who owns the app pool. Generally speaking this wont be your windows account user, but something like DefaultAppPool or Network Service.
As others have said you have to choose 'show processes in all sessions' and you'll also have to run VS as an admin to debug against that process.
Also it's assuming your not using Cassini or IIS Express ;)
Slace brings up a good point.
Do you have an host name entry in your hosts file that allows you to run your site locally? Do you have a site configured in IIS that is bound to this host name?
-Craig
Thanks for the replies..I'm not using Cassini or IIS Express..As I've said,even though i checked the "Show processes in all sessions" and "Show processes from all users" checkboxes,I still can't see the file.
--My project is open on VS,an it's on admin mode of course.
--The site is also open on ie and
--I have site in IIS but I don't know whether it's configured to bound to a host name or how to do it (I don't know so much about IIS,I think that's why I'm stuck with this problem) When I created the website on IIS,I didn't fill out the hostname cuz the domain has a site already. When I finish developing the website with umbraco,we're gonna replace the old version with it. Could this be the problem I wonder..
Yo guys are really helpful,so I'm sorry if I can't understand exactly what you said.
I'll try and ask help from a coworker for the IIS settings. Let's see what will happen then...
Hello,
I think you also need to run VS "As Administrator". Is this the case? Otherwize, you have to start VS by right-clicking on it and select "Run As Administrator".
Hope this helps...
Cheers,
Michael.
WOOOPS sorry, I read your last post too quick and missed the fact you were indeed in admin mode :-S
Hi Mike, no problem indeed. I still couldn't solve the problem,thanks for the reply though ;)
i have the same problem
i use, windows vista and vs2008
any idea?
is working on a reply...