Microsoft.Office.Interop.Word.Application COM Error - ms-access

I am creating a web application; on click a button will open a word document using Microsoft.Office.Interop.Word.Application;
it's working well in my PC, but in server I am getting COM exception.
Error is like this:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Related

SSIS package failed to load due to error 0xC0011008 "Error loading from XML

I am trying to execute a ssis package in VS 2015, if i execute with protection level "EncryptSensitiveWithPassword". I will get the error, but if i change the protection level to "Do not save sensitive data", the package could execute successfully. Could someone help me? I have tried change the "Run64BitRuntime to false", it is not working. Thank you~~~
The error msg detail beblow:
Exception deserializing the package "The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
". (Microsoft Visual Studio)
Program Location:
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
at Microsoft.DataTransformationServices.Project.DtsPackagesFolderProjectFeature.ExecuteTaskOrPackage(ProjectItem prjItem, String taskPath)
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.IDTSProject100.GetPackageByName(String bstrPackageStreamName)
at Microsoft.DataTransformationServices.Project.DebugEngine.InterfaceWrappers.Sql2012IDTSProject100Wrapper.GetPackageByName(String bstrPackageStreamName)
at Microsoft.DataTransformationServices.Project.DebugEngine.DtsProgramNode.CreateRuntimePackageInternal(IDtsHost& host, Process& process, Package& dtsPackage)

SSRS report attachments failed to open

We have migrated our servers to Cloud (AWS). We are using SSRS 2008R2. We are facing an issue while opening few attachments in the reports ( not all the attachments ).
We get the following error :
Server Error in '/OpenAttachments' Application.
The remote Server returned an error: (404) Not Found.
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: System.Net.WebException: The remote server returned an error: (404) Not Found.
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.
Stack Trace:
[WebException: The remote server returned an error: (404) Not Found.]
System.Net.HttpWebRequest.GetResponse() +8674060
WebApplication1.WebForm1.Page_Load(Object sender, EventArgs e) in C:\Users\fdsfsdfsdfn\Documents\Visual Studio 2012\Projects\WebApplication1\WebApplication1\OpenAtt.aspx.vb:17
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
Most of the attachments are working fine. This is happening with only a few attachments.
Thanks in advance.
Surya

I Cant Launch LoadRunner 11.5

I'm having a problem launching the trial version of LoadRunner 11.5. It says:
An unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click quit, the application will close immediately.
Retrieving the COM class factory component with CLSID
{CF405F74-4814-AD81-525877D8C9A0} Failed due to the following
error: 80040154 class not registered (Exception from HRESULT:
0x80040154(REGDB_E_CLASSNOTREG)).
Which component is failing? VUGEN? Controller? Analysis? Other?
Did this component ever work on this host? If not, then this is an installation or rights issue
Have you contacted vendor support? This assumes that you are under maintenance for your 11.5 version of LoadRunner.

org.apache.jasper.JasperException: An exception occurred processing JSP page at Class.forName("com.mysql.jdbc.Driver");

type Exception report
message An exception occurred processing JSP page /login.jsp at line 5
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jsp at line 5
5: Class.forName("com.mysql.jdbc.Driver");
6: Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root", "harsha");
root cause
javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
This error is because of your JDBC driver was not in your class path..
Class.forName("com.mysql.jdbc.Driver");
Basically you are trying to create an object of a class which is not loaded into JVM...Solution is place your JDBC driver jar into your class path.
Cheers!
Try place the mysql-connector-java-5.1.27-bin.jar
in your webapp's /web-inf/lib directory
and then, restart or redeploy

Google drive Dredit sample app for dotnet

I was following exact the same steps as described in this article to test the dotnet app.
https://developers.google.com/drive/examples/dotnet
My env is visual studio 2010 and IIS 7
Everything was fine. The app deployment was successful and I could see the login screen and the "allow access" dialog. However once I granted access, I saw the following error.
Can anyone help?
Thanks,
Qiang
Server Error in '/' Application.
Failed to find or load the registered .Net Framework Data Provider.
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: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
Source Error:
Line 82: {
Line 83: StoredCredentialsDBContext db = new StoredCredentialsDBContext();
Line 84: StoredCredentials sc = db.StoredCredentialSet.FirstOrDefault(x => x.UserId == userId);
Line 85: if (sc != null)
Line 86: {
Source File: C:\Qiang\DrEdit\Models\Utils.cs Line: 84
You have to install Microsoft SQL Server Compact 4.0, which is used by the Entity Framework to map model classes into database entities.