<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.axosoft.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>OnTime SDK</title><link>http://community.axosoft.com/forums/16/ShowForum.aspx</link><description>Discussions, questions and support relating to the OnTime Web Services SDK.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61120.2)</generator><item><title>Error from web services </title><link>http://community.axosoft.com/forums/thread/21276.aspx</link><pubDate>Thu, 02 Sep 2010 17:26:07 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:21276</guid><dc:creator>ontime.atkulp@xoxy.net</dc:creator><slash:comments>3</slash:comments><comments>http://community.axosoft.com/forums/thread/21276.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=21276</wfw:commentRss><description>&lt;p&gt;I'm getting an error back from my internal hosted OnTime server when I try to use the web service. &amp;nbsp;The web reference generated fine, but I get an error in the response. &amp;nbsp;Here's a request:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;POST /OnTime2009SDK/projectservice.asmx HTTP/1.1&lt;/p&gt;&lt;p&gt;Content-Type: text/xml; charset=utf-8&lt;/p&gt;&lt;p&gt;SOAPAction: "http://axosoft.com/ontime/webservices/GetAllProjects"&lt;/p&gt;&lt;p&gt;Host: ontime.XXX.com&lt;/p&gt;&lt;p&gt;Content-Length: 340&lt;/p&gt;&lt;p&gt;Expect: 100-continue&lt;/p&gt;&lt;p&gt;Accept-Encoding: gzip, deflate&lt;/p&gt;&lt;p&gt;Connection: Keep-Alive&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&amp;lt;GetAllProjects xmlns="http://axosoft.com/ontime/webservices/"&amp;gt;&amp;lt;securityToken&amp;gt;XXXXXXXX-XXXX-Xca3-X3d3-X5fbaff36055&amp;lt;/securityToken&amp;gt;&amp;lt;/GetAllProjects&amp;gt;&amp;lt;/s:Body&amp;gt;&amp;lt;/s:Envelope&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And the response:&lt;/p&gt;&lt;p&gt;HTTP/1.1 500 Internal Server Error&lt;/p&gt;&lt;p&gt;Connection: Keep-Alive&lt;/p&gt;&lt;p&gt;Content-Length: 478&lt;/p&gt;&lt;p&gt;Date: Thu, 02 Sep 2010 17:01:13 GMT&lt;/p&gt;&lt;p&gt;Content-Type: text/xml; charset=utf-8&lt;/p&gt;&lt;p&gt;Server: Microsoft-IIS/6.0&lt;/p&gt;&lt;p&gt;MicrosoftOfficeWebServer: 5.0_Pub&lt;/p&gt;&lt;p&gt;X-Powered-By: ASP.NET&lt;/p&gt;&lt;p&gt;X-AspNet-Version: 2.0.50727&lt;/p&gt;&lt;p&gt;Cache-Control: private&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;soap:Fault&amp;gt;&amp;lt;faultcode&amp;gt;soap:Server&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;Server was unable to process request. ---&amp;amp;gt; Format of the initialization string does not conform to specification starting at index 0.&amp;lt;/faultstring&amp;gt;&amp;lt;detail /&amp;gt;&amp;lt;/soap:Fault&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I generated the reference using the asmx file, instantiated the &amp;nbsp;ProjectHandlerSoapClient object, and called GetAllProjects with the security token.&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Error using history webservice</title><link>http://community.axosoft.com/forums/thread/20587.aspx</link><pubDate>Sun, 25 Apr 2010 14:45:52 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20587</guid><dc:creator>michael.shapira@unitask.com</dc:creator><slash:comments>5</slash:comments><comments>http://community.axosoft.com/forums/thread/20587.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20587</wfw:commentRss><description>&lt;P&gt;Hi. I installed webservice SDK version 9.0.&lt;/P&gt;
&lt;P&gt;I can access every webservice without any problem , however, when I am trying to access HistoryService.asmx I get some error&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/P&gt;
&lt;H1&gt;Server Error in '/OnTime2009Sdkv90' Application. 
&lt;HR&gt;
&lt;/H1&gt;
&lt;H2&gt;&lt;I&gt;Parser Error&lt;/I&gt; &lt;/H2&gt;
&lt;P&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;Description: &lt;/B&gt;An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;Parser Error Message: &lt;/B&gt;Could not create type 'OnTimeWebServices.HistoryService'.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Source Error:&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;
&lt;TABLE bgColor=#ffffcc&gt;

&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;&lt;FONT color=red&gt;Line 1:  &amp;lt;%@ WebService Language="C#" CodeBehind="HistoryService.asmx.cs" Class="OnTimeWebServices.HistoryService" %&amp;gt;
&lt;/FONT&gt;&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Source File: &lt;/FONT&gt;&lt;/B&gt;/onTime2009Sdkv90/HistoryService.asmx&lt;B&gt;&lt;FONT face=Verdana&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/FONT&gt;&lt;/B&gt;1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The link that I use is: &lt;A href="http://localhost:82/onTime2009Sdkv90/HistoryService.asmx"&gt;http://localhost:82/onTime2009Sdkv90/HistoryService.asmx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If I use other webservice for example &lt;A href="http://localhost:82/onTime2009Sdkv90/TaskService.asmx"&gt;http://localhost:82/onTime2009Sdkv90/TaskService.asmx&lt;/A&gt;&amp;nbsp;, everythink works fine&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>DefectService - Return only specific fields for Defects</title><link>http://community.axosoft.com/forums/thread/21091.aspx</link><pubDate>Mon, 26 Jul 2010 19:32:50 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:21091</guid><dc:creator>greg.flynn</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/21091.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=21091</wfw:commentRss><description>&lt;p&gt;Anyone know if there is a way to limit what fields are returned from the GetAllDefects method?
&lt;/p&gt;&lt;p&gt;This method returns 117 columns in our case, including the notes/resolution/description fields - which are very large.
&lt;/p&gt;&lt;p&gt;Ideally we would like to pull only fields that we specify.
&lt;/p&gt;&lt;p&gt;Thanks in advance for any advice. &lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Adding an Attachment via web...</title><link>http://community.axosoft.com/forums/thread/20997.aspx</link><pubDate>Wed, 14 Jul 2010 13:36:09 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20997</guid><dc:creator>jason.m.freier</dc:creator><slash:comments>5</slash:comments><comments>http://community.axosoft.com/forums/thread/20997.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20997</wfw:commentRss><description>&lt;P&gt;So the only example that I could find for adding attachments was in the samples sdk, and unfortunately that is built on the assumption that you would be doing this as a desktop application.&lt;/P&gt;
&lt;P&gt;FileUploads do not show or make readily available full file paths for security reasons...any ideas as to how I could easily get this implemented via a web interface?&amp;nbsp; Am I missing something?&lt;/P&gt;</description></item><item><title>Retrieving a Project by Status &amp; a Defect Collection</title><link>http://community.axosoft.com/forums/thread/20904.aspx</link><pubDate>Thu, 01 Jul 2010 09:30:40 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20904</guid><dc:creator>Bruno Alexandre</dc:creator><slash:comments>4</slash:comments><comments>http://community.axosoft.com/forums/thread/20904.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20904</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm new to this and I'm creating a Dashboard to be seen in a TV on the Developers Room, and to present all Defects in our Support Project (all email sent to support@domain.com, goes here) I'm using:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DataSet ds = dh.GetDefectsByProject(_securityToken, SUPPORT_PROJECTID);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This takes time as they are more than 400 items, I just need to grab the "New Mail" status on that project, can I do that?&lt;/p&gt;&lt;p&gt;And, I want a Collection of Defects (kind'a System.Linq.IQueryable&amp;lt;DefectService.Defect&amp;gt;) instead of a DataSet, how do I do that instead?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you.&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;	&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How do you guys know witch is witch</title><link>http://community.axosoft.com/forums/thread/20915.aspx</link><pubDate>Fri, 02 Jul 2010 13:40:55 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20915</guid><dc:creator>Bruno Alexandre</dc:creator><slash:comments>0</slash:comments><comments>http://community.axosoft.com/forums/thread/20915.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20915</wfw:commentRss><description>&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;using the TaskService I call the method GetPublicTasksByUser() and this returns (spupidly in my opinion) a DataSet instead a TaskCollection&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;now that I have a DataSet, how can I see witch column is what?&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;img alt="Where do we get the Columns Definitions?" border="" hspace="" width="946" height="961" align="" title="undefined" src="http://www.balexandre.com/temp/2010-07-02_1532.png"&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I thought I could just get this using the Help, but they are not in order and I have no idea how to get this!&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I do a lot of services ... but I never did one that I instead passa a DataSet instead a Collection of objects... or at least provide a Utility class that could translate it like:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;public TaskResponse convertDataRowIntoTaskResponse(DataRow dr);&lt;br&gt;public List&amp;lt;TaskResponse&amp;gt; convertDataRowIntoTaskResponseCollection(DataSet ds);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;:-(&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;What do you guys do?&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Thank you!&amp;nbsp;&lt;/div&gt;</description></item><item><title>New Incident Created notifications</title><link>http://community.axosoft.com/forums/thread/20846.aspx</link><pubDate>Wed, 16 Jun 2010 02:40:59 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20846</guid><dc:creator>AndrewT</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20846.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20846</wfw:commentRss><description>&lt;P&gt;I'm trying to add an incident to the ontime database and have ontime generate an email notification for this event but I can't get this working. I can add the incident using the &lt;FONT size=2&gt;IncidentService.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;IncidentHandler.AddIncident()&lt;/FONT&gt; method but no notification gets generated from it. Can someone please help me with this? Here's the code I've written to add the incident:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#2b91af&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;bool&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; CreateNewOnTimeIncident&amp;lt;RequestType&amp;gt;(RequestType ServiceRequest, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;StaffMember&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; staffMember) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;where&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; RequestType : &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ServiceRequest&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ServiceRequest&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; request = (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ServiceRequest&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)ServiceRequest;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (IncidentService.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;IncidentHandler&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ih = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; IncidentService.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;IncidentHandler&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;())&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Guid&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; g = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Guid&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"E32024DA-FCB3-4683-A412-B53F5A0A540E"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Incident&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; inc = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Incident&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; newIncID = 0;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ArrayList&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; cfvArray = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;ArrayList&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;try&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;inc.ReportedByCustomerContactId = GetCustomerContactID(staffMember);&lt;/P&gt;
&lt;P&gt;inc.Name = request.RequestSubject;&lt;/P&gt;
&lt;P&gt;inc.ProjectId = 4;&lt;/P&gt;
&lt;P&gt;inc.ReportedDate = &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;DateTime&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Now.Date;&lt;/P&gt;
&lt;P&gt;inc.DueDate = request.DueDate;&lt;/P&gt;
&lt;P&gt;inc.WorkflowStepId = 13; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;// 13 = Incident Reported&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;inc.Description = request.Description;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CustomFieldValue&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; requestType = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CustomFieldValue&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;
&lt;P&gt;requestType.CustomField = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CustomField&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;
&lt;P&gt;requestType.CustomField.TableFieldName = &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"Custom_143"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;requestType.Value = GetRequestTypeLongDescription(request.RequestType);&lt;/P&gt;
&lt;P&gt;cfvArray.Add(requestType);&lt;/P&gt;
&lt;P&gt;inc.CustomFieldValues = (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CustomFieldValue&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;[])cfvArray.ToArray(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;typeof&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;CustomFieldValue&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;));&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;catch&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;Exception&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ex)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;throw&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; ex;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;ih.BeginAddIncident(g, inc, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;null&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;
&lt;P&gt;newIncID = ih.AddIncident(g, inc);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;IAsyncResult&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; i = &lt;/P&gt;
&lt;P&gt;ih.EndAddIncident(i.);&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;//SendIncidentEmail(newIncID, inc);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (newIncID &amp;gt; 0)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (request.Attachments.Count &amp;gt; 0)&lt;/P&gt;
&lt;P&gt;inc.HasAttachments = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;foreach&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; obj &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; request.Attachments)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;AddAttachment(newIncID, &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;AttachmentSourceTypes&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Incident, (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)obj);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;else&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;false&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>Error in deserializing body of reply message for operation 'GetByIncidentId'</title><link>http://community.axosoft.com/forums/thread/20675.aspx</link><pubDate>Thu, 13 May 2010 18:37:58 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20675</guid><dc:creator>PatB</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20675.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20675</wfw:commentRss><description>&lt;p&gt;I am using SDK 2009 and am receiving when using the IncidentHandlerSoapClient.&amp;nbsp; I am trying to retrieve an incident.&amp;nbsp; The code I has been working for several months now.&amp;nbsp; All of a sudden we were not able to retrieve certain incidents.&amp;nbsp; Most work, a few do not.&lt;/p&gt;&lt;p&gt;At about the same time I also started getting errors calling the GetIncidentsByUser.&amp;nbsp; I had to fix this error by changing the Binding node in the web.Config file for the IncidentHandlerSoap.&amp;nbsp; Changed the maxBufferSize and maxReceivedMessageSize from 500000 to 1000000.&amp;nbsp; I'm not sure why I needed to increase this to get a list of incidents.&amp;nbsp; The message associated with this was "&lt;font&gt;The maximum message size quota for incoming messages (500000) has been exceeded. 
To increase the quota, use the MaxReceivedMessageSize property on the 
appropriate binding element."&amp;nbsp; This made no sense because I was only retrieving 6 incidents in the list.&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;So once I changed the sizes mentioned above, I was able to once again get a ticket list for display. Now when I open a couple of the incidents, I am getting this error:&lt;/p&gt;&lt;p&gt;{"Error in deserializing body of reply message for operation 'GetByIncidentId'."}&lt;br&gt;System.ServiceModel.CommunicationException: {"Error in deserializing body of reply message for operation 'GetByIncidentId'."}&lt;br&gt;Data: {System.Collections.ListDictionaryInternal}&lt;br&gt;HelpLink: Nothing&lt;br&gt;InnerException: {"There is an error in XML document (7, 9676)."}&lt;br&gt;Message: "Error in deserializing body of reply message for operation 'GetByIncidentId'."&lt;br&gt;Source: "mscorlib"&lt;br&gt;StackTrace: " Server stack trace:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, Object[] parameters, Boolean isRequest)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc&amp;amp; rpc)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp;amp; rpc)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)&amp;nbsp; Exception rethrown at [0]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at Bcc.ItHelpDesk.IncidentService.IncidentHandlerSoap.GetByIncidentId(Guid securityToken, Int32 incidentId)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at Bcc.ItHelpDesk.IncidentService.IncidentHandlerSoapClient.GetByIncidentId(Guid securityToken, Int32 incidentId) in C:\Documents and Settings\patb\My Documents\Visual Studio 2008\Projects\OnTimeHelpDesk.root\OnTimeHelpDesk\WebApplication1\Service References\IncidentService\Reference.vb:line 1427&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;at Bcc.ItHelpDesk.NewEditTicket.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\patb\My Documents\Visual Studio 2008\Projects\OnTimeHelpDesk.root\OnTimeHelpDesk\WebApplication1\NewEditTicket.aspx.vb:line 30"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetSite: {System.Reflection.RuntimeMethodInfo} &lt;/p&gt;&lt;p&gt;&lt;b&gt;Here is the relevant code:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Dim OnTimeUser As TOnTimeUser = DirectCast(Session("OnTimeUser"), TOnTimeUser)&lt;br&gt;Dim userServ As UserService.UserHandlerSoapClient = New UserService.UserHandlerSoapClient("UserHandlerSoap", Global_asax.EndPoint &amp;amp; "UserService.asmx")&lt;br&gt;Dim TicketNumber As Integer = 0&lt;br&gt;Dim incidentServ As IncidentService.IncidentHandlerSoapClient = New IncidentService.IncidentHandlerSoapClient("IncidentHandlerSoap", Global_asax.EndPoint &amp;amp; "incidentservice.asmx")&lt;br&gt;Dim oIncident As New IncidentService.Incident&lt;br&gt;Dim oUser As UserService.User&lt;br&gt;&lt;br&gt;If Integer.TryParse(Request.QueryString("Ticket"), TicketNumber) Then&lt;br&gt;&amp;nbsp; Try&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oIncident = incidentServ.GetByIncidentId(Global_asax.SecurityToken, TicketNumber)&lt;br&gt;&amp;nbsp; Catch ex As Exception&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Me.litErrorMessage.Text = String.Format("Error retrieving ticket number {0}", TicketNumber)&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Me.pnlPageError.Visible = True&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Me.pnlErrorNavigation.Visible = True&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Me.pnlEditTicket.Visible = False&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;br&gt;&amp;nbsp; End Try&lt;br&gt;End If&lt;/p&gt;&lt;p&gt;&lt;b&gt;Error occurs on the GetByIncidentId &lt;/b&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>How can you find a specific contact by email using CustomerHandler.SearchCustomers?</title><link>http://community.axosoft.com/forums/thread/20602.aspx</link><pubDate>Tue, 27 Apr 2010 15:59:29 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20602</guid><dc:creator>jason.m.freier</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20602.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20602</wfw:commentRss><description>&lt;P&gt;Is this even possible?&amp;nbsp; I've tried a few different calls to SearchCustomers(guid, searchString) to no avail.&lt;/P&gt;
&lt;P&gt;Is there a sample somewhere that shows the syntax?&lt;/P&gt;
&lt;P&gt;I'm basically trying to see if the current user of our custom interface is a valid contact for any existing customers in our ontime db.&amp;nbsp; I would have thought I'd be able to do it using SearchCustomers, but not having the syntax is a roadblock at the moment.&lt;/P&gt;</description></item><item><title>I am interested in hearing more about the web services that are used by OnTime</title><link>http://community.axosoft.com/forums/thread/20612.aspx</link><pubDate>Wed, 28 Apr 2010 17:15:55 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20612</guid><dc:creator>andy.long</dc:creator><slash:comments>3</slash:comments><comments>http://community.axosoft.com/forums/thread/20612.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20612</wfw:commentRss><description>&lt;p&gt;We are hoping to build the ability to log a defect directly to us from our software interface. &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Does OnTime use&amp;nbsp;restful web services?&lt;/p&gt;</description></item><item><title>Wrong versions on the download page</title><link>http://community.axosoft.com/forums/thread/20586.aspx</link><pubDate>Sun, 25 Apr 2010 13:05:11 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20586</guid><dc:creator>michael.shapira@unitask.com</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20586.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20586</wfw:commentRss><description>&lt;P&gt;Hi. I just noticed that on the &lt;A href="http://www.axosoft.com/ontime/legacy"&gt;http://www.axosoft.com/ontime/legacy&lt;/A&gt;&amp;nbsp;page&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.axosoft.com/downloads/OnTimeV90WindowsSetup.zip"&gt;&lt;STRONG&gt;OnTime 2009 for Windows&lt;/STRONG&gt;&lt;/A&gt;&lt;BR&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;(V9.1.4.8500 Last Updated 11/24/2009)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;&lt;A href="http://community.axosoft.com/downloads/OnTimeV90WindowsSetup.zip"&gt;&lt;STRONG&gt;OnTime 2009 for Windows&lt;/STRONG&gt;&lt;/A&gt;&lt;BR&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;(V9.0.1.8115 Last Updated 02/05/2009, 10:30 a.m. MST)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;&lt;SPAN style="TEXT-ALIGN:center;"&gt;have the same link&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item><item><title>retrieve PriorityTypes from /iphone/iphonehandler.ashx</title><link>http://community.axosoft.com/forums/thread/20583.aspx</link><pubDate>Fri, 23 Apr 2010 21:45:43 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20583</guid><dc:creator>waxime</dc:creator><slash:comments>0</slash:comments><comments>http://community.axosoft.com/forums/thread/20583.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20583</wfw:commentRss><description>&lt;p&gt;hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;i add some function in SVN integration, and i have to retreive&amp;nbsp;&amp;nbsp;PriorityTypes from&amp;nbsp;/iphone/iphonehandler.ashx&lt;/p&gt;&lt;p&gt;&amp;nbsp;i see you use some URL parameter, but i can't find the good URL to&amp;nbsp;retrieve&amp;nbsp;the list&lt;/p&gt;&lt;p&gt;&amp;nbsp;in this moment, i try with&amp;nbsp;/iphone/iphonehandler.ashx?u=User&amp;amp;p=Pass&amp;amp;a=???&amp;amp;c=6&lt;/p&gt;&lt;p&gt;where i can get the list of all parameter ???&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;/p&gt;</description></item><item><title>Replication Procedures coming back as NULL</title><link>http://community.axosoft.com/forums/thread/20575.aspx</link><pubDate>Thu, 22 Apr 2010 20:46:29 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20575</guid><dc:creator>ChrisG</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20575.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20575</wfw:commentRss><description>&lt;p&gt;Apologies if this is listed elsewhere, my search came up empty.&lt;/p&gt;&lt;p&gt;I've noticed since moving to v10 that the SDK service is no longer populating the Replication value for incidents and defects. &amp;nbsp;Within the OnTime windows client the replications show, but when you do a getByID on the respective service the property is null (notes, description, etc. all populate fine).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anybody else had this or seen it?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Trouble copying Attachment data using SDK</title><link>http://community.axosoft.com/forums/thread/20576.aspx</link><pubDate>Thu, 22 Apr 2010 23:30:01 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20576</guid><dc:creator>CRobinson</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20576.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20576</wfw:commentRss><description>&lt;p&gt;I have an external process that copies an Incident to a Defect/Feature based on the workflow step changing, and after creating the copied item it then attempts to copy the attachments from the Originating Incident. &amp;nbsp;The process goes through, but the .FileData property does not seem to be coming through correctly, as attachments appear in the newly created Defect/Feature, but the attachments themselves show improperly. &amp;nbsp;In looking at the data in SQL it is apparent that the data stored in the FileData field is radically different. &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm using OnTime v9, and here's the source code I'm using.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AttachmentService.AttachmentHandler ah = new OnTimeService.AttachmentService.AttachmentHandler();&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using (DataSet ds = ah.GetAttachmentsList(_securityToken, AttachmentService.AttachmentSourceTypes.Incident, incID))&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (ds != null &amp;amp;&amp;amp; ds.Tables.Count &amp;gt; 0)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (DataRowView drv in ds.Tables[0].DefaultView)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AttachmentService.Attachment attch = new OnTimeService.AttachmentService.Attachment();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.FileName = drv["Filename"].ToString();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.Description = drv["Description"].ToString();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.AttachDate = DateTime.Now;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.StoreInDB = Convert.ToBoolean(drv[7]);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.IsEmbedded = Convert.ToBoolean(drv[9]);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] attachData = (byte[])(drv[10]);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.SourceId = sourceID;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.CreatedById = Convert.ToInt32(drv[3]);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (type == "Defect")&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.SourceType = AttachmentService.AttachmentSourceTypes.Defect;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.SourceType = AttachmentService.AttachmentSourceTypes.Feature;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.FullPath = drv["FullPath"].ToString();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attch.FileData = attachData;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using (AttachmentService.AttachmentHandler attachhandler = new OnTimeService.AttachmentService.AttachmentHandler())&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachhandler.AddAttachment(_securityToken, attch);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine("Attachments Added Successfully");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine("Error Occurred Adding Attachments");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone have any ideas?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Craig Robinson&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help with SQL server connection</title><link>http://community.axosoft.com/forums/thread/20511.aspx</link><pubDate>Tue, 13 Apr 2010 14:06:28 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20511</guid><dc:creator>michael.shapira@unitask.com</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20511.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20511</wfw:commentRss><description>&lt;P&gt;I get the following responce from Web-Service&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;soap:Envelope xmlns:soap="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soap:Body&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap:Fault&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultcode&amp;gt;soap:Server&amp;lt;/faultcode&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;faultstring&amp;gt;Server was unable to process request. ---&amp;gt; A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&amp;lt;/faultstring&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;detail/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/soap:Fault&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soap:Body&amp;gt;&lt;BR&gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already tried every possible solution I found in Google or on Microsoft support. Can you please advice how should I do this settings?&lt;/P&gt;
&lt;P&gt;I use SQL Express 2005&lt;/P&gt;</description></item><item><title>Error: Attachement Handler - Please tell me where i went wrong.</title><link>http://community.axosoft.com/forums/thread/20445.aspx</link><pubDate>Tue, 30 Mar 2010 20:42:41 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20445</guid><dc:creator>santu.kandhukuri@gmail.com</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20445.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20445</wfw:commentRss><description>&lt;div&gt;&amp;nbsp;MemoryStream ms = new MemoryStream();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bmpScreenshot.Save(ms, System.Drawing.Imaging.ImageFormat.Png);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] imageArray = ms.ToArray();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CSDG.OnTimeWebSerivce.AttachmentService.Attachment attachment = new CSDG.OnTimeWebSerivce.AttachmentService.Attachment();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.AttachDate = DateTime.Now;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.FullPath = Environment.GetEnvironmentVariable("TEMP") + "\\exception.png";&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.FileName = "exception.png";&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.Description = "Screen shot of the current screen at the time of exception";&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.StoreInDB = true;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.SourceType=AttachmentService.AttachmentSourceTypes.Defect;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.FileData = imageArray;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;attachment.SourceId = ProjectId;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CSDG.OnTimeWebSerivce.AttachmentService.AttachmentHandler adAttachmentHandler = new CSDG.OnTimeWebSerivce.AttachmentService.AttachmentHandler();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int id = adAttachmentHandler.AddAttachment(guidToken, attachment); &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;PLEASE TELL ME WHERE I WENT WRONG .&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;ERROR :&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.EmailNotifications.GetNotificationListInfo(TransactionHelper txnh)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.EmailNotifications..ctor(Object original, Object changed, OnTimeItem item, Boolean includeWorkflowNotifications, Boolean parent, TransactionHelper txnh, Comment comment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.ProcessNotifications(Object original, Object changed, Boolean includeWorkflowNotifications, Boolean parent, TransactionHelper txnh, Comment comment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.Attachments.AddAttachment(Attachment attachment, Boolean sendNotification, TransactionHelper txnh)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.Attachments.AddAttachment(Attachment attachment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at OnTimeWebServices.AttachmentHandler.AddAttachment(Guid securityToken, Attachment attachment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&amp;nbsp;&lt;/div&gt;</description></item><item><title>Download location for SDK samples 2010</title><link>http://community.axosoft.com/forums/thread/20426.aspx</link><pubDate>Mon, 29 Mar 2010 08:32:22 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20426</guid><dc:creator>michael.shapira@unitask.com</dc:creator><slash:comments>3</slash:comments><comments>http://community.axosoft.com/forums/thread/20426.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20426</wfw:commentRss><description>HI. I downloaded SDK web services, and I saw the video tutorial for it on the web-site. But I cannot find SDK samples for 2009. Can you please provide with a link?</description></item><item><title>I am unable to insert attachement into ontime database.</title><link>http://community.axosoft.com/forums/thread/20428.aspx</link><pubDate>Mon, 29 Mar 2010 20:40:07 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20428</guid><dc:creator>santu.kandhukuri@gmail.com</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20428.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20428</wfw:commentRss><description>&lt;div&gt;can you provide me the sample code to insert images into the ontime database.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.EmailNotifications.GetNotificationListInfo(TransactionHelper txnh)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.EmailNotifications..ctor(Object original, Object changed, OnTimeItem item, Boolean includeWorkflowNotifications, Boolean parent, TransactionHelper txnh, Comment comment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.NotificationServices.ProcessNotifications(Object original, Object changed, Boolean includeWorkflowNotifications, Boolean parent, TransactionHelper txnh, Comment comment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.Attachments.AddAttachment(Attachment attachment, Boolean sendNotification, TransactionHelper txnh)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at Axosoft.OnTime.DataLayer.Attachments.AddAttachment(Attachment attachment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; at OnTimeWebServices.AttachmentHandler.AddAttachment(Guid securityToken, Attachment attachment)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;/div&gt;</description></item><item><title>Problem running SOAP request - Column 'HasReadUpgradeMessage' does not belong to table Table</title><link>http://community.axosoft.com/forums/thread/20427.aspx</link><pubDate>Mon, 29 Mar 2010 10:13:43 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20427</guid><dc:creator>michael.shapira@unitask.com</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20427.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20427</wfw:commentRss><description>&lt;p&gt;Hi. I am trying to call "GetAllPublicTasks" from Tasks wsdl. Here is my reqeust&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://axosoft.com/ontime/webservices/"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;web:GetAllPublicTasks&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;web:securityToken&amp;gt;43e0e5bd-a8c2-4d6c-8ebc-c572acab3676&amp;lt;/web:securityToken&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/web:GetAllPublicTasks&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And here is the response&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soap:Body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap:Fault&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;faultcode&amp;gt;soap:Server&amp;lt;/faultcode&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;faultstring&amp;gt;Server was unable to process request. ---&amp;gt; Column 'HasReadUpgradeMessage' does not belong to table Table.&amp;lt;/faultstring&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;detail/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/soap:Fault&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soap:Body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you have any idea what does this error stands for?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Any tricks to using Features.GetItemIdsByProjectId() ?</title><link>http://community.axosoft.com/forums/thread/20290.aspx</link><pubDate>Wed, 10 Mar 2010 20:56:40 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20290</guid><dc:creator>jwhipkey</dc:creator><slash:comments>4</slash:comments><comments>http://community.axosoft.com/forums/thread/20290.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20290</wfw:commentRss><description>&lt;P&gt;I can get a call to Features.GetByItemId() to work fine&amp;nbsp;but when I call Features.GetItemIdsByProjectId()&amp;nbsp;I get "Object reference not set to an instance of an object".&lt;/P&gt;
&lt;P&gt;I know an instantiation of Features has happened because one method call works while the other doesn't.&lt;/P&gt;
&lt;P&gt;I know the project Id I pass to GetItemIdsByProjectId is a valid Id and it&amp;nbsp;has features associated with it.&lt;/P&gt;
&lt;P&gt;Why won't it work and return the array of feature&amp;nbsp;item ids I'm looking for in the project? Seems like some kind of error internal to GetItemIdsByProjectId but how do I work around it or what is the trick I'm missing in calling it? BTW the GetItemIdsByReleaseId also gives me the object reference error.&lt;/P&gt;
&lt;P&gt;The codes as simple as this...&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; F &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; Axosoft.OnTime.DataLayer.Features()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;BR&gt;Dim i() as integer = &lt;FONT size=2&gt;F.GetItemIdsByProjectId(34)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;Thanks for any help you can provide.&lt;BR&gt;Jim&lt;/P&gt;</description></item><item><title>Adding Comments</title><link>http://community.axosoft.com/forums/thread/20255.aspx</link><pubDate>Thu, 04 Mar 2010 13:17:09 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20255</guid><dc:creator>PatB</dc:creator><slash:comments>1</slash:comments><comments>http://community.axosoft.com/forums/thread/20255.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20255</wfw:commentRss><description>Is there a way to add comments using the SDK Web service?&amp;nbsp; Have I missed it somewhere?&lt;br&gt;</description></item><item><title>Overriding WebServicesUser</title><link>http://community.axosoft.com/forums/thread/16651.aspx</link><pubDate>Wed, 10 Sep 2008 16:35:45 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:16651</guid><dc:creator>schammer</dc:creator><slash:comments>3</slash:comments><comments>http://community.axosoft.com/forums/thread/16651.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=16651</wfw:commentRss><description>&lt;p&gt;If I know the user ID of the person creating or editing an item via the SDK, how can I get that ID to override the WebServicesUser value from the config file, at least where the audit trail is concerned?&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thank You! &lt;br&gt;&lt;/p&gt;</description></item><item><title>OnTime 2007 SDK - Outlook Task Sample</title><link>http://community.axosoft.com/forums/thread/11275.aspx</link><pubDate>Thu, 19 Apr 2007 22:41:18 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:11275</guid><dc:creator>David Higgins</dc:creator><slash:comments>9</slash:comments><comments>http://community.axosoft.com/forums/thread/11275.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=11275</wfw:commentRss><description>This thread exists for the discussion of the &lt;a href="http://community.axosoft.com/blogs/davidh/archive/2007/04/19/ontime-2007-outlook-2007-tasks-and-your-pda.aspx"&gt;OnTime 2007 SDK Outlook Task Sample&lt;/a&gt;, which I recently wrote a blog post about.&amp;nbsp; Feel free to ask questions, discuss 'outlook addin best practices' and anything else related to this sample resource here.&lt;br&gt;</description></item><item><title>Process a Workflow step with the SDK</title><link>http://community.axosoft.com/forums/thread/11212.aspx</link><pubDate>Fri, 13 Apr 2007 02:21:13 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:11212</guid><dc:creator>stuarth</dc:creator><slash:comments>6</slash:comments><comments>http://community.axosoft.com/forums/thread/11212.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=11212</wfw:commentRss><description>&lt;P&gt;Is it possible to process a Workflow step for a selected item (Defect or Feature) using the SDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Upon successful completion of our automated build, I'd like to call a process that takes all the Ontime items in a designated status (Code Complete - Awaiting Build) and move them to the enxt status ("Ready for Testing") - however I want to do this via the OnTime workflow engine so that notifications and any other automation I have set up at that point, still runs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can this be done?&lt;/P&gt;</description></item><item><title>HistoryService SDK method GetHistoryForDateRange always returns null?</title><link>http://community.axosoft.com/forums/thread/20017.aspx</link><pubDate>Fri, 15 Jan 2010 18:36:27 GMT</pubDate><guid isPermaLink="false">d315da8f-0088-447e-a94f-056123fb98a9:20017</guid><dc:creator>jseeley</dc:creator><slash:comments>2</slash:comments><comments>http://community.axosoft.com/forums/thread/20017.aspx</comments><wfw:commentRss>http://community.axosoft.com/forums/commentrss.aspx?SectionID=16&amp;PostID=20017</wfw:commentRss><description>&lt;p&gt;Hi, I have set up the SDK, and have it working fine for the other interfaces that I am using.&amp;nbsp; What I am trying to accomplish is a recalculation of feature hours remaining and actuals based on the sum of related tasks.&amp;nbsp; In order to do this, I identified that it would be nice to check the items that have changed.&amp;nbsp; However, when I call the HistoryService method GetHistoryForDateRange, it always returns null, no matter what kind of date range I give to it. The documentation states that this method "Gets a list of all audit trails entries in a specified date range" which is exactly what I want to do.&amp;nbsp; I have peeked into the database, and there ARE records for the date range that I give it.&amp;nbsp; (In fact, I expanded my date range to the beginning and ending of the month, just to see if I could get any records to show up.)&amp;nbsp; However, no matter what I try for the date range, I receive null back as my response.&amp;nbsp; Not an empty dataset, not a dataset with no rows, but null. &lt;/p&gt;&lt;p&gt;Obviously there is an error occurring, but what can I do to get more information about how to resolve the issue?&amp;nbsp; I've tried consuming it as a legacy web service and as a soap client.&amp;nbsp; My Guid is set correctly on the server, and I am passing a fixed guid value through to this interface as well (as I mentioned, the other interfaces I have been consuming work as intended).&lt;/p&gt;&lt;p&gt;Does anyone have any ideas? &lt;br&gt;&lt;/p&gt;</description></item></channel></rss>