Skip to main content

Posts

ClickOnce: "Value cannot be null.\r\nParameter name: activationContext"

heloo.. if u get "Value cannot be null.\r\nParameter name: activationContext" error when try to deploy clickone.. make sure Enable ClickOnce Security Setting leave uncheck.. see the image until then

Backup SQL Server DB to network drive

here the step that needed: 1. make sure SQL SERVER SERVICE in run under same account and password between SQL SERVER machine and Network Machine ex: Network Machine: \\192.168.1.5\f$ - share the f$ in 192.168.1.5 - set security for the share for : user1 with pwd: pwd1 SQL Server machine: - create user1 with pwd: pwd1 if it doesn't exist - setting the Service for SQL SERVER to run under: user1 account with pwd: pwd1(Log On As) - execute the script 2. backup script BACKUP DATABASE [DB_LIVE] TO DISK = '\\192.168.1.5\f$\backup_db.bak' WITH NOFORMAT, NOINIT, NAME = N'SRM_LIVE-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 u can set it to run for jobs too see u

Adding old VS 2008 Solution to TFS 2010

i'm using VS 2010 and try to adding old VS 2008 Solution to TFS 2010 (after i upgrade the Solution) always receive an error that said can't access TFS url :( what i've done: -uninstall TFS 2010 -uninstall Windows that host TFS 2010 -reinstall TeamExplorer 2008 SP1 working solution (no need step above :sad: ) create new empty Solution in VS 2010 then add existing project to it then check in been trying this for 1 week :(, glad finally works