mage.exe fails to update manifest - .net-4.0

we use TFS 2010 and msbuild.
When we build a new test version of our click once application the following command is executed on the build server:
mage.exe -u "our.app.manifest" -if green.ico -fd . -cf "C:\Test\Sources\App\App.Gui\test.pfx" -pwd password
About 12 minutes later we get the following error message:
"Internal error, please try again. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host"
It has been working for about 2 years when this problem suddenly appear. The certificate is valid until october 2012. Anyone have a clue?

Related

Output file creation error with pentaho and task schedule windows

I have configured a machine with windows server 2016 and pentaho CE 7.0
I have already developed several Jobs and Transformations with their respective .BAT.
My problem occurs when I run the Jobs from the Windows Task Scheduler, which indicates the following error in the log:
Error opening new file 2020/07/08 13:43:36 - Microsoft Excel Writer.0
ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : java.io.IOException: Error creating output file! Parent
directory [file:///W:/Prueba] does not exist.
I already confirmed that the route exists and the most frustrating thing is that if I run the .BAT with a double click I get to the route.
Check for permissions ! it seems probably your script dont have correct permission to write in that folder.

Plesk 12 scheduled task error

I am trying to set a cron job where it will run php script and mail the results to user. However I am getting a permission denied error when the script is run.
/bin/sh: /var/www/vhosts/domain.com/httpdocs/bdmail.php: Permission denied
This is the code I am using in the command line:
/var/www/vhosts/domain.com/httpdocs/bdmail.php
I would be grateful if someone could highlight my error. I have setup a new task in plesk and it looks correct to me. Thanks
OS: CentOS 6 with Parallels Plesk Panel 12 (64-bit)
You should create scheduled task that calls the script interpreter with the path to the script as an option. For example:
/usr/bin/php /var/www/vhosts/domain.com/httpdocs/bdmail.php
instead of just
/var/www/vhosts/domain.com/httpdocs/bdmail.php

Derby classpath can't connect to database

I just installed derby and I followed the instructions from here the exact same way it told me to but replacing the paths with my paths. But for some reason why i try to create a connection to connect to create a Database and run my sql scripts to create the tables and populate them it gives me a few errors firstly is this one
ERROR 08001: No suitable driver found for jdbc:derby:SuperMarket;create=true
Then when my sql scripts run I get this error
IJ ERROR: Unable to establish connection
I dont see what I did wrong this is the line i used to set the class path
C:\> set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytools.jar;.
I included the derby.jar file that was needed so I can't see the problem does anyone know what I did wrong? Also when I run
connect 'jdbc:derby://localhost:1527/MyDB';
The server starts fine
C:\Derbs\db-derby-10.10.2.0-bin\bin>startNetworkServer
Thu Jun 26 11:56:38 PDT 2014 : Security manager installed using the Basic server
security policy.
Thu Jun 26 11:56:39 PDT 2014 : Apache Derby Network Server - 10.10.2.0 - (158244
6) started and ready to accept connections on port 1527
There are many troubles when I start using DerbyDB. It is really painful to practice.
1. For example, I download Derby from http://db.apache.org/derby/derby_downloads.html#Latest+Official+Releases
2. Unzip to C:\tools\db-derby-10.11.1.1-bin.
3. Press Windows key + R, type: SystemPropertiesAdvanced, set up environment variables.
Reference: https://db.apache.org/derby/docs/10.0/manuals/getstart/gspr16.html
4. Run cmd,
We should run additional command:
C:\tools\db-derby-10.11.1.1-bin\bin\NetworkServerControl.bat
and type:
C:\tools\db-derby-10.11.1.1-bin\bin\ij.bat
then press Enter, and result:
5. We will put in-memory Derby database to D:\ directory. Folder vy1 must doesn't exit. We type command for creating new database named vy1:
connect 'jdbc:derby:D:\vy1;create=true';
Use Windows Explorer, go to directory D:\vy1, you will see new folder named vy1 just created.
then type command:
connect 'D:\vy1'
6. See SQL command to create database, table, insert, then read database like this:
(Open images in new web page is better for view. Note: This is my old screenshot when I use older version few months ago).
Come back to your question, focus at section 3, and commnand call NetworkServerControl.bat at section 4.
Good luck! :)

Cannot open database because of Version error

I am getting the following error when I attempt the following actions in sequence.
Start Debugging.
Log in as a User.
Stop Debugging.
Clean Build
Without closing browser or logging out start Debugging again.
Attempt to Edit or Create or Update some database record.
If the user is not logged in or the browser is closed the error does not occur. I have even upgraded the SQL instance referring this SQL Server: attach incorrect version 661.
The database 'C:\USERS\ME\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\PROJ1\PROJ1\APP_DATA\ASPNETDB.MDF' cannot be opened because it is version 661. This server supports version 662 and earlier. A downgrade path is not supported.
Could not open new database 'C:\USERS\ME\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\PROJ1\PROJ1\APP_DATA\ASPNETDB.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\USERS\ME\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\PROJ1\PROJ1\APP_DATA\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
I am testing this on Chrome.
Any Ideas on what area of either MVC Code/ SQL/ Web.Config I should look for to find the cause of this error. I haven't changed the default Membership that is created with VS2012 when you start a new project.

SVN checkout fails with “chunk delimiter was invalid”

ERRORS:
When checking out a large project we receive error on a random file in the project:
Could not read response body: SSL error: decryption failed or bad record mac
Response was to disable SSL and restarted SVNServer.
Retested and got this error:
chunk delimiter was invalid
So examined the SVNserver log:
Error writing base64 data: APR does not understand this error code [500, #620018]
Provider encountered an error while streaming a REPORT response. [500, #0]
A failure occurred while driving the update report editor [500, #620018]
We can recreate the above 100% of the time.
TRIED:
From here we tried:
Upgraded OpenSSL to latest version. Resulted in same errors above.
Copied the REPO to a new REPO to ensure no file corruption. Resulted in same errors above.
Installed SVNserver locally and tested taking network our of the equation. Resulted in same error above.
We think this may be isolated to the version of OpenSSL we are using with some other component installed with VisualSVN.
Anyone aware of this issue and how to resolve it ?
COMPONENTS/SETTING:
Windows 2008 Server R2
Apache Subversion 1.7.6
Apache HTTP Server 2.2.22
OpenSSL 0.9.8x
Neon 0.29.6
Serf 1.0.0
SQLite 3070603
ZLib 1.2.3
VisualSVN 2.5.6
SSL enabled
Windows 7 x64 pro client nodes
Do you have Nod32 installed? If yes then disabling protocol filtering can help. Best solution is to add exception for SVN.
Nod32 -> Advanced setup -> Web and email -> Protocol filtering -> Excluded applications -> check you client, mine is TortoiseProc.exe
The real error is Too many open files [500, #24]. I assume you're using *nix based Subversion server. In this case increase number of open file descriptor with the ulimit command:
ulimit -n 99999
See also: https://serverfault.com/questions/48717/practical-maximum-open-file-descriptors-ulimit-n-for-a-high-volume-system