Sitecore TDS on deploy cannot find map.xml - sitecore

I have created a Sitecore TDS project and when I try to package an update file, I get the following error:
The following exception occured opening the IconPath map: Could not
find a part of the path '{project path}\IconCache\Map.xml'
I'm not sure how I can fix this. Any ideas?

Check the following:
Does the Map.xml file exist in the target location?
Can TDS write to the target location, e.g. is the file read only or are there insufficient privileges.
If neither of these solve your problem then contact Hedgehog support.

That is a very odd error, as the icon cache shouldn't really be a part of the update package. How are you packaging the update file? Are you configuring the Update Package tab in the TDS project properties to generate packages on build for a specific build configuration?

Related

Trying to add CXF3.1.11 to eclipse Web Service runtime but getting "Missing CXF jar: please select the CXF Home Directory"

Trying to add CXF3.1.11 to eclipse Web Service runtime but getting
Missing CXF jar: please select the CXF Home Directory.
Tried adding extra "apache-cxf-3.1.11-src" to the path of "C:\Program Files\Apache\apache-cxf-3.1.11-src\" as suggested in one of the posts but did not work. Also notice that my bin folder is located in "C:\Program Files\Apache\apache-cxf-3.1.11-src\distribution\src\main\release" but bin does not has any jar instead lib folder has a file named WHICH_JARS
Eclipse is actually looking for a specific jar file and is unable to find it. You appear to have downloaded the CXF source code and not the binary distribution located here (well it's 2.X) but thats likely still not going to help you much as apparently Eclipse seems to be looking for a possibly old CXF 2.X version (it does show Window->Preferences->Web Services->CXF 2.x Preferences) as I added the binary version of apache-cxf-3.1.6 and it found the run time but couldnt locate the jar though they are there. I then tried the linked binary version above, again the runtime is found but I still the error "Missing CXF jar: please select the CXF Home Directory."
So in short (well long) and to answer your question though I dont believe it will help - you'd need to build the source code you downloaded. Sorry I cant be of more help. These people had a similar problem Missing cxf jar: Please select the cxf home directory and were able to solve it but it appears somethings changed in the latest versions of eclipse or possibly apache?

webstorm IDE: program path not specified when running JS script how can I fix this?

I'm trying to run my JavaScript script, however the message keeps on giving me an error saying:
Configuration is still incorrect. Do you want to edit it again?
Is there a way to fix this?
I had a similar error and it was because I did not specify my path to where I installed node.js. In webstorm, go to File -> Settings -> Language&Frameworks -> Node.js and NPM and in the Node interpreter text box, point it to the path of where node.js was installed. For me it was at C:\Program Files (x86)\nodejs.
If you didn't install node.js and npm, you need to do so.
If you are trying to debug js code and you are using a chrome browser, you need to install their extension and use "Inspect in WebStorm" action.
Found the above behavior occurs with the WebStorm project folder within the OneDrive path (Windows 10). As shown in the image of the run configuration, WebStorm shows and error for location of the path to the JavaScript file even though it is correct. Click Run > Continue from here and it executes with node.js as expected. Move the project to a folder outside of the OneDrive path and the error is gone.
Image: Webstorm Run Configuration Error in OneDrive

Failed to fetch package information for org.apache.cordova.geolocation

I download this example
WinJS ToDo Sample for Multi-Device Hybrid Apps
but when compile get the error:
Failed to fetch package information for org.apache.cordova.geolocation
I remove the check "Geolocation" in config.xml and the error changes to:
Failed to fetch package information for
com.msopentech.azure-mobile-services
How can I solve this problem?
thanks
regards
Check your network connectivity and firewall settings. The plugins need to be downloaded from the Cordova plugin registry and it looks like it's unable to do that on your system.

Sitecore Package upload error

I am trying to install a Sitecore package from dev to staging environment, i have used package designer to create this package, but when i try to upload this package on the staging site it results in the following error:
The File exists.<br>
I have also tried uploading the package created using the Sitecore Rocks plugin which also results in the same error.
I am installing the package using installation wizard and uploading the package and i am not overwriting the existing files.
Kindly, help!
This error occurs if the windows temp has more than 65K files. When we cleared those files the issue got resolved.
Maybe there is package with the same name as your new package. Try to rename you package zip file and then upload.
make sure you are installing in the right environment
make sure the file doesnt not already exists (you can look it under the packages folder)
restart app pool and try again. Maybe overwrite the installation file.
there was a issue with sitecore on the staging environment(probably corrupted install). so we took a risk and installed it on live..! It works fine! Thank you all for the help. Much appreciated.

c:\ınetpub\wwwroot\mysite\website\sitecore\shell\override is invalid

I install sitecore 6.4 but after login i take this error
The directory name c:\ınetpub\wwwroot\mysite\website\sitecore\shell\override is invalid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
I uninstall sitecore and install again but result same. Someone can help me pls.
By default this folder is not created when you create a fresh install of Sitecore. Have had this many times, and essentially you must manually create the folder, and also ensure the app pool identity has write permissions to this folder. If you have your Visual Studio solution open, also close and reopen as the change will not be picked up if you are running webdev.
I ran into this problem as well. My problem was i had my project committed on Git and I was trying to pull files from GIT to my local to setup the project.
The problem with GIT is that it doesnt commit empty folders so \website\sitecore\shell\override was not committed to the repo, and when i pulled, the folder didnt existed on my local as well.
Creating the folder manually resolved the issue.
As mentioned by #pranav-shah, git doesn't support adding empty folders so if you are using git and you are doing clean builds it is likely you are running into this problem.
To get around it you can just create an empty file in the override folder. I recommend following the suggestion in this answer and call it .keep
Whenever I run into this, it's the app pool identity missing write permissions to the folder. Often applies to following folders too, under the sitecore directory:
* shell\controls\debug
* shell\applications\debug
(I think there's one more but too tired to remember right now).
If you run the installer it normally takes care of these issues. Also be sure to read the manual installation steps in the Sitecore documentation, available on the Sitecore Developer Network.