Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a SharePoint 2010 site deployed using Visual Studio 2010. An application page on the site contains an ascx control that includes a FileUpload control. When I am attached to the W3WP process and hit the FileUpload control, the button, and the OnClick event fires the debugger stops and returns me back to Visual Studio 2010. Any thoughts as to why this might be occurring?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I would check the ULS logs. Located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\logs I use this ULS viewer http://sharepointlogviewer.codeplex.com/

Other possibility may be the latest code is not in the GAC. Redeploy

And sometimes I have had it where the attach to debugger just stops working and I have had to use F5 and wait for it to deploy

share|improve this answer
    
The issue seems to have resolved itself. I am still not sure why it was broke. Thanks for the tip about the ULS viewer. –  JDM Apr 26 '11 at 13:56
    
Worth checking that the file size wasn't exceeding the farm max for upload. That might terminate the connection at IIS level if exceeded. –  Wes Hackett Apr 27 '11 at 8:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.