Answer Questions
Ruud Borst Web Services hanging and timing out
Hi I have developed a VSTO application for Word that consumes a web service to get data needed to populate the Word document. Architecturally this is all working great. However, when I try and run the full solution together, suddenly the calls to the web service methods hang for no apparent reason. Some detail on the application is as follows: When the Word document is opened, there are a number of objects that are instantiated. ...Show All
OliNagel Anonymous methods serialization
Anonymous methods are really useful to leverage methods such as AppDomain.DoCallBack . Actually, when the anonymous methods does not rely on the context, the produced delegate is serializable. For example, the following code do work class Program { static void Main( string [] args) { Foo( delegate () { Console.WriteLine("42"); }); } &n ...Show All
MRQ Error on MsCorwks on Virtual Server 2005 R2
Hi, I have a problem running a service, my service suddenly stops working without any warning (I catch all the exceptions). There is an entry on the event log that says that the service suddenly stops x amount of times. Wired cause only happens on the virtual server. I found also this entry (not all the times) : Faulting application exony.bid.ois.cache.service.exe, version 3.0.0.0, faulting module mscorwks.dll, version 1.1.4322.573, faul ...Show All
Dilip Krishnan SerializationException on Sending Data Back to Serviced Component Via Remoting
I've developed a distributed app in C#. The various components of the application are as follows: A SQL Server database. Data Access Layer - Hosted in COM+ as Library application. Business Logic Layer - Hosted in COM+ as Server application. User Interface (Windows-based). Types - Exposes various typed DataSet objects used by DAL, BLL, and UI. ServerHost - A Console app that exposes the BLL objects via remoting. The applic ...Show All
Turbond Using Axis without SOAP
it seems I don't need to understand SOAP at all to use web services 1) all i need is WSDL file --> generate server side skeletons + client side stub. 2) call stub to access remote objects / methods 3) do i have to understand SOAP if i am only user / provider of web services 4) since service / client to access service code can generate using WSDL2Java anyway --> no need to know SOAP at all sorry cuz i am a web serv ...Show All
Cookman wininet,winhttp,autoproxy
I am working in vb.net 2003 and cannot for the forseeable future move to net 2005. I really like net and managed code until I have to work with c++ to accomplish some task like determining the proxy server address for a web service application. I realize that wininet and autoproxy routines mimic what internet explorer uses to connect to the internet. I just find it difficult to work with these c++ routines in the vb environment. This is my q ...Show All
TDeveloper System.io.filenotfoundException 0x80070002 when getting database.Tables.Count using smo
I got a message box saying "System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" and the exception stack or something. I can connect to an SQL Server, get a database. I can view some basic info about the database : foreach (Database db in this.myServer.Databases) { Console.WriteLine("db name : " + db.Name); Console.WriteLine("db status : " + db.Status.ToString()); Console.WriteLine ...Show All
hebboy Please tell me where can I get a code example about Web distributed application.
I am learning the .net remoting technology lately.I have made a distributed winForm application . but I don't know how to configure a webForm distributed application base on IIS.If you can help me or give some material . And I want to know the details about Remoting. Thanks! Unfortunately, Ingo's book does not completely cover remoting 2.0. The app.config paramaters have changed and I have been un ...Show All
Gabriel 06 .NET COM and Remoting
Hi. I handle a serious problem with remote connection from my Agent( writen on c#) module that is actually registerd as COM object and loaded by Executable that writen on C++, .NET Agent and Executable reside in different folders. I receive following Exception from my remote server: "Return argument has an Invalid type". Module Detailed explanation: 1) HostClient.exe - Executable for My .NET COM Agent(MyAgent.dll) . Simple c ...Show All
R055 Listeber to All TraceSource
How can I connect my all TraceSource to one listener in config file. <configuration> <system.diagnostics> <sources> <source> <listeners> <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="myListener.log">   ...Show All
dotNetFan Help!Remove Duplicate elementsin xml file
ive been racking my brains over this one and i just cant make it work. im trying to remove the duplicate elements in my xml file based on an integer id and then on a string comparison. for example my xml file below: < xml version="1.0" > - < bcp > - < groups > - < group bcp:id =" 1 " xmlns:bcp =" mcg:1 " > < name > Command Centre Groups </ name ...Show All
GMG_NetCoder .NET 2.0 Error Reading XML From Non-.NET Web Service
I have a web application that exchanges data with our mainframe (HP Nonstop) using web services that are hosted on the mainframe. The web application has been working fine with both the 1.0 and 1.1 frameworks, but now I'm trying to migrate it to the 2.0 framework and have encountered a major problem. When the migration of the .NET code was complete, the web application no longer worked with the mainframe web services. Whenever the .NET code cal ...Show All
Andrew McGhie Writing to a file from a Webservice
Hi, I'm trying to keep a log writing to a file when certain operations are executed, but it's not writing anything and it doesn't report any error. MainLogger = new FileLogger("C:\\myWSlog.log"); MainLogger.Log(LogSeverity.Info, "WSHelloFromPostgreDB", "String Returned."); The same set of instructions works on a client app, but not from my webservice. Even more, I try running the web service from VS2005 IDE ...Show All
alindblad sn.exe and the .net SDK 1.1
Hello, I am trying to create a strong name key for one of my .net components, however I can not find the tool that msdn references as sn.exe which is part of the security tools of the .NET SDK 1.1. Anyone know where I can download this utility or the SDK thanks! -ken Hi, Maybe he used the default command prompt. Just use vs.net 2003 command prompt from ...Show All
ArielDeil .Net remoting singleton class Issue
Hey, We have a website that is in asp and the website basically encrypts the credit card info and then through remoting the information is passed to a different server where it gets decrypted before reaching mainframe. We have used Singleton class for decryption for better performance but it looks like the decryption process fails once in a while when multiple web requests tries to access the decrypt what I mean is as the load is increased th ...Show All
