-
- A problem in restarting the service of MSSQLSERVER
by BobSun
- 3 Replies
- Last post
by Paul P Clement IV
- I had the following problem in my application.
I need to Restart MSSQLServer service before do the connection test. In some cases, I have to Restart the MSSQLSERVICE again after connection test. In the old version of MSDE2000, no problem occured at all. But in MSDE2000 SP3a, I got the following error when restart the MSSQLSERVICE for a 2nd time.
But if I run the test program so as to execute
-
- More on Multithreading and Sychronization
by MikePHall
- 6 Replies
- Last post
by nobugz
- Since Threads of a higher priority will normally preempt lower priority threads, Is there a means of guaranteeing that a section of code executes from beginning to end without preemption
What if the higher priority thread wants to access the section of code which it preempted. You will have a deadlock situation.
-
- Outlook Example in CTP Samples
by AllTec
- 4 Replies
- Last post
by AllTec
- Hi
I was going through Outlook example and I noticed that in Email part designer I am not able to see NavigationManager but if we see XAML it is actually there.
It is some bug or I need to know something.
Thanks
AllTec
-
- Record Web Service communication
by johndoecal
- 2 Replies
- Last post
by johndoecal
- Hi,
I'm using a web service and I'd like for further analysis and troubleshooting to record the communication. What is the best way to sniff a .NET 2.0 web service
Thanks for any advice
John
-
- crash in moscor dll
by Mohamed Ramzi
- 3 Replies
- Last post
by Feng Chen - MSFT
- Hello there,
We are facing a crash in one of our processes. The process is ended by Windows. Our process is mixing managed and unmanaged C++ and C# code.
The stack trace is:
# ChildEBP RetAddr
00 1055fb38 792a6854 mscorwks!Thread::ReturnToContext+0x2d
01 1055fbec 7924772c mscorwks!SystemDomain::RunDllMain+0x288
02 1055fe74 7917daa0 mscorwks!ExecuteDLL+0x3c0
03 1055
-
- Memory build up
by iLLmAtiC_E.C.
- 1 Replies
- Last post
by Chris Lyon - MS
- Hi,
I have an application that uses .NET remoting. I am having some problems with regards to memory, the server application just keeps on building up memory and its not reclaiming it. My application includes formula calculations that may run a very long time. After the memory build up it throws an OutOfMemoryException. I tried disposing objects and object references and still no luck. The funny
-
- Attempted to read or write protected memory - Fonts-
by Martin2007
- 3 Replies
- Last post
by Martin2007
- I am receiving the following error message in a non-reproducable and seemingly random fashion in my ASP.NET, C# application: System.AccessViolationException was unhandled Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The only steps I can take to reproduce the error are to run the offending function many times, and at some point, thi
-
- Difference between C# and C++.NET
by serkandll
- 3 Replies
- Last post
by Feng Chen - MSFT
- 'd like to know what's the difference between C# and c++.net thaks for your help.
-
- Loop Through DataColumn Fields In Row
by polymorphicx
- 1 Replies
- Last post
by kbradl1
- I need to populate a table based on the values in columns in the first row of a table. I'm having trouble figuring out how to loop through these columns.
I seem to do ok until I get to the last line here:
Code Snippet
foreach (DataRow row1 in dt_sub2.Rows) { //get # of rows with this substation string substation = row1[0].ToString(); int itemNo = Convert.ToInt16(row1[1]);
-
- Best way to launch a .net application (with parameters) from another .net app.
by just.a.nerd
- 14 Replies
- Last post
by just.a.nerd
- I'm trying to launch a windows installed .net application - often with parameters - for instance using file associations - from another .net application.
The obvious way to do that is, once you have the path:
Process.Start(path, parameters);
Although this does launch the app, there are some problems:
1. The lauched app. uses another 'Settings' file than when launching from the start me
-
- Webservices can not be accessed in a 64 bit server?
by Ala Kushlaf
- 1 Replies
- Last post
by Caddre
- I deployed webservices (asp.net, .net 2.0) to a 32 bit server (IIS in Win 2003 server) and they worked fine but when I did the same to a 64 bit server (IIS in Win 2003 server) I got this error (The request failed with HTTP status 404: not found). Are there any extra steps to do when deploying to a 64 bit server any ideas
Thanks in advance
-
- Querying multiple data sources into a single DataTable
by pblecha
- 8 Replies
- Last post
by pblecha
- I'm trying to devise an application that will query multiple sources and put these data into a single table. The multiple sources are three remote SQL servers. Each remote database table is set up exactly the same, and I'm only querying two bits of data from each table anyway.
I would like to put the results of all three queries into a single TABLE. Not a dataSET; I've done that. But becaus
-
- Serialport check for unplugged cable
by Korsten
- 2 Replies
- Last post
by Alan J. McFarlane
- Hello all,
I have a question regarding a serialport connection.
I have a testprogram working which can send data back and forth between Pc and terminal.
But when I unplug the cable I want to have a message displayed which tells that the cable is unplugged.
Is this possible.
I'm using VS2005 and the language C#. To establish the connection I use the Serialport component.
I kno
-
- How to integrate BarCode into a XSLFO document
by NP Rudra
- 5 Replies
- Last post
by timvw
- Is there a way that I could insert a barcode related information into a XSLFO document so that an FOP could generate the PDF with the barcode If there is one, what would be the best/recommended way to do that
-
- problem reading xml data
by Tdar
- 3 Replies
- Last post
by Martin Honnen
- Hello,
I probally am doing something wrong, please note that this xml data can be read with xml notepad 2007 fine.
I have the following code:
Dim UPS_BILL As New System.Xml.XmlDocument
UPS_BILL.Load( "C:/UPSXML.XML" )
TextBox1.Text = "UPS XML DATA:" & vbCrLf If IsDBNull(UPS_BILL.SelectSingleNode( "UPS_EBR_BILL/XMLBillFileVersion" )) T
-
- Remove bytes from the top of a file
by Torgie
- 3 Replies
- Last post
by Centuri0n
- Hello, all. I've pored over the MSDN documentation on File I/O, and done some searching here in the Forums, but can't find an answer to this particular problem I've encountered! The project I'm working on requires a very sensitive approach to file reads and writes. It will be working with very large files, upwards of 2gB, large enough that a ReadAllLines() call is out of the question. It also work
-
- Installing XmlLite ?
by Chedid Haddad
- 11 Replies
- Last post
by motty
- Hello,
I want to install XmlLite on my machine. I have Windows XP - Service Pack 2. I found the 'xmllite.dll' file on my C drive, but the samples I am reading include the files 'xmllite.h' and 'xmllite.lib' which I can't find.
I have downloaded and ran from MSDN 'XMLLite for Windows XP (KB915865)' which suposedly installs XmlLite but I still can't find the files I need.
Any suggesti
-
- Record Count
by mark1110
- 2 Replies
- Last post
by VMazur
- Hi, I am using Access 2003 and oledb and need to get a record count of a database I open. Here is the code: String strCurrDir = Application.StartupPath + strDir; String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data source= " + strCurrDir; OleDbConnection conn = new System.Data.OleDb.OleDbConnection(connectionString); OleDbCommand connCommand = conn.Creat
-
- Making dll thread safe
by Noorul Ahmed
- 1 Replies
- Last post
by Syed Faraz Mahmood
- Hi, Its a general question I am building a dll in vb.net 2.0 to enable tcp communication between server and client. I will be using sockets. I want some guidelines on how to make library thread safe, so that it can be used by multiple threads within the same application without degrading performance. Can you point to any tutorial that can help me achieve this Thanks in advance, Noorul
-
- SP Execution under .Net SQLClient
by di-mgmt
- 8 Replies
- Last post
by di-mgmt
- SQLServer 2000
.Net 2005 COM+ component
SQL Command Object (using ExecuteNonQuery service w/ CommandType = StoredProcedure)
Stored procedure executes in 17 seconds when executed from Query Analyzer (and executed fine under the old VB6 app.)
When executed from the SQLCommand object, it will timeout after 5 minutes. We have seen other instances of stored procedur
-
- How to extract header and footer from RTF document
by Isolda
- 1 Replies
- Last post
by nobugz
- Is there a way to programmatically extract header and footer string from RTF document without manually parsing the whole document
Thank you.
-
- Regular express question
by ydbn
- 2 Replies
- Last post
by Soe Moe
- 123ABC123 => 123ABC, 123 343BBB => 343BBB, null 12323 => null, 12322 ( <first>.*\D+)( <second>\d*) doesn't work on the third line.
-
- SoapServiceRoutingStyle.RequestElement
by EddieBear
- 1 Replies
- Last post
by johnko
- The RoutingStyle=SoapServiceRoutingStyle.RequestElement is explained as " The SOAP Message is routed based on the first child element following the <Body> XML element of the SOAP message. " . If I do not use soapaction, what attribute should I put in the first child element following Body Please give me some ideas or examples.
Thanks
-
- String conversion in SqlParameter
by Spyros Prantalos
- 4 Replies
- Last post
by Spyros Prantalos
- When we use the SqlParameter.SqlParameter(string, object) constructor in order to create parameters for an SqlCommand, the SqlDBType for the object value is inferred from Microsoft .NET Framework type of the object. This mechanism is pretty clear and makes sense. However, is there any particular reason for which ADO.NET will always infer nvarchar for all object values of type string
Thank y
-
- Filling a DataSet with a many-to-many relationship
by Daryl Young
- 5 Replies
- Last post
by cverdon
- Scenario: Groups and Users, a common many-to-many relationship because Users can be part of more than one group and a group obviously has more than one user. So 3 tables are created for this: Groups, Users, and an associative table between them. I have a page that displays a group's details (group name, group description, etc.) and a list of users belonging to that group. So a strongly typed DataS