"there was a prblem sending the command to the program" Error Message - ms-project

A bit of a shot in the dark but I am having difficulties with MS Project 2010 opening a file.
Upon loading of the file that is located on a smb share I get this error message:
"There was a problem sending the command to the program"
Tried the following:
rebooting
repairing ms project 2010
reinstalling ms project 2010
tried opening it on another system - (got no error on one system but got the same error on another system)
various registry hacks found on Google
I want to understand more about the error message. I have been reading that this error message has to do with the DDE and it is probably a link within the project file that is causing the error message. How do I pinpoint the problem within the Project File?

Project files are particularly susceptible to corruption. Try to rebuild it by:
open the file on a computer with no errors
save it in XML format
open the XML file and save it in mpp format

This worked for me:
Delete the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSProject.Project.9\shell\Open\ddeexec
found here: http://answers.microsoft.com/en-us/office/forum/office_2010-project/msproject-2010-there-was-a-problem-sending-the/1f6bba31-4580-4844-9aa9-79ec04a35ea3?auth=1

Related

When I run a .MPX FILE ,I getting a message "An import error occurred"

When I run a .MPX file ,I am getting this pop up message. Plese help me to tell what to do to run this file
The MPX file type is a legacy text-based file format which can be used by older versions of Microsoft Project. The .mpx extension is associated with Microsoft Project, which is why Project is being used to open the file in the screenshot you provided. It may be that the file is corrupt or is not actually an MS Project MPX file, which is why Project is having problems opening it. If this is still an issue, posting a sample file will help provide a more specific diagnosis of the error message.

RStudio project "cannot find the file specified" on R session restart

I am getting strange and annoying behavior in one (yes, only one) of my RStudio projects. Whenever I restart the R session within this project, I can no longer save any of the files, and when I try to (or RStudio tries to automatically) I get a popup error saying "The system cannot find the file specified" and I have to reopen the project and all of the R scripts.
I looked at the log file, and I see a lot of the following error:
07 Oct 2015 00:52:05 [rsession-Mark] ERROR system error 5 (Access is denied) [path=C:/Users/Mark/GoogleDrive/Research/CEQUAL_event/.Rproj.user/5E5F98D9/sdb/s-26E44539/lock_file];
OCCURRED AT: bool rstudio::core::FilePath::exists() const C:\Users\Administrator\rstudio\src\cpp\core\FilePath.cpp:308;
LOGGED FROM: bool rstudio::core::FilePath::exists() const C:\Users\Administrator\rstudio\src\cpp\core\FilePath.cpp:308
It looks like the problem may be in the .Rproj.user folder. So I deleted that and let RStudio regenerate it, but the behavior started right back up again.
I am using Windows 7, RStudio version 0.99.441, and R version 3.2.2.
I think #Jack Wasey is right: Google drive locks files during sync. This causes many issues with other programs as well. There are alternatives from companies that do file syncing for a living, such as dropbox, whose clients don't lock files. With google drive you only have the option to use selective sync and exclude every .Rproj.user folder. Once the RStudio's database is corrupted, moving the project out of the Google drive folder won't be enough - you will need to delete/rename it to have RStudio fix its database.
Summary:
Copy contents from all unsaved files to a temp file outside of RStudio (while clicking away the error message every other second)
Quit Rstudio
Pause Google drive syncing
Rename (or move/delete) the hidden .Rproj.user folder in your project
Reopen the project in Rstudio
Exclude the new .Rproj.user folder from syncing with Google drive (Preferences -> sync only these folders)
Remember that Google drive is free / Become an awesome google developer and fix the issue once and for all
May not be related but might be helpful to someone else. I was getting the same error (over and over) and finally realized that I had an R session open from days ago, that had eventually gotten stuck. It was running in the background with a "Fatal Error" message waiting for me to click OK. When I closed that session everything started working again.
This was happening to me as well, but curiously only when I was using Project files (.Rproj - not stand alone R scripts). It was driving me crazy.
I found that buried in the settings (Tools -> Global Options -> Git/SVN) there was a setting "Enable Version Control Interface for RStudio Projects). I guess I had turned that option on when I was messing with my settings and then forgot about it since I don't normally use project files.
What worked for me was I noticed DescTools package I installed caused it, though it served the purpose I installed it - fetched me mode value without going through mode functions. I then deleted the line I got the install.package, re-saved the project (ctrl S) and I could knit it.
Bottom line, read the error message soon as the box pops up, it's going to give you a hint of what line is causing the issue.
I hope this works. Enjoy

Cannot find or open the ntdll.pdb file

After the last windows Security Update (Oct 17, 2014) my MVC 5 solution (System.Web.Mvc) started misbehaving. I'm using VisualStudio 2013. Thanks to the help I received in here I fixed the problem according to the instructions found on this page and that one.
However another problem has emerged. Everytime I debug my solution I got the following message:
C:\Program Files\IIS Express\ntdll.pdb: Cannot find or open the PDB file.
C:\Windows\System32\ntdll.pdb: Cannot find or open the PDB file.
I searched for the dll but I couldn't find it. In an attempt to solve the problem I emptied the Symbole cache and I reloaded all symbols from the Microsoft Symbol Servers in a new folder that I've created with read and write permissions. The problem remained.
In fact it's not an error because I can still run the solution by clicking on Continue and the website works well eventhough the ntdll.pdb is not found. How can I overcome this problem and how can I recover the ntdll.pdb?
Thanks
I think your solution resides here, which is the "Understanding symbol files and Visual Studio’s symbol settings" page. It describes how to configure VS's settings for using symbol files/where they're stored.
Additionally, you can acquire system PDB's for multiple versions of windows directly from MSDN, this is useful for remote debugging scenarios (production environments, or those with multiple host operating systems which need to be debugged.)
Ideally you would want to set up your own symbol store(s) and configure visual studio accordingly.

No relevant source lines error. Compilation error

It has been answered before, but i don't know the way to find the exact solution. I took whole day to find the solution but i entirely stuck with this.
I was worked with my project nicely on day before yesterday. I designed many modules for doing my project further. AS usual i opened and started doing (I didn't get any errors) my project today in visual studio. To execute my old project(coding) once again, i checked in browser, as soon as i did, my face gone too bad :( because of this strange error. Error is,
Compilation Error
Description : An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
*Compiler Error Message:*CS0009: Metadata file 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' -- An attempt was made to load a program with an incorrect format. '
Source Error:
[No relevant source lines]
I did deleting temporary files in this area : C:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files. But again I'm getting the root folder when am running the project
Any help, would be more and more helpful to me. Thanks in advance.
The error message
An attempt was made to load a program with an incorrect format
means that there is an incompatibility in processor architecture. I think you installed either the 32- or 64-bit version of .NET and try to run your website in the opposite architecture.
You should install both the .NET framework versions, or change your application pool to use the right processor architecture.

Compilation Error in Asp.Net

Am sure, it has been answered before, but i don't know the way to find the exact solution. I took whole day to find the solution but i entirely stuck with this.
I was worked with my project nicely on day before yesterday. I designed many modules for doing my project further. AS usual i opened and started doing (I didn't get any errors) my project today in visual studio. To execute my old project(coding) once again, i checked in browser, as soon as i did, my face gone too bad :( because of this strange error. Error is,
Compilation Error
Description : An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
*Compiler Error Message:*CS0009: Metadata file 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'c:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' -- An attempt was made to load a program with an incorrect format. '
Source Error:
[No relevant source lines]
This is the error am facing till now. I don't where I'm wrong.
I did deleting temporary files in this area : C:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files. But again I'm getting the root folder when am running the project
Any help, would be more and more helpful to me. Thanks in advance.

Resources