Can't run Contoso Javascript on Local Machine - windows-8

I tried to run the Contoso project on my Visual Studio Express 2012 RC for Windows 8, it reports this error. How to fix it?
Exception was thrown but not handled in user code at line 183, column 5 in Function code
0x80070002 - JavaScript runtime error: The system cannot find the file specified.
If there is a handler for this exception, the program may be safely continued.

Do you mean the Contoso Cookbook reference application for Windows 8 (available from here)? If so, you should be using Visual Studio Express 2012 for Windows 8 and not Visual Studio 2008. You will also need the Windows 8 operating system to run this.

Related

Microsoft SQL Server Management Studio 18 application error on startup

1
[]
I just install Microsoft SQL Server Management Studio 18 and the window pop up with
"Ssms.exe - Application Error"
"the application was unable to start correctly (0xc000007b). Click OK to close the application."
I tried most of the solution found on Google and YouTube.
(Window Update, reinstall .net framework, .net runtime, microsoft visual c++ redistributable package, use admin to run program, re-install and repair Microsoft SQL Server Management Studio 18)
I will be really appreciated it.
UPDATE: [Solved] I use dependency Walker to find out which dll is crushing the program (in my case mscvr120.dll) and re-download it to fix the crush.

How to compile a VB.net project with microsoft SQL Server Compact 3.5 in Windows 10

I am new to SQL; I have a VB.net project that works fine with Microsoft SQL Server Compact v3.5 (and OleDB) on Windows 7, and I want to compile it on Windows 10 with Visual Studio 2019.
When I tried to compile it on Windows 10, I get a lot of errors:
Null reference exception
in debug mode, and it freezes in release mode in the first window (sorry I can't add a code example because the project is too big).
I have seen that Microsoft SQL Server Compact v3.5 doesn't support Windows 10 (I'm not sure about this information) in this link : https://www.microsoft.com/en-us/download/details.aspx?id=5783
If it is true how can I make my project work in Windows 10? And thank you.

VS2012 Error on setup on Windows 8 - Visual C++ 2012 x86 Minimum Runtime cannot be found

I am getting a few errors trying to download the new VS2012. Its a fresh install of windows 8 (did the windows update). I have tried not selecting all (no C++, lightswitch, blend, office tools)
I tried different mounting tools for the .ISO but no luck. VS2010 is still working. Running x86. Log file
Errors:
Critical: Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.507 Cannot find the requested object.
Microsoft Visual Studio 2012 Pre-Clean Tool Cannot find the requested object
Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.507 Cannot find the requested object.
Microsoft Visual C++ 2012 Core Libraries, Team Foundation Server 2012, Microsoft Framework 4.5 Multi-Targeting pack.... and a few other ones cannot be found. Thanks!
Downloaded the web installer, and that seemed to work. It seems that the iso was corrupted as the MD5 did not match.

Visual Studio Designer crashing Windows 8 System.UnauthorizedAccessException

I am attempting to create Windows 8 application in Visual Studio using Component Arts charting controls. Everytime I open the designer in VS, I get the following error:
System.UnauthorizedAccessException
Access to the path 'C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\ComponentArt.WinRT.DV.Charting\2012.1.1871\References\CommonConfiguration\Neutral' is denied
Not sure what security settings I'm supposed to give to this path to make VS happy!
Seems this is a known issue with Microsoft. You can check the solution for this issue in the below SO thread.
Microsoft Advertising SDK for Windows 8 RTM causes Access Denied Error

Running .EXE file made in visual studio 2005 failure

I would like to run a .exe file made with visual studio 2003 but I get an error every time I run it on a windows 7 machine, vista machine, and xp machine. The error on Windows 7 and vista says "application has stopped working" and then makes me close the error box.
In windows xp it's a little different error, "the application failed to operate (0xc0000135) Click on OK to terminate the application."
That error code seems to indicate the application failed to initialize correctly.
It is possible that the anticipated .NET version is not present.
As far as I know, VS 2003 by default compiles against the .NET 1.1 library. There is no straightforward way of installing this on a Windows 7 or Vista box. Do you need to compile it against the .NET 1.1 library, or can you load it in VS2005, change the output .net version to 2.0 or higher, and recompile the application?
If you have the source code to the application, try running the application in debug mode and stepping through line by line until you find the exception. If you do not have the source code, possibly try running the application in a couple different compatibility modes. Another option to try is to check the windows event log for anything more specific.
If you want to get really deep into it, you can use SysInternals ProcMon.exe and filter on the failing exe to view the WinAPI calls that are happening during the failure.
Also, a basic search of forums shows that error is usually accompanied with framework issues. Either recompile the application or check out what your required framework is in the VS2003 project settings.