Upgrading TFS 2005 to TFS 2010 - Migrating Sharepoint site - tfs

I recently did a migration upgrade from TFS2005 to TFS2010. Everything works, but the Sharepoint site wasn't migrated.
I attempted running the command below:
stsadm.exe -o addcontentdb -url http://NEWSERVER/sites -databasename STS_Content_TFS -databaseserver NEWDB
but I got the following error:
The pre-upgrade scan tool has not yet been run on this database SPContentDatabas
e Name=sts_content_tfs Parent=SPDatabaseServiceInstance. You must run the pre-up
grade scan tool before you can continue with the upgrade process. Run the tool f
rom the following path: C:\Program Files\Common Files\Microsoft Shared\Web Serve
r Extensions\12\bin\prescan.exe.
Unfortunately I have upgraded WSS from WSS2 to WSS3 on my source server, so I am unable to use prescan.exe.
Any other way to migrate the Sharepoint site from the old server to the new server?
Thanks

SQL Server: Connect to STS_Content_TFS
update Sites SET BitFlags = 262144
then follow steps here: http://msdn.microsoft.com/en-us/library/cc668750.aspx

Related

Publish Failed to sign msix

Using Visual Studio 2019 to publish an update to an existing windows store application. This worked a week ago.
Our solution builds without error. When I go to create the setup package I get an error "Failed to sign 'D:\dev\MeyerMusic\MeyerTablet\TabletDistribution\bin\AnyCPU\Release\MeyerMusicTabletSetup_2.6.6.0_AnyCPU.msix'."
We are distributing the application as a Microsoft Store app under the existing app name.
Last week on this same development computer I built version 2.6.5 as well as many packages before that.
The error number is blank or missing. I do not have a reason for the failure. I only see one fact in the error message and that points to line 4574 in the file: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets
That line is this:
<SignAppxPackage Condition="'$(AppxPackageSigningEnabled)' == 'true'"
AppxPackageToSign="$(AppxMainPackageOutput)"
CertificateThumbprint="$(PackageCertificateThumbprint)"
CertificateFile="$(PackageCertificateKeyFile)"
CertificatePassword="$(PackageCertificatePassword)"
HashAlgorithmId="$(AppxHashAlgorithmId)"
EnableSigningChecks="$(EnableSigningChecks)"
SignAppxPackageExeFullPath="$(SignAppxPackageExeFullPath)"
TempCertificateFilePath="$(TempCertificateFilePath)"
VsTelemetrySession="$(VsTelemetrySession)"
SigningTimestampServerUrl="$(AppxPackageSigningTimestampServerUrl)"
SigningTimestampDigestAlgorithm="$(AppxPackageSigningTimestampDigestAlgorithm)"
/>
Troubleshooting steps:
Attempted to build a side load package. Results in same error
Successfully built a side load package that was not signed
I have restarted Visual Studio
I have rebooted the machine
I have deleted OBJ, BIN for the entire solution
I have looked for errors in the event log but none have been found so far.
After uninstalling KB4535996 the problem was resolved.
I found this via a tip from the following post: https://developercommunity.visualstudio.com/content/problem/934967/uwp-error-failed-to-sign.html

Run Migrations command if not have visual studio

I'm publishing a website ASP.NET MVC and get this error:
“Migrations is enabled for context ‘Context’ but the database does not exist or contains no mapped tables. Use Migrations to create the database and its tables, for example by running the ‘Update-Database’ command from the Package Manager Console.”
I can't install visual studio on server so i can't run ‘Update-Database’ command.
How to solve this problem ?
Find migrate.exe (YourApp\packages\EntityFramework.6.1.3\tools) and paste it in bin folder on the server.
Open Command Prompt on the server.
Run below commands
cd "C:\Websites\YourApp\bin" migrate.exe YourAppName.Api.dll /startupconfigurationfile:..\Web.config /verbose
Please Note that YourAppName.Api.dll should be the DLL having Enabled Migration.
you do not need to install visual studio on the server.
if you have your database connection string setup in web.config you should be able to run update-database in the package manager console and it will update your database on your web host.

TF60024 Error attempting to migrate VSS to TFS

I keep getting the TF60024 error "Unable to create the intermediate database required by VSS Converter on Microsoft SQL Server .\SQLEXPRESS. CREATE DATABASE permission denied in database 'master'." When I run the VSSConverter with "Migrate" and my xml file.
Here is my XML file:
<?xml version="1.0" encoding="utf-8"?>
<SourceControlConverter>
<ConverterSpecificSetting>
<Source name="VSS">
<VSSDatabase name="z:\CHS_SourceSafe"></VSSDatabase>
</Source>
<ProjectMap>
<Project Source="$/Account Automation SQL" Destination="$/Account Automation SQL"></Project>
<!--Other projects excluded-->
</ProjectMap>
</ConverterSpecificSetting>
<Settings>
<TeamFoundationServer name="CHS-TFS" port="8080" protocol="http" collection="tfs/DefaultCollection"></TeamFoundationServer></Settings>
</SourceControlConverter>
My network guy told me to mention:
I am a local admin on the Server (CHS-TFS)
I am a sys adm on both TFS 2010 64 bit and SQL Server (2008 R2 64 bit).
I'm running this from the (win 7): "c:\program files (x86)\Microsoft Visual Studio 10.0\Common7\IDE" folder.
The ANALYZE function returned 0 errors.
I've tried adding the ".root" to the end of the Source, that didn't help.
We also tried NT AUTHORITY\NETWORK SERVICE full access (thinking that maybe it was using that as a default login)
Any suggestions?
EDIT:
I found this one blog post:
http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx
that seemed to deal with the issue, I worked though it, and still I'm getting the same error.
I finally figured out how to do this a different way. I watched this video:
You Tube video that explains other way of doing this
And downloaded this tool:
File to download
And it was much easier to do.

How to install and configure Hummingbird DM Server, DM Client

I want to install Hummingbird DM 5.1 for Record Management. For that I have installed DM Server, RM Server and RM Client. But it seems this is not completed.
Do I have to install DM Web Server and DM Admin Tool?
Thanks
Prakash
Prerequisite:
1. Net Framework 2.0 or above
2. Installer: \Server\DM Extensions Server Setup-English\Setup.exe
Run the \Server\DM Extensioins Server Setup installer
Leave the default installation media location (ie. \Server\DM Extension Server Setup-English)
Leave the default Installation Destination Folder (ie. C:\Program Files\Hummingbird\DM Extensions)
This part is where the integration happens.
DM Application Integration\Microsoft Application\Microsoft Excel\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration\Microsoft Application\Microsoft Word\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration\Microsoft Application\Microsoft Powerpoint\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration > Windows Explorer DM Extension.
DM Viewer
Then click Next to install.
Select the Server name. Then click Next.
A must to restart to apply installation.
Issues up to this moment:
This installation setup is using Office 2000 and theres a problem opening excel files, the rest are OK. (word, ppt and pdf)
Office 2007, it is reciprocal. There is no issue with Excel but problems opening word and ppt records.
In case you or someone is able to debug this integration problem. Do drop me a message.
Thanks and I hope this helps.

Can't Install Asp.net MVC 3

I tried with both the web install platform and manually but both don't work.
I am trying to first install AspNetMVC3ToolsUpdateSetup.exe yet it always fails with a fatal error
OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Enterprise Edition Service Pack 1
CommandLine = c:\temp\ext27692\setup.exe
TimeZone = Pacific Daylight Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft ASP.NET MVC 3 Tools Update
Package Version = 3.0.20406.0
User Experience Data Collection Policy: AlwaysUploaded
Number of applicable items: 5
MSI (c:\temp\ext27692\AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\NuGet.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_NuGet.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:14:10).
I tried to do the fix here but it is not working for me.
I get a bit further than what you see in the above screenshot as it seems to hit what I think is nuget and then instantly rollbacks. It happens so fast I can't get a good look.
I do have Visual Studios 2010 SP1 installed.
How I got mine to work:
Downloaded and ran the AspNetMVC3ToolsUpdateSetup.exe, let it extract the files but do not accept the license terms and click install
This created the folder C:\temp\ext27692 and within this folder are all the required installation files and configuration used in the installation. If you view the contents of the folder you'll notice there is a nuget.msi installation file. Note, VS on your computer already has the latest version so no need to install this.
Quickly make a copy of the folder C:\temp\ext27692, while execution in point 1 is still running and then click Cancel. This will rollback and delete what it created.
Within the copy of the C:\temp\ext27692 you made in point 3, locate the file parameterinfo.xml and open it using a text editor
Locate the following lines within the opened parameterinfo.xml file and delete them
<MSI CanonicalTargetName="NuGet"
DownloadSize="756736"
EstimatedInstallTime="849920"
HashValue="74F464AC4E7220775472D5DF08CE7842958BC53FB8B569E0917CEAEEFB82209C"
InstalledProductSize="838144"
Name="NuGet.msi"
ProductCode="{A5630CB0-6D3C-4C93-9A51-03BEB835A982}"
Rollback="true"
SystemDriveSize="100">
<IsPresent>
<Exists>
<MsiProductVersion ProductCode="Self" />
</Exists>
</IsPresent>
<ApplicableIf>
<Or>
<Or>
<Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstscore\Version"/>
</LessThanOrEqualTo>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstdcore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\procore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\vns\Servicing\10.0\xcor\Version"/>
</LessThanOrEqualTo>
</Or>
</ApplicableIf>
<ActionTable>
<InstallAction IfPresent="noop" IfAbsent="install" />
<UninstallAction IfPresent="uninstall" IfAbsent="noop" />
<RepairAction IfPresent="repair" IfAbsent="install" />
</ActionTable>
</MSI>
Save the parameterinfo.xml
Within the copy of the C:\temp\ext27692 you made, now locate the file setup.exe and execute it.
This will install MVC3 but not the old version of the NuGet.
You may need to check several options:
Check the control panel for installed versions of MVC framework
Follow the uninstall in descending order like 5-4-3
Try the following order when having nuget errors
Uninstall Nuget
Install MVC
Install latest nuget
NOTE: In addition to ASP.NET MVC3, if you have latest versions of MVC (4,5,6) you should remember to uninstall them by descending order.
Uninstall MVC 4 using Control Panel.
Install MVC 3 using stand-alone installer: http://www.microsoft.com/en-us/download/details.aspx?id=1491 (AspNetMVC3ToolsUpdateSetup.exe).
Install MVC 4 using Web Platform Installer.
It works for me. I did not touch NuGet.
IF you have also previously installed ASP.NET MVC4, I also had to uninstall Microsoft ASP.NET Web Pages from Control Panel -> Programs.
I then installed using web platform installer, and it all worked!

Resources