Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

"Could not find schema information for the element 'http://schemas.m..."

  Asked By: Leila Dillon         Date: Mar 12, 2010      Category: Sharepoint      Views: 659
 

I am trying to create a custom workflow using info path(MOSS 2007 n VS
2008).

But I m getting below ERRORS in Workflow.xml:

1. Could not find schema information for the element '
http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/:StatusPageUrl'.
2.Could not find schema information for the element '
http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/:Task0_FormURN'.
3.Could not find schema information for the element '
http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/:Instantiation_FormURN'.
4.Could not find schema information for the element '
http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/" target="_blank" rel="nofollow">http://schemas.microsoft.com/sharepoint/:Association_FormURN'.


am I missing something.......
Thoughts Please.

Tagged:                    

 

3 Answers Found

 
Answer #1       Answered By: Angel Matthews          Answered On: Mar 12, 2010       

When you loaded the InfoPath forms you create  as part of the workflow  do you add
the URN: address of the forms to the Elements.xml file used to install the
workflow? You can get the URN: by opening the form in InfoPath and accessing
the Properties on the File menu.

 
Answer #2       Answered By: Ravindra Salvi          Answered On: Mar 12, 2010       

I have added the code in workflow  .xml below is the
code:
But I Could not find  any Elements.xml


<?xml version ="1.0" encoding ="utf-8"?>
<Elements xmlns ="http://schemas.microsoft.com/sharepoint/">
<Workflow Name="Sharepoint Workflow"
Description="This is a simple workflow implementation"
Id="8689AA16-E7D1-426B-8691-86C0642EE74D"
CodeBesideClass="TaskProcessWFLibrary.TaskProcessorWF"
CodeBesideAssembly="TaskProcessWFLibrary, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=1593003598c3ab56"
TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"

AssociationUrl="_layouts/CstWrkflIP.aspx"
ModificationUrl="_layouts/ModWrkflIP.aspx">
<Categories />
<MetaData>

<Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:TaskInitiation:\
-myXSD-2009-02-18T05-12-06</Instantiation_FormURN>
<Association_FormURN>urn:schemas-microsoft-com:office:infopath:TaskInitiation:-m\
yXSD-2009-02-18T05-12-06</Association_FormURN>
<Task0_FormURN>urn:schemas-microsoft-com:office:infopath:TaskChanged:-myXSD-2009\
-02-18T06-25-28</Task0_FormURN>
<StatusPageUrl>_layouts/wrkStat.aspx</StatusPageUrl>
</MetaData>
</Workflow>
</Elements>

 
Answer #3       Answered By: Rahul Sharma          Answered On: Mar 12, 2010       

Elements.xml is the generic name used for this file in all features. In
workflows it is commonly renamed workflow.xml. As long as the name is
referenced in the Feature.xml it doesn't matter.

I see two problems in the code below.

1) you are trying to use aspx forms as I remember, but your workflow.xml
references Infopath form URNs for Instantiation, Association, and Task forms. I
doubt these exist in your environment.
2) The StatusPageURL entry should be the line under the ModificationUrl entry.
Its in the wrong place and is being interpreted as an InfoPath form.

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].