I added a new SharePoint app project into an existing web project solution. When I tried to deploy it am getting an error:  Error occurred in deployment step 'Install app for SharePoint':  Failed to install app for SharePoint.  There was a problem with activating the app web definition.   But when I removed the feature1.feature file, it is geeting deployed successfully.   What is the reason?  Is there any better solution?  What is this feature1.feature file for?
I created a test MVC sharepoint app succesfully in a solution. Now I need to integrate this into a main solution project.   But when I added a SharePoint MVC App into the solution and hit F5, I am getting following error:  Error occurred in deployment step 'Install app for SharePoint':  Failed to install app for SharePoint. Please see the output window for details.   Detailed stack trace:  CorrelationId: 50583239-71cb-4b07-8bcb-4bbc51a22631      ErrorDetail: There was a problem with activating the app web definition.      ErrorType: App      ErrorTypeName: App Related      ExceptionMessage: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x81070964 ---&gt; System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x81070964 at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) --- End of inner exception stack trace --- at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionModules(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPUserSolutionCollection.EnsureWebFeaturesActivated(SPUserSolution solution) at Microsoft.SharePoint.Packaging.SPUserCodeSolutionDeploymentGroup.ActivateSolution(SPWeb web, SPUserSolution solution) at Microsoft.SharePoint.Packaging.SPUserCodeSolutionDeploymentGroup.Deploy() at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation() at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()      Source: AppWeb      SourceName: App Web Deployment   Can somebody shed a light on this issue? :)
Validationengine jquery not working properly for localization Show that $$\int_{0}^{\infty} \frac{x - \sin(x)}{x^3} \, dx = \frac{\pi}{4}$$   My attempt is as follows: Let $$f(z) = \frac{z - i e^{iz}}{z^3}$$ and consider the contour on $[\epsilon, R]$ followed by a semicircular arc in the counter clockwise direction, then on $[-R, -\epsilon]$, then the semicircular clockwise contour avoiding the origin. We have, then, that  $$0 = \int_{\Gamma} f(z) dz = \int_{[\epsilon, R]} f(t) dt + \int_{C_R}f(Re^{it})Rie^{it}dt + \int_{[-R, -\epsilon]}f(t)dt + \int_{C_{\epsilon}}f(\epsilon e^{-it})\epsilon i e^{-it} dt$$  Then the first and third integrals ( $I_1$ and $I_3$) combine so that  $$I_1 + I_3 = 2\int_{\epsilon}^R \frac{t - \sin{t}}{t^3}\,dt$$  Further,   $$|I_{C_R}| \leq \int_0^\pi \left|\frac{Re^{it} - ie^{-R\sin{t}}e^{iRcos{t}}}{R^2 e^{2it}} \right|dt \rightarrow 0 \text{ as } R\rightarrow \infty$$  (I've omitted the details, it isn't too bad to bound)  However, I'm having trouble computing the limit  $$\lim_{\epsilon \rightarrow 0}\int_{C_{\epsilon}} f(\epsilon e^{-it})\epsilon i e^{-it} dt$$  No matter which way I look at it, it seems like this limit does not exist. Perhaps I'm seeing something wrong or have I chosen a bad $f(z)$? Is there the easiest way to toggle (show/hide) navigational grids in TikZ? In PSTricks, we can toggle the grids easily by showgrid=[false/true]. How to do it in TikZ? Doing as follows is tedious.    \documentclass{minimal} \usepackage{tikz}  \begin{document}   \tikzpicture  \draw[gray,very thin] (-4,-2) grid (4,2); \foreach \x in {-4,...,4}   \draw[red] (\x,-1.9) -- (\x,-2.1) node [below] {\x};   \foreach \y in {-2,...,2}   \draw[red] (-3.9,\y) -- (-4.1,\y) node [right] {\y};  \draw (0,0) circle (2);   \endtikzpicture    \end{document}   Is there the easiest way to toggle (show/hide) navigational grids in TikZ?  Edit  The navigation needs not only the grids but also the labeling numbers. Express $\sqrt{3}\sin\theta - \cos\theta$ as: $a\cos (\theta + \alpha) $ Express $\sqrt{3}\sin\theta - \cos\theta$ as: $a\cos (\theta + \alpha) $  Can someone please explain to me how to go about doing this? Finite Summation of Fractional Factorial Series \documentclass{article} \usepackage{expl3} \ExplSyntaxOn \begin{document} \tl_to_str:n { testing _ things }  \par  \tl_set:Nn \l_tmpa_tl { testing _ things } \tl_to_str:N \l_tmpa_tl \end{document}   gives a strange result (testing ̇things).  How can I get testing_things?  I basically want verbatim content (with line breaking). I use both GNOME and KDE SC. In GNOME, I use Docky but I do not use it with KDE. So, I would like Docky to start up only when I login into GNOME not KDE. In KDE, there is an option to make a program autostart only in KDE. But I cannot find any such option in GNOME.    How can I do this?    Thanks in advance. I am trying to pickle some mangoes the Indian way. I boiled the jar in hot water, dried it and then added the mixture of spices, salt and mangoes to the jars after the mixture had cooled. I made the mixture in a frying pan to try and remove as much water as I could. After it was cooled, I put it in the jar and heated some mustard oil till it just barely started smoking. I let that cool and poured it over the mango spice mixture.  For the first three days it was fine. On the fourth day, I opened it to test the taste and ended up adding more salt. Now, there seems to be gas forming in the jar. I've noticed it a few times now. When I open the jar, I hear a whooshing noise as air escapes. It's quite a lot, since I opened the container about 3 times in a 10 hour period and each time gas escaped. Has this pickle gone bad? Or is this something that's normal? Underline my name in the bibliography For several documents I'm preparing, I need to highlight (or underline) occurences of my name within the bibliography.   Is there an easy way of doing this? Using fflush(stdin) Have you ever had a case where you felt compelled to include strange things like a double that in a sentence? If so, then what did you do to resolve this?  For me, I never knew whether it was acceptable grammar. However, what I did learn was that it was a logic distractor, could lead to confusion, and therefore should be reworded to avoid this. Prove that $\mathbb Z_{m}\times\mathbb Z_{n} \cong \mathbb Z_{mn}$ implies $\gcd(m,n)=1$. Prove that $\mathbb Z_{m}\times\mathbb Z_{n} \cong \mathbb Z_{mn}$ implies $\gcd(m,n)=1$.  This is the converse of the Chinese remainder theorem in abstract algebra. Any help would be appreciated.  Thanks! Using a diode to ensure current flows in only one direction, without causing a voltage drop To power my microcontroller (ATmega8), I am using a ~5.4V voltage source. I want to ensure that I don't accidentally connect the voltage source in reverse, and figured a diode would be a nice way to accomplish this as from what I have learned so far, a diode allows current to flow in one direction, and blocks it in the other.  But what I also learned is that diodes create drops in voltage. I have a few of the typical diodes (1N4001, 1N4148, etc.), and would like to use them to achieve the aforementioned result without dropping the voltage as it would be too low to power the IC.  My question is, is there any way to do this with a diode? Or do I need some other component (if so, what would you recommend)? Grep: The asterisk (*) doesn't always work If I grep a document that contains the following:  ThisExampleString  ...for the expression This*String or *String, nothing is returned. However, This* returns the above line as expected.  Whether the expression is enclosed in quotes makes no difference.  I thought the asterisk indicated any number of unknown characters? Why does it only work if it's at the start of the expression? If this is intended behavior, what do I use instead of the expressions This*String and *String? In a complete metric space with no isolated points, any countable intersection of open dense sets is uncountable? Normalizing point cloud data How I can get Digital Height Model (only object heights, DSM - DTM = DHM)?  Many applications can do this, but they convert it to GRID or TIN format. I was wondering if it was possible to keep the data as point clouds. Jack probs with heaphones/earbuds So I already asked this question, but I couldn't respond to the answers. I can't hear out of the left ear of any headphones/earbuds because I have to push the jack towards the Earth to hear out of it. It seems you guys think the jack is the problem when I'm pretty sure it's the computer (my Acer laptop). I also forgot to mention the headphones (PX22 Turtle Beaches) work with both ears, but I have to plug in the usb extension cord in order for that to work (it's also the same cord that enables the mic on my headphones), plus I lost the cord. Thanks 4 hewps. Let $z \in \Gamma (R)$ where this is the upper semi circle centred at the origin with radius $R&gt;1$. Let $z=x+iy$ with $x \in \mathbb{R}$ and $y \geq 0$. So   $$|e^{i \lambda z}|=|e^{i \lambda z}| |e^{- \lambda y}|= |e^{- \lambda y}|$$  where $\lambda \in \mathbb{R}^{+}$.  How can the last equality possibly be true? Can the software be downloaded on an Android device?  If yes, then what is the process? If column matches another file, print every line with match (awk/grep)