Visual Studio Debug Mode

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sloDavid
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 92
Joined: Thu Feb 25, 2010 12:34 pm

Visual Studio Debug Mode

Post by sloDavid » Tue May 31, 2011 6:26 pm

My developer-license copy is on a server (so that client and staff can view/test), but I need to debug through Visual Studio. I can't tell if my problems are caused by dev license issues or VS2010 issues.

When I try to run the site (7.0.6) through Visual Studio's debugger (we programmed a custom report), we get a Policy Exception on Microsoft.Web.Services3: "Required permissions cannot be acquired." The Network Service acct has permissions, and I've changed the Identity of my "Default Web Site's" Application Pool from "ApplicationPoolIdentity" to "NetworkService", but still no dice. Of course, this may all be irrelevant anyway if I'm going to have dev license issues regardless.

Ideas? Has anyone successfully done this? I will be REALLY bummed if the only solution is either tracing or trying to figure out Visual Studio's remote debugger.

User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Re: Visual Studio Debug Mode

Post by triplw » Wed Jun 01, 2011 12:14 pm

Did you try navigating to the ac install folder using windows explorer, then right click > properties > security > check full access ?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Visual Studio Debug Mode

Post by jmestep » Thu Jun 02, 2011 5:27 am

I usually do most of my development on a local site for this reason- debug problems. If I can't do that, then I put logger.debug statements in the code on the remote site and it writes messages to the App.log file in the App_Data/Logs folder. No fun that way, but sometimes it can't be helped.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Visual Studio Debug Mode

Post by mazhar » Sat Jun 04, 2011 5:52 am

You can also enable web trace to log your custom debug messages and stuff.

Post Reply