Search found 5 matches

by bobby_avram
Mon Nov 13, 2006 10:11 am
Forum: Support (Dragnet)
Topic: Add atachment
Replies: 2
Views: 26110

With this code:

System.Web.UI.HtmlControls.HtmlInputFile fileUpload; //assuming this control is on the ASP.NET page

attachment.AttStream = fileUpload.PostedFile.InputStream;


I get the following error:
Cannot implicitly convert type 'System.IO.Stream' to 'TSF.Bugtracker.Dragnet.Stream'
by bobby_avram
Mon Nov 13, 2006 9:59 am
Forum: Support (Dragnet)
Topic: Add atachment
Replies: 2
Views: 26110

Add atachment

Is there a way to attach more than a single file to an given request? I try to attach a file programmatically this way: MantisItemAttachmentFullDetail attachment; System.IO.Stream stream; attachment = new MantisItemAttachmentFullDetail(); stream = new FileStream(directoryName + "/" + files...
by bobby_avram
Mon Nov 13, 2006 3:40 am
Forum: Support (Dragnet)
Topic: WebServices help
Replies: 3
Views: 35907

RE: WebServices help

I've created a cookie container before the call of LoginPlainText() like that Dragnet.DragnetWebService dws = new Dragnet.DragnetWebService(); CookieContainer cc = new CookieContainer(); dws.CookieContainer = cc; ret = dws.LoginPlainText("admin", "bobby", out authTicket); and it ...
by bobby_avram
Mon Nov 13, 2006 3:26 am
Forum: Support (Dragnet)
Topic: WebServices help
Replies: 3
Views: 35907

RE: WebServices help

This is the code that I am using: int ret = -1; string authTicket; Dragnet.MantisProject[] Projects; Dragnet.DragnetWebService dws = new Dragnet.DragnetWebService(); ret = dws.LoginPlainText("admin", "bobby", out authTicket); if (0 == ret) { dws.DragnetAuthValue = new Dragnet.Dra...
by bobby_avram
Fri Nov 10, 2006 8:43 am
Forum: Support (Dragnet)
Topic: WebServices help
Replies: 3
Views: 35907

WebServices help

I have the same problem like this guy here: http://support.sourcegear.com/viewtopic.php?t=5641 I want to use web services to build a client that will allow me to integrate dragnet with another application. When I try to get project from db I get the following error: {System.Web.Services.Protocols.So...