Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moved ACT Database -- Stupid!!!

Status
Not open for further replies.

PaulHowardSr

Technical User
Jun 2, 2007
11
US
I moved my ACT 9.01 database now I can't open it. I remember this was a big no-no with 8.0.

What is the fix?

Paul
 
I moved the entire folder to another location.

We are ACT! 9.01 with hotfix on a VistaHome box.

Paul
 
Actually Microsoft SQL Server should have stopped you doing that unless you stopped the service... it's not ACT! that has a problem with moving the folder, it's SQL

Is the folder still on the same drive/machine?

Regards,
Mike Lazarus
ACT! Evangelist
GL Computing, Aust
 
Yes. I can see the database and the PAD file.

Also, I have to open ACT! with a right click on the icon and open as Admin. That's not related but it may be an issue.

Paul
 
The Admin thing is a Vista thing...

Did you just copy the database or the entire database folder and all folders below it?

Regards,
Mike Lazarus
ACT! Evangelist
GL Computing, Aust
 
Deleted PAD and tried to open ADF.

First message is: "ACT! will now verify the database."

Next message is: "Database Landlord already exists. Choose a different name".

I tried to copy the file and give it a new name but it wants an ALF file to match.

Paul
 
Open ACT! Diag (Start | Run | ACTDIAG)
Select the Databases area in the left hand panel
Right click on the database and detach it from SQL
Then, make sure the database isn't still in the original location and try again to open the ADF file

DO NOT just try and copy SQL files. Microsoft SQL keeps them open even when ACT! is not running. You need to stop SQL or detach the database before moving it. But better next time to just Save Copy As (under the File menu in ACT!)

Regards,
Mike Lazarus
ACT! Evangelist
GL Computing, Aust
 
Never mind, I added Run to my start menu. However, Start Run ACTDIAG = "Windows cannot find ACTDIAG".

So, I did search, found it and run.

PAUL-VISTA-PC\ACT7 <-- What? I'm running ACT9. I have ACT6 and ACT8 and ACT9 installed.

Now, here's the error log:
-----------------------------------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.SqlClient.SqlException: Unable to open the physical file "C:\Users\Public\Documents\ACT\ACT for Windows\Email\9\ActEmailMessageStore.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
Database 'ActEmailMessageStore' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
File activation failure. The physical file name "C:\Users\Public\Documents\ACT\ACT for Windows\Email\9\ActEmailMessageStoreLOG.ldf" may be incorrect.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at ActDiag.DatabaseCollection.GetDataSet()
at ActDiag.DatabaseCollection.BindDataGrid()
at ActDiag.DatabaseCollection..ctor(SqlConnection ConnSAConnection)
at ActDiag.ServerInfo.get_Databases()
at ActDiag.ServerSettings..ctor(ServerInfo serverInfo)
at ActDiag.FormACTDiag.buttonServerSettings_Click(Object sender, EventArgs e)
at DevComponents.DotNetBar.BaseItem.RaiseClick()
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.SideBarPanelItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.SideBar.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.SideBar.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ActDiag
Assembly Version: 9.0.557.0
Win32 Version: 9.0.557.0
CodeBase: file:///C:/ACT!2007/Standard/ACTSTD/program%20files/ACT/ACT%20for%20Windows/ActDiag.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DevComponents.DotNetBar
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.6
CodeBase: file:///C:/Windows/assembly/GAC/DevComponents.DotNetBar/4.1.0.0__7eb7c3a35b91de04/DevComponents.DotNetBar.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 
PAUL-VISTA-PC\ACT7 <-- What? I'm running ACT9. I have ACT6 and ACT8 and ACT9 installed."

The SQL instance is called ACT7 with 7,8,9.
You can't have 8 and 9 installed on the same PC
You can't have 8 installed on Vista

Did you try these:
Open ACT! Diag (Start | Run | ACTDIAG)
Select the Databases area in the left hand panel
Right click on the database and detach it from SQL
Then, make sure the database isn't still in the original location and try again to open the ADF file

Regards,
Mike Lazarus
ACT! Evangelist
GL Computing, Aust
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top