Microsoft Visual Studio 2010 IDE is not opening - asp.net

When I am opening the IDE Visual Studio 2010, it's showing the error
"Microsoft Visual Studio has encounter a problem and needs to close."
If you had files open contained unsaved changes, these changes might
be lost.
Check online for a solution and close the program
Close the program
Debug the program
Details
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.30319.1
Problem Signature 03: 4ba1fab3
Problem Signature 04: Microsoft.TeamFoundation.Common
Problem Signature 05: 10.0.0.0
Problem Signature 06: 5140b069
Problem Signature 07: 4b6
Problem Signature 08: 45
Problem Signature 09: System.MissingMethodException
OS Version: 6.0.6002.2.2.0.272.7
Locale ID: 1033
Additional information about the problem: LCID: 1033
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
I'm using Windows Server 2008 R2.

Run your visual studio from command prompt with /safemode parameter.
Then disable every extension you've installed before, then re-run visual studio.
For example:
"D:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /safemode
It would be nice if you run you cmd as an admin.
Good luck

Related

Azerothcore worldserver won't start win10

Worldserver crash after :
AC>worldserver process priority class set to HIGH
Starting up Auction House Listing thread...
Max allowed socket connections 1024
Calendar deletion of old events.
Guild Daily Cap reset.
AzerothCore rev. fcaf91b8b2af 2020-07-30 12:35:45 +0200 (master branch) (Win64, Debug) (worldserverdaemon) ready...
Calendar deletion of old events.
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\xtree(182) : Assertion failed: cannot dereference end map/set iterator
same problem in Visual studio 15/16 only different row xtree(222)/xtree(182) enter image description here
I had the same problem and managed to solve it by reconfiguring CMake CMAKE_AR from
C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx84**/x64/lib.exe
to
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx64**/x64/lib.exe
I then recompiled and everything worked like a charm. Hope this can help you.

Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

This was a Visual Studio 2010 application converted to Visual Studio 2013.
The code is Working fine on Local Machine.
The same code is giving error on Server where Visual Studio 2013 is installed:
Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
There is an error in loading some specific plugin, whether the plugin required some settings in your config file or not. Check windows event log.
Try to run the following command from a DOS prompt:
marshal.exe /RegServer
You need to have machine-administrator privileges to run this command-line.
It is most likely that in the original application you had a line that looked like this :
EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.
GetActiveObject("VisualStudio.DTE.10.0");
This line would have given you the DTE (or DTE2) object representing your visual studio IDE, but the use of
"VisualStudio.DTE.10.0"
gets only the instance of VS2010 and what you need is actually the 2013 version which will be:
"VisualStudio.DTE.12.0"
You can learn more here:
How to: Get References to the DTE and DTE2 Objects

IOException in Rhapsody FMI

I'm trying to generate an FMU of a block in IBM Rational Rhapsody using it's FMI profile, but everytime I generate de FMU I get the following error:
FMUPlugin.OnMenuItemSelect ("FMU\Generate FMU")
Export menu
All Checks Terminated Successfully
Checker Done
0 Error(s), 0 Warning(s)
Code generated to directory: C:\Documents and Settings\markel.sainz\workspace_FMI\FMI_test2\block_1_MSVCDLL\FMU
Generating file cash_calculator.h (unmodified)
Generating file cash_calculator.cpp (unmodified)
Generating make file block_1_MSVCDLL.mak (unmodified)
Code Generation Done
0 Error(s), 0 Warning(s), 0 Message(s)
Building ------------ block_1_MSVCDLL.dll ------------
Executing: ""C:\Archivos de programa\IBM\Rational\Rhapsody\8.1\Share"\etc\msvcmake.bat block_1_MSVCDLL.mak build x86 VC10 "
Value of the property MSVC::IDEVersion corresponds to the version of Visual Studio.
VC9 - Visual Studio 2008
VC10 - Visual Studio 2010
VC11 - Visual Studio 2012
Current value is "VC10", but no Visual Studio installation was not found in the directory "".
Build Done
FMU generation failed!
FMI plugin cause: IOException thrown: Failed to rename the target file: C:\Documents and Settings\markel.sainz\workspace_FMI\FMI_test2\block_1_MSVCDLL\FMU\cash_calculator.dll
Any ideas of what is going on?
Thanks in advance.
I got this problem many times and at the end solved it according to many resources.
First, go to
C:\ProgramData\IBM\Rational\Rhapsody\8.1.1x64\Share\etc\msvcmake.bat
Then open the file and change
if "%4"=="VC10" set VS_PATH=%VS_2010_PATH%
to
if "%4"=="VC10" set VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0
The path is where you installed the Microsoft Visual Studio 10.0.
The last step (many answers missed this): go to IBM Rational Rhapsody and open your project, then click "Build Framework" at the bottom of "Code" menu.
Then you're free to go!

Visual Studio 2010 crashes

I've been running Visual Studio 2010, when i drag and drop the "GridGroupingControl" my VS crash.
Here is the Problemsignatur:
Problem Event Name: APPCRASH
Problemsignatur 01: devenv.exe
Problemsignatur 02: 10.0.40219.1
Problemsignatur 03: 4d5f2a73
Problemsignatur 04: KERNELBASE.dll
Problemsignatur 05: 6.1.7601.17651
Problemsignatur 06: 4e211319
Problemsignatur 07: 80042b8c
Problemsignatur 08: 0000b9bc
Betriebsystemversion: 6.1.7601.2.1.0.256.4
Gebietsschema-ID: 1031
I'm running Windows 7 Enterprise (x64). can anyone help!
We have analyzed more about the issue with “GridGroupingControl” and we suspect the issue may be with VS2010 since the issue is not reproduced in any other packages. We have already posted this issue in the forum with the crashed dump file as msdn request. Please refer this link
We are waiting for the update from msdn. We will get back to you once we get update from msdn.
Please let me know if you have any other questions or concerns.

Error in uploading DLL in Tridion using post build event in Visual Studio

I am trying to upload an assembly in Tridion Content Manager through the following post build event of a project in Visual Studio:
C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll
Config.xml has been created through cmd as follows:
<?xml version="1.0"?>
<templateAssemblyUploadConfig>
<targetURL>http://<url>/</targetURL>
<userName>domain\user id</username>
<password>password</password>
<uploadPDB>false</uploadPDB>
</templateAssemblyUploadConfig>
When I try to build the DLL , it is giving the following error.
Error 1: Unexpected argument: Unexpected argument Studio C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll\EXEC name of DLL
Error 2: The command " C:\Users\\Documents\Visual Studio 2010\Projects\\\bin\Debug\name of dll" exited with code 1. name of DLL
Can someone help in solving the issue.
Make sure that you use 'Space' and not the 'Enter' button in between the command.
Great to see the help by Huston.
you may also try a visual Studio Add-In which allows to upload dll(s) into Tridion in a more easy way
http://sdltridionworld.com/community/2011_extensions/AssemblyUploader2.aspx
This is my post-build event:
E:\Tridion\bin\client\TcmUploadAssembly.exe e:\Tridion\bin\client\config.xml "$(TargetPath)" /folder:tcm:43-61362-2

Resources