Error running revit addin with Design Automation for Revit - Local debug tool - autodesk-forge

I am trying to run an addin for design automation locally by following the tutorial: https://forge.autodesk.com/blog/design-automation-debug-revit-plugin-locally
Running the addin from visual studio i'm getting this FatalExecutionEngineError exception
Exception
From Revit usign the DesignAutomationEventHandler i'm getting this "There is no Unicode byte order mark" error
DesignAutomationEventHandler error
I tried reinstalling and the problem persists

Related

Debugging Windows 10 Mobile App on a Device

I created new UWP app in VS2015, but when I am trying to debug App on a device it's giving me below error:
Error : DEP6400 : Failed to deploy. Make sure another deployment or debugging session is not in progress for the same emulator or device from a different instance of Visual Studio: Error writing file '%FOLDERID_SharedData%\PhoneTools\11.0\Debugger\bin\RemoteDebugger\vbdebug.dll'. Error 0x80072736: An operation was attempted on something that is not a socket.
Below is my system spec:
Windows 10 PC Build: 10240,
Visual Studio 2015, UWP SDK: 10586,
Package Manifest Target Version : 10586
Package Manifest Min Version : 10240
Windows 10 Mobile Build on Device: 10.0.10586.71,
Please guide me what this error is and how to resolve this error.
Zee,
Please make sure that you are checking the following below running the app.
There is a chance that you already opened a visual studio and you would have run app. Then you would have opened visual studio again and you tried the run the app again.
Here the problem is, only one visual studio can run at a time. When the first visual studio is running and when you try to launch the project once again, it will fail.
Try to restart your machine and run the project.
If you are not willing to restart the machine, open your task manager and close all the visual studio running instance.

Could not load file or assembly MySql.data error when invoking VB.net application

I made an application in Visual Studio 2013 using VB.net that works with my MySql database.
the program compiles and runs well when invoked through visual studio. However, when I run the application in the debug folder, I get the following error.
I have.
copied the MySql.data dll to the C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MySql.Data\v4.0_4.0.0.0__b77a5c561934e089
and referenced my project to that dll. -> Error does not go away.
i set local to true for this dll in VS -> Error does not go away.
Do you know how to solve this problem?
i had a similar problem. For your application to run, you need to install the MySQL DotNet Connector msi. here is the link https://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-6.9.8.msi. Download and install. Your application should now run ok

Visual Studio 2013 Error Message: 0x80004001 (E_NOTIMPL)

For some reason, Microsoft Visual Studio 2013 keeps giving me the following error:
Not implemented (Exception from HRESULT: x080004001 (E_NOTIMPL))
I receive this error when attempting to make a new SQL table. The way I reproduce this error is by doing the following:
Open my project (from Team Explorer)
Open the Data Connection in Server Explorer.
Right click on Tables and click Add New Table
I am attempting to add a new table to a SQL Server 2014 database. I have Microsoft Visual Studio Professional 2013 Version 12.0.31101.00 Update 4
This only happens when Adding a table or opening the definition. I can view data without any errors. I have also tried repairing Visual Studio 2013 with no luck.
EDIT:
Now, When I don't open a project and try adding a table, I am getting:
"The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))".
Found the answer here
Clear out the temporary framework files for your project in:
For Windows 7, the path is:
C:\Users\[username]\AppData\Local\Temp\Temporary ASP.NET Files\
For 64 bit systems with 'Framework' in the path the full path is:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET
Files\
http://www.solutioncottage.com/ShowSolution.aspx?solID=59
Usually E_INVALIDARG returns when there is an application level on with the parameter for example out of range issue or parameter that collide with each other.
As I found; You may receive an E_INVALIDARG error message when you try to create an instance of a .NET serviced component, You need to modify your Registry of Windows.
Make a new backup of your Registry of Windows.
Source: A Microsoft .NET serviced component that is deployed in the COM+ environment.
Source event: An activation request.
Side event : Destroying an old instance of the serviced component.
Side sources : All the other resources that are associated with the old serviced component.
Causes :
This destruction may not be successful or
COM+ may not clean up the associated resources.
Resolution : Downloading the Microsoft .NET Framework 1.1 Service Pack 1.
Registry Edits :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\System.EnterpriseServices]
"DisableAsyncFinalization"=dword:00000001
I ended up formatting and re-installing Windows which fixed the problem when I installed Visual Studio 2013 again. Repairing Visual Studio did not fix the problem but I'm not sure if re-installing visual studio would have worked.

IBM Worklight: failed to upload a package using Worklight Console - jpa.entity.ProjectEntity

I got the error while uploading a package to Worklight using Worklight Console site.
Object
'com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-'
is not managed by this context
I just saw this error message using Browser Developer Tools to investigate Request and Response Network activity.
PS: There isnĀ“t any JPA class in my project and package.
My environment:
IBM MobileFirst 6.3 (Worklight)
IBM WebSphere Liberty 8.5.5
MySQL
Windows Server 2008 R2
Hybrid App with Android Environment
Full error message:
{"id":147,"type":"UPLOAD_APPLICATION","status":"PENDING","project":{"name":"project1"},"timeCreated":"2015-02-05T19:37:08.000Z","userName":"user1","appServerId":"Liberty","description":{"appVersionsDeployed":[{"applicationName":"App1","environment":"android","version":"1.0"},{"applicationName":"App1","environment":"common","version":"1.0"}],"appVersionsAlreadyDeployed":[],"filename":"App1-all.wlapp"},"errors":[{"date":"2015-02-05T19:37:08.655Z","phase":"VALIDATE","code":"FAILURE","exception":"ArgumentException","details":"Object \"com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-2\" is not managed by this context."}],"warnings":[],"productVersion":"6.3.0.00-20141127-1357"}
The problem is the file size (.wlapp).
I got the error when the file is bigger than 7MB.

Reporting Services stop working as soon as .Net sp 2.0 is installed

I use reporting services integrated with SharePoint. All reports work fine. The thing is that as soon as I installed the Microsoft .NET Framework 2.0 Service Pack 2 (NetFx20SP2_x64.exe), I get an error page when accessing the reports saying the following:
An unexpected error occured while connecting to the report server. Verify that the report server is configured for SharePoint integrated mode. --> The request failed with HTTP status 401: Unauthorized.
Any ideas why installing the sp2 for .Net 2.0 is causing this error?
Edit:
I also get the following line in MOSS logs
AppDomainUnloadListener.RegisterSelf() entered lock(this=15368010).
please see the below links:
http://msdn.microsoft.com/en-us/library/ee384252%28SQL.100%29.aspx
http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/7e77fe54-74ee-437c-a985-03dd04e9f35c/