Hi,
I am deep into creating a VB .Net application that basically creates SQL
Server versions of our Access databases and copies over all the data. I
Extracted the VB DTS script and brought it into .Net and got the script to
work copying over a single database. Then I turned it into a much more
dynamic application and it works perfectly as long as I do one database at a
time. The issue comes in when i try to handle multiple databases in a
loop...i start getting NULL Exception errors specifically in the line:
goPackage.Tasks .Add(oTask)
It seems to only be a problem in looping through databases. A side note is
that if i comment out the code below (which only manages the data transfer)
the dtabases and tables are setup perfectly even when looping. The problem
only comes in when I am transferring the data in a loop of databases.
Please help...I am going nuts trying to figure out what is going on here.
thanks,
RSH
Function CreateStep2(ByV al DBIndex)
Dim objConn As OleDbConnection
Dim objDTTables As DataTable
Dim tableCount As Integer
Dim strTablename As String
Dim strAccessTablen ame As String
Dim strDBname As String
Dim objDTColumns As DataTable
Dim RowCount As Integer
' Step 1
'''' EXTRACT ACCESS SCHEMAS
*************** *************** *************** *************** ********
objConn = New OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;Data
Source=" & aAccessDBs(DBIn dex))
If objConn.State = ConnectionState .Closed Then
objConn.Open()
End If
objDTTables =
objConn.GetOleD bSchemaTable(Sy stem.Data.OleDb .OleDbSchemaGui d.Tables, New
Object() {Nothing, Nothing, Nothing, Nothing})
'''' END EXTRACT ACCESS SCHEMAS
'''' BEGIN TABLE LOOP
*************** *************** *************** *************** ********
For tableCount = 0 To objDTTables.Row s.Count - 1
strTablename = objDTTables.Row s(tableCount).I tem(2)
strDBname = aSQLDBNames(DBI ndex)
strAccessTablen ame = strTablename
If strTablename.In dexOf("MSys") < 0 And
objDTTables.Row s(tableCount).I tem(3) = "TABLE" And strTablename.Le ngth > 0
And Not IsNothing(goPac kage) Then
' Phase 1
+++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++
Dim oStep As DTS.Step2
oStep = goPackage.Steps .New
oStep.Name = "Copy Data from " & strAccessTablen ame & " to
[" & strDBname & "].[dbo].[" & strTablename & "] Step"
oStep.Descripti on = "Copy Data from " & strAccessTablen ame &
" to [" & strDBname & "].[dbo].[" & strTablename & "] Step"
oStep.Execution Status = 1
oStep.TaskName = "Copy Data from " & strAccessTablen ame & "
to [" & strDBname & "].[dbo].[" & strTablename & "] Task"
oStep.CommitSuc cess = False
oStep.RollbackF ailure = False
oStep.ScriptLan guage = "VBScript"
oStep.AddGlobal Variables = True
oStep.RelativeP riority = 3
oStep.CloseConn ection = False
oStep.ExecuteIn MainThread = True
oStep.IsPackage DSORowset = False
oStep.JoinTrans actionIfPresent = False
oStep.DisableSt ep = False
oStep.FailPacka geOnError = False
goPackage.Steps .Add(oStep)
oStep = Nothing
' Phase 2
+++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++
Dim oTask As DTS.Task
Dim oLookup As DTS.Lookup
Dim oCustomTask2 As DTS.DataPumpTas k2
oTask = goPackage.Tasks .New("DTSDataPu mpTask")
oTask.Name = "Copy Data from " & strAccessTablen ame & " to
[" & strDBname & "].[dbo].[" & strTablename & "] Task"
oCustomTask2 = oTask.CustomTas k
oCustomTask2.Na me = "Copy Data from " & strAccessTablen ame &
" to [" & strDBname & "].[dbo].[" & strTablename & "] Task"
oCustomTask2.De scription = "Copy Data from " &
strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "]
Task"
oCustomTask2.So urceConnectionI D = 1
oCustomTask2.So urceSQLStatemen t = "SELECT * FROM `" &
strAccessTablen ame & "`"
oCustomTask2.De stinationConnec tionID = 2
oCustomTask2.De stinationObject Name = "[" & strDBname &
"].[dbo].[" & strTablename & "]"
oCustomTask2.Pr ogressRowCount = 1000
oCustomTask2.Ma ximumErrorCount = 0
oCustomTask2.Fe tchBufferSize = 1
oCustomTask2.Us eFastLoad = True
oCustomTask2.In sertCommitSize = 0
oCustomTask2.Ex ceptionFileColu mnDelimiter = "|"
oCustomTask2.Ex ceptionFileRowD elimiter = vbCrLf
oCustomTask2.Al lowIdentityInse rts = False
oCustomTask2.Fi rstRow = 0
oCustomTask2.La stRow = 0
oCustomTask2.Fa stLoadOptions = 2
oCustomTask2.Ex ceptionFileOpti ons = 1
oCustomTask2.Da taPumpOptions = 0
Dim bResponse As Boolean = False
bResponse = oCustomTask2_Tr ans_Sub1(oCusto mTask2,
strTablename, DBIndex)
If bResponse = True Then
goPackage.Tasks .Add(oTask)
Else
oCustomTask2 = Nothing
oTask = Nothing
End If
End If
Next
End Function
Function oCustomTask2_Tr ans_Sub1(ByVal oCustomTask2 As
DTS.DataPumpTas k2, ByVal strTableName As String, ByVal DBIndex As Integer)
phase.Text = "Reading Data"
System.Windows. Forms.Applicati on.DoEvents()
Dim oTransformation As DTS.Transformat ion2
Dim oTransProps As DTS.Properties
Dim oColumn As DTS.Column
Dim objConn As OleDbConnection
Dim objDTTables As DataTable
Dim tableCount As Integer
Dim strDBname As String
Dim objDTColumns As DataTable
Dim ColCount As Integer
Dim iTransCount As Integer = 0
objConn = New OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;Data
Source=" & aAccessDBs(DBIn dex))
If objConn.State = ConnectionState .Closed Then
objConn.Open()
End If
objDTColumns =
objConn.GetOleD bSchemaTable(Sy stem.Data.OleDb .OleDbSchemaGui d.Columns, New
Object() {Nothing, Nothing, strTableName})
For ColCount = 0 To objDTColumns.Ro ws.Count - 1
Dim strCOLUMN_NAME =
objDTColumns.Ro ws(ColCount).It em("COLUMN_NAME ").ToString
Dim strDATA_TYPE =
objDTColumns.Ro ws(ColCount).It em("DATA_TYPE") .ToString
If strCOLUMN_NAME. IndexOf("s_") < 0 And strDATA_TYPE <> "" And
strCOLUMN_NAME. IndexOf("CrLf") And Not IsNothing(goPac kage) Then
'''' Extract Columns of interest values
If iTransCount = 0 Then
oTransformation =
oCustomTask2.Tr ansformations.N ew("DTS.DataPum pTransformCopy" )
oTransformation .Name = "DirectCopyXfor m" '& strTableName
oTransformation .TransformFlags = 63
oTransformation .ForceSourceBlo bsBuffered = 1
oTransformation .ForceBlobsInMe mory = False
oTransformation .InMemoryBlobSi ze = 1048576
oTransformation .TransformPhase s = 4
status.Text = "Writing data to: " & strTableName
System.Windows. Forms.Applicati on.DoEvents()
End If
iTransCount = iTransCount + 1
Dim strORDINAL_POSI TION =
objDTColumns.Ro ws(ColCount).It em("ORDINAL_POS ITION").ToStrin g
Dim strCOLUMN_HASDE FAULT =
objDTColumns.Ro ws(ColCount).It em("COLUMN_HASD EFAULT").ToStri ng
Dim strCOLUMN_DEFAU LT =
objDTColumns.Ro ws(ColCount).It em("COLUMN_DEFA ULT").ToString
Dim strNUMERIC_PREC ISION =
objDTColumns.Ro ws(ColCount).It em("NUMERIC_PRE CISION").ToStri ng
Dim strDESCRIPTION =
objDTColumns.Ro ws(ColCount).It em("DESCRIPTION ").ToString
Dim strCHARACTER_MA XIMUM_LENGTH =
objDTColumns.Ro ws(ColCount).It em("CHARACTER_M AXIMUM_LENGTH") .ToString
Dim strIS_NULLABLE =
objDTColumns.Ro ws(ColCount).It em("IS_NULLABLE ").ToString
Dim strConvertedDat atype As String
Dim bUniqueIdentifi er As Boolean = False
'''' Make sure columns are not SYSTEM COLUMNS and they have
a data type
If strCOLUMN_NAME. IndexOf("s_") < 0 And strDATA_TYPE <> ""
And strCOLUMN_NAME. IndexOf("CrLf") Then
'''' SOURCE
oColumn =
oTransformation .SourceColumns. New(strCOLUMN_N AME, strORDINAL_POSI TION)
oColumn.Name = strCOLUMN_NAME
'Dim oSrcColumnName As String = oColumn.Name
oColumn.Ordinal = CType(strORDINA L_POSITION, String)
'oColumn.Flags = 90
If strCHARACTER_MA XIMUM_LENGTH <> String.Empty Then
oColumn.Size = CType(strCHARAC TER_MAXIMUM_LEN GTH,
String)
End If
If strDATA_TYPE <> String.Empty Then
oColumn.DataTyp e = CType(strDATA_T YPE, String)
End If
If strNUMERIC_PREC ISION <> String.Empty Then
oColumn.Precisi on = CType(strNUMERI C_PRECISION,
Integer)
End If
If strIS_NULLABLE <> String.Empty Then
oColumn.Nullabl e = strIS_NULLABLE
End If
oTransformation .SourceColumns. Add(oColumn)
oColumn = Nothing
'''' DESTINATION
oColumn =
oTransformation .DestinationCol umns.New(strCOL UMN_NAME, strORDINAL_POSI TION)
oColumn.Name = strCOLUMN_NAME
Dim oDstColumnName As String = oColumn.Name
If strCHARACTER_MA XIMUM_LENGTH <> String.Empty Then
oColumn.Size = CType(strCHARAC TER_MAXIMUM_LEN GTH,
String)
End If
If strDATA_TYPE <> String.Empty Then
oColumn.DataTyp e = CType(strDATA_T YPE, String)
End If
If strNUMERIC_PREC ISION <> String.Empty Then
oColumn.Precisi on = CType(strNUMERI C_PRECISION,
Integer)
End If
If strIS_NULLABLE <> String.Empty Then
oColumn.Nullabl e = strIS_NULLABLE
End If
oTransformation .DestinationCol umns.Add(oColum n)
oColumn = Nothing
End If
End If
Next
If iTransCount > 0 Then
oTransProps = oTransformation .TransformServe rProperties
oTransProps = Nothing
oCustomTask2.Tr ansformations.A dd(oTransformat ion)
oTransformation = Nothing
Return (True)
End If
Return (False)
End Function 1 1868
Dont know if this will help or not, but did you declare the DTS objects With
Events?
If I remember correctly, people always forgot to use the With Events
modifier in VB6 and had problems with DTS objects.
"RSH" <wa************ *@yahoo.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. Hi,
I am deep into creating a VB .Net application that basically creates SQL Server versions of our Access databases and copies over all the data. I Extracted the VB DTS script and brought it into .Net and got the script to work copying over a single database. Then I turned it into a much more dynamic application and it works perfectly as long as I do one database at a time. The issue comes in when i try to handle multiple databases in a loop...i start getting NULL Exception errors specifically in the line: goPackage.Tasks .Add(oTask)
It seems to only be a problem in looping through databases. A side note is that if i comment out the code below (which only manages the data transfer) the dtabases and tables are setup perfectly even when looping. The problem only comes in when I am transferring the data in a loop of databases.
Please help...I am going nuts trying to figure out what is going on here. thanks,
RSH
Function CreateStep2(ByV al DBIndex)
Dim objConn As OleDbConnection Dim objDTTables As DataTable Dim tableCount As Integer Dim strTablename As String Dim strAccessTablen ame As String Dim strDBname As String Dim objDTColumns As DataTable Dim RowCount As Integer
' Step 1 '''' EXTRACT ACCESS SCHEMAS *************** *************** *************** *************** ******** objConn = New OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=" & aAccessDBs(DBIn dex))
If objConn.State = ConnectionState .Closed Then objConn.Open() End If
objDTTables = objConn.GetOleD bSchemaTable(Sy stem.Data.OleDb .OleDbSchemaGui d.Tables, New Object() {Nothing, Nothing, Nothing, Nothing}) '''' END EXTRACT ACCESS SCHEMAS '''' BEGIN TABLE LOOP *************** *************** *************** *************** ******** For tableCount = 0 To objDTTables.Row s.Count - 1
strTablename = objDTTables.Row s(tableCount).I tem(2) strDBname = aSQLDBNames(DBI ndex) strAccessTablen ame = strTablename
If strTablename.In dexOf("MSys") < 0 And objDTTables.Row s(tableCount).I tem(3) = "TABLE" And strTablename.Le ngth > 0 And Not IsNothing(goPac kage) Then
' Phase 1 +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++ Dim oStep As DTS.Step2
oStep = goPackage.Steps .New oStep.Name = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Step" oStep.Descripti on = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Step" oStep.Execution Status = 1 oStep.TaskName = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Task" oStep.CommitSuc cess = False oStep.RollbackF ailure = False oStep.ScriptLan guage = "VBScript" oStep.AddGlobal Variables = True oStep.RelativeP riority = 3 oStep.CloseConn ection = False oStep.ExecuteIn MainThread = True oStep.IsPackage DSORowset = False oStep.JoinTrans actionIfPresent = False oStep.DisableSt ep = False oStep.FailPacka geOnError = False goPackage.Steps .Add(oStep) oStep = Nothing
' Phase 2 +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++++++++++ +++++++ Dim oTask As DTS.Task Dim oLookup As DTS.Lookup Dim oCustomTask2 As DTS.DataPumpTas k2
oTask = goPackage.Tasks .New("DTSDataPu mpTask") oTask.Name = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Task" oCustomTask2 = oTask.CustomTas k
oCustomTask2.Na me = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Task" oCustomTask2.De scription = "Copy Data from " & strAccessTablen ame & " to [" & strDBname & "].[dbo].[" & strTablename & "] Task" oCustomTask2.So urceConnectionI D = 1 oCustomTask2.So urceSQLStatemen t = "SELECT * FROM `" & strAccessTablen ame & "`" oCustomTask2.De stinationConnec tionID = 2 oCustomTask2.De stinationObject Name = "[" & strDBname & "].[dbo].[" & strTablename & "]" oCustomTask2.Pr ogressRowCount = 1000 oCustomTask2.Ma ximumErrorCount = 0 oCustomTask2.Fe tchBufferSize = 1 oCustomTask2.Us eFastLoad = True oCustomTask2.In sertCommitSize = 0 oCustomTask2.Ex ceptionFileColu mnDelimiter = "|" oCustomTask2.Ex ceptionFileRowD elimiter = vbCrLf oCustomTask2.Al lowIdentityInse rts = False oCustomTask2.Fi rstRow = 0 oCustomTask2.La stRow = 0 oCustomTask2.Fa stLoadOptions = 2 oCustomTask2.Ex ceptionFileOpti ons = 1 oCustomTask2.Da taPumpOptions = 0
Dim bResponse As Boolean = False bResponse = oCustomTask2_Tr ans_Sub1(oCusto mTask2, strTablename, DBIndex)
If bResponse = True Then goPackage.Tasks .Add(oTask) Else oCustomTask2 = Nothing oTask = Nothing End If End If
Next
End Function
Function oCustomTask2_Tr ans_Sub1(ByVal oCustomTask2 As DTS.DataPumpTas k2, ByVal strTableName As String, ByVal DBIndex As Integer)
phase.Text = "Reading Data" System.Windows. Forms.Applicati on.DoEvents()
Dim oTransformation As DTS.Transformat ion2 Dim oTransProps As DTS.Properties Dim oColumn As DTS.Column
Dim objConn As OleDbConnection Dim objDTTables As DataTable Dim tableCount As Integer Dim strDBname As String Dim objDTColumns As DataTable Dim ColCount As Integer
Dim iTransCount As Integer = 0
objConn = New OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=" & aAccessDBs(DBIn dex))
If objConn.State = ConnectionState .Closed Then objConn.Open() End If
objDTColumns = objConn.GetOleD bSchemaTable(Sy stem.Data.OleDb .OleDbSchemaGui d.Columns, New Object() {Nothing, Nothing, strTableName}) For ColCount = 0 To objDTColumns.Ro ws.Count - 1
Dim strCOLUMN_NAME = objDTColumns.Ro ws(ColCount).It em("COLUMN_NAME ").ToString Dim strDATA_TYPE = objDTColumns.Ro ws(ColCount).It em("DATA_TYPE") .ToString
If strCOLUMN_NAME. IndexOf("s_") < 0 And strDATA_TYPE <> "" And strCOLUMN_NAME. IndexOf("CrLf") And Not IsNothing(goPac kage) Then
'''' Extract Columns of interest values
If iTransCount = 0 Then oTransformation = oCustomTask2.Tr ansformations.N ew("DTS.DataPum pTransformCopy" ) oTransformation .Name = "DirectCopyXfor m" '& strTableName oTransformation .TransformFlags = 63 oTransformation .ForceSourceBlo bsBuffered = 1 oTransformation .ForceBlobsInMe mory = False oTransformation .InMemoryBlobSi ze = 1048576 oTransformation .TransformPhase s = 4
status.Text = "Writing data to: " & strTableName System.Windows. Forms.Applicati on.DoEvents() End If
iTransCount = iTransCount + 1
Dim strORDINAL_POSI TION = objDTColumns.Ro ws(ColCount).It em("ORDINAL_POS ITION").ToStrin g Dim strCOLUMN_HASDE FAULT = objDTColumns.Ro ws(ColCount).It em("COLUMN_HASD EFAULT").ToStri ng Dim strCOLUMN_DEFAU LT = objDTColumns.Ro ws(ColCount).It em("COLUMN_DEFA ULT").ToString Dim strNUMERIC_PREC ISION = objDTColumns.Ro ws(ColCount).It em("NUMERIC_PRE CISION").ToStri ng Dim strDESCRIPTION = objDTColumns.Ro ws(ColCount).It em("DESCRIPTION ").ToString
Dim strCHARACTER_MA XIMUM_LENGTH = objDTColumns.Ro ws(ColCount).It em("CHARACTER_M AXIMUM_LENGTH") .ToString Dim strIS_NULLABLE = objDTColumns.Ro ws(ColCount).It em("IS_NULLABLE ").ToString Dim strConvertedDat atype As String Dim bUniqueIdentifi er As Boolean = False '''' Make sure columns are not SYSTEM COLUMNS and they have a data type
If strCOLUMN_NAME. IndexOf("s_") < 0 And strDATA_TYPE <> "" And strCOLUMN_NAME. IndexOf("CrLf") Then
'''' SOURCE oColumn = oTransformation .SourceColumns. New(strCOLUMN_N AME, strORDINAL_POSI TION) oColumn.Name = strCOLUMN_NAME
'Dim oSrcColumnName As String = oColumn.Name
oColumn.Ordinal = CType(strORDINA L_POSITION, String) 'oColumn.Flags = 90
If strCHARACTER_MA XIMUM_LENGTH <> String.Empty Then oColumn.Size = CType(strCHARAC TER_MAXIMUM_LEN GTH, String) End If
If strDATA_TYPE <> String.Empty Then oColumn.DataTyp e = CType(strDATA_T YPE, String) End If
If strNUMERIC_PREC ISION <> String.Empty Then oColumn.Precisi on = CType(strNUMERI C_PRECISION, Integer) End If
If strIS_NULLABLE <> String.Empty Then oColumn.Nullabl e = strIS_NULLABLE End If
oTransformation .SourceColumns. Add(oColumn) oColumn = Nothing '''' DESTINATION oColumn = oTransformation .DestinationCol umns.New(strCOL UMN_NAME, strORDINAL_POSI TION) oColumn.Name = strCOLUMN_NAME
Dim oDstColumnName As String = oColumn.Name
If strCHARACTER_MA XIMUM_LENGTH <> String.Empty Then oColumn.Size = CType(strCHARAC TER_MAXIMUM_LEN GTH, String) End If
If strDATA_TYPE <> String.Empty Then oColumn.DataTyp e = CType(strDATA_T YPE, String) End If
If strNUMERIC_PREC ISION <> String.Empty Then oColumn.Precisi on = CType(strNUMERI C_PRECISION, Integer) End If
If strIS_NULLABLE <> String.Empty Then oColumn.Nullabl e = strIS_NULLABLE End If
oTransformation .DestinationCol umns.Add(oColum n) oColumn = Nothing
End If End If Next
If iTransCount > 0 Then oTransProps = oTransformation .TransformServe rProperties oTransProps = Nothing oCustomTask2.Tr ansformations.A dd(oTransformat ion) oTransformation = Nothing
Return (True) End If
Return (False)
End Function This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dionísio Monteiro |
last post by:
Hi there,
After Installing IIS on a WinXP Pro machine, I have copied one of my web
site files to test it on that machine.
I have created a virtual directory, and when I try to access the site on
http://localhost/website. When I try to load any ASP page, I get the
following error:
"Server Application Error
The server has encountered an error while loading an application during the
|
by: william |
last post by:
Hi,
When I tried to run asp page, I got error as follows:
"Server Application Erro
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
And in the event view, the message is
"The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'No such interface supported'....
|
by: pillars |
last post by:
I have been developing an application in Windows CE.Net using the .Net
Compact Framework and C#. Data is saved to a local Sql Server CE database and
then transferred wirelessly to a central server. The device has to open a
connection every 5 minutes, transfer all records and then disconnect.
I have been running tests to verify the capacity of the database, if, for
example, the network goes down and transfers cannot be made. I have...
|
by: Damian |
last post by:
Hi everyone
I'm having an issue with one of our applications. I'm getting the
following error when attempting to log in to the site:
Server Error in 'xxxxxxxxxxxxxxxx' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current
|
by: Alex |
last post by:
Hello,
I am after one week trying to make working IIS with ASP
Net. I am really dissapointed about this situation.
I tried every advice, article and so on... .
It is not working... Constantly I am receiving the
following error:
| |
by: Rich Wallace |
last post by:
Hi all,
I have a VB app that runs and manages individual XLS files within a single
COM object. Upon processing the final fie, I attempt to close out the EXCEL
object and release it using
System.Runtime.InteropServices.Marshal.ReleaseComObject.
I have a Try...Catch in my routine as seen below and when I receive the
error, my Catch is never called so my app sees the release as successful,
but when I look in Task Manager, the EXCEL.EXE...
|
by: Mark A. Ziesemer |
last post by:
I've seen a few other postings that looked similar to this, but most appear
to have died without any working solutions, and lacked any helpful level of
information to see if they might be related. I'm thinking this is an
ASP.Net 2.0 bug, but would like to try to elaborate it further. I'm hoping
to see if someone else may be having the same issue.
Error: (Popup on the desktop) Title: "w3wp.exe - Application Error"
|
by: Marty Cruise |
last post by:
Everything has been running like a dream, until I performed my last one-click
deployment. Now on application close, users get:
==================
Application Error
The instruction at "0x30cb0a4f" referenced memory at "0x00000000". The
memory could not be written.
==================
Strangely, while developing the latest version, I must have ran the app a
|
by: anubhavbajpai |
last post by:
In regards to the Server Application Error, One may perform the following steps :
1. Restart the IIS Default website.
2. Go to Start -> Run -> type cmd ->
On the command prompt, type iisreset <computer name>
<computer name> can be seen in "My Computer" Properties
3. Open Control Panel -> Administrative tools -> Computer Management -> Local user and groups -> Users
open properties for IWAM_WP3CV970-CLM036 user
a) check "Account...
|
by: phani1312 |
last post by:
Hi All,
I am getting "myexe - Application Error"
I wan to write a sctipt to termicate the exe when ever my system triggers Application error and start again, I have the scrip to terminate the exe and start it. But i am unable to write the scrip to capture the "myexe - Application Error".
here is the script I am using for Terminating and starting the exe....
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |