Symptom: generate a report in the Word format. During debugging, "server exceptions always occur. (Error from hresult: 0x80010105 (rpc_e_serverfault )"
Cause:
Code
Wordapp. Documents. Add (ref nothing, ref visible)
, The last visibale parameter is set to false.
Solution: visible = true
Using
System;
Using
System. Collections. Generic;
Using
System. text;
Namespace
Business
{ Public Class Worddocument {Microsoft. Office.
Viusal stuido 2010 has failed to be installed before. NET Framework 4.0 has failed ...... Later, the. NET Framework 4.0 was installed separately, and the result still failed, with the hresult 0xc8000222 ErrorCode,
Go to the official website for search and perform the following steps.
This behavior may occur if the Temporary Folder of Windows Update has been has upted. we can refer to the following steps to rename this folder. please be assured the f
Recently developed using MatlabProgramIn the development environment, but an error is reported when deployed to the running environment:
Unable to load DLL "mclmcrrt711.dll": the specified module cannot be found. (The exception is from hresult: 0x8007007e ).
MCR has been installed.
I tried n times and found no reason.
The last installation path of MCR was modified: previously in c: \ Program Files \ MATLAB compiler runtime \
Change to: C: \ M
The current system involves synchronization between the sqlce on the PDA and the SqlServer2005 on the pc, and adopts the combined replication method, however, the program was debugged yesterday to find that the pda can download data from the host, but the data on the pda cannot be sent to the host database. The error is: "An error occurred while sending the data to the computer running IIS. for more information, see HRESULT ".
At first, I thought it w
// Obtain the workspace according to the MDB FilePublic static iworkspace openmdbworkspace (string mdbfilename){Iworkspacefactory pwsfact = new accessworkspacefactoryclass ();
Iworkspace pwor = pwsfact. openfromfile (mdbfilename, 0 );Return pwor;}
Hresult: 0x80040213 openfromfile
The mdbfilename file does not exist. The correct syntax is as follows:
// Obtain the workspace according to the MDB FilePublic static iworkspace openmdbworkspace (string mdb
4 GB memory 32bit win2k3 + sql2k8 SP1
After running for a period of time, when adding or modifying a field length:
Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with hresult 0x80004005. You need to restart SQL Server to use CLR integration features.
After the SQL Server is restarted, the following error occurs:
Appdomain 2 (mssqlsystemresource. DBO [runtime]. 1) created.
Appdomain 3 (mssqlsystemresource. DBO [DDL]. 2) unlo
In Windows, when I use C # To Call InterOP. shdocvw. dll, an error hresult e_fail is returned when I call COM components. Some people on the Internet say they want to enable the DTC service, and then set the local DTC in the component service to enable the network DTC service, and allow inbound and outbound, and set it to not require verification, for example:
But after I set it up, I still cannot. Later I saw the COM + application in the component
Previously, Viusal stuido 2010 ultim failed to be installed, and it took a very long time to install. NET Framework 4.0 ......
Later, the. NET Framework 4.0 was installed separately, and the result still failed, with the hresult 0xc8000222 ErrorCode,
Go to the official website for search and perform the following steps.
This behavior may occur if the Temporary Folder of Windows Update has been has upted. we can refer to the following steps to re
The following error occurs during ArcGIS development: hresult: 0x80040213:
Error cause: the com resource is not completely released. When the data volume is small, there will be no problem, but if it is hundreds of data records, it will certainly occur when it is called cyclically.
Solution: release resources. In the. NET environment, you must release com resources such as cursors. system. runtime. interopservices. Marshal. releasecomobject (feature
The error message is as follows:
Create a dataconfiguration configuration sectionProgramError: failed to Load file or assembly "Microsoft. Practices. enterpriselibrary. Data, version = 2.0.0.0, culture = neutral, publickeytoken = NULL" or one of its dependencies. The Assembly list definition found does not match the Assembly reference. (Exception from hresult: 0x80131040)
Cause:
The Enterprise Library is signed and called by the application. The
Prompt for generating Entity Framework code first in EF Power Tools Beta 2
Parameter Error hresult e_invalidargThe latest Solution
Environment: vs2012 update 1 + EF5
Solution: I have found a lot online and cannot solve this problem. The following method can be used to solve this problem!
Installation directory in vs2012
D: \ Program Files \ vs2012 \ common7 \ ide \ extensions \ Microsoft \ Entity Framework tools \ Templates \ schemdes find
When you open the SSAS Data Source view to browse data, the system prompts that no category is registered (the exception is from hresult: 0x80040154 (regdb_e_classnoregulatory) (Microsoft Visual Studio)
Solution:
Solution: download and installThe owc11 Office 2003Add-on:Office Web Components
Http://www.microsoft.com/downloads/thankyou.aspx? Familyid = 7287252c-402e-4f72-97a5-e0fd290d4b76 displaylang = ZH-CN
After the installation is complet
A Problem description1. Open vs2013, select "File | new | project" and the following dialog box appears.2. Click "Web" on the left, select "ASP. NET Web Application" and click OK3. Press the red section above to select OK, then click "OK", the result pops up the following promptTwo Cause analysisNo NuGet installedThree Solve the problem1. Open the vs2013 and select Tools | extensions and Updates2. Select "Online | Visual StudioClick the Download button for the NuGet package Manager for Visual St
Just entered the new company, because the last technician using IIS to build a station, I used the Apache build station so on the original based on the addition of Apache, but know that the server reboot will automatically start Apache, which will occupy 80 of ports to use the IIS Web site 80 ports are not available
Tip: Another program is in use and the exception is from hresult:0x80070020
Solution: 1. See if 80 ports are occupiedNetstat-ano View 8
Resvr32 the name of a reference control in. NET if the registration succeeds, the problem does not occur but if the control is registered successfully in a x64 bit system, the error is prompted because most third-party written COM controls only support 32-bit systems and find the project referencing the control in VS--〉 Property--〉 Build--〉 general---) Target platform---Select X86 to resolve.Retrieving a component of the CLSID {28e68f9a-8d75-11d1-8dc3-3c302a000000} in a COM class factory failed
1, open "My Computer" in the Address bar input: c:windowssystem32, and then enter.
2, find CMD.exe This program, the right key above the program---to run as an administrator.
3, in the operation of the CMD program input: net stop WuAuServ, and then enter the service to shut down.
4, again Enter: Echo%windir%, and then enter, will pop up a folder.
5, found in the pop-up folder: SoftwareDistribution, right button the folder renamed it Sdold.
6, after the successful modifi
#"
And be happy in the project. Enter the following code:
OK, let's start the project test. If you are x86 the system gets the results as follows:
If you are a x64 system, you will be surprised to find that the error on the header indicated: "DLL" Luanet.dll could not be loaded: The specified module could not be found. (Exception from hresult:0x8007007e). ”
Unable to find the specified module file, we suspect that the DLL file is missing from the
Method Exportsde debugging is not a problem in VS, reporting errors after publishing to IIS: A call to a COM component returned an error HRESULT e_fail.
Google found that the solution to the problem is the same, no one works.
Later, I searched for a problem at http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=69628, and then I tried to create a temporary connection file to resolve it.
Here is the error code:
protected void Page_Load (object sen
Resvr32 the name of the control referenced in. NetIf the registration is successful, the problem does not occur but if the control is registered successfully in a x64-bit system, the error is prompted because most third-party written COM controls only support 32-bit systems, find the project with the reference control in VS--〉 property--〉 generate--〉 general---) Target platform---) Select X86 to solve. The problem of the control is the Opcdaauto.dll file, the project folder is copied to the new
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.