Avatar of Isaac
IsaacFlag for United States of America

asked on 

Debug in SharePoint

I am trying to debug my sharepoint application but I keep getting the error you see below.  I am using SharePoint 2007 on windows server 2008. User generated image
I do notice that when I attach to the process, the User Name says "NETWORK SERVICE".

Is that right?  Shouldnt be some type of sharepoint service account?
Microsoft SharePoint.NET ProgrammingASP.NET

Avatar of undefined
Last Comment
game-master
Avatar of game-master
game-master
Flag of Philippines image


who's account log on the local machine?

have you tried to check the "Show proccess from all users" on the attach to proccess window?
Avatar of GeorgeGergues
GeorgeGergues

before starting Visual Studio

Right click the Icon of VS and select Run as Administrator .
then open your project
then attach to the applicationpool process.


best  of luck.
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

Yes, I've done all this but it's to no avail.
Avatar of GeorgeGergues
GeorgeGergues

if this is a 2008 R2

Have you tried to turn off user account control

go to control panel - user accounts - turn off user account control.


that will require a reboot
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

user account control is already off.
ASKER CERTIFIED SOLUTION
Avatar of game-master
game-master
Flag of Philippines image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

Thanks Game-master!
It seems that there is a policy blockin the debug to work.
Avatar of game-master
game-master
Flag of Philippines image



Good Morning!

I'm glad I could give some idea..
Thanks for the points.


Best Regards,
game-master
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo