SAP Personal WEB IDE upgrade issue - sap-web-ide

Created in SAP Web IDE on the cloud an application from worklist template version 1.53. Upgraded my Personal Web IDE to the same version using the steps described in the link below:
​​http://www.saplearners.com/upgrade-sap-web-ide-personal-edition/
Imported the exported application to ​Personal Web IDE and ran it to find out that it was crashing due to components missing. The missing component was sap/f/semantic/SemanticPage.js, which, as I found, is available since version 1.52. Furthermore, when I try to create an application from template within Personal SAP Web IDE, the latest available version shown is 1.44. Explored the contents of Personal SAP Web IDE, plugins folder looks as follows (picked it only because a folder relative to 1.53 is located in there)
Plugins folder contents
What exactly do I miss here?

It seems to me you are mixing things up. The version number of the Web IDE Personal Edition and SAPUI5/OpenUI5 are not the same.
The latest version of the Web IDE PE is 1.53.1. It was released 9 months ago (July '17). The latest UI5 Version at that time was 1.44.11.
sap.f.semantic.SemanticPage is available since 1.46 (UI5, not Web IDE PE). Since this is newer than the UI5 version shipped with the Web IDE PE, this control is not available.
Quick workaround: Use this CDN link while developing: https://sapui5.hana.ondemand.com/1.46.10/resources/sap-ui-core.js
It points to release 1.46.10 of SAPUI5.
A list of available versions can be found here.

Related

no ASP.Net Core Template in New ASP.Net Core Web Application screen Visual Studio 2017

I'm following a tutorial in developing .Net Core application and after selecting New>Project>ASP.NET Core Web Application
I then get a new window 'New ASP.NET Core Web Application' which in my tutorial shows three choices for template but mine is empty.
There is an option which says 'Get additional project templates' which I did but it just offered a project which I downloaded from GIT called 'Templates-Master'. I don't know how I get this into my templates. I also went to my Installation setup to see if I missed anything but as you can see below it all seems to be there.
The problem is without being able to select a template, I can't go any further. My tutorial seems to imply they should be there, what do I do?
For the warning and unexpected result, it seems you installed the wrong version of SDK.
Try to install SDK, choose the right version(x86).
If it still exists, try to check PATH environment variable points to the location in which the SDK is installed. The installer normally sets the PATH.
Reference: Troubleshoot ASP.NET Core projects

Change default container in scalatra web application in eclipse

I am a total beginner with developing in scalatra, eclipse, sbt, web services, etc...coming from a proprietary SAP Abap world where everything is different. Recently I found interest in developing in scala and SAP opens its SAP Cloud Platform, so I tried some tutorials to create some very simple web applications.
I could manage to create the sample tutorial with scalatra and sbt.
Scalatra includes Jetty as a default container.
I want to use Eclipse as SAP uses it as a standard development environment. I managed also to install the sbt-eclipse plugin and could import the project into the eclipse environment.
But now I'm stuck.
How can I change the web-container (server) to Tomcat which is installed locally in my eclipse environment?
It is a Scala project, so I cannot use the option which is available in a J2EE project to define the Target Runtime Environment in the properties.
Ultimately I would like to deploy it to my Hana trial account at SAP Cloud Platform. Any hint is appreciated.

Hosting web service on IIS 7.5 which consumes 64 bit third party DLL throws error Could not load file or assembly or one of its dependencies

we are working on windows 2008 R2.
we have a web service(frame work 4.0) which consumes 64 bit third party DLL. when we run web service from VS 2013 or from IIS 7.5 we got a error saying “Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.”
with the help of stackoverflow we have set the below option in VS 2013
Tools | Options | Projects and Solutions | Web Projects | Use the 64
bit version of IIS Express
and published the same from VS 2013 on IIS 7.5 and it is working :)
now we have published same web service on different machine where Visual studio 2013 is not there and we are getting the same problem again.
“Could not load file or assembly or one of its dependencies. An
attempt was made to load a program with an incorrect format.”
how to make this web service working?
After doing lot of googling i have come across this link debugging-assembly-loading-failures
so with ref to above link if i have fuslogvw.exe, it's easy to find where the problem is.
So to get fuslogvw.exe i have installed SDK for .net framework
Now i got fuslogvw.exe and i configured it as mentioned in debugging-assembly-loading-failures and i browse my web service from IIS Manager and i am expecting errors so i am checking Fusion log and i found no errors there. Confused!!!
now i came back to browser and i found my web service is working :)
So installing SDK fixed the problem.

I got following error When i open SiteCore website in Visual Studio 4.0

I got the following two errors when I open Sitecore 6.3 website in Visual Studio 4.0:
Error 1 The virtual path
'/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx'
maps to another application, which is not allowed.
Error 2 Unknown
server tag 'ds:DateSelector'.
I simply install Sitecore 6.3 (website save into c:/inetpub/wwwroot/sitecoresite/website). When I open this site in Visual Studio 4.0, it shows error.
Can any body tell to me how can I open this or what mistake did I make?
As far as I understand your question, you get the error when you browse the newly installed Sitecore website, which is set up to run under ASP.NET 4.0 application pool. If that's the case, then I should inform you that it is supported to run Sitecore under ASP.NET 4.0 application pools starting from version 6.4.0.
So, you have two options here:
setup your application pool to use ASP.NET 2.0 (make sure .NET 2.0 is installed)
upgrade a Sitecore instance to the 6.4.0+ (which might not be acceptable)
Hope this helps.
I'm not sure if you are having issues because of the way you are opening the project, there are a few issues if you open it as a File-System website project you will want to create a Web Application Project and go from there.
You can look at this blog post :
Simplify Sitecore Visual Studio Project Creation (or the previous version) for information on how to setup a Visual Studio Project correctly for Sitecore.
I actually think this might just be as simple as a missing tilde. So rather having
/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx
you should have
~/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx

Deploying a Firebreath plugin on a webpage without manual installation

Recently I have been experimenting with Firebreath and developed a plugin in order to showcase my c++ projects on my portfolio website. I would like to make it easy for users to look at the projects without downloading files if they are new on my website.
The only issue I have at this point is that when users visit my page, they will receive a message indicating the plugin is missing. I would like to have an option for the users to automatically install my plugin without having to manually download and run it.
The plugin is mainly targetted at Windows users, since the applications are as well. I intend to support Google Chrome, Firefox, Internet Explorer. Currently I am using a MSI installer to install the plugin.
I have found a question similar to this, but I still needed to save the MSI installer and run it.
My question is: What would be the best way to implement this?
There isn't any way to "automatically" do what you want to do. The closest that I have heard of would be to use a java applet that would download and install the plugin for them. This can be pretty reliable on Mac but far less reliable on windows (for a number of reasons, among which the fact that many windows users don't have java installed and that Chrome blocks java applets by default without intervention by the user).
Other options include:
Creating a CAB file installer (only works on IE)
Creating a XPI firefox extension that packages the plugin (requires restarting the browser, only works on firefox)
Creating a CRX chrome extension that packages the plugin (only works on Chrome)
Microsoft ClickOnce used to work pretty well for one click installs of MSI files from a web page, but recently I think it doesn't work on many (if any) browsers; haven't seen it used in awhile, anyway.
There is no "automatic" way to install plugins; that would be considered a severe security issue. This is probably the #1 reason that plugins are as uncommon as they are.
do what adobe does,
create a tiny activeX application downloader, sign the activeX from with cheap SSL
when a user, enters your site, he will automatically be downloading this tiny ActiveX, after installation complete, inside the tiny ActiveX, have some type of batch script to download the EXE from remote server and silently install it.
adobe does this, on every reboot in boot.ini or startups
very easy