.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Failed to add web part (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) exception

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#

I created a custom page which is replica of person.aspx page of MySite and created a master page to be applied onto that page. The same master page is being applied on MySite too and it's working fine. Now, I kept this page and master page in layouts folder and opening it in browser. The page is opening. When I edit the page, I can see all my custom web part zones being displayed but I am not able to add a single web part on to the page. When I try to add, it throws the error Failed to add web part (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) exception.

I have no clue at all why is this happening. Is there a restriction on a page that needs to be kept in layouts folder? Please help me.

Sreenivasa Chandan

View Complete Post

More Related Resource Links

SSRS 2008: Failed to unload app domain DefaultDomain. Exception from HRESULT: 0x80131015

I have a SQL Server Reporting Services 2008 giving this error in Event Viewer.Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015).

"Exception from HRESULT: 0x800AC472"


Am Exporting Data in to Excel File,meanwhile if i open any other Excel file than the excel File on which am exporting data gets opened up Automatically having name Book1.How should i stop these excel file not to get open.In the Error log i get an error message showing " Exception from HRESULT: 0x800AC472" . Need help on these.Thanks in Advance.

"Exception from HRESULT 0x800A5077"

Hi, I am using  VS2005 and Crystal Report 8.5. Yesterday I was working with report. It was working nice. Showing the report as per recordselectionformula. After some time it was not working. When I tried to show the report it is showing "Exception from HRESULT 0x800A5077 " What could be the reason and how can i fix it. Please help me.

While calling Web service gets exception "The request failed with HTTP status 401: Unauthorized"

Hi All, I created a ASP.NET web service, which was hosted on default visual studioserver, and on excecution of webservice it run .exe file which in turn update xml file. Now i hosted this webservice on IIS 6.0 server, and when i run the service, itfails to execute the exe.When i run it on debug mode, i never get any exception.Code...public string HelloWorld()    {        Process myProcess = new Process();        try        {            myProcess.StartInfo.UseShellExecute = false;            // You can start any process,             myProcess.StartInfo.FileName = @"E:\Projects\some.exe";            myProcess.StartInfo.CreateNoWindow = true;            myProcess.Start();            myProcess.Close();            myProcess.Dispose();            return "Suceess";         }&n

Path too long (Exception from HRESULT: 0x80010135)

Hi I have recieve this error any idea how to solve it Path too long (Exception from HRESULT: 0x80010135) ThanksMomo

Configuring SQL Express -- getting login failed exception

I have a machine with Windows XP Pro w/SP 2, IIS, SQL Server Express and Visual Studio 2005 installed.  When I attempt to open a database from an ASPX page, I'm getting an exception with the message: "Cannot open database "Tasks" requested by the login. The login failed.Login failed for user 'MYDEV\ASPNET'." I've searched the web and found a number of pages that talk about the "Login failed for MACHINE\ASPNET" issue, but I didn't find any with a solution.  For your information (in case it makes any difference), the computer is connected to a domain.  And the authentication methods for the virtual directory (in IIS) is configured for "Anonymous access" and "Integrated Windows authentication." Does anyone know how to configure SQL Server Express (or is it IIS?) so the web page can access the database? RichardR  

Exception from HRESULT: 0x81070215

When I try to access the Site Collection Features link in the Settings page of one of my SharePoint site collections I get the following error: Exception from HRESULT: 0x81070215 at Microsoft.SharePoint.Library.SPRequestInternalClass.LocalizeXml(String bstrXmlPath, String bstrFeatureDefinitionId, String bstrFeatureRoot, UInt32 lcid, String bstrDefaultResourceToken) at Microsoft.SharePoint.Library.SPRequest.LocalizeXml(String bstrXmlPath, String bstrFeatureDefinitionId, String bstrFeatureRoot, UInt32 lcid, String bstrDefaultResourceToken) I have no access to the Site Collection Features because of this except through the STSADM.  Is there a fix or workaround? 

Getting Error " Error occurred in deployment step 'Add Solution': Exception from HRESULT: 0x810702

i'm getting the following error when deploying my sharepoint project i've created 3 site templates by adding according to this article http://www.sharepointbits.com/blog/sharepoint-2010-custom-site-templates.html but when i deployed my project i got the following Error occurred in deployment step 'Add Solution': Exception from HRESULT: 0x8107026E

ws-addressing 'Action' required message part not signed exception

I have a WCF client calling a Java-based service. The service vendor is supporting WCF clients. The WCF client binding uses authenticationMode="MutualCertificate", messageVersion="Soap11WSAddressing10" and the message is signed and encrypted (SignBeforeEncrypt). WCF, in this case, is automatically signing all the ws-addressing ( <Action>, <MessageID> and <To> ) headers. The message gets to the service and comes back with what appears to be valid encrypted data in the response BUT the client is throwing a "The 'Action', 'http://www.w3.org/2005/08/addressing' required message part was not signed" exception (mscorlib). Questions: Is there a way to NOT sign the ws-addressing headers in the request message while still using both signing and encryption (X.509 certs)? If the client DOES sign the ws-addressing headers in the request, is there a way to configure WCF to accept UNsigned ws-addressing headers in the response? If the answer is NO on both questions, I guess I will have to ask the service vendor to sign the ws-addressing headers in the response. Thanks.

Installing SharePoint 2010 with SQL Server 2008 - SQL Exception - Login Failed

Hello I've been trying to install SharePoint 2010 with SQL Server 2008 in my Windows Server 2008 R2 box. I've got the same error all the times. System Specifications Windows Server 2008 R2 SQL Server 2008 with SP1 SharePoint 2010 Enterprise 6GB RAM, 320GB HDD Installation Steps I followed Installed Windows Server 2008 R2 and joined it to our domain Logged in as domain administrator Installed SQL Server 2008 Selected the Local Service account for all the SQL Server 2008 services during installation Selected Mixed mode authentication Selected 'Add Current User' in all the other installation screens Installed SQL Server 2008 SP1 Installed SharePoint 2010 Selected Farm option Selected Complete Installation Tried to run the configuration wizard and got sqlexception error - login failed But i checked that the current user (domain admin) is having all the permissions. Also added the domain admin as Security Admin and DB Creator in SQL Server instance. Any ideas?  Regards NLV Visit SharePoint User group - India

The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Hi, When I deploy the asp.net application on 64 bit OS mechine I am getting the following error. The same application is running properly in 32 bit mechine. Error : The specified module could not be found. (Exception from HRESULT: 0x8007007E) 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.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) 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: [FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stack

WCF Exception "Message security verification failed" only with header!

Hi, I've got a WCF service doing Username authentication. I authenticate with AD and authorize using AzMan on AD. I'm hosting the service in IIS 6 and its running in an app pool that runs in a domain account that has read rights on the AD. I have a custom header that goes both ways. Everything works well until I assign the custom header to return. If I never assign the custom header to return everything is ok but if I do assign the custom header to return I get the error:- Message security verification failed.Duplicate attribute found. Both 'u:Id' and 'u:Id' are from the namespace 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'. Line 1, position 520. I've got service level message tracing and I can see the secure conversation stuff happening and the messages going across the interface.   If anyone has any ideas I'd be most appreciative.   Thanks,   Andy

Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))


We are current users of WSS 3.0 SP1 (MS SQL Server 2005 w/SQL Server Configuration Manager & SQL Server Management Studio Express) and are having issues with the following error occurring quite frequently when we visit pages on our SharePoint site.


Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))


Our research keeps brining up that the log files are getting large and are not being cleared. We are doing a Full Backup of our SharePoint Farm with BackupExec 11d so we are not understanding how to fix this. Does anyone have any suggestions...


Thanks in advance.

(Exception from HRESULT: 0x80072014)


Hi, i have one user and i try change value emial in AD.

My code is here:

        Dim userID = "domain\user"
        Dim password = "password"
        Dim dirEntry1 As New DirectoryEntry("LDAP://DC=domain,DC=pl", userID, password, AuthenticationTypes.Secure)
        Dim mySearcher1 As DirectorySearcher = New DirectorySearcher(dirEntry1)

        mySearcher1.Filter = String.Format("(CN=usertochange)")

        Dim resEnt1 As SearchResult
        resEnt1 = mySearcher.FindOne()

        If resEnt1 Is Nothing Then
            MsgBox("User not found")

            dirEntry1.Properties("mail").Value = "test@abc.com"

            MsgBox("Found: " + resEnt1.GetDirectoryEntry().Properties("cn").Value + " :: " + resEnt1.GetDirectoryEntry().Properties("mail").Value)

        End If

In line dirEntry1.CommitChanges() i have error: (Exception from HRESULT: 0x80072014).
Please help.


Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))



While adding users in to sharepoint group, i am getting the error msg as "Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) " .what is this means, how ro resolve this? Please guide me.

Content deployment job 'Remote import job for job with sourceID failed.The exception thrown was 'M


Anyone pls give me advice for Content Deployment at sharepoint 2007...

I am doing Content Deployment from one virtual machine to another virtual machine. Both virtual machines are at the different computers.

I got these errors..

Cannot create folder "Cache Profiles/_private". at Microsoft.SharePoint.Library.SPRequest.CreateFolderOnImport(String bstrUrl, String bstrFolderUrl, Guid guidFolderId, Int32 lDoclibRowId) at Microsoft.SharePoint.Deployment.FolderSerializer.CreateFolder(SerializationInfoHelper infoHelper, SPWeb parentWeb, ImportObjectManager objectManager) at Microsoft.SharePoint.Deployment.FolderSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()


User Control Web Part - The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.



I need help, in our SharePoint 2007 project we have created Web Part using VS 2005 & .Net 2.0, User Control. In the user control for one of the drop down list box databinding method we are using data from IBM DB2. It works fine on our local machine, but after Web Part deployment if i open the page then the Drop Down List is empty. I checked the log in the event viewer. I found the following error message in the vent viewer -

The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.


Detail Error Message -

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/2076212728/Root

Process ID: 26880

Exception: System.TypeInitializationException

Message: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.

StackTrace: at IBM.Data.DB2.DB2Connection.Finalize()

InnerException: System.InvalidOperationException

Message: SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.1.1.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies

StackTrace: at IBM.Data.DB2.y.f.a()

at IBM.Data.DB2.DB2ConnPool.g()

at IBM.Data.DB2.DB2ConnPool..ctor()

at IBM.Data.DB2.DB2Connection..cctor()

For more information, see Help and Support Center at h

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend