-
- Exception: "The underlying connection was closed: The connection was closed unexpectedly." (sometimes)
by .NET Developer
- 14 Replies
- Last post
by SachinChavan.in
- I have a windows app connecting to a webservice. In some situation(s) (haven't narrowed it down enough), I get the following exception:
The underlying connection was closed: The connection was closed unexpectedly.
When this exception is thrown, it is calling a method of a web reference.
Now the situation that we experience this is on a laptop in the field that is using a WWAN connection i
-
- Enterprise Services running/debugging problem with VS2005 and IIS 5.1
by VirtualJuha
- 2 Replies
- Last post
by VirtualJuha
- Hi,
I am developing an Enterprise Services system with Visual Studio 2005.
The system consists of an ASP.NET web client and COM+ server component.
I would like to run and debug the system via the VS 2005 along with IIS but
so far I can do it only with the Visual Studio Development server.
But as soon as I switch on the 'Use IIS Web Server' option in VS2005 and try to call the
-
- XML File Storage
by Duncan McC
- 2 Replies
- Last post
by Damiaan
- I have designed a Windows Form database and I currently store my data in memory.
Now I am looking to store data from a windows form database into an XML file instead of memory.
I will need to read and write data to this file and possibly delete it.
I have checked around but i am not finding many clear answers.
Can someone please help as this is driving me crazy !!
Thanks
-
- MDAC2.8 SP1 Components for VS2005?
by Chameleon Man
- 1 Replies
- Last post
by VMazur
- What kind of components does MDAC 2.8 SP1 give you for Visual Studio 2005 Thanks!
-
- reading bytes from the serial port
by ringo42
- 1 Replies
- Last post
by nobugz
- I have a micro controller that sends a stream of 102 bytes to the pc. The values range from 0 to 255. I set up my serialport like this
sp.BaudRate = 115200; sp.PortName = "COM53"; sp.DataBits = 8; sp.StopBits = System.IO.Ports.StopBits.One; sp.Parity = System.IO.Ports.Parity.None; sp.ReadTimeout = 0; sp.Open(); sp.DataReceived += new System.IO.Po
-
- Update statement
by Lars E.Nes
- 4 Replies
- Last post
by Geert Verhoeven
- Hi all.
I am trying to create a update method. This method will update all changed rows in a datagrid. Since this datagrid is used by many tables i can not use tablenames/columns. How can i do a update statemet without Where clause. I don't know the primarykey since the grid is to be used by many tables.
//find the changes DataTable dtChanges = new DataTable ( "change" ); dtCh
-
- Multiple inserts to oracle in one roundtrip
by mahima
- 2 Replies
- Last post
by Sean Fowler
- Hi,
In my form I have so many textboxes and check boxes and Gridview, When the user clicks on a button I need to insert those data into different tables in Oracle database.
Can anyone tell me the best way to do the multiple inserts in to different tables in Oracle database.
Thanks in advance
-
- Assembly backward compatibility
by Regre
- 8 Replies
- Last post
by Regre
- Hi,
I was wondering if someone could explain to me how backward compatibility works between two assemblies.
I have a client that is currently using an Sdk component that I have developed. Eventually, I'll have to deploy another version of this Sdk. With this newer version, I'll also deploy a publisher policy to ensure that the framework redirects all client requests to the newer sdk
-
- how do I read my applications config file?
by tatman blue
- 10 Replies
- Last post
by tatman blue
- I added a section to my app config file. But I can't figure how to get the values from it. The section I added is called "Templates". It seems simple enough but what I do I need to do < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="applicationSettings" type="System.Configuration.Ap
-
- How to configure private key permissions
by Philip Lee
- 0 Replies
- Last post
by Philip Lee
- The WSE3 setup includes batch file code similar to this:
set WP_ACCOUNT=NETWORK SERVICE (ver | findstr "5.1") && set WP_ACCOUNT=%COMPUTERNAME%\ASPNET
winhttpcertcfg -i private.pfx -p vantage -c LOCAL_MACHINE\My -a "%WP_ACCOUNT%"
Which allows the ASPNET account access to the installed private key.
I can install the certificate using .NET X509Store, but can't
-
- System.Timer advice
by Steve Jackson
- 7 Replies
- Last post
by Inbar Gazit - MSFT
- Hello all;
I'm using a dll that makes a blocking call. Not that it matters, but it is a Modbus control that goes out to a physical hardware device to read inputs and outputs. In order to deal with this, I put the call to the dll in a system.timer, and have it polling every 50ms (or at least as close as non-deterministic timers can get).
I wan't to notify other objects in my project w
-
- SerialPort Component doesen't write hex > 0x7f
by e-maurizio
- 6 Replies
- Last post
by JocularJoe
- I have a problem using the dotnet 2.0 serial component in c#. It doesn't write characters major of 127 decimal. In other words, Serial component doesen't support ASCII extended (chars from 128 to 255).
For example:
if I try to write a byte 0x30 , the serial com output is 0x30
but, if I try to write 0x80 , the serial com output is 0x00
and if I try to write 0x81 , the serial com outpu
-
- MIB Web Services
by RK.NET
- 14 Replies
- Last post
by RK.NET
- Can any one provide me infomation, How to develop MIB Web Service (ACORD) for Life Insurance application using VB.NET
-Thanks
-
- LoaderLock
by douner001
- 14 Replies
- Last post
by Itai R
- Hello. I installed VisualStudio.NET 2005 a few days ago. ( not beta ) While I'm debugging, I'm faced with strange message box. -- MessageBox -- No symbols are loaded for any call stack frame. The source code cannot be displayed. -- Debug Detail Window -- FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7a2b5aec, on
-
- Concurrency Violation
by WRBehning
- 6 Replies
- Last post
by WRBehning
- I receive a large datafeed in the form of an XML documet. I then use the following to read it into a DataSet as follows:
DataSet dsTemp = new DataSet ();
dsTemp.ReadXml(strXmlFile, XmlReadMode .ReadSchema);
This typically loads 200,000 rows of data.
I then need to add/update the rows to a database, in this case it is a MySql database.
I use the DataTable.Merge
-
- SqlConnection's capacity for concurrent operations?
by Chris O&#39;Brien
- 1 Replies
- Last post
by Andreas Johansson
- Let's say I've got a couple web services running that return different DataSets. The web services are really just wrappers that call methods in a static data access layer (DAL) that grab and return the appropriate data. Now let's say all these methods in the DAL use a single static SqlConnection. Also, these web services are very busy, being invoked almost non-stop by consumers. Does a SqlConnec
-
- Calling Async Web Service Method from Web Parts
by MULTISY
- 1 Replies
- Last post
by MULTISY
- Does a workaround exist to allow execution the web services async methods & CompletedEventHandler when the Page Async="true" is not set. Since a web part can be added into any page, which is out of the control of the web part can these web service method be utilized!
The problem is without setting Async"true" is not possible to setup these methods, and when setting A
-
- Cross Thread Problem with SerialPort DataReceived Event
by Mikey0727
- 7 Replies
- Last post
by Mikey0727
- I am writing a custom Ref Class with C++ 2005 to control a measurement instrument via Serial Port.
My class inherets System::IO::Ports::SerialPort.
I also define events inside my class to generate action on specific RS232 messaages.
My problem is as follows: Inside the datareceived event handler, I raise events based on messages reveived. However, when my class is instantiated on a wind
-
- Persisting XMLSerializer.
by Subbu .NET
- 3 Replies
- Last post
by Subbu .NET
- I want to persist an array of XMLSerializer instances in hard disk so that I can reuse it across application sessions.
This array may consists of approximately 300 instances for different .NET types. Rather than creating instances for each session, I want to persist that in hard disk for future session. But later I realized that XMlSerializer itself is not serializable.
Is there any other wa
-
- JScript .NET and IronPython
by Ricky Wang
- 1 Replies
- Last post
by Don Raman
- Hi,
I saw a lot of DLR-based language appearing recently as IronPython, IronRuby.
What is the distinction between JScript .NET and other ones except the lanuage syntax
BTW: i am not sure whether JScript .NET is DLR-based.
Thanks,
Ricky.
-
- Server actively refused connection
by Geert van Horrik
- 8 Replies
- Last post
by timvw
- Hi all,
I am developing a Web Service inside a Windows Service via the soap.tcp protocol. This all works, and I have created the webservice at soap.tcp://myservice.mycompany.com:8083/MyService .
When I add a Web Reference to a test project (local computer), it automatically sets the URL to soap.tcp://localhost:8083/MyService . All works great with this.
However, when I set the
-
- donot able to update sqldtatabase
by Avinob Roy&#40;MCP&
- 0 Replies
- Last post
by Avinob Roy&#40;MCP&
- hii
i am using dataset name TestDataSet to interact with Sqldatabse
i created a dataTable and add a query to insert data and used a datagrid to display the data.
when i insert the data it get displayed into the datagrid but the data is not inserted into database ....
can any one help me out..
dim dtAdapter as TestDataSet.emptableAdapter = new TestDataSet.emptableAdapter
d
-
- Primary key suppressed for views in second Oracle schema.
by David Byrne
- 0 Replies
- Last post
by David Byrne
- In Oracle 9i, I have a view in one schema which has a primary key defined for it. When I login to that schema, my OracleCommandBuilder correctly generates INSERT/DELETE/UPDATE OracleCommands for my OracleDataAdapter.
I have a second schema, which has INSERT/DELETE/UPDATE/SELECT permissions on the view in the first schema.
However, when I login to that second schema, then use
ALTER SESSION
-
- How will the client come to know about the WSE settings used by service at server ??
by anita punjabi
- 4 Replies
- Last post
by anita punjabi
- Hi, We have created a web service and secured it using some policies of WSE 3.0. Now
on the client side, we need to apply the same policy to the proxy of
service, that is generated. So the question is , how does the client
come to know about policy used by the service WSDL / or the proxy class generated does not have any information regarding policy used by service. Any pointers to, how the
-
- Method Parameters of IEqualityComparer & other similar interfaces...
by Rahul Singla
- 7 Replies
- Last post
by nobugz
- I needed to implement an interface that would allow comparison of two objects of my class for equality. I found IEqualityComparer. On studying it further, I felt like this interface has been provided explicity for supporting the Dictionary collection, otherwise why would there be a GetHashCode() method in an Equality comparison interface Further, I was stumped by the method signatures of this int