powershell_ise stopped working on Server 2008 R2 - crash

I have the same issue as this person:
Powershell ISE crash when loading
Logging in as a different user does not help. When I try to run powershell_ise - with or without -MTA -NoProfile - it comes up with a window saying "powershell_ise has stopped working." Clicking on the "Check online for a solution and close the program" just closes the program. Problem details gives:
Problem signature:
Problem Event Name: PowerShell
NameOfExe: powershell_ise.exe
FileVersionOfSystemManagementAutomation: 10.0.14409.1012
InnermostExceptionType: System.IO.FileFormatException
OutermostExceptionType: System.Reflection.TargetInvocation
DeepestPowerShellFrame: indows.PowerShell.GuiExe.Internal.GPowerShell.Main
DeepestFrame: System.RuntimeMethodHandle.InvokeMethod
ThreadName: unknown
OS Version: 6.1.7601.2.1.0.274.10
Locale ID: 5129
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy
statement offline:
C:\Windows\system32\en-US\erofflps.txt
I have tried for days to find something on line and can find nothing. I have deleted the powershell_ise.exe.config file - same deal.
It's a server (2008 R2) and does a lot of stuff. Recreating it would be a real pain! Any ideas, anyone?

Related

BG95 Can't Activate - AT+QIACT=1 returning error

I'm trying to get a BG95 to activate on hologram.
Here are my commands:
AT+QCFG="band",F,180A,180A OK
AT+QCFG="iotopmode",2 OK
AT+QCFG="nwscanseq",020301 OK
AT+QCFG="nwscanmode",0 OK
AT+QCFG="snrscan",0 OK
AT+QICSGP=1,1,"hologram","","",1 OK
AT+QIACT=1 ERROR
At first I thought it was antenna/signal related so I ran AT+CSQ and got this:
+csq: 11,99
This tells me I have a good signal I believe.
Next I tried AT+QNWINFO and get this:
+QNWINFO: "eMTC","311480","LTE BAND 13",5230
In my mind this is saying it's connected to a network.
After trying that I tried to activate again and got this:
AT+QIACT=1
ERROR
The weird thing is it activated just fine about a week ago with pure AT commands. I did try and use an Arduino library with it (WisLTEBG96TCPIP) which may have changed a setting in it. I've done a factory reset but the it still woln't activate.
Another strange thing is the hologram dashboard. Every once and a while it will show the SIM as connected, even though I can't activate.
I have tried with 2 different SIM cards any get the same activation error.
Any help would be greatly appreciated!
Verizon has cut off all non ODI products. If your hardware has not been Verizon ODI 'certified' it will no longer be allow to be connected to their network, I have 5 new pet rocks thanks to them. The solution is to purchase new modems from vendors that have been through the Verizon ODI program or switch carriers.
I had the same problem before, after a lot of maling with network operator I find out that there isn't a LTE-CAT-M1 (eMTC) network in my area, I tested in another area successfully
Also before setting AT+QCFG commands try AT+CFUN = 0
and after setting AT+QCFG commands try AT+CFUN = 1 .
before sending AT+QIACT, try 'AT+CEREG?' command several times and tell me what is the return of it

How to solve the error "No Protocol specified" for ClusterSSH

I'm trying to setup ClusterSSH on my OpenSuse 15.1 - yet I'm getting an error and I've looked around and cannot find a solution.
mschumacher#Desktop:~/.clusterssh> cssh -l mschumacher 10.0.96.26
Connection to server failed -- (version 11.0)
No protocol specified
at /usr/lib/perl5/vendor_perl/5.26.1/App/ClusterSSH.pm line 1983.
In the file /home/mschumacher/.clusterssh/config I have..
#auto_close=5
#auto_quit=yes
#command=
#comms=ssh
#console=console
#console_args=
#console_position=
#debug=0
#external_cluster_command=
#extra_cluster_file=
#extra_tag_file=
#history_height=10
#history_width=40
#key_addhost=Control-Shift-plus
#key_clientname=Alt-n
#key_history=Alt-h
#key_localname=Alt-l
#key_macros_enable=Alt-p
#key_paste=Control-v
#key_quit=Alt-q
#key_retilehosts=Alt-r
#key_username=Alt-u
#lang=en
#macro_hostname=%h
#macro_newline=%n
#macro_servername=%s
#macro_username=%u
#macro_version=%v
#macros_enabled=yes
#max_addhost_menu_cluster_items=6
#max_host_menu_items=30
#menu_host_autotearoff=0
#menu_send_autotearoff=0
#mouse_paste=Button-2
#rsh=rsh
#rsh_args=
#screen_reserve_bottom=60
#screen_reserve_left=0
#screen_reserve_right=0
#screen_reserve_top=0
#send_menu_xml_file=/home/mschumacher/.clusterssh/send_menu
#sftp=sftp
#sftp_args=
#show_history=0
ssh=/usr/bin/ssh
#ssh_args=
#telnet=telnet
#telnet_args=
#terminal=xterm
#terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
#terminal_args=
#terminal_bg_style=dark
#terminal_colorize=1
#terminal_decoration_height=10
#terminal_decoration_width=8
#terminal_font=6x13
#terminal_reserve_bottom=0
#terminal_reserve_left=5
#terminal_reserve_right=0
#terminal_reserve_top=5
#terminal_size=80x24
#terminal_title_opt=-T
#title=CSSH
#unmap_on_redraw=no
#use_all_a_records=0
#use_hotkeys=yes
#use_natural_sort=0
#window_tiling=yes
#window_tiling_direction=right
user=mschumacher
I'll keep digging around to see if I can figure out what the issue(s) are, but hopefully, it will be something simple to do.
My solution:
Log in as root. Type in the command "xhost +", which should come back with "access control disabled, clients can connect from any host". Exit out of root and able to use cssh.

I am begginer with mysql connection with netbeans

When I click on start on Database, it shows error like ZeroDataTimeBehaviour. I tried everything but I did not get the solution since I am new to mysql and its connectivity. Mysql works properly in command line but I don't know how to connect with netbeans properly ?
Error on click on start on netbeans
First of all I would try with this setting:
If that doesn't help to You try to lower version of mySql to 5.5
You might find this link helpful: NetBeans, MySQL
zeroDateTimeBehavior
What should happen when the driver encounters DATETIME values that are
composed entirely of zeros (used by MySQL to represent invalid dates)?
Valid values are "exception", "round" and "convertToNull".
Default: exception
Since version: 3.1.4

Why is my Deployment script causing me errors?

I am working on a project in visual studio 2012. Recently, I added a database project to the solution. The database already existed before I added it to the solution and everything worked fine.
Now, however, when I try to run the application I get errors. The errors are being caused by a computer-generated file called [database name].sql. At the top of the tile, it reads:
/*
Deployment script for [the database name here]
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
*/
This file gets re-created every time the application runs. The errors that occur appear to be syntax errors. I cannot fix them because any changes I make to the file are irrelevant because a new file gets generated with each run and the errors re-appear.
I tried looking into this more online but had trouble. This is all rather new to me.
Here are some of the errors being created:
GO
:setvar DatabaseName "(the database name is here)"
which gives me three errors that read:
Error 88 SQL80001: Incorrect syntax near ':'.
Error 89 SQL80001: 'DatabaseName' is not a recognized option.
Error 90 SQL80001: Incorrect syntax near '"(the database name is here in the code)"'.
Also, there is a line of code that reads:
CREATE USER [(the domain)\(the username)] FOR LOGIN [(the domain)\(the username)];
GO
which gives the following error:
Error 119 SQL72014: .Net SqlClient Data Provider: Msg 15401, Level 16, State 1, Line 1 Windows NT user or group '(the domain)\(the username)' not found. Check the name again.
From the errors you have posted it looks like there are two issues:
Windows NT user or group '(the domain)\(the username)' not found. - The user being used to access the database doesn't exist. As it's a Windows user I'm guessing that it uses the current user's credentials.
Make sure that your instance of SQL can accept Windows logins and that you (and anyone else building the software) has the necessary access rights.
'DatabaseName' is not a recognized option. - This is more than likely also caused by the first issue, but double check that the database exists.
The error message caught me out recently as it did not relate to the cause of my problem at all. It turns out my SQL script was incorrectly written (for my case - I forgot to add IDENTITY (1,1) to my PK column) to begin with.
Moral of the story for me was to test out the SQL data file in SSMS first.

X-Cart - SQL error notification (Error code : 1030)

I am working on xcart website for my company. Right now, I always get the error messages from my website http://mothersenvogue.com.kh/ as below:
[24-May-2015 08:50:51] (shop: 24-May-2015 15:50:51) SQL error:
Site : https://mothersenvogue.com.kh
Remote IP : 176.9.29.209
Logged as :
SQL query : SHOW FIELDS FROM xcart_session_history
Error code : 103
Description : Got error 28 from storage engine
Request URI: /secure_login.php?xid=025530538a738ddc86617a9aa81bc990
Backtrace:
/home/www/mothersenvogue.com.kh/include/func/func.db.php:189
/home/www/mothersenvogue.com.kh/include/func/func.db.php:115
/home/www/mothersenvogue.com.kh/include/func/func.db.php:384
/home/www/mothersenvogue.com.kh/include/func/func.db.php:630
/home/www/mothersenvogue.com.kh/include/func/func.db.php:458
/home/www/mothersenvogue.com.kh/include/sessions.php:161
/home/www/mothersenvogue.com.kh/init.php:524
/home/www/mothersenvogue.com.kh/preauth.php:51
/home/www/mothersenvogue.com.kh/auth.php:45
/home/www/mothersenvogue.com.kh/secure_login.php:37
-------------------------------------------------
Many error messages are from func.db.php, init.php, preauth.php, auth.php all at the same line number, and on the same SQL Query "SHOW" statement.
I tried to check all the above files at their given line number but I could not find anything wrong.
Pleasse kindly help advise me what is wrong with it? is it something wrong inside these files as I got many error messages sent to me by email with the similar content like above.
I was refered to here from my previous question in xcart forum, and here is my question there:
https://bt.x-cart.com/view.php?id=44717
Many thanks.
In most cases the file storage (the drive where your files are located on the hosting server, where you checked the free space) is physically located on a different virtual / physical server / drive. Most hosting companies use an optimized dedicated servers for MySQL.
Thus you see enough space in your account, but MySQL still reports that there is no space left on the drive (where MySQL server is currently running).
Thus the best way is to contact the hosting provider and find out what's the situation with the disk space on that very machine, where MySQL is running.