Answer Questions
enki Server based certificates
Hi, I am using a .Net 2003 C # application that connects to a web service. In order to connect, it does a SOAP login using a certificate. Until now I had to install the certificate to Windows Certificate Store. My question is if it possible to use this application without having to install the certificate, but just by using it as a file, because I use it(programmatically) to sign in to the web service. Thanks. ...Show All
Riaanvs The -name parameter available under WSEWSDL2 has disappeared in WSEWSDL3
I have migrated production code from WSE 2.0 to WSE 3.0, however I cannot generate the client proxy file from my TCP-based WSE3.0 web services using wsewsdl3.exe. The production web services have endpoints configured with an address Uri and via Uri, as follows: Uri address = new Uri ( "urn:WSE3" ); Uri via = new Uri ( "soap.tcp://0.0.0.0:50010" ); EndpointReference EPR = new EndpointReference (address, via); SoapReceivers .Add ...Show All
Devteam RS232 Serial Port programming in Visual Studio .NET 2003
I just started working at a company, and they want me to write a program to control several RS232 devices. The programming software that we are using is Visual Studio .NET 2003. I purchased a book on Serial Port programming, "The Windows Serial Port Programming Handbook," which is a very good book with plenty of code examples in ANSI C, assembly, Visual C++ 6.0, Visual BASIC, LabVIEW, MATLAB, Smalltalk, and Java. The problem I am having is th ...Show All
pierz Strange behavior of the Trace
I use Trace class to get logs of the Windows Service. Log file could be changed dinamicalli (you change log file name and trace should to create new file and continue write trace in them). STrace (my class) contain such function to dinamically change log file: private static void AddTextListener( string FileName) { //=========================================================== Trace .WriteLine( DateTime .Now.ToString( "yyy ...Show All
Ben Weber connect to ibm
hi guys how can connect to os 400 with iseries access odbc driver i mean how can i open a connection and make a select query and close the connection thx once you make the connection to the database you should be able to program against it using SQL statements like you would if you were querying Access or SQL Server or Oracle. Whats you program written in Connecting to any type of datab ...Show All
Ben_Pittoors Configuration system failed to initialize, when try to consume a webservice on GINA
Hi I'm developing a replace of GINA, but i'm combining managed and unmanaged code in my dll. It is because i tried to minimize code and i'm not an C++ expert. I'm using a biometric that exposes its functionality by ActiveX, and i'm using webservices to validate identities and so. It works fine with framework 1.1, but in machines with framework 2.0 i can't consume a web service and i get the follow exception: system configuration fail ...Show All
mrwebster .NET Assembly Security
Hi all, just a quick question. Since there is a .NET Reflector written by LR which disassemble an exe/dll file, i can't find anything nor a better solution to get secure. How are we suppose to write a secure .NET app since it can be disassemble Is there a way to do it or perhaps possibility Or what's your recommendation / suggestion Regards, David [.NET NEWBIES] codeveil can disable CLI header http://www.xheo.com/products/ent ...Show All
scourge FK violation on TableAdapter.Update
I have 2 tables, namely Parent(ParentID, ParentName) and Child(ChildID, ChildName, ParentID). I created a form by dragging the datasources based on the dataset produced by this tables. The Parent table is represented by details while the Child is with DataGridView. The Child table bindingsource is bound to the relationship between the two tables so I expected that Child.ParentID would change accordingly after updating the parent table to the dat ...Show All
Vincent D. - Nolme Informatique Switch from .NET Remoting 1.1 to 2.0 problem
Hello, Recently i switched to .NET Remoting 2.0 (before used 1.1) and ran into the problem with something related to lease expiration. With CLR 1.1 all works fine. I override InitializeLifetimeService() method to have unexpired lease time as it is below in snippet code: public override object InitializeLifetimeService() { return null; } But although it exeptions like: Unable to connect to the remote server No connection cou ...Show All
Abilash Sanam How to Develop AutoStart WebService?
Hi All I wand to develop service which should be started automatically. so my timer can be started. and it can perform some event. Web services should not need to be called explicitly. As machine gets started it should be started. my service contains timer which works afterwards. Please Can Any one Tell me In WSE 3.0 see the following Quickstart sample for a Windows Service running a web service. ...Show All
Pavel Kaufman 64-bit beginner can't get 32- or 64-bit .NET apps to run on 64-bit machine
Hi, Please forgive this dumb question, but I *just* got my 64-bit (AMD Athlon X2) machine two days ago and am trying to test .NET apps under it. I've gone to Windows Update and installed all available updates. I'm running Windows xp Professional x64 Edition. The problems I have are this: I used Visual Studio 2005 Release Candidate on my other, 32-bit machine to build 32-bit and 64-bit binaries of a little app that does nothing but sh ...Show All
amar GZip/Deflate Issue
I have the following functions: public static System.IO.MemoryStream DecompressToStream(System.IO.Stream SourceStream) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); SourceStream.Position = 0; using (System.IO.Compression.GZipStream _zip = new GZipStream(SourceStream, CompressionMode.Decompress, true)) { CopyStream(_zip, ms); ms.Position = 0; return ms; } } and /// <summary ...Show All
Dave van Bale C# Parameters NOT passing to Web Service
In a revision of the Distributed Application Walkthrough located here: http://msdn2.microsoft.com/en-us/library/1as0t7ff.aspx , we have changed the WinForms app portion of the walkthrough the use the designer tools in VS2005 instead of a manual placement of the datagridview control and the Load/Save buttons. When we use the VS2005 designer tools to drag and drop from the DataSources window after adding a Web Reference to the project, every ...Show All
Chimme2 Can I use ZIP files in C#?
Hi, I've been watching around for a while now but in the end came up with nothing. I want to write an application in C# .NET 2.0 that can handle ZIP files. It must read any files from archives into memory or disk files and create new archives from files on the disk and from memory. I have read and tested the J# article from supposedly 2 years ago but failed with the writing to memory part due to incompatibilities between C# and J#. (That ...Show All
bigincome ADSI
Ok. So which namspace does ADSI reside in I need to tap into the ADSI Object Model to check and see if a user exists in a Windows 2000 Group so that canget into the Application. How do I tap into the ADSI Objects within a .Net Application Hey thanks for that! I added the reference, but it stops at system.DirectoryServices It doesn't go beyond that for DirectoryEntry & DirectorySearcher ...Show All
