I am running a console application that connects to an Access database (8
million rows) and converts it to a text file and then cleans and compacts
the database. When it runs I get the following error:
The CLR has been unable to transition from COM context 0x1a2008 to COM
context 0x1a2178 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 performance impact and may even lead
to the application becoming non responsive or memory usage accumulating
continually over time. To avoid this problem, all single threaded apartment
(STA) threads should use pumping wait primitives (such as
CoWaitForMultipleHandles) and routinely pump messages during long running
operations. I just ran this overnight and it did not advance at all.
It takes a while to connect and retrieve the rows, and I want to put this in
a batch mode so I don't have to worry about it any more. What can I do to
prevent this error. Code follows:
StartTime = Now
Dim boolDeleteFiles As Boolean = True
Dim strCoilDataFilename As String
Dim strCoilStatusFilename As String
Dim strDataDumpFilename As String
Dim strPieceDumpFilename As String
Dim strArchiveCoil As String
Dim strDate As String
Dim dtCoil As New DataTable
Dim dtStat As New DataTable
Dim dtDump As New DataTable
Dim dtPiece As New DataTable
strArchiveData.Append("Creating file names...")
strDate = Now.Month & "-" & Now.Day & "-" & Now.Year
strArchiveCoil = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilArchi ve" &
strDate & ".zip"
strCoilDataFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilD ata" &
strDate & ".txt"
strDataDumpFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\DataD ump" &
strDate & ".txt"
strCoilStatusFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilStatu s"
& strDate & ".txt"
strPieceDumpFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\PieceDump " &
strDate & ".txt"
objDAL.ProviderName = "System.Data.OleDb"
objDAL.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=[PATH];User Id=admin;Password=;"
'check for existing files first
strArchiveData.Append("Checking for " & strCoilDataFilename)
If My.Computer.FileSystem.FileExists(strCoilDataFilen ame) Then
strArchiveData.Append("File found. Deleting file " & strCoilDataFilename)
My.Computer.FileSystem.DeleteFile(strCoilDataFilen ame)
End If
strArchiveData.Append("Checking for " & strDataDumpFilename)
If My.Computer.FileSystem.FileExists(strDataDumpFilen ame) Then
strArchiveData.Append("File found. Deleting file " & strDataDumpFilename)
My.Computer.FileSystem.DeleteFile(strDataDumpFilen ame)
End If
strArchiveData.Append("Checking for " & strCoilStatusFilename)
If My.Computer.FileSystem.FileExists(strCoilStatusFil ename) Then
strArchiveData.Append("File found. Deleting file " & strCoilStatusFilename)
My.Computer.FileSystem.DeleteFile(strCoilStatusFil ename)
End If
strArchiveData.Append("Checking for " & strPieceDumpFilename)
If My.Computer.FileSystem.FileExists(strPieceDumpFile name) Then
strArchiveData.Append("File found. Deleting file " & strPieceDumpFilename)
My.Computer.FileSystem.DeleteFile(strPieceDumpFile name)
End If
Console.WriteLine("Connecting to database...")
strArchiveData.Append("Starting Archive On: " & Now & "...")
strArchiveData.Append("Getting Coil_Status Data...")
'Get the coil data and create the file
Try
strArchiveData.Append("Retrieved Coil_Data...")
dtCoil = objDAL.ExecuteDataTableSQL("SELECT * FROM Coil_data")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = csvParse.DTToCSV(dtCoil, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strCoilDataFilename &
"...")
My.Computer.FileSystem.WriteAllText(strCoilDataFil ename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("CoilData file created...")
strArchiveData.Append("Deleting Coil_Data Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM Coil_DATA")
strArchiveData.Append("Deleted Coil_Data Records...")
Catch ex As Exception
strArchiveData.Append("Error creating CoilData file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating CoilData. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Coil_Data Error")
End Try
'get the coil stats data and create the file
strArchiveData.Append("Getting Coil_Stat data...")
Try
strArchiveData.Append("Retrieved Coil_Stat...")
dtStat = objDAL.ExecuteDataTableSQL("SELECT * FROM Coil_Stats")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtStat, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strCoilStatusFilename &
"...")
My.Computer.FileSystem.WriteAllText(strCoilStatusF ilename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("CoilStat file created...")
strArchiveData.Append("Deleting Coil_Stat Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM Coil_Stats")
strArchiveData.Append("Deleted Coil_Stat Records...")
Catch ex As Exception
strArchiveData.Append("Error creating CoilStat file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating CoilStat. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Coil_Stat Error")
End Try
'Get the data_dump File
Try
strArchiveData.Append("Retrieved data_dump...")
dtDump = objDAL.ExecuteDataTableSQL("SELECT * FROM data_dump")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtDump, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strDataDumpFilename &
"...")
My.Computer.FileSystem.WriteAllText(strDataDumpFil ename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("Data_Dump file created...")
strArchiveData.Append("Deleting data_dump Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM data_dump")
strArchiveData.Append("Deleted data_dump Records...")
Catch ex As Exception
strArchiveData.Append("Error creating DataDump file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating DataDump. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Data_dump Error")
End Try
Try
strArchiveData.Append("Retrieved piece_dump...")
dtPiece = objDAL.ExecuteDataTableSQL("SELECT * FROM piece_dump")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtPiece, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strPieceDumpFilename &
"...")
My.Computer.FileSystem.WriteAllText(strPieceDumpFi lename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("piece_dump file created...")
strArchiveData.Append("Deleting piece_dump Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM piece_dump")
strArchiveData.Append("Deleted piece_dump Records...")
Catch ex As Exception
strArchiveData.Append("Error creating piecedump file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating piecedump. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Piece_Dump Error")
End Try
'Add the pieces to a zip file
Try
Dim retVal As Double
Dim wzpath As String
Console.WriteLine("Adding files to zip archive")
strArchiveData.Append("Adding files to " & strArchiveCoil & " file...")
wzpath = "c:\program files\winzip\wzzip " & strArchiveCoil & " " &
strCoilDataFilename & " " & strCoilStatusFilename & " " &
strPieceDumpFilename & " " & strDataDumpFilename
retVal = Shell(wzpath, AppWinStyle.NormalFocus, True)
Console.WriteLine("Files added to zip")
strArchiveData.Append("Files added to " & strArchiveCoil & " file...")
Catch ex As Exception
strArchiveData.Append("Error adding files to zip...")
Console.WriteLine("Error adding files to zip...")
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Zip Files Error")
End Try
'delete the old files
If boolDeleteFiles = True Then
Console.WriteLine("Deleting text files")
strArchiveData.Append("Deleting text files...")
Try
Console.WriteLine("Deleting coil_Data files")
strArchiveData.Append("Deleting coil_Data files...")
My.Computer.FileSystem.DeleteFile(strCoilDataFilen ame)
Console.WriteLine("Deleting data_Dump files")
strArchiveData.Append("Deleting data_dump files...")
My.Computer.FileSystem.DeleteFile(strDataDumpFilen ame)
Console.WriteLine("Deleting coil_stats files")
strArchiveData.Append("Deleting coil_stats files...")
My.Computer.FileSystem.DeleteFile(strCoilStatusFil ename)
Console.WriteLine("Deleting piece_dump files")
strArchiveData.Append("Deleting piece_dump files...")
My.Computer.FileSystem.DeleteFile(strPieceDumpFile name)
Catch ex As Exception
strArchiveData.Append("Error deleting records. Error: " & ex.ToString)
Console.WriteLine("Error deleting records. Error: " & ex.ToString)
SendNotification(strArchiveData.ToString, "Deleting Records Error")
End Try
Else
Console.WriteLine("Error creating files, records not deleted")
strArchiveData.Append("Error creating files, records not deleted...")
End If
'write the archivedatafile back to the database
Console.WriteLine("Writting Coil Archive Data...")
Console.WriteLine("Compacting and reparing database...")
Compact("O:\Inspection\COIL\DATA\Test.mdb")
strArchiveData.Append("Compacting and reparing database...")
Console.WriteLine("Database Compacted...")
strArchiveData.Append("Database Compacted...")
EndTime = Now
elapseTime = EndTime.Subtract(StartTime)
strArchiveData.Append("Total Time: " &
elapseTime.TotalMinutes.ToString("0.00") & " minutes...")
Console.WriteLine("Total Time: " & elapseTime.TotalMinutes & " minutes...")
Try
objDAL.ConnectionString = "Data Source=sogd0005\sogd0005;Initial
Catalog=[ArchiveDatabase];UID=[USER];PWD=[PWD];Integrated Security=false"
objDAL.ProviderName = "System.Data.SqlClient"
objParam.CreateParameter("ArchiveData", strArchiveData.ToString,
DbType.String, ParameterDirection.Input)
objDAL.ExecuteNonQuery("InsertCoilArchiveData", objParam)
Catch ex As Exception
Console.WriteLine("Error writting archive data to database.")
SendNotification(strArchiveData.ToString, "Error writtin archive data to
database")
End Try
Console.WriteLine("Done.")
SendNotification("Coil Data Archived Successfully on: " & Now & ". Elaspse
Time: " & elapseTime.ToString, "Coil Data Archived")
End Sub 1 2021
I am running a console application that connects to an Access database (8
million rows)
Well, my first suggestion is to convert to SQL server if you're
handling that many rows, but thats another topic...
The CLR has been unable to transition from COM context 0x1a2008 to COM
context 0x1a2178 for 60 seconds. The thread that owns the destination
<snip>
Anyways is this error occurring when the app is published or just when
it's run within the devolopers environment? If only in dev enviro then
just compile the app and see if it goes away. Also, if you want to know
what the CLR error means look it up in the documentation or even do a
few google searches - better explainations than what I can offer will
show up.
Thanks,
Seth Rowe
John Wright wrote:
I am running a console application that connects to an Access database (8
million rows) and converts it to a text file and then cleans and compacts
the database. When it runs I get the following error:
The CLR has been unable to transition from COM context 0x1a2008 to COM
context 0x1a2178 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 performance impact and may even lead
to the application becoming non responsive or memory usage accumulating
continually over time. To avoid this problem, all single threaded apartment
(STA) threads should use pumping wait primitives (such as
CoWaitForMultipleHandles) and routinely pump messages during long running
operations. I just ran this overnight and it did not advance at all.
It takes a while to connect and retrieve the rows, and I want to put this in
a batch mode so I don't have to worry about it any more. What can I do to
prevent this error. Code follows:
StartTime = Now
Dim boolDeleteFiles As Boolean = True
Dim strCoilDataFilename As String
Dim strCoilStatusFilename As String
Dim strDataDumpFilename As String
Dim strPieceDumpFilename As String
Dim strArchiveCoil As String
Dim strDate As String
Dim dtCoil As New DataTable
Dim dtStat As New DataTable
Dim dtDump As New DataTable
Dim dtPiece As New DataTable
strArchiveData.Append("Creating file names...")
strDate = Now.Month & "-" & Now.Day & "-" & Now.Year
strArchiveCoil = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilArchi ve" &
strDate & ".zip"
strCoilDataFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilD ata" &
strDate & ".txt"
strDataDumpFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\DataD ump" &
strDate & ".txt"
strCoilStatusFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\CoilStatu s"
& strDate & ".txt"
strPieceDumpFilename = "O:\Inspection\COIL\DATA\CoilArchiveData\PieceDump " &
strDate & ".txt"
objDAL.ProviderName = "System.Data.OleDb"
objDAL.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=[PATH];User Id=admin;Password=;"
'check for existing files first
strArchiveData.Append("Checking for " & strCoilDataFilename)
If My.Computer.FileSystem.FileExists(strCoilDataFilen ame) Then
strArchiveData.Append("File found. Deleting file " & strCoilDataFilename)
My.Computer.FileSystem.DeleteFile(strCoilDataFilen ame)
End If
strArchiveData.Append("Checking for " & strDataDumpFilename)
If My.Computer.FileSystem.FileExists(strDataDumpFilen ame) Then
strArchiveData.Append("File found. Deleting file " & strDataDumpFilename)
My.Computer.FileSystem.DeleteFile(strDataDumpFilen ame)
End If
strArchiveData.Append("Checking for " & strCoilStatusFilename)
If My.Computer.FileSystem.FileExists(strCoilStatusFil ename) Then
strArchiveData.Append("File found. Deleting file " & strCoilStatusFilename)
My.Computer.FileSystem.DeleteFile(strCoilStatusFil ename)
End If
strArchiveData.Append("Checking for " & strPieceDumpFilename)
If My.Computer.FileSystem.FileExists(strPieceDumpFile name) Then
strArchiveData.Append("File found. Deleting file " & strPieceDumpFilename)
My.Computer.FileSystem.DeleteFile(strPieceDumpFile name)
End If
Console.WriteLine("Connecting to database...")
strArchiveData.Append("Starting Archive On: " & Now & "...")
strArchiveData.Append("Getting Coil_Status Data...")
'Get the coil data and create the file
Try
strArchiveData.Append("Retrieved Coil_Data...")
dtCoil = objDAL.ExecuteDataTableSQL("SELECT * FROM Coil_data")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = csvParse.DTToCSV(dtCoil, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strCoilDataFilename &
"...")
My.Computer.FileSystem.WriteAllText(strCoilDataFil ename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("CoilData file created...")
strArchiveData.Append("Deleting Coil_Data Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM Coil_DATA")
strArchiveData.Append("Deleted Coil_Data Records...")
Catch ex As Exception
strArchiveData.Append("Error creating CoilData file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating CoilData. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Coil_Data Error")
End Try
'get the coil stats data and create the file
strArchiveData.Append("Getting Coil_Stat data...")
Try
strArchiveData.Append("Retrieved Coil_Stat...")
dtStat = objDAL.ExecuteDataTableSQL("SELECT * FROM Coil_Stats")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtStat, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strCoilStatusFilename &
"...")
My.Computer.FileSystem.WriteAllText(strCoilStatusF ilename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("CoilStat file created...")
strArchiveData.Append("Deleting Coil_Stat Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM Coil_Stats")
strArchiveData.Append("Deleted Coil_Stat Records...")
Catch ex As Exception
strArchiveData.Append("Error creating CoilStat file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating CoilStat. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Coil_Stat Error")
End Try
'Get the data_dump File
Try
strArchiveData.Append("Retrieved data_dump...")
dtDump = objDAL.ExecuteDataTableSQL("SELECT * FROM data_dump")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtDump, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strDataDumpFilename &
"...")
My.Computer.FileSystem.WriteAllText(strDataDumpFil ename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("Data_Dump file created...")
strArchiveData.Append("Deleting data_dump Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM data_dump")
strArchiveData.Append("Deleted data_dump Records...")
Catch ex As Exception
strArchiveData.Append("Error creating DataDump file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating DataDump. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Data_dump Error")
End Try
Try
strArchiveData.Append("Retrieved piece_dump...")
dtPiece = objDAL.ExecuteDataTableSQL("SELECT * FROM piece_dump")
Console.WriteLine("Creating text file...")
strArchiveData.Append("Creating CSV file from datatable...")
strFileContents = ""
strFileContents = csvParse.DTToCSV(dtPiece, ",", True)
Console.WriteLine("Writing text file...")
strArchiveData.Append("Writing to text file: " & strPieceDumpFilename &
"...")
My.Computer.FileSystem.WriteAllText(strPieceDumpFi lename, strFileContents,
False)
strArchiveData.Append("File created...")
Console.WriteLine("piece_dump file created...")
strArchiveData.Append("Deleting piece_dump Records...")
objDAL.ExecuteNonQuerySQL("DELETE * FROM piece_dump")
strArchiveData.Append("Deleted piece_dump Records...")
Catch ex As Exception
strArchiveData.Append("Error creating piecedump file. Errror Data: " &
ex.ToString & "...")
Console.WriteLine("Error creating piecedump. Error: " & ex.ToString)
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Piece_Dump Error")
End Try
'Add the pieces to a zip file
Try
Dim retVal As Double
Dim wzpath As String
Console.WriteLine("Adding files to zip archive")
strArchiveData.Append("Adding files to " & strArchiveCoil & " file...")
wzpath = "c:\program files\winzip\wzzip " & strArchiveCoil & " " &
strCoilDataFilename & " " & strCoilStatusFilename & " " &
strPieceDumpFilename & " " & strDataDumpFilename
retVal = Shell(wzpath, AppWinStyle.NormalFocus, True)
Console.WriteLine("Files added to zip")
strArchiveData.Append("Files added to " & strArchiveCoil & " file...")
Catch ex As Exception
strArchiveData.Append("Error adding files to zip...")
Console.WriteLine("Error adding files to zip...")
boolDeleteFiles = False
SendNotification(strArchiveData.ToString, "Zip Files Error")
End Try
'delete the old files
If boolDeleteFiles = True Then
Console.WriteLine("Deleting text files")
strArchiveData.Append("Deleting text files...")
Try
Console.WriteLine("Deleting coil_Data files")
strArchiveData.Append("Deleting coil_Data files...")
My.Computer.FileSystem.DeleteFile(strCoilDataFilen ame)
Console.WriteLine("Deleting data_Dump files")
strArchiveData.Append("Deleting data_dump files...")
My.Computer.FileSystem.DeleteFile(strDataDumpFilen ame)
Console.WriteLine("Deleting coil_stats files")
strArchiveData.Append("Deleting coil_stats files...")
My.Computer.FileSystem.DeleteFile(strCoilStatusFil ename)
Console.WriteLine("Deleting piece_dump files")
strArchiveData.Append("Deleting piece_dump files...")
My.Computer.FileSystem.DeleteFile(strPieceDumpFile name)
Catch ex As Exception
strArchiveData.Append("Error deleting records. Error: " & ex.ToString)
Console.WriteLine("Error deleting records. Error: " & ex.ToString)
SendNotification(strArchiveData.ToString, "Deleting Records Error")
End Try
Else
Console.WriteLine("Error creating files, records not deleted")
strArchiveData.Append("Error creating files, records not deleted...")
End If
'write the archivedatafile back to the database
Console.WriteLine("Writting Coil Archive Data...")
Console.WriteLine("Compacting and reparing database...")
Compact("O:\Inspection\COIL\DATA\Test.mdb")
strArchiveData.Append("Compacting and reparing database...")
Console.WriteLine("Database Compacted...")
strArchiveData.Append("Database Compacted...")
EndTime = Now
elapseTime = EndTime.Subtract(StartTime)
strArchiveData.Append("Total Time: " &
elapseTime.TotalMinutes.ToString("0.00") & " minutes...")
Console.WriteLine("Total Time: " & elapseTime.TotalMinutes & " minutes...")
Try
objDAL.ConnectionString = "Data Source=sogd0005\sogd0005;Initial
Catalog=[ArchiveDatabase];UID=[USER];PWD=[PWD];Integrated Security=false"
objDAL.ProviderName = "System.Data.SqlClient"
objParam.CreateParameter("ArchiveData", strArchiveData.ToString,
DbType.String, ParameterDirection.Input)
objDAL.ExecuteNonQuery("InsertCoilArchiveData", objParam)
Catch ex As Exception
Console.WriteLine("Error writting archive data to database.")
SendNotification(strArchiveData.ToString, "Error writtin archive data to
database")
End Try
Console.WriteLine("Done.")
SendNotification("Coil Data Archived Successfully on: " & Now & ". Elaspse
Time: " & elapseTime.ToString, "Coil Data Archived")
End Sub
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RML |
last post by:
hey guys,
i am looking at this piece of code that lists numbers of files in a
directory. i want to convert it so it lists the files in th directory that
end with .doc. i cant seem to get it to...
|
by: Larry Serflaten |
last post by:
I am trying to build a chart to help me track what gets called when
in the inheritance chain. I came across an error that has me puzzled.
I have a derived class that inherits from a base class,...
|
by: josh |
last post by:
Hi,
I am trying to validate cXML documents against cXML.dtd using the
XmlValidatingReader. If I set the XMLValidatingReader's ValidatingType
to ValidationType.DTD, I get the following...
|
by: Claudia Fong |
last post by:
Hi,
I'm trying to connect to a sql db with my C# applciation but I'm having
trouble to connect..
It said - Error accessing the database: Cannot open database "LibDB"
requested by the login. The...
|
by: yucikala |
last post by:
Hello, I'm a "expert of beginner" in C#.
I have a dll - in C. And in this dll is this struct:
typedef
struct msg_s { /* please make duplicates of strings before next call
to emi_read() ! */
...
|
by: Snowbleach |
last post by:
Hello, I am having trouble with the following console application. I
am using delegates/event to make a clock raise an alarm when a certain
amount of time has been reached. The following compiles,...
|
by: Peted |
last post by:
Hi,
im wanting to store some custom text strings in the app.config file of
a c# app, to be retreived and updated when the app runs.
using c# 2005 express
in my testing i am using the code...
|
by: CeciMar |
last post by:
I'm new to vb.net and I have a very simple console application. When I attempt to compile it at the command prompt I get error BC30420 Sub Main not found. I know the namespace and module name but...
|
by: matheussousuke |
last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails.
The goal is: Make it send the email with the URL...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |