In Notes designer v12 xpages error "Access restriction: Java Problem" - xpages

I installed Lotus Designer v12 and when I try to open a database with HCL Domino designer I get the next error: "Access restriction: The constructor 'UISelect2PickerCombo()' is not API (restriction on required library 'C:\Program Files (x86)\HCL\Notes\Data\workspace\applications\eclipse\plugins\org.openntf.xsp.bootstrap_1.0.0.201407020945.jar') CcCabecera.java /dddbbbb.nsf/Local/xsp line 251 Java Problem".
It works fine in Domino designer v9.
I tried to change the JDK Compiler Compliance level to 1.5 , add in Target Platform, the folder but always I get the same error
Any help??

You can ignore the error. Go to Domino Designer preferences and change the error to 'ignore'. It's one of the 'api' problems.

Related

The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist

I am getting following error while designing page in Visual studio 17 or 19 using Acumatica template.
It is working fine in Acumatica version up to 19.1.x and it is thronging error from Acumatica 19.2.x onwards.
Sometime it fixes by running Tannate maintenance, but most of the time I have to recreate the page again
Error Rendering Control - dsAn unhandled exception has occurred.
The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.
I am looking forward for suggestion to fix the error
I had the same very frustrating issue and was told by Acumatica support that the page templates don't work post Visual Studio 2015. They advised me to use the Customization Project Editor in Acumatica to build pages and once I figured out how to do this, I've been successful. Hope that helps.

How to update the edmx if getting error of illegal mix collation(utf8_bin,none) and (utf8_bin,none) in mysql

I am getting error when updating the edmx
Unable to generate the model because of the following exception: 'An error occurred while executing the command definition. See the inner exception for details.
Illegal mix of collations (utf8_bin,NONE) and (utf8_bin,NONE) for operation '='
How do I solve this problem ? I have tried so many things. It would be great help if anyone help me to solve out this error.
Thanks
Prerna
When one is playing with the tools offered by Microsoft and Oracle simultaneously, the two don't always sit right with each other. Quite recently I had to integrate MySQL with Visual Studio using Entity Framwork and its was quite a mess.
As far as my research on the internet goes, most of the people trying to achieve the said target encountered the following problems or errors and I was unlucky enough to encounter all of them:
Authentication Probelm : "Authentication method 'caching_sha2_password' not supported by any of the available plugins"
Entity Framework doesn't generate the Entity Data Model:
Choose 'EF Designer from database'
Choose the connection from the drop down (localhost) that already tested successfully connecting to MySQL databse
The "Save connection settings in webc.config as" option is checked
I click 'Next' AND the window disappeared and I get back to the code window
No .edmx file is generated
Edmx file is generated but there is no Entity Data Model in it and the output windows shows one of the following 2 exceptions: "Illegal mix of collations (utf8_bin,NONE) and (utf8_bin,NONE) for operation '='" OR "Illegal mix of collations for operations 'Union'"
Entity Framework version is not compatible with the one required by MySQL.
MySQL Integration with Visual Studio Guidelines
Requirements:
Visual Studio 2012 or above
Dot Net Framework 4.5 or above
MySQL Installer Community 5.7.23.0
MySQL Workbench Community 6.3.9-winx64
MySQL Connector\Net 6.8.8
MySQL For Visual Studio 1.2.7
Entity Framework 5
Installation Steps:
Install the target version of Visual Studio first i.e. VS-2012 or above. The order of installation does matter.
Download the above mentioned MySQL’s components separately.
Install the MySQL Installer Community 5.7.23.0 and let it install all the default components. Select "Sha256_Password" authentication instead of "Caching_Sha2_password".
After its finished installing, close the MySQL installer and reopen it from the start menu.
Click on the “remove” option.
Uninstall MySQL for Visual Studio, MySQL Connector\Net and MySQL Workbench.
Run the setups for MySQL Connector\Net 6.8.8, MySQL for Visual Studio 1.2.7, & MySQL Workbench Community 6.3.9-winx64 individually and install them manually one by one.
Now the MySQL environment is all set to be integrated with Visual Studio and Entity Framework.
Note:
The versions of the MySQL Components plus the environment of Visual Studio and its frameworks should exactly match with the ones mentioned above otherwise the things will not be cohesive and the developer will end up dealing with some unwanted and rigid problems.

visual studio express 2012 version control

I have been sent a working project from a coworker to start learning Visual Studio. The project is under version control, however I don't want to have access to final customer product. So when I try to open the solution file I first get a message that the project is under source control:
"Team Foundation Server Version Control
The solution you are opening is bound to source control on the following Team foundation Serer:
http:// . Would you like to contact this server to try to enable source control integration?"
[yes] [no] [help]
I press no, then I get an error:
"The solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover the missing information automatically, the projects whose bindings are missing will be treated as not under source control."
[ok] [help]
I proceed and press ok, and another message pops up:
"projectname\projectname.tsproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?prd=12395&pver=11&sbp=ProjectTypeDeprecated&plcid=0x409&clcid=0x409&ar=MSDN&sar=ProjectCompatibility&o1=B1E792BE-AA5F-4E3C-8C82-674BF9C0715B"
My coworker tells me he sent the whole project, so I can't figure out why I cant get visual studio to open it. I am new to visual studio, but I have some programming experience.
Any help is much appreciated.
Thank you
It is doubtful that version control has something to do with your problem. There are two possibilities I could think of:
Your coworker uses full version of VS2012 and you are now having problems due to the fact that Visual Studio Express comes in two main flavours - Web and Desktop. It is unable to load Web(or Desktop) project because it just does not have any tools to work with it. Ask your coworker whether they mix web and desktop in their solutions. If it is so you should either use full VS or be given a reduced set of projects.
Nearly the same - your coworker uses some very old or very new version of particular project type (something like ASP.NET MVC that(as I remember) has different project type for each version). Again ask your coworker if it is so. In this case you will just have to install the needed templates and SDKs.
P.S. I was unable to open your link - it opens microsoft.com/default(maybe due to some regional problems). Search by key words brought to me similar problem for VS2010 http://connect.microsoft.com/VisualStudio/feedback/details/728847/could-not-open-vs2010-solution-with-mvc-project - may be it could help you more specifically.

Microsoft web installer error "data at the root level"

I am trying to install hdinsight on my windows 7 64 bit OS using hdinsight-preview.exe. It is a web platform installer from Microsoft. Once I gave the custom feed as MSSingleNodeInstaller.msi. I think i am supposed to give an xml file. After this it is throwing an error "Data at the root level is invalid. Line 1, position 1". I tried uninstal and re-install, but no success. Everytime i start it, it throws the same error. Which xml file is it trying to read.
Probably you can reset the exe and give a different XML
C:\Program Files\Microsoft\Web Platform Installer and launch: WebPlatformInstaller.exe /reset
Your custom feed *XML) is broken as the error is related with XML processing by the webPI application. First check your XML for its integrity and the pass it to installer.
What you can do is launch the offline webpi installer which will download all the xml files and then you can understand the correct XML configuration before passing it.
.\webpicmd /offline /products:HDINSIGHT-PREVIEW /Path:c:\a_writable_folder
You can learn more on running offline installer here.

Why does Crystal Reports throw a LoadSaveReportException in IIS7 but works in Cassini / desktop application?

I have a method that loads a Crystal Reports file, sets the appropriate login information, and then generates a PDF.
ReportDocument rep = new ReportDocument();
rep.Load(...);
// Set table LogOnInfo
rep.ExportToStream(ExportFormatType.PortableDocFormat);
// Save the PDF to disk or return it as web request
This exact code works in both
A stand-alone WPF desktop application
An ASP.NET MVC website running through Cassini launched from VS
but does not work when the same website is deployed to IIS7. It gives a rather unhelpful message and stacktrace.
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry
key permissions are insufficient or
the Crystal Reports runtime is not
installed correctly.
Please install the appropriate Crystal
Reports redistributable
(CRRedist*.msi) that contains the
version of the Crystal Reports runtime
(x86, x64, or Itanium) that is
required. Please go to
http://www.businessobjects.com/support
for more information.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime.
Note that I am using CR 2008 SP2 and the files haven't been named CRRedist... since 10.5 so someone has been forgetting to update the messages somewhere :) Here is a list of all the CR runtimes.
So why would running the same code referencing the same assemblies work in the two situations listed above but not in a deployed website?
I found this suggestion to give the IIS user write access to the temp folder, and it does appear that the Crystal runtime does some work there but I still get the same error even after giving IIS_IUSR or IIS AppPool\DefaultAppPool full access to %TEMP%.
I have also tried changing the app pool to use my account as the identity and still receive the same error message so I'm not convinced it's a permissions issue.
It turns out that for any newer versions of Crystal Reports after 10.5 (the one that is bundled with VS2008) there are no 64-bit runtimes.
The "simple" solution is to make the app pool 32-bit and then everything works ok.
There are more explanations found here (along with the expected angry responses)
You have to install CR version 13, download the msm and build an installer with VSS. Finalley execute the installer (you build) on your server.
Good luck!

Resources