It worked just fine in the 3.5 stable version, but after upgrading to the lastest development branch (3.6), it no longer works, giving me this error on effect = content.Load<Effect>("fileName")
An unhandled exception of type 'SharpDX.SharpDXException' occurred in SharpDX.dll
Additional information: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.
Any help is immensely appreciated.
I got the same problem.
I think the default value has changed GraphicsProfile.
(HiDef -> Reach)
So if you specify it, it got it fixed.
Graphics.GraphicsProfile = GraphicsProfile.HiDef;
Related
Visual Studio Error at Publishing
Hello,
this is my first Question on this board, but i got plenty of good answers from here recently so i hope somebody could help with this specific problem:
I want to realize .net core Applications running on a Raspberry pi 4 and everything works pretty fine except that my Visual Studio throws a strange Error everytime i try to Publish the dotnetcoreapp3.1 as Self-contained linux-arm.
The Error says further there would be more information in the output log-file, but i checked it and it just said the same undetermined Error:
22.04.2020 22:44:33
System.AggregateException: One or more errors occurred. ---> System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. <---
System.Exception: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
===================
I tried to publish the project at another device with Visual Studio and it worked fine, after that i deinstalled visual studio and reinstalled it, after this not working i tried to repair with still no effect.
I hope somebody has an Idea how i can fix this ^^
Sincerely yours
Solved it by deleting an old unavailable nuget-path
I have cloned the project from github and followed instructions from the MixERP documentation. Built the project in visual studio successfully, installed PostgreSQL version 9.6.
When I ran the project it gave me error
relation config.mixerp not exist
We are using VS2015, PgAdmin4.
ERROR: 42P01: relation "config.mixerp" does not exist
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Npgsql.NpgsqlException: ERROR: 42P01: relation "config.mixerp" does not exist
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I was running the same version of VS and pgAdmin. I noticed that running the db scripts does not create any tables or views in the database. My suspicion is that mixerp is not completely compatible with PostgreSQL 9.6 as yet. Looking at the DbServer.config, PostgreSQL 9.4 was used during development.
A downgrade of PostgreSQL to v9.4 will resolve the issue you are experiencing. I suggest completely uninstalling PostgreSQL 9.6 and installing PostgreSQL 9.4 instead and thereafter follow the setup document again.
I just got a VPS server running Linux Debian 7 and tried to get one of my C# servers running on it using Mono. Unfortunately it did not work the first time i ran it, it threw this error:
Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.IAsyncStateMachine' from assembly 'mscorlib, Version=4.0.0.0
I've found out the exact line which is causing this error and it is:
ThreadPool.QueueUserWorkItem( myThread => TcpAccept() );
Without this line the server doesn't accept any connections and so on...
I would like to know how to fix this or find an alternative way to write this line. Any help is greatly appreciated!
After I upgraded our dts-packages with the VS2013 upgrading wizard, following exception occurs when I try to execute the package:
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.SqlServer.ManagedDTS.dll
Additional information: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.
I couldn't find a solution that works for me...
Many people suggest to switch the property Run64BitRuntime to false, but this didn't help.
Do you have any tips how I can resolve this problem?
Thanks in advance
try removing and readding Microsoft.SQLServer.ManagedDTS dll.
Sometimes this should solve this kind of problems!
I use VS 2012 to do this tesseract code project.
I created WPF(C# project) import tesseractengine3.dll set using tesseract;
and created variable:
TesseractProcessor test = new TesseractProcessor() ;
and then compile the code in debug mode (x86 , with target .net 4)
It shows Error message dialog
"An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Recog.OcrTest' that matches the specified binding constraints threw an exception.' Line number '3' and line position '9'."
I searched on tesseractdotnet blog, and also google a lot of website and found nothing.
PS. I can run this code succesfully on VS2008. But when I code in VS2012 is occured error.
I cannot do my project in VS2008 because I have to some code of kinect which cannot work with VS2008.
Please anyone guide my how to solve this problem. I stuck with this problem for 1 week.