ANT not recognized by the command. New style doesn't deploy after reboot.
I am playing around the cssmill to create the ccs files and I ran into 2 issues:
If I ran ANT make_main_css -DCOLOR=##, I got error that "'ant' is not recognized as an internal or external command". If I double click the make_all.bat in the directory, the new css files will be created using the new property file I created. After copying the new css files to the common\public\css folder and reboot the portal server, am I suppose to see the new color theme appear from the drop down list for the color options? I am not seeing it.Anyone has run into the same/similar situation? Thanks!
In the community-theme.txt file, I copied color theme for the following, appended them by the end of the file, and updated 18 to 19.
mainstyle18-de.css=T\u00FCrkismainstyle18-en.css=Turquoisemainstyle18-es.css=Turquesamainstyle18-fr.css=Bleu turquoisemainstyle18-it.css=Turchesemainstyle18-ja.css=\u30BF\u30FC\u30B3\u30A4\u30BAmainstyle18-ko.css=\uC5F0\uD55C \uCCAD\uB179\uC0C9mainstyle18-zh.css=\u78A7\u7DA0mainstyle18-pt.css=Turquesa frio
You also need to updated color name to the one you want to use in the language setting you use, for example, mainstyle19.en.css=New Color. Then once you rebooted content server, the "New Color" will appear in the drop down menu for selection. It works on me, hope this works for you too.
Similar Messages
-
I have restored successfully an exchange 2013 mailbox database from backup to the recovery database, but when i try to recover a user's mailbox I receive the following error
New-MaiboxRestoreRequest -SourceDatabase RDB1 -SourceStoreMailbox "testuser" -TargetMailbox [email protected]
The term 'New-MaiboxRestoreRequest' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I already have the "mailbox import export" management role assigned to the logged in administrator.
Anand_Nsilly me i spelt the command wrong
Anand_N -
I have a script that runs well the vast majority of the time. On occasion I get an exception. I would appreciate any insight as to why it fails on occasion. I can't understand why the new-object cmdlet wouldn't be recognized:
Message: The term 'new-object' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Source: System.Management.Automation
StackTrace: at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource)
at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Here is the script I am running:
param([string]$endpoint)
$ErrorActionPreference = "Stop";
try
[System.Reflection.Assembly]::LoadFile("D:\dotNET_Apps\dotNETCOExBatch\DotNETCOExBatch\bin\DotNETCOExBatch.dll")
$schedule = new-object DotNETCOExBatch.CallService
$reply = $schedule.CallWebService($endpoint)
if ($reply)
$host.setshouldexit(0)
else
$host.setshouldexit(8)
Catch
$nl = [Environment]::NewLine
$evt=new-object System.Diagnostics.EventLog("Application")
$evt.Source="BatchPowerShell"
$infoevent=[System.Diagnostics.EventLogEntryType]::Error
$batchException = $_.Exception
$logMessage = " "
while ($batchException)
$exMessage = $batchException.Message
$exStackTrace = $batchException.StackTrace
$exSource = $batchException.Source
$logMessage += "$nl $nl Message: $exMessage $nl $nl Source: $exSource $nl $nl StackTrace: $exStackTrace"
$batchException = $batchException.InnerException
$evt.WriteEntry(" Error starting or process cancellation of $endpoint $logMessage",$infoevent)
$host.setshouldexit(15)Hi,
Please close your current powershell console, and start a new Window, and then check the result.
Like David replied, this is a strange issue, hard to find the cuase, but I will report the issue, hope
someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Cataleya Li
TechNet Community Support -
I deployed a Mountain Lion Server with the calendar service active. Every time a user tries to share a calendar they have created under thier account to an external person using thier email address, the server gives the following error: "At least one sharee was not recognized by the server. New invitations have not been sent."
Invites to share a calendar to OD accounts on the server seem to work fine.
I have a calendar specific email address for external invites set up. The server seems to send individual event invites to external email addresses just fine, so I am thinking the email is working. Email is not served on the Mountain Lion Server. The account is through Google Apps using IMAP and SMTP.
What's even stranger, is that there doesn't seem to be any message in the Calendar error logs.
I've tried creating a new test account and no luck.
I don't know what else to try.
Thanks in advance for any help!another 3rd party sofwtare that allows you opent he backup and grab info
http://www.processtext.com/abcblackberry.html
trial for 30 days, good program for that 30 days, I hear they arent a pleasant company to purchase from though -
I'm running 10.8.4, server 2.2.1 with Calendar server turned on.
I keep getting this error when trying to share a calendar from Calendar client: At least one sharee was not recognized by the server. New invitations have not been sent.
Any ideas?
Thanks.another 3rd party sofwtare that allows you opent he backup and grab info
http://www.processtext.com/abcblackberry.html
trial for 30 days, good program for that 30 days, I hear they arent a pleasant company to purchase from though -
I am trying to run the following Powershell in orchestrator to move a new user into a specific OU based on the Department field specified by the creator.
$dept = {Department from "Initialize Data"}
if ($dept -contains 'IT') {$NewContainer = OU=IT,DC=test,DC=net}
When I run the Powershell it is returning the following
The term 'IT' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
How can I get it to not try and pass 'IT' as a cmdlet?I think I may have actually found the solution I was missing { } around the command
I encapsulated the powershell in { }
$dept = {Department from "Initialize Data"}
if ($dept -contains 'IT') {$NewContainer = OU=IT,DC=test,DC=net} -
I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
The first step in the wrapper is to create a Transcript file using following code
if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
$timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
$path = "c:\corp\$timestamp" + "_$pid.txt"
Start-Transcript -path $path -append
As expected the folder contains files with timestamp & pid in name
08/08/2013 11:00 AM 14,388 2013-08-08-11-00-01.158_1620.txt
08/08/2013 11:00 AM 12,506 2013-08-08-11-00-01.485_936.txt
08/08/2013 11:00 AM 12,994 2013-08-08-11-00-01.735_9328.txt
08/08/2013 11:00 AM 12,024 2013-08-08-11-00-01.766_8624.txt
08/08/2013 11:00 AM 13,902 2013-08-08-11-00-01.860_1756.txt
08/08/2013 11:01 AM 15,142 2013-08-08-11-01-31.392_10120.txt
08/08/2013 05:00 AM 14,982 _1692.txt
However note the last file, it has a zero length date time value in the name
The error recorded by PowerShell is
get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
+ $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (get-date:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
IE get-date has failed and returned a zero length field as the timestamp
Can anyone think of a good reason why get-date would fail intermittently?
Do I have to code defensively for base Powershell functions?I implemented David's suggestion and now I intermittently get
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
+ import-module Microsoft.Powershell.Utility
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand
I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
trap {
trap {
"Trap1"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
"Trap2"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
trap {
"Trap3"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
exit 1
get-date
Now I intermittently get ..
Trap2
Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
InnerException:
StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
PSModuleInfo& module)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
FailedItem:
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
+ import-module Microsoft.Powershell.Security
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand -
My messages get lost in an eternal loop in my out box and it says that my iCloud me accounts are not recognized by the server. I can send 1 or 2 out of 10.
We tried adding a new account and that didn't work. We then deleted the account and started again. Still didn't work. Extremely frustrated!There also seems to be something wrong with the time!!! My posting says 5:30ish but it was 8:30ish?
-
After upgrade IPHONE 4 to IOS 7 , it work 2days, and now it is off, not recognized on the pc and no battery logo when connecting to the sector
I'm happy to say that I solved the problem, and for the community (for the "next generation" that will search a solution for this problem) - I will publish the solution for this problem : I defined as new iphone, and then the restore showed up!
All wishes everyone... -
When I try to send an email with photo attachment on my iPad a screen appears which states " the sender is not recognized by the server" . What do I have to change so I can always send emails fr om my iPad with or without attachments. I am a novice!!!!!!
If you purchased about 2 years ago new I am sure it is a Intel iMac. To find out what type of iMac you have just click on the Apple menu item in the finder and select about this Mac. I would check the ISP mail site and get the correct outgoing mail server info.
-
How do I import images. Have a message that says: The files are not recognized by the raw format suppot in Lightroom. Am using a Mac version 10.9.4. the import is from a new Nikon D610. Am using LR 4.4 Please help Adobe is useless as a support.
Each camera must be supported explicity and your LR version is years older than your camera.
According to Adobe's Camera-support page, you need at least LR 5.3 to work with your D610 NEFs in LR:
Camera Raw plug-in | Supported cameras
If you don't want to upgrade to LR 5, or can't due to your OS being too old, then it might work to use the latest DNG Converter and create DNGs from your NEFs, which should open in LR 4.x. You can find the DNG Converter here: http://www.adobe.com/downloads/updates -
Tried loading my raw files shot w my new Sony a7 and its sd card into lightroom4. Got a message: "The files are not recognized by the raw format in lightroom"
Does Lightroom 4 not work with the Sony A7?
Thanks,Lightroom 4 cannot read the RAW photos from a Sony A7
You would have to download and install the FREE Adobe DNG Converter version 8.5 and then convert your RAW to DNG, and then import the DNGs into Lightroom 4
You could also purchase Lightroom 5.5, which will have the capability to read the RAWs directly. -
Powershell error: 'Get-AzureRole' is not recognized as the name of a cmdlet
I am trying to
get PIP information on all instances of a role using Windows PowerShell
as per the document - "https://msdn.microsoft.com/library/azure/dn690118.aspx"
When I execute the command in the doc in the powershell:
Get-AzureRole -ServiceName FTPInAzure -Slot Production -InstanceDetails
The following error msg pops up:
'Get-AzureRole' is not recognized as the name of a cmdlet.
what's wrong?
Thanks
Thank you MorrisHi,
Thanks for posting !
I am currently researching to gather more information which might take some time and hence will get back to you shortly.
Appreciate your time and patience.
Regards,
Sowmya -
The term 'Add-SPDistributedCacheServiceInstance' is not recognized as the name
Hi,
I have setup Sharepoint 2013 standalone on Windows 2012 server. I am developing an app that will make use of social apis of sharepoint 2013. Out of the box installation didnt have Distributed Cache Service running and I am not sure if its needed to be run
in order to make social apis working on the server. Anyhow, since distributed cache service was showing up as Stopped and I could not restart it, I have deleted the distributed cache service and when I retry to re-add it by entering Add-SPDistributedCacheServiceInstance
command on powershell, I get the following error,
Add-SPDistributedCacheServiceInstance : The term 'Add-SPDistributedCacheServiceInstance' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ Add-SPDistributedCacheServiceInstance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-SPDistributedCacheServiceInstance:String) [], CommandNotFoundExcept
ion
+ FullyQualifiedErrorId : CommandNotFoundException
I am at total loss here. Any help/pointers to get around this error and setup social api working on this server will be helpful.
Regards,
UsmanThe issue is because your PowerShell console has not loaded the appropriate SharePoint DLL
in order to call the API. To resolve this, you can open the SharePoint 2010 Management Shell to execute the script or add the assembly manually before running the script.
--Cheers -
Using a Variable in SSIS - Error - "Command text was not set for the command object.".
Hi All,
I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table I have created variables v_Archivequery
String packageLevel (to store the query).
<Variable Name="V_Archivequery" DataType="String">
SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
</Variable>
I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
But when I am generating the package and when running I am getting bewlo errror
Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E0C Description: "Command text was not set for the command object.".
Can Someone guide me whr am going wrong?
Please let me know where am going wrong?
Thanks in advance.
Thankx & regards, Vipin jha MCPWhat happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
Could you try set the Delay Validation = True at Package and re-run ?
If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
-Vaibhav Chaudhari
Maybe you are looking for
-
After i updated my laptop with the latest 9.0.1 Firefox i seem to have lost the icons next to each bookmark under bookmarks. Having the icons next to each bookmark made locating the bookmark i desired much easier. Please help me with this matter than
-
JPG and RAW files are not grouped together.
I am finding that my RAW and JPG files are not grouped together. They show up on the Grid View as JPG for the JPG file and RAW + JPG for the NEF(RAW) file. This does not seem to be consistent through out the folder. Some of the pictures are groupe
-
InfoObjects Key disappeared after BW support packages applied
Hi. We have a serious problem, after we applied BW support packages (7.0110) all our infoobjects that are created as text only, no master data, are only displaying the text. The objects key is empty. Do anybody have a solution for this? Koos.
-
InputsourceXML String to XML fields
Hi Experts, My requirement is to convert the Input XMLstring into XML fields.Actually the original XML comes in <Payload> field as a string.I want to convert it to XML fields.How to achieve it through java mapping?Please provide your suggestion. Rega
-
Dear All, I am Facing this problem com.sap.portal.appintegrator.sap.BWReport::BWReport/DragAndRelateLayer System - BEx Web Application Query String TEMPLATE=TEMPLATE_NAME OptionalParameters on preview its showing like this. can any one tell