4
Vote

TSWA Error: Unable to create 'WorkItemTimeSheetControl'

description

User feedback (thanks to MHelal).
 
First i need to thank you for your efforts with timesheets add-ons you made it very helpfull for me but i need your help with something, i need to use it from web access and i got this error Error: Unable to create 'WorkItemTimeSheetControl'.

file attachments

comments

LindaNewman wrote Oct 27, 2010 at 2:22 AM

Hi Nick,

I'd like to second MHelal's feedback and say your work is awesome. I too am getting this error, and thought you might like some more detail on it:

"Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.WorkItemFormException: Unable to load custom control manifest for 'WorkItemTimeSheetControl'.
at Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.ControlFactory.GetCustomControlType(String controlName)
at Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.ControlFactory.GetControlType(ControlDefinition controlDefinition)
at Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.ControlFactory.CreateCustomControl(ControlDefinition controlDefinition)
at Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.ControlElement.CreateWorkItemControl()
at Microsoft.TeamFoundation.WebAccess.WorkItemTracking.Controls.ControlElement.BuildWebControl()"

Thanks again for your great work,

LN

wrote Jan 19, 2011 at 8:57 AM

wrote Jan 19, 2011 at 8:59 AM

shadowsinrain wrote Jan 19, 2011 at 8:59 AM

Any solutions ???

wrote Apr 10, 2011 at 1:39 AM

wrote Apr 10, 2011 at 5:20 AM

wrote Apr 16, 2011 at 9:30 AM

Associated with changeset 65887.

nickhoggard wrote Apr 16, 2011 at 9:35 AM

Hi Everyone,

Some good-ish news on this one. I've finally had a chance to put some time into building a TSWA control for the TFS Timesheets. I say good-ish, because it is currently a long way from polished. I'm out of time for this weekend though, so thought I'd share the current state as a part of the 1.0.4 beta release.

Major limiations at the moment:
  • No validators implemented yet
  • Username is detected as the account name, not display name for a user
  • Adding a timesheet entry row causes the work item to save, and ignores any other changes made on the screen
  • No ability to delete timesheet entries (can still be deleted in the windows client)
I'll add these as seperate issues - but in the meantime if anyone does take the time to try this out please let me know of any feedback you may have.

Regards,

Nick

markomeagher wrote May 24, 2011 at 3:08 PM

Hi Nick,

Great work on this control, the plug in to Visual Studio and the reports are working really well for me!

I've tried to install this release on my server and I'm still getting the same error as reported by the original poster. Not sure if I'm missing something on the install?

Cheers

wrote Jul 14, 2011 at 4:52 PM

selnahwy wrote Jul 14, 2011 at 4:55 PM

I think this is a great component and it works great in team explorer. I am having the same issue on the web side. Anyone find an answer to this issue yet?

Thanks,
SE

MARWAEND22 wrote Aug 16, 2011 at 8:19 AM

Dear all
does anyone find solution for this problem it's work with VS but don't work with Web

ETollenaar wrote Mar 27, 2012 at 12:12 PM

I have the same problem. Does anyone have a solution for this?

selnahwy wrote Mar 27, 2012 at 1:21 PM

Team, I made some fixes to make it work for me. I uploaded those fixes. Hopefully it works for you. The fixes are under the source code then go to patches. or click this link http://www.codeplex.com/Download?ProjectName=tfstimesheets&DownloadId=260262

ETollenaar wrote Mar 30, 2012 at 9:39 AM

Thanks to Selnahwy, the webcontrol is now working. Made 1 change, the control was showing the created date instead of the timesheetdate.

MarcosNunes wrote Jul 20, 2012 at 12:43 PM

Hi

I had the same error from LindaNewman, even compiling the source from http://www.codeplex.com/Download?ProjectName=tfstimesheets&DownloadId=260262. After the compilation I just copied the bin\debug content and the WorkItemTimeSheetControl.wicc to the C:\ProgramData\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\10.0. The OS I'm using is Windows 7 Enterprise 64-bit.

Is there something else I need to do?

TIA,
MN

selnahwy wrote Jul 21, 2012 at 4:00 PM

The assemblies need to be in the following folder:
[ProgramFiles]\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\App_Data\CustomControls

The following files need to be there:
  • TimeSheetControl.ObjectModel.dll
  • TimeSheetControl.Web.dll
  • WorkItemTimeSheetControl.wicc
Alternatively you can use the installer I created which is can be downloaded from here http://www.codeplex.com/Download?ProjectName=tfstimesheets&DownloadId=393163

I hope this helps.

MarcosNunes wrote Jul 23, 2012 at 4:47 PM

I copied the files TimeSheetControl.ObjectModel.dll, TimeSheetControl.Web.dll and WorkItemTimeSheetControl.wicc from the compilation made with the source available in http://www.codeplex.com/Download?ProjectName=tfstimesheets&DownloadId=260262 to these folders:
  • TFS Server: [ProgramFiles]\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\App_Data\CustomControls on TFS server.
  • Client machine: [AppData]\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\10.0
After restart the IIS on server, the control worked as expected.

wrote Feb 14, 2013 at 8:32 PM