tag:blogger.com,1999:blog-2157078164517103759.post3186707049719262575..comments2023-07-31T03:31:57.774-07:00Comments on A Static State: User Control Error In SharePointJason Apergishttp://www.blogger.com/profile/01817509015412502702noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2157078164517103759.post-88543313494574072312012-04-19T06:22:55.388-07:002012-04-19T06:22:55.388-07:00Suresh,
Cannot say for sure as I ran into this ba...Suresh,<br /><br />Cannot say for sure as I ran into this back on SharePoint 2007. This has nothing to do with Visual Studio.<br /><br />JasonJason Apergishttps://www.blogger.com/profile/01817509015412502702noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-63818004478170545252012-04-18T19:44:04.770-07:002012-04-18T19:44:04.770-07:00Jason/Matt ,
I am also currently experiencing the...Jason/Matt ,<br /><br />I am also currently experiencing the same problem for Visual webpart in VS2010. I am using sharepoint empty project template. Is this approach works for sharepoint 2010?<br /><br />Thanks,<br />SureshSureshhttps://www.blogger.com/profile/08053356845511426104noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-61776031222785293682010-05-21T10:40:20.504-07:002010-05-21T10:40:20.504-07:00Well I have to say it took me forever to do that b...Well I have to say it took me forever to do that blog posting on my spare time. Everyone was like it is so easy but everything I read fell short of telling you how to do it. Glad it worked.<br /><br />JasonJason Apergishttps://www.blogger.com/profile/01817509015412502702noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-13435282070576820082010-05-21T10:38:46.234-07:002010-05-21T10:38:46.234-07:00Coincidentally, I was already viewing that blog po...Coincidentally, I was already viewing that blog post. :)<br /><br />And indeed it did help! I noticed that I was missing the "Assembly" tag at the top of the ascx file. Once I added this tag, my webpart began working. I can't believe it was that simple. Moreso, I can't believe no other resource I looked at recently gave me that clue as to what to troubleshoot.<br /><br />Thanks so much for your speedy (and helpful) response!<br /><br />Have a great day!<br />-markMark Attridgehttps://www.blogger.com/profile/06881764571181222950noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-76722049385628121132010-05-21T10:18:02.522-07:002010-05-21T10:18:02.522-07:00Matt,
Well it has been some time since I worked o...Matt,<br /><br />Well it has been some time since I worked on this specifically. I recall that I was having tons of issues trying to embed custom users controls in a sharepoint web part. I eventually get it figured out and wrote this blog - http://www.astaticstate.com/2009/10/embed-and-deploy-user-control-in.html<br /><br />Maybe this will help.<br /><br />JasonJason Apergishttps://www.blogger.com/profile/01817509015412502702noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-22057431795018342672010-05-21T10:12:04.572-07:002010-05-21T10:12:04.572-07:00Jason,
Great article...
I am currently experiencin...Jason,<br />Great article...<br />I am currently experiencing the same exact problems as you outline in your post, but I cannot seem to get things resolved using your suggestions. I tried both your first and second solutions to no avail (and didn't even want to go as far as the third/fourth for obvious reasons).<br /><br />The one main difference that I am noticing with my problem is that when I reference the SharePoint user controls (such as Toolbar.ascx) in the usercontrols folder, I cannot get them to load either.<br /><br />Is there anything else that I should try troubleshooting or tweaking to get me past my issue?<br /><br />I've also got this posted on MSDN (if you want to see the full thread details), but that hasn't helped me much so far... http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/bd2626ae-cdb3-4aa5-b428-c66002ffee87<br /><br />Appreciate the help you can provide... thanks!<br />-markMark Attridgehttps://www.blogger.com/profile/06881764571181222950noreply@blogger.com