armonds

Public place to save useful information or thoughts for myself.

Sign DLL or EXE

To sign DLL or EXE file using Code Signing Certificate use signtool from Mircrosoft SDK:

signtool sign /f CodeCert.pfx /p <password> /t http://timestamp.verisign.com/scripts/timstamp.dll CustomAddin.dll
Advertisements

AutoIncrement properties for Dynamics NAV fields permissions in SQL

If You need to insert value to field, that have propertie “AutoIncrement” set to “Yes”, then You also need to grant Alter permission for roll $ndo$shadow on table.

An error occurred while using SSL configuration for endpoint 0.0.0.0:444.

“An error occurred while using SSL configuration for endpoint 0.0.0.0:444.  The error status code is contained within the returned data.”

Sollution from : http://sumoomicrosoft.blogspot.de/2012/11/exchange-2013-emc-blank-page.html

After deleting or assigning other Exchange certificate, you can’t open emc page (blank page).

netsh http show sslcert

save output

delete error causing cert:

netsh http delete sslcert ipport=0.0.0.0:444

assign right cert:

netsh http add sslcert ipport=0.0.0.0:444 certhash=4849849849884484884848 appid=”{4dc3e181-e1445554554155455}”

-> you can copy certhash and appid from the other applied certs..

Enable Anti Spam inside Exchange 2013

Copy& Paste form http://community.spiceworks.com/how_to/show/32892-enable-anti-spam-inside-exchange-2013

 

& $env:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1
Restart the transport Service with following command
Restart-Service MSExchangeTransport

Point Enable the Anti Spam service to point to your server
Set-TransportConfig -InternalSMTPServers @{Add=”192.168.1.1″, “192.168.1.2”}

Then set a Spam mail box
Set-ContentFilterConfig -QuarantineMailbox mail@domain.com

Then run the following to add Spamhaus and add more Spam checks

Restart-Service MSExchangeTransport
Add-IPBlockListProvider -name bl.spamcop.net -lookupdomain bl.spamcop.net
Add-IPBlockListProvider -name zen.spamhaus.org -lookupdomain zen.spamhaus.org
Set-SenderIDConfig -SpoofedDomainAction Delete
Set-SenderReputationConfig -SenderBlockingEnabled $true -SrlBlockThreshold 6 -SenderBlockingPeriod 36
Set-SenderFilterConfig -BlankSenderBlockingEnabled $true
Set-ContentFilterConfig -SCLQuarantineThreshold 6
Set-ContentFilterConfig -SCLDeleteEnabled $true
Set-ContentFilterConfig -SCLQuarantineEnabled $true -QuarantineMailbox mail@domain.com
Set-ContentFilterConfig -SCLRejectEnabled $false

Windows Server Backup failed to backup with error 0x81000101

– Run regedit.exe and navigate to “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SPP”

– Create a new Registry value of type DWORD with name “CreateTimeout”

– Change value to 1200000(0)(2*10*60*1000 = 20 mins) in decimal

Copy-Paste from: http://blogs.technet.com/b/asiasupp/archive/2011/08/01/windows-server-backup-failed-to-backup-with-error-0x81000101.aspx

Job Competability test

At least I know that I’m in right place :)

Test Results

Thanks for taking the test. Here is the list of jobs, from the most to the least
compatible for you. Please note that the percent match only considers your
competencies and not your education and work experience.
TOP FIVE JOBS
81% Engineering
79% Engineering, Manager
78% Information Technology, Manager
74% Telecommunication
72% Information Technology
BOTTOM FIVE JOBS
38% Personnel Manager
31% Social Services
28% Sales
24% Administration/Secretarial
21% Customer Services

‘Jā’ is not an option.

When starting classic client I got this annoying error message:

—————————
Microsoft Dynamics NAV Classic
—————————
‘Jā’ is not an option.
The existing options are:
No, Yes
—————————
OK
—————————

The problem was in Breakepoint file:

C:\Users\<UserName>\AppData\Roaming\NaviBP.xml

To fix the problem just remove this file (or change settings in it).

Install CA web enrollment

To correct error:

Cannot install Certification Authority Web Enrollment. 
Active Directory Certificate Services setup failed with the following error: The parameter is incorrect. 0×80070057 (WIN32: 87)

Change HKLM\System\CurrentControlSet\Services\CertSvc\Configuration\SetupStatus to 0×6001

Thanks to tttp://vladon.ru/2010/10/20/certification-authority-web-enrollment/ :)

SQL server single user mode

To start SQL server in single user mode add parameter -m to startup string in SQL Server Configuration Manager

Books about Exchange

Recently I migrated from Exchange 2007 to 2010 (must be ready for Exchange 2013 :). Funny thing was, that I looked through plenty of books about Exchange and the most useful for me was free eBook Exchange 2010 – A Practical Approach.