Wednesday, July 29, 2015
After content DB of SharePoint was restored and you get message from K2 Smart Object
The remote server returned an error: (401) Unauthorized.Failed to initialize the Context: URL: http://www.someurl.com/Workflows/workflow Username: Error Details: Method: SharePointService.initializeContext x-ms-diagnostics : 3000003;reason="Invalid audience Uri '00000003-0000-0ff1-ce00-000000000000/www.someurl.com@17094d66-8912-4189-84bd-d5c10d9299a1'.";category="invalid_client" SPRequestGuid : d3b51e9d-2835-006a-cac9-96afcf924f6e
Run SharePoint install wizzard and...
Go read this: http://help.k2.com/displaycontent.aspx?id=7137
Basically go delete oauth resource and register it again
Friday, July 03, 2015
K2 SmartForms: Checkbox List
How to: SQL 2012 Performance Dashboard Reports
Installing SQL Server 2012 Performance Dashboard Reports
- Open the below link in your web browser and download SQL Server 2012 Performance Dashboard Reports: http://www.microsoft.com/en-us/download/details.aspx?id=29063&WT.mc_id=aff-n-in-loc--pd
- Navigate to the location where you saved the SQLServer2012_PerformanceDashboard.MSI file and double-click it. You will receive a welcome screen. Click 'Next'.
- The next screen will present you with the license agreement. Read the agreement, select 'I accept the terms in the license agreement', and click 'Next'.
- The next screen will ask you the required registration information. Enter the details and click 'Next'.
- You will be asked to choose the program features for installation. Go with the default selection and click 'Next'.
- On the next screen, click 'Install' to begin the installation process. You can choose to click 'Back' button to make any other changes to your installation settings.
- Click 'Finish' to exit the installation wizard. Now, you have successfully installed SQL Server 2012 Performance Dashboard Reports.
Configuring SQL Server 2012 Performance Dashboard Reports
Using SQL Server 2012 Performance Dashboard Reports
- You need to ensure that all functions and procedures accessed by the queries in reports must be present in all instances of SQL Server for which you need to carry out performance analysis. You need to search for the 'setup.sql' file after navigating to the installation directory and run the script. Close the window after the execution is finished.
- Go to Object Explorer in SQL Server Management Studio, right-click on the server instance, and select 'Reports' → 'Custom Reports'. In the 'Open File' dialog box, select the 'performance_dashboard_main' report file and click 'Open'. You will be displayed a warning dialog box stating that you are about to run a custom report. Click 'Run' in this dialog box to open the 'performance_dashboard_main.rdl' file. You will be presented with various charts and hyperlinks in the report for analyzing the performance of the server.
- You can click links provided in the main report to access the remaining reports. In order to better know how to use these reports, you can view the help file, i.e. PerformanceDashboardHelp.chm.
- On the dashboard, you will also find the extended events ('XEvent') sessions that the instance is currently running. XEvents is a feature in SQL Server that enables you to get information about various events that occur inside the database engine. The XEvents sessions report displays the configuration of all the currently active XEvents sessions on the SQL Server instance and the events captured by these sessions.
- By default, the system_health session is enabled by default in SQL Server 2012. The two sessions (i.e. the system_health session and the sp_server_diagnostics session) are always active on a default installation of SQL Server 2012.
- In SQL Server 2012, the databases overview report provides more information about the databases than that given by any previous version of Performance Dashboard Report. The additional options that you can view in the report are 'Log Reuse Wait Description' and the 'Page Verify Option'. You can view the databases overview report by clicking the database option in the main report.
- You can also view details of the System Sessions using the Sessions option (a drill-down option available on the main dashboard). If you take a sneak-peek at the Sessions details, you will see all the sessions that the server is currently running. It will also display information about the background tasks including other details, such as memory usage, logical reads, physical reads, and more.
Thursday, July 02, 2015
Wednesday, March 19, 2014
SharePoint Service account creation with PowerShell from CSV
MSMQ workgroup flag reverts back to 1
- Click Start ,
point to Programs , point to Administrative Tools ,
and then click Active Directory Sites and Services to
open Active Directory Sites and Services .
- Click
to expand Active Directory Sites and Services , click to
expand Sites , and then click to expand the site which
this computer will be a member of.
- Right-click Servers and
select Properties to display the Servers
Properties dialog box.
- Click
the Security tab of the Servers Properties dialog
box.
- Click
the Add button to display the Select Users,
Computer, or Groups dialog box.
- Click
the Object Types button to display the Object
Types dialog box, click to enable Computers ,
and then click OK .
- Enter
the name of the computer for which the Routing Service or Directory
Service Integration feature will be installed, click Check Names ,
and then click OK .
- Enable
the following permissions for this computer object:
- Allow
Read
- Allow
Write
- Allow
Create all child objects
- After
enabling these permissions, click Advanced to display
the Advanced Security Settings for Servers dialog box.
- Select
the computer object from the list of permission entries, and then click
the Edit button.
- Select Thisobject
and all descendant objects from the Apply to drop-down
list, and then click OK .
- Click OK to
close the Advanced Security Settings for Servers dialog
box.
- Click OK to
close the Server Properties dialog box.
- Click Start ,
point to Programs , point to Administrative Tools ,
and then click Active Directory Users and Computers to
open Active Directory Users and Computers.
- Click
the View menu and click to enable the options for Users,
Groups, and Computers as containers and Advanced Features .
- Click
to expand the Domain container for the domain, click to
expand the Computers container, right-click the computer
object on which the Directory Services Integration feature is being
installed, and then click Properties to display the
computer properties dialog box.
- Click
to select the Security tab of the computer properties
dialog box.
- Click
the Advanced button to display the Advanced Security
Settings for
dialog box. - Click
the Add button to display the Select User,
Computer, or Group dialog box.
- Type Network
Service into the Enter the object name to select edit
box. Click Check Names , and then click OK .
- Click
to enable Allow for the Create MSMQ Configuration
objects permission, and then click OK to close
the Permissions Entry for
dialog box. - Click OK to
close the Advanced Security Settings for
dialog box. - Click OK to close the computer properties dialog box.
Thursday, April 21, 2011
More SQL Pivot idea's
(
Id INT,
Names VARCHAR(100)
)
GO
-- Load sample data
INSERT INTO Test SELECT
1,'A' UNION ALL SELECT
1,'B' UNION ALL SELECT
1,'C' UNION ALL SELECT
2,'A' UNION ALL SELECT
2,'B' UNION ALL SELECT
3,'X' UNION ALL SELECT
3,'Y' UNION ALL SELECT
3,'Z'
GO
SELECT T1.Id ,AllNames = SubString (
( SELECT ', ' + T2.Names
FROM Test as T2
WHERE T1.Id = T2.Id
FOR XML PATH ( '' ) ), 3, 1000)
FROM Test as T1
GROUP BY Id
-sent by Johan S
Thursday, November 11, 2010
BPM and ECM – The War Begins
We shall go on to the end, we shall fight.
Friday, October 15, 2010
Convert VDI to VHD
I have found a number of articles, and this article/post was the only one that worked.
1. Convert the .vdi file to a raw disk image (.raw)
Perform a search on your system for existing .vdi files that you are going to convert.
a. Go to a cmd prompt and navigate to the VirtualBox folder (typically c:\program files\sun\VirtualBox).
b. Execute the following command against the .vdi file in question:
vboxmanage.exe internalcommands converttoraw "x\path-to-vdi\diskimage.vdi" "x:\path-to-output-folder\diskimage.raw"
Depending on the size of your .vdi file, the time for conversion may greatly vary.
Also, be sure you have around 2 times the available drive space
that your existing .vdi currently consumes on your logical volume.
2. Convert .raw disk image to .vmdk format using WinImage
a. Open WinImage, click on 'Disk'> 'Convert Virtual Hard Disk image...'
b. Next to the 'File name:' field, click on the file type drop-down and select 'All files (*.*)'.
c. Navigate to the location where you stored your outputted .raw disk file and double-click it.
d. Choose whether you wish to 'Create Fixed Size Virtual Hard Disk' or
'Create Dynamically Expanding Virtual Hard Disk' (I typically pick the latter) and click 'OK'.
e. Navigate to a folder where you wish to store the newly converted image to. Next to
'Save as type:' (for the sake of this How-to) choose 'VMWare VMDK (*.vmdk). and click 'Save'.
You should see a 'Reading disk' progress indicator giving you the status of the conversion process.
I've converted 30Gb images in about 10 minutes or less...but I have no firm numbers.
f. Once the conversion is complete, you'll see a dialog box that will ask you if you wish to connect to the partition. Click 'OK' if you wish to view the contents.
3. Import your disk images into your existing Virtual Infrastructure
Now that the files are converted, copy or move your converted disk image files to your virtualization software's datastore/disk storage folder.
Once moved/copied, you should now be able to create a new Virtual Machine and utilize the disks you just converted.
Note that you will need to install the proper guest additions/tools to the virtual machine when you get it booted, so you will likely not have
network access right off the bat.











