基于现有列表模板创建列表,添加一条记录,点击列表项后我收到错误 [英] Created list based on existing list template, added one record, after click on list item i got an error

查看:78
本文介绍了基于现有列表模板创建列表,添加一条记录,点击列表项后我收到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部好,


使用内容类型的列表模板


基于现有列表创建的列表模板,添加一条记录,点击列表项后我得到以下错误。





< ; nativehr> 0x80070002< / nativehr>< nativestack>< / nativestack>没有名为"/ http:// wss4dev01"的网站。



[FileNotFoundException:< nativehr> 0x80070002< / nativehr>< nativestack>< / nativestack>没有名为"/ http://的Web wss4dev01"。]

    Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl,Guid foreignWebId,String bstrListInternalName,Int32 dwBaseType,Int32 dwBaseTypeAlt,Int32 dwServerTemplate,UInt32 dwGetListFlags,
UInt32 dwListFilterFlags,Boolean bPrefetchMetaData,Boolean bSecurityTrimmed,Boolean bGetSecurityData,Boolean bPrefetchRelatedFields,ISP2DSafeArrayWriter p2DWriter,Int32& plRecycleBinCount)+0


    Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl,Guid foreignWebId,String bstrListInternalName,Int32 dwBaseType,Int32 dwBaseTypeAlt,Int32 dwServerTemplate,UInt32 dwGetListFlags,UInt32
dwListFilterFlags,Boolean bPrefetchMetaData,Boolean bSecurityTrimmed,Boolean bGetSecurityData,Boolean bPrefetchRelatedFields,ISP2DSafeArrayWriter p2DWriter,Int32& plRecycleBinCount)+5815


    Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId,String strListName)+660

    Microsoft.SharePoint.SPListCollection.EnsureListsData(String strListName)+49

    Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName,Boolean bThrowException)+149

    Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID,Boolean bThrowException)+77

    Microsoft.SharePoint.WebControls.SPDataSourceView.GetList(SPContext context,SPWeb web,Guid listId,String listName)+352





[InvalidOperationException:无法打开指定的列表。]

    Microsoft.SharePoint.WebControls.SPDataSourceView.GetList(SPContext context,SPWeb web,Guid listId,String listName)+652

&NBSP;   Microsoft.SharePoint.WebControls.SPDataSourceView.GetListAndListItemFromParameters(Dictionary`2 parametersDictionary,SPWeb& c

解决方案

< blockquote>

您好


您使用哪种列表模板?自定义或开箱即用?


您网站的URL是什么?


Hi All,

The list template using content type

Created list based on existing list template, added one record, after clicking on list item I got below error.


<nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/http://wss4dev01".

[FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/http://wss4dev01".]
   Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +0
   Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +5815
   Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) +620
   Microsoft.SharePoint.SPListCollection.EnsureListsData(String strListName) +49
   Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException) +149
   Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException) +77
   Microsoft.SharePoint.WebControls.SPDataSourceView.GetList(SPContext context, SPWeb web, Guid listId, String listName) +352


[InvalidOperationException: Unable to open the specified list.]
   Microsoft.SharePoint.WebControls.SPDataSourceView.GetList(SPContext context, SPWeb web, Guid listId, String listName) +652
   Microsoft.SharePoint.WebControls.SPDataSourceView.GetListAndListItemFromParameters(Dictionary`2 parametersDictionary, SPWeb& c

解决方案

Hi

What kind of list template do you use? custom or out of box one?

What is your site's URL?


这篇关于基于现有列表模板创建列表,添加一条记录,点击列表项后我收到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆