Answer Questions
henrynp CLR Error
I'm doing a batch data transfer from 'server a' to 'server b'. I get the following error. Any idea what this means please The CLR has been unable to transition from COM context 0x1b1ae8 to COM context 0x1b1c58 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative pe ...Show All
Noreykav Remoting Questions
I have a remote object that must be used by multi ple client possibly at the same time for across the net.My object only has 5 functions .The finally step(function does a sql process that is ran by an exe that I call from my remote object on the server.For some reason when one client is doing this process and the next client tries to just get connect to my object they get a remoting error and can not connect. Remote object <code> Imports S ...Show All
tbednarick mscorsw.exe
At times the process mscorsw.exe starts and uses 99% CPU. Obviously it is almost impossible to use the computer while it executes. What does this process and what can I do to improve the situation Thanks, Dan Please refer to the bottom of http://blogs.msdn.com/davidnotario/archive/2005/04/27/412838.aspx . Regards, Shri ...Show All
Benet Devereux Invoke CreateDelete and LCG
The problem is the user can inhert from the base class fsmEvent and create their own events, these events are then pushed onto a list of type fsmEvent. The problem is calling the correct member function without using Invoke. The problem with Invoke it is too slow, it is possible to use a delegate but the issue is if the user can create their own flash the delegate has to be created for that type ... CreateDelegate needs to have the exact paramet ...Show All
TMD_2006_3_20 system.net.mail.smtpclient fqdn required
This seems to be the right place to ask this question. I'm trying to send a simple email message using the SmtpClient in system.net.mail through my own Postfix mail server. I've got UCE controls turned on and the .Send method is rightfully failing during the HELO negotiation because the FQDN of the sending host is not being sent. I don't see anywhere to force this behavior, or to otherwise set the FQDN on the SmtpClient object. I'm missing ...Show All
Arstan Web Services Publishing Issue in VS 2005, testing on Windows XP, with Winforms Client
I'm working on a simple Web Services example on Windows XP calling the service from a Winforms Client. The application works perfectly when run inside the Visual Studio IDE. When I publish to http://localhost I the application will hang calling the service. When I publish to a secondary XP laptop, I get a Index out of Range error. I have steped through all the code in VS and everything works fine through the IDE. The solution is composed of ...Show All
speeddensity RSA.SignHash: "Keyset does not exist" exception (.NET 2.0)
Using Beta 2 of Visual Studio 2005. I have converted a project from VS 2003. One of the methods is designed to decrypt a value, process it and send it back, signed. The process uses an RSA key pair stored in an snk file (and created by the sn tool). The client can successfully encrypt the data using the server's public key (extracted using sn -p ) and send the message. Then, the server can decrypt the message (which requires the use of the priv ...Show All
june_21 Simple TSQL called by ADO fails
(SQL 2005) I have a program using ADO that sends a line of text to SQL Server to be executed. the line is essentially: if exists(select 1) DELETE C_Codes WHERE category=13; I can't get the DELETE clause to execute in ADO even when the if exists clause is clearly true (works fine when manually executed in Management Studio). Can someone explain why this doesn't work, and what I need to do to make it work Thanks. ...Show All
tennisguy Possible to Cast from String representation of Type?
I am loading an xml file that contains both the type and value of an item. EG: < ListReturnItem itemName =" TargetID " itemType =" int "> 23 </ ListReturnItem > < ListReturnItem itemName =" TargetState " itemType =" PublicTargetState "> Enabled </ ListReturnItem > PublicTargetState is a predefined unumerated type. I need to be able to create a new object based on the xml value of itemType, which is a string ...Show All
Jack Lavender System.Transaction - nested Required within Suppress scope
It seems that changes are not rolled back when a connection opened inside a Suppress TransactionScope is used like this in nested Required scopes: Using noTransx As New TransactionScope(TransactionScopeOption.Suppress) Using sqlcon As SqlClient.SqlConnection = New SqlClient.SqlConnection(constr) 'do some initial SQL statements here using shared sqlcon object Using transxScope1 As New ...Show All
Ctrl A VB 2005 Express - example database project
I'm looking for a simple example project where i can find all the statements are related to - connecting and closing the database - get (sql select) and set (sql insert, update) data - how to put and edit data in a DataViewGrid Can somebody help me tnx from the Netherlands Hi, I also need some projects examples. code with instrustions to learn plz help me. Only the code, please... ...Show All
xiaotao Typed dataset and ReadXml
Hi! I have some problems with my typed dataset, the dataset contains several datatables and the problem occurs when i try to load the dataset with the ReadXml function. The problem is that some of the tables won't load properly. For example: MyDataSet ds = new MyDataSet; ds.ReadXml("ds.xml"); The table table1 in ds will be empty, even if the xml-file contains data that belongs to table1. MyDataSet ds = new MyDataSet; ds.table1.ReadX ...Show All
OwenP Please Help me
i want xml writing method....and syntax data base to xml file If you are talking about SQL Server, learn about SQLXML and "FOR XML". Thanks ...Show All
rebelR "Could not create type..." error deploying webservice
I know this question has been asked a billion times already because I've found several instances on the net, but none of the proposed solutions seems to solve my problem, so I'd appreciate any help. I've created a C# webservice on my local machine that runs fine. Now I'm trying to deploy it to a webserver. The server is Windows 2003 with IIS 6. I created a new virtual directory in IIS, set it to be an application, and gave it "scripts on ...Show All
mark_k Keep getting Invalid Invalid SoapAction error no matter what....
Hi, I have a remote object exposed using a Http channel with Soap formatter, which publishes itself to the remoting system programmatically. The Http channel is configured in the application configuration file. [ WebServiceBinding(Name="NotificationBinding", Namespace="http://tempuri.org")] public class MyService : MarshalByRefObject   ...Show All
