Answer Questions
MiXen where should I put this method (class design question)
Hi, if i am working on bug tracking system for example where technical support agents log (or create) new bugs in the system. In this situation, I guess we ll have an employee (or supportAgent class) and a bug class. So where should I put the method: createNewBug in the supportAgent class or in the Bug class or both Pls let me know if my question doesn t make sense. Thank you All what the employee does is: fill out a little form about a bug and presses submit, then the bug goes to the DB. So we need to put a method SaveBug that calls the data tier. I guess SaveBug ll be in Bug class rather than Employe class or not if so how would the employee class call the savebug method. i guess we need another met ...Show All
vijay1 Office Automation in .NET
Hi, We have a Documentation system which generates some output documents based upon some pre-defined templates in MS Word. What we did in the past was, we designed these templates in Word. We had a Visual Basic dll which dynamically merge the data into these templates using Mail Merge feature. Now we are enhancing/upgrading this application. I was wondering if we can get rid of this Mail Merge some way because using MS Word on server with COM+ causes many unwanted scenarios, like Word instances remain open and eats memory, Some unwanted data appears in Mail Merge fields and Word opens a pop up etc. Can anyone suggest something more useful Thanks, Can we integrate ActiveDocs from BizTalk 2006 ...Show All
irl-barse Should a good business tier provide async methods?
Hello Forum I have developed a business tier that in some cases is located remote and sometimes located on a web server with the web frontend. I have frontend developers requesting that I make async versions of all methods or at least of some in the business tier. They want to use this so they can use with the new "Asyncronous Pages" in ASP:NET 2.0. (See links - the last one includes an impressive benchmark) I'm not experienced in providing async methods from a business tier. I have 2 questions. Should a good business tier provide async methods I'm wonding what issues there can be My setup is like this: - The business tier can sometimes be located remote using single call remoting. - The identity must be on ...Show All
jcollomosse Use serialized domain model entities as web service messages?
I am wondering about the viability of using domain entity classes as the return types and method arguments in web services. The motivation is to avoid having to create a layer of data-transfer/message classes, and the mapping of domain objects to/from them. Technically it works - the IDE autogenerates the proxy classes and does all the serialization. But when you get into the particulars of the domain entity classes (their relationships with each other, aggratetions, exposed collectons, etc), I can see there being practical problems. This is done fairly commonly but it seriously compromises the principle of loose coupling because both the caller and the service must have the class definition to be able t ...Show All
hidme how to debug an eventhandler
I've written a eventhandler dor document libraries, wicht creates unique numbers for each document placed in a library. Ofcourse it isn't working, and I would like to debug my code. It looks like the evnt is never called. Can anyone tell me how to debug source code written for Sharepoint 2003 Eddy Thanks for your answer. Unfortunately I dont'have the rights to do that. I will 'debug' with writing to eventlog or textfiles. One thing I forgot to mention is I am deploying the Event Handler to a remote virtual server. So I develop on my client box with VS Studio, then copy the .dll over to the virtual server's GAC. do you think I can debug the handler like ...Show All
Inferno986 How to send synchronous message to the service?
Hi All! I'm using CSF 3.0 Developer Edition Full. I've tried to send a synchronous message from one servcie to another through a CSF session, but it hasn't worked. On this forum I read, that CSF doesn't support synchronous exchange between services, but there wasn't explanation why. And in the development guide it is said that synchronous exchange is possible. Here is my code: Header header = new Header(); header.Addressing = new Microsoft.ConnectedServices.Sdk.Addressing.AddressingHeaders(MyURI); header.Addressing.To = SessionUri; header.CsfProperties.SessionId = SessionId; header.Addressing.Action = MyAction; Message request = Message.CreateMessage(header, MyRequestType); MyResponseType response = sender.SendSync<MyResponseType>(r ...Show All
clint 2 Stock quote sample not working
Hi, I'm trying to get the stock quote sample up and running, but I always get this error message: "The remote name could not be resolved: ws.cdyne.com" As far as I know the resolve should work just fine. I manually verified that the webservice at http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx exists, is reachable and works perfectly. Can it be that CSF isn't using the proxy server settings from Internet Explorer Greetings, Leon Zandman No, it still doesn't work. The solution Marinus Holkema proposed also didn't work. I'm currently assigned to a different project, so I haven't been able to do some more research. Marinus (who is a direct colleague of mine) has rec ...Show All
Balsoft SP Page with Web Parts and Wiki Content?
Does anyone know if it is possible to create a sharepoint page where i can embed web parts and wiki content all on the same page I have only found a way to create either a sp web part page or separately a wiki only page. instead i want a page that has both types on a single page. ideas ...Show All
StickyC Regarding Profile Manager fields having Null value
Suppose I created a user profile having the following rdf structure. < rdf:RDF xmlns:csf =" http://schemas.microsoft.com/connectedservices/pm#/ " xmlns:owl =" http://www.w3.org/2002/07/owl# " xmlns:rdf =" http://www.w3.org/1999/02/22-rdf-syntax-ns# " xmlns:rdfs =" http://www.w3.org/2000/01/rdf-schema# "> < rdf:Description rdf:about =" http://schemas.microsoft.com/connectedservices/pm#/dik@contoso.com "> < csf:FirstName > Dikson </ csf:FirstName > < csf:Currency ></ csf:Currency > < csf:Email ></ csf:Email > < csf:Phone > < rdf:Description > < csf:PhoneType > Primary1 </ csf:PhoneType > < csf:PhoneNumber > 222-333333 & ...Show All
dustinto Upgrading WSS to version 3.0
Good day everyone, Currently I have WSS V2.0 (unserviced pack) + WSP 2003 (unserviced pack) + MS Project Server 2003 (unserviced pack) on a single server. I'm considering upgrading WSS to ver. 3.0. I know that I'm few service packs behind in all thsese applications. Any suggestions/advices on where I should start and on which order Thanks in advance. Mohamed Mike, You may be correct but to me he is referring to WSS 2.0 Windows Server 2003 and Project Server 2003. I could be off base here so he needs to clarrify the correct components. And you are quite correct in your upgrade fact as we are all aware. Mohamad please clarrify for ALL involved what the comp ...Show All
EvilOneSD Message Routing doesn't work
Hi, all. I defined a very simple ASP.NET Web service as follows (namespace omitted): [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : WebService { [WebMethod] public void Log(string log) { using (StreamWriter writer = File.CreateText(@"C:\log.txt")) { write.WriteLine(log); } } } The session manifest is as follows: <Session timestamp="0001-01-01T00:00:00.0000000-08:00" timeout="30" serialize="None" routeAnyAction="true" ackOnRouteMsgToParticipants="false" xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001 ...Show All
MelAnne Active Directory Forms Authentication problem
Hello! I am now trying for hours to get our external sharepoint 2007 webserver to authenticate users to our active directory which is here at the office. The LDAP connection on port 389 works, we have various other external applications using it. I followed the following instructions: http://channel9.msdn.com/wiki/default.as px/ Channel 9.HowToUse Membership http://weblog.vb-tech.com/nick/archive/2 006/06/14/ 1617.aspx I expanded our default site (port 80, Windows authentication) with an external one (port 4197, forms enabled). I added the following lines to both the administration and extranet site web.config file: <connectionStrings> <add name="ADConnString" connectionString="LDAP://xxx.de:389/CN=U sers,DC= ...Show All
eldiener Master/Defail entities and architecture problem in ASP.NET
Hi gurus, The company in which I work experiences in developing Windows Forms applications and we have developed a kind of 3-tired architecture for that kind of programs but for some business reasons we have to produce some web applications with ASP.NET and we have problems designing an architecture for these new apps because of the major differences between Web and Windows application models. I have studies some tutorials and articles about the various ways we may implement DAL and BIZ layers but in none of them I could find a solution for Master/Detail entities. In Master/Detail entities some business rules must be perfomed by Master entity over it's details. how can we keep the master entity alive while the end user is editing the it ...Show All
vtortola What field of listitem was changed
I was trying to create ItemUpdated eventhandler. I wanna trace what field of listitem was changed. How to do it I was trying to use properties.Afterproperties and properties.Beforeproperties but both of them return nothing. Am I do something wrong and this method is right or I must use another method I'm still geting nothing in my ItemUpdated Afterproperties. But I have another idea. I can save a value of item[field] when calling ItemUpdating eventhandler and if it other then value of item[field] from ItemUpdated eventhandler that's mean that item[field] was changed. I'm a newbee programmer. Is that method good I know about problem with ItemUpdating. ...Show All
BALA SINGAM - My list of icons in the icon notification area
Hi, I'm looking for a method to determine which icons are placed in the notification area, regardless if they are active or not. With google I noticed a program called: sti_EV.exe at http://system-tray-icon.qarchive.org/ which shows that it is possible what I want. My meanings are to capture the event of a change in the area and then check if a certain icon is placed. For example an icon that notifies a failure. TIA, Gearloose I found something usefull, except I cannot get it to work.... http://skyscraper.fortunecity.com/gigo/311/winprog/shellico.txt I've been studying a little and I'am able to create a list of applications that have ...Show All
