i was creating a website in wss 3.0. now i have a licensed moss version. i would like to tranfer all the content from wss to my newly installed moss. i came accross the export/import command and tried it. the export worked fine. the import gives me the following error:
the export command from wss 3.0 was:
stsadm -o export -url http://priya -filename default.aspx -includeusersecurity -update version 4
the import command to shift the entire content to moss 2007 was:
stsadm -o import -url http://priya:23795 -filename default.aspx -includesecurity -ipdateversions 2
the error was:
Fatal Error: cannot import site. the exported site is based on the template STS#0 but the destination site is ased on the template CENTRALADMIN#0. You can import sites only into sites that ar based on the same template as the exported site.
What is happening here is that, you are trying to import a Team Site to Central Amin Site (?)
I see that you are new to SP. Check this post Database Migration from WSS 2.0 to MOSS 2007 for some detailed information about how to migrate.
Related
VS2017, .NET 4.7. I generate a sample ASP.NET (.NET framework) MVC project with the template in "new project". I use IISExpress. On my PC (Windows 8) the razor pdb files are generated in:
C:\Users\xxxxxx\AppData\Local\Temp\2\Temporary ASP.NET Files\vs\1e1a228d\9ada4f02\ App_Web_xxxxxxxx.pdb
The following break point works:
On my VM, Windows server 2012 R2, as admin, the App_Web_xxxxxxxx.dll files are generated, but there no pdb files with them.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\ff03b586\aba173c3\App_Web_xxxxxxxx.dll
How can I generate the debugging info on the VM? (Same version of VS2017). (C# break points work)
More tests:
I generate a vanilla ASP.NET CORE MVC project:
But with .NET Framework:
After some research, I am now able to generate the missing pdb files manually with the following command:
aspnet_compiler.exe -v / -p D:\Temp\Code\VS2017\TestRazor\WebApplication2\WebApplication2 D:\Temp\Test -d
I bind the destination Test folder in IIS, attach the debugger, and yes, breakpoints are now being hit.
I must now figure out why none of the MVC projects (some legacy) compiled in debug on this VM are afflicted with this problem.
Following the article to build an Azure Iot Edge module on Windows 10 https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-csharp-module
In the step 12 to Build IoT Edge Module, VS Code generates following error message: This is consistent experience in two different new Win 10 Environment I have tried to Build a docker image.
All the prerequisite steps have been successfully completed.
PS C:\Users\\Code\FilterModule> dotnet publish "c:\Users\\Code\FilterModule\FilterModule.csproj"
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restoring packages for c:\Users\\Code\FilterModule\FilterModule.csproj...
Generating MSBuild file C:\Users\\Code\FilterModule\obj\FilterModule.csproj.nuget.g.props.
Restore completed in 392.82 ms for c:\Users\\Code\FilterModule\FilterModule.csproj.
Program.cs(110,47): error CS0246: The type or namespace name 'TwinCollection' could not be found (are you missing a using directive or an assembly reference?) [c:\Users\\Code\FilterModule\FilterModule.csproj]
Anyone came across this issue and any advise on resolution?
The tutorial walks you through the process of pasting a bunch of code into your own sample project, but it leaves out a few necessary using directives. So if you try to compile as is, you get errors.
To work around this, you can add three using directives to the top of your Program.cs file:
using System.Collections.Generic; // for KeyValuePair<>
using Microsoft.Azure.Devices.Shared; // for TwinCollection
using Newtonsoft.Json; // for JsonConvert
I've also submitted a PR to get the tutorial updated:
https://github.com/MicrosoftDocs/azure-docs/pull/4600/files
How to package and deploy Microsoft Edge Browser Extension to marketplace?
I reference sample package and develop the Edge extension include below files
README.MD
manifest.json
background.html
css folder
js folder
icons folder
And I tested from Edge load extension folder.
But I don't know how to package and deploy to Microsoft marketplace.
Someone can advise me?
Updated (12/19/2016):
Microsoft Edge team has published the packaging documentation.
Previous:
According to Building, Testing and Deploying a Browser Extension in Microsoft Edge, which is a session in Microsoft Ignite NZ, Microsoft Edge team has worked with Manifoldjs to bring support of generating Edge extension appx package. You could follow the ReadMe of Manifoldjs to generate an appx package for Microsoft Edge extensions.
And as it states in above session, Microsoft Edge isn't accepting public submissions to the store at this time, if you're interested in deploying your extensions to the Windows Store, please consider submitting a request to https://aka.ms/extension-request to be considered for a future update.
If anyone is trying to use manifoldjs or pwabuilder and are having issues, here is a work around.
First, just don't.
manifoldjs -l debug -p edgeextension -m <MANIFEST-LOCATION>.json
Update generated appxmanifest.xml. Values are found in partner center.
<Identity
Name="<NAME>"
Publisher="<PUBLISHER>"
Version="0.1.0.0" /> <!-- UPDATE IDENTITY -->
<Properties>
<DisplayName>DISPLAY-NAME</DisplayName>
<PublisherDisplayName>PUBLISHER-NAME</PublisherDisplayName> <!-- UPDATE PUBLISHER DISPLAY NAME -->
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
Update logos found in Assets folder.
Run CMD as admin, run command below
MakeAppx pack /d <MANIFEST FOLDER PATH> /p <APPX LOCATION>
ex: C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe" pack /d "manifest" /p "package\mypackage.appx"
I hope this helps someone.
I'm trying to download LockBox3 so I can encrypt some files. I tried through Sourceforge and ran into all sorts of compiling difficulty such as the ANSI problem in the String Utility, $ENDIF rather than $IFEND, and others. I then went to the http://lockbox.seanbdurkin.id.au/Grok+TurboPower+LockBox link and I see lists of files but I don't see how to ultimately make a package that I can use in the application.
I'm not interested in modifying any source - I'm just hoping to use the utility/component as-is to encrypt/decrypt file such as in the codec examples.
You can download a svn client (take 1 minute)
1) Download : Standalone command-line Subversion client for Windows
The installer contains all command line tools (svn, svnadmin, svnsync, svnserve, svnmucc) but no application bindings nor Apache modules.
2) goto https://code.google.com/p/tplockbox/source/checkout
there you see
Command-line access
Use this command to anonymously check out the latest project source code:
Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://tplockbox.googlecode.com/svn/trunk/ tplockbox-read-only
3) create a folder where you want to store the download
4) inside that folder open windows cmd
5) paste above svn checkout ... link to cmd
after ENTER the download starts.
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