Skip to main content

Posts

Showing posts from March, 2013

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe is not a valid Win32 application

Issue: I'm currently updating with a service - installing, uninstalling, etc. Suddenly, when I tried uninstalling the service (by the book, using InstallUtil.exe) I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe is not a valid Win32 application. (in the command prompt I even get a message "Access Denied")   I looked at the .NET folder, and sure enough, InstallUtil.exe lies there, with size 0 and Date Modified - a few minutes ago !!! Solution: replacing the file with an uncorrupted one solved the problem (lucky for me I have two machines with .NET installed). BE a part of My Network : Thanks & Regards, Rizwan Ahmed Software Engineer And Microsoft Dynamics Technical Consultant Cell Phone:+92 332 3588699 GTalk | LinkedIn | Twitter | Facebook | Blog | Skype

ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized.

Issue: I have import new organization from the Dynamics CRM 4.0  but getting this error ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized. Solution: Above got us thinking and we found that the imported database came from a system that uses an alternative service account for CRM / Application Pool. Somehow the default user (network\service) was stripped on the ***_MSCRM database. So opened the ORGANIZATION_MSCRM database in SQL Manager,   Tree viewedto Security -> Users Then opened the database user NT AUTHORITY\NETWORK SERVICE and checked role member dbowner. Reset the IIS and voila the problem is solved and we were able to access the imported CRM organization. BE a part of My Network : Thanks & Regards, Rizwan Ahmed Software Engineer And Microsoft Dynamics Technical Consultant Cell Phone:+92 332 3588