MAX Test Environment Setup

Updating Your MAX Test Environment NOTE: It is highly recommended that at least one workstation dedicated to use with your MAX Test Environment. STEP 1 – Update your RMTestServer to the same release as your RMServer. 1. Select all files folders in \\Exact\RMServer\Net and copy them to \\Exact\RMTestServer\Net. STEP 2 – Update your RMTestServer to…

Read More

Cursor to Take All SQL User DBs Off-Line

CREATE PROCEDURE SP_TakeOfflineAllDatabase AS BEGIN DECLARE @db sysname, @q varchar(max); DECLARE cur_db CURSOR FOR SELECT name FROM sys.databases WHERE owner_sid <> 0x01; OPEN cur_db; WHILE 1=1 BEGIN FETCH NEXT FROM cur_db INTO @db; IF @@FETCH_STATUS <> 0 BREAK; SET @q = N’ALTER DATABASE [‘ + @db + N’] SET OFFLINE WITH NO_WAIT’; EXEC(@q); END; CLOSE…

Read More

Use WIndows Power Shell to Script SQL Jobs from one instance to another

Open Powershell Execute Invoke-Sqlcmd Execute $output = "d:\ScheduledJobs.sql" Execute Remove-Item $output Execute Set-Location SQLSERVER:\SQL\localhost\DEFAULT\JobServer\Jobs Execute # loop through jobs appending output Lastly Execute dir | %{$_.script() + "`n`nGO`n`n" | out-file -append $output} Do the above one line at a time then take the output ScheduledJobs.sql go to the new server and open Management Studio and…

Read More

Troubleshooting Exchange Integration (checklist)

Troubleshooting Exchange Integration (checklist) Introduction The integration between Exact Synergy Enterprise and Microsoft Exchange (2010 and higher) is based on Windows Services. The background job used in the previous Microsoft Exchange application is no longer applicable for Microsoft Exchange 2010 (and higher) integration. Two Windows Services can easily be installed via MSI installation process. For…

Read More