magnolia WebDAV doesn't work - webdav

I have installed Magnolia WebDAV-2.0 and try to access the templates Folder /magnoliaAuthor/.webdav/templates/ with BitKinex. I get the error HTTP forbidden when I try to access the templates Folder ; See the following picture:
I read in JIRA, that WebDAV-2.0 Version fixes this Problem but I try it and get the same error. Calling http://localhost:8080/magnoliaAuthor/.webdav/templates with the browser Returns blank page, which mean for me that webdav is installed successfully. How to Access magnolia webdav?

See same discussion at http://forum.magnolia-cms.com/forum/thread.html?threadId=ea35f17c-2e59-4f54-bffd-f80515d42f61&page=1
The report from Magnolia devs was that testing with "Magnolia-5.2.4 with magnolia-module-webdav-2.0 on Windows and BitKinex version 3.2.3" all works as it should.
Also the original issue reported confirmed that all works fine as long as you have the latest version.
Pls try with the same version or double check you don't have any version conflicts.

Related

VSIX with IWizard extension debug code out of sync

I am trying to figure out how my VSIX project stopped working [VS2022]. following this article, I was able to run and debug my VSIX project with an IWizard implementation. Something changed, I'm not sure what. I can F5-run and everything works but the code executing is not the latest code and I'm unable to hit any breakpoints (VS says No Symbols have been loaded for this document). I can tell its not the latest code because of the debug console messages and the UI is an older version.
I've tried a number of things including
Clean install
Made sure I'm in debug
Removed the extension from VS, and just tried running debug from VS
Verified compiled output is in AppData\Local\Microsoft\VisualStudio\17.0_c281014fExp\Extensions\ {myextension}
Property settings are set
Assets have not changed
I did mess around adding additional install targets but I don't think this caused any issues
Any ideas how the the project can be out of sync with the code?
I could go back to the start and implement a new project but hoping someone out there can help resolve this issue. Appreciate the help.
I figured this out. I don't know why it works the way it does, but this definitely fixed the problem.
I removed ALL extensions from VS using the extensions manager interface. So, all old instances are gone (but are they?)
In my VSIXProject I would do a clean solution, rebuild, run. I verified that the latest DLL's were being output to
C:\Users{user}\AppData\Local\Microsoft\VisualStudio\17.0_c281014fExp\Extensions{username}\Acme Project Template\1.0\VSIProject1.dll - VS Build output went here
In the debugger, when my little windows form loaded, I could tell it was old code and caught the reference in the output windows that it was loading an older version of the package.
C:\Users{user}\AppData\Local\Microsoft\VisualStudio\17.0_c281014fExp\Extensions{username}\Multi Project Name\1.0\VSIProject1.dll - debugger loaded this
C:\Users{user}\AppData\Local\Microsoft\VisualStudio\17.0_c281014fExp\Extensions{username}\Acme Project Name\1.0\VSIProject1.dll - debugger loaded this after deleting above
C:\Users{user}\AppData\Local\Microsoft\VisualStudio\17.0_c281014fExp\Extensions{username}\Acme Project Template\1.0\VSIProject1.dll - VS Build output went here
After I deleted all the previous extensions in file explorer and re-ran my project, the right code executed and debugging was enabled. IDK why the older versions were picked during debugging but it's fixed. HTH someone.

problems setting up aspnetcore-angular2-universal example seed

We are for some time now trying to find a solution for server prerendering of SPA, specifically Angular4, for the purpose of SEO.
We have come to try and use aspnetcore-angular2-universal, which seems to be the perfect solution, however, we encounter problems deploying the published build to a local IIS server.
We have posted an issue regarding the problem on the issues page at which can be found here:
https://github.com/MarkPieszak/aspnetcore-angular2-universal/issues/491
We have followed the instruction under "Getting started" & "Deploy" (which can be found here: https://github.com/MarkPieszak/aspnetcore-angular2-universal) exactly but the error still exist.
The support is unresponsive on issues and thus we are posting also here.
The problem is (as mention in the issue linked here) that we get the following error:
Which indicates a problem with the web.config file. However the webconfig file is exactly as supplied in the starter project and seems also legit.
I should mention that building and running the project using npm build:prod and dotnet run works and we can lunch an in memory application from Visual Studio Code, however when taking the published folder to an IIS folder the error occurs.
Any help will be appreciated.
Did you installed .NET Core Windows Server Hosting bundle?
Check if AspNetCoreModule listed in IIS => Modules. Sometimes it not installed properly during #1, even if there was "Succeeded" at all steps. In that case I just removing it via Program & Features, and reinstalling it then.
Once I saw that error when manually copied web.config from sources over the publish folder. Problem is that original web.config contains placeholders like %LAUNCHER_PATH% and %LAUNCHER_ARGS%, which turns to appropriate values (dotnet and .\YourApp.dll for instance) during dotnet publish
Aperantly there were incompebilities between angular5 & universal in serverside.
The https://github.com/MarkPieszak/aspnetcore-angular2-universal seed was downgraded to using angular4.3 instead of 5. When we updated seed, the problem was solved.

accessing magnolia resources using NetDrive

I would like to edit some STK-Templates. I use NetDrive to access magnolia resources but this doesn't work, see the screenshot:
What did I do workng?
I also tried this tutorial, but after restarting tomcat server nothing change. plz helpppp
I just tried tried Magnolia-5.2.4 with magnolia-module-webdav-2.0 on Windows and BitKinex version 3.2.3. It works without any problems.
But from screenshot which you posted originally I see you are using version prior Magnolia5 (4.4.x, 4.5.x).
Works fine on mac.
I don't have Windows nor the netDrive, but looking at the screenshot I believe your connect URL is wrong. According to documentation it should be http://<host name\[:port\]>/<magnolia context>/.webdav/<workspace> not just http://localhost.
The page you mentioned above links to http://documentation.magnolia-cms.com/display/DOCS45/WebDAV+module which imho explains that nice and clean. Try less hating and more reading ;)
Also answered in magnolia WebDAV doesn't work
HTH,
Jan

Failed to generate binding redirects for 'localhost'. An item with the same key has already been added

Using ASP.NET WebForms in Visual Studio 2010, and adding Glimpse to my WebSite (not WebApp):
I'm trying to install NuGet Package -> Glimpse.
The install is pretty straightforward:
PM> Install-Package Glimpse
Successfully installed 'Glimpse 0.79'.
Successfully added 'Glimpse 0.79' to
localhost.
But then I get an error in pink
Failed to generate binding redirects for 'localhost'. An item with the same key has already been added.
I got an error about a reference to "Microsoft.Web.Infrastructure", which I resolved by finding that DLL and placing it in the bin folder for my Website
Now I'm getting an http 404 error on http://localhost/websiteName/Glimpse/Config
I'm assuming the error is because the config file does not really exist there, and the route it tried to insert into IIS didn't work properly, so the page cannot be found.
Any help would be greatly appreciated, thank you in advance!
I'm a member of the glimpse team. Unfortunately, glimpse 0.79 does not support WebForms out of the box.
I expect that all the issues you have listed here will "disappear" once we have more official support.
If your really keen to get up and running, I recommend grabbing the source from gitHub.com/Glimpse and manually referencing Glimpse.Net.
I've also marked this SO question to make sure that we test out your use case when we are preparing to release with official support for WebForms.

qt plugin fails to load ("not a valid qt plugin")

we have a application, which loads several plugins (audio/videocodec related). All plugins except one plugin are getting loaded correctly.
The message i get is The file "foobar.codec" is not a valid Qt plugin (and QPluginLoader::load () returns false)
The strange thing about this is, that the identical plugin works for every other developer in our team, and on non-development machines aswell - And i havent changed any source files or project settings of that codec (it is a fresh svn checkout).
On the Qt documentation page, ive read that setting the enviroment variable QT_DEBUG_PLUGINS to 1, will give me more debug output on the console, but that was not the case.
And deleting all entries in the plugin cache referring to the plugin in question hasnt changed anything aswell.
The setup:
Qt 4.3.3
Windows XP SP3
VS 2005 (crt-version: 8.0.50727.4053)
EDIT:
Just found this faq-entry. I will check tomorrow if the dependencies are alright...
One of the dependency dlls of the plugin dll was not in the correct path

Resources