Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: d3409ee3-b98d-417a-b084-af6e286d284b
Date and Time: 11/30/2009 10:37:07 AM
View Complete Post
I have a user control (ContainerCtrl) which programmatically instantiates another user control (SimpleCtrl) in OnLoad. It builds and runs fine, but when I publish it I get the error "error BC30002: Type 'ASP.SimpleCtrl' is not defined." (If I publish without the "updateable" option there's no error, but I need the site to be updateable.)
I assume this has to do with the particulars of how the assembly(ies) are built for the different compiler options. My question is, how can I get it to work properly for "updateable" publishing?
VS 2008 / .NET 3.5 sp1
The code follows (web.config is the default from Visual Studio).
Many thanks, Dave
<%@ Control Language="VB" ClassName="SimpleCtrl" CodeFile="SimpleCtrl.ascx.vb" Inherits="_SimpleCtrl" %><div> Simple control</div>
Partial Class _SimpleCtrl Inherits UserControl 'Nothing to see here.End Class
<%@ Control Language="VB" CodeFile="ContainerCtrl.ascx.vb" Inherits="_ContainerCtrl"
I got this error
Error occurred in deployment step 'Activate Features': The content type with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite.
- I have a SharePoint site . Then I Open my Site by SharePoint designer .
- When I press on "ExternalContentType" to create a new one , but the following Error appeared :
"There is no Business data connectivity service associated with the current web context" .
How Can I solve this problem ?
I am having Sharepoint 2010 Enterprise RTM Trial on Windows Server 2008 SP2 with SQL server 2008 enterprise installed. I have another machine (mac2) on the domain having another Database on SQL Server 2005. I want to use business connectivity services
for External Content types for making a connection with mac2 database . I have followed the following article:
In step 3 of the above mentioned article, i have failed to connect with User Identity selected....
Can anybody help me out with this ?
I have a document library in WSS3 with a custom content type I've created.
I just upgraded to Office 2010 and since then, each instance I'm creating from the DL, work freezes and closes.
Thanks in advance
What I am trying to do is create custom edit forms for different content types within the same document library.....so basically I have done the following:
When I create a document and edit the properties it works fine - totally as expected. However when I upload a document the default EditForm for the library is used and I can select the CT to associate the document to. When I choose the CT with
the custom form the new edit form is not found and I get a page not found error - http 400.
The full url for this library is is
So the URL I have used is /functions/ehs/CSI/Forms/EditForm2.aspx (EditForm2.aspx) is my form and this is fine. I have even used CSI/Forms/EditForm2.aspx and this works... BUT ne
I am new to MOSS & Infopath-2007. I want to publish form on MOSS onto Document Library not as Content Type. Last week, i published form successfully, but suddenly since last thursday, I am not able to publish - it gives me "updating content type failed"
I am publishing with Domain Trust, no certification is sign (actually, not required in my case).
Thereafter, I tried creating new template with single button/textbox, but it gives same error.
Today, i tried with blank form, it failed again with same error.
I tried creating Form library from Infopath form as well as from MOSS, but no help.
doing Googling, i only got 2 solution - timeout or too many columns added from infopath - but in my case there are only 3-4 columns i want to publish.
I tried below links, but no help:
I have a site feature receiver that sets up all my custom columns and content types. This appears to have a persistent issue with adding field references to publishing controls, in example below it is an HTML Publishing Field but this also happens on a Publishing
Image Field. In summary: - Publishing HTML Field creates successfully and is added to the Site Columns (see method CreateHtmlField below) - Content Type creates successfully and updates ok with an SPFieldLink to my custom field of type SPFieldText (non publishing)
- When trying to add a SPFieldLink to an HtmlField, however I get an ArgumentNullException
Detailed exception from 14/LOGS: System.ArgumentNullException: Key cannot be null. Parameter name: key at System.Collections.Hashtable.get_Item(Object key) at Microsoft.SharePoint.SPFieldLinkCollection.Exists(String name, SPFieldLink& fldFound)
Tracing this down the hierarchy of calls into SP SPFieldCollection.Add() calls SPFieldCollection.Exists() with the SPFieldLink.Name property, however this is a read only value which is derived from SPField.InternalName
SPField.InternalName is set in 2 of the 3 constructors of SPField, however, I'm using the 3rd one with signature: public SPField(SPFieldCollection fields, string typeName, string displayName)
SPField doens't seem to set that anywhere else and neighter does the HtmlControl.
Hi there, we are creating custom content types that inherit from the "Page" content type. We have found that we must have the "Inherits" property set to "TRUE" or else our custom content types do not show up in the content type gallery. If we
query the site collection using management shell the content type does appear to be there, but unfortunately it will not publish from the content type hub. If we set Interits=TRUE the content type deploys properly and appears in the content type
gallery, but we cannot override (change the display name) or remove any of the inherited fields. Ultimately, we would like to have our content types inherit from "Page" and also override some of the "Page" fields, but this does not appear
to be possible. We have spent quite a bit of time on this issue and are wondering if this is a bug or intential behavior of the "Page" content type. Any information you can provide would be appreciated?
P.S. We have ran similar tests inheriting from "Document" and "Item" content types and do not encounter the same issue with overriding inherited fields.
Background: I have created an external content type, and then an external list from the content type. Next I created a custom list with the same metadata fields as the external list. All this works as it should with no issues. Finally
created a simple 1 step workflow that is designed to update the external list with the data provided in the custom list.
Problem: When I run the workflow I get the error below:
The workflow could not update the item in the external data source. Make sure the user has permissions to access the external data source and update items. Unknown error
12/3/2010 8:39 AM Error System Account
Has anyone seen this before and if so how did you resolve it?
I have been working with InfoPath07 and SharePoint Moss 07 for two years. I have recieved the Updating Content Type error in the past which I got around by creating new library's. This was over a year ago and happened only a couple times.
Recently, my dept did a database migration. About 3 weeks prior to the migration I started having troubles with publishing InfoPath.
First issue, it would take about three hours for my form to go through to the form/document library. Sometimes they would publish, other times I would get Updating Content Type Failed.
Now that our databases have been migrated, I don't have to wait three hours to get my error. I get my error on (1)existing forms that just needed interface updated (no changes to forms content), (2) existing forms that have no content at all,
(3) and brand new forms that have never existed, with no content.
I have tried:
I have been researching and trying to figure this issue out for at least three months. I am still getting this error with every form I publish to update the forms library; howe
1many duplicate columns in my library
we can see image here:http://images.cnblogs.com/cnblogs_com/kasafuma/repeatcolumn1.jpg2run sql :
select * from AllUserData
where tp_LeafName = 'xxxx.xml' and tpid='1123'
and tp_DeleteTransactionid = 0x
should find only one row,but then can find 7 rows: tp_RowOrdinalrow1 0row2 1row3 3row4 4row5 6row6 &
I added the Translation Management feature today, using the following command line:
stsadm -o activatefeature -name TransMgmtlib -url http://mysite
everything seemed to work fine, as no error occurred at this stage, and when I go to my top level site settings, click on "Site libraries and lists", then "create new content" I now see "Translation Management" as an option.
I select this type, click Create, complete the first part of the 'wizard' (Name and Description, etc.), then I'm on step 2 and this is where the error occurs.
I've googled around, and tried updating various items in my web.config and machine.config, but I cannot find the solution. A lot o
I am getting "A duplication content type name 'Approval' was found" error, when I try to create a new site based on a custom template. These are the steps that result in the error:
I did notice that when I tried creating site from the template in a different area of my site collection, the error name changed from "Approval" to "Requestor".
As it stands I cannot use custom templates in my site collection. Any advice on how to overcome this error?
I am trying to create a KB library. I tried to add the KB Article content type to a document libary but got error:
Exception from HRESULT: 0x80040E07. I couldn't find anything in a google search for this error (for my circumstance) . Can anyone tell me what I'm doing wrong, or how to create this type
of functionality within a library?