Element type "application" must be followed by either attribute specifications, " " or "/ "

I'm new to Flex/Flash Builder, and am immediately hit with this error when creating a new Flex project.
<?xml version="1.0" encoding="utf-8"?>
<application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"min_size>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</application>

minsize was the indeed the issue.  Is it typical for the generated code to be broken like this?  Now when I try to switch to Design view, it says that an unknown item is declared as the root of the XML, and that I should flip back to Source view, but Source view isn't showing an error.  Is my install of the FB beta not functioning properly?  Maybe I need to start with an even more noobified tutorial?  I'm completely new to developing MXML app's, and components, but experienced with the Flex SDK, and IDE for AS3 development.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:Application>

Similar Messages

  • Element type "netuix:desktop" must be followed by either attribute specifications, " " or "/ "

    Hi,
    I've a portal.portal created using WLW8.1SP2
    I used SP4 to deploy the portal and got the Exception included at the end
    of this message.
    My portal.portal netuix:desktop is below:
    <netuix:desktop definitionLabel="defaultDesktopLabel" markupName="desktop"
    markupType="Desktop" tit le="
    Portal Desktop">
    no editing has been done. I created the staffportal desktop to use this
    template via the Portal Admin.
    I've tried removing the desktop via the Admin and re-create - problems
    persist.
    There's no documentation on this on BEA website.
    the console log:
    ================
    org.xml.sax.SAXParseException: Element type "netuix:desktop" must be
    followed by either attribute specifications, ">" or "/>".
    at
    weblogic.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.jav
    a:232)
    at
    weblogic.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213)
    at
    weblogic.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:375)
    at
    weblogic.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:305)
    at
    weblogic.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1269)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragment
    ScannerImpl.java:736)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(X
    MLDocumentFragmentScannerImpl.java:1477)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScan
    nerImpl.java:329)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
    at
    weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at
    weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
    at
    com.bea.netuix.nf.container.jsp.tags.StreamingControlFactoryBuilder.getNetuixControlFactory(Str
    eamingControlFactoryBuilder.java:166)
    at
    com.bea.netuix.servlets.manager.PortalServlet.createPortalAccessData(PortalServlet.java:932)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getAnonymousPortalAccessData(PortalServlet.java:8
    22)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getCustomizedPortalAccessData(PortalServlet.java:
    885)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessDataForDesktop(PortalServlet.java:
    789)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessData(PortalServlet.java:681)
    at
    com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:587)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at portal.LoginFilter.doFilter(LoginFilter.java:30)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
    at
    jsp_servlet._login.__stfpauthenticate._jspService(STFPauthenticate.jsp:770)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:223)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext
    .java:6724)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.servlet.ServletException: com/bea/netuix/logging/NetUILoggerFactory
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:469)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at portal.LoginFilter.doFilter(LoginFilter.java:30)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
    at
    jsp_servlet._login.__stfpauthenticate._jspService(STFPauthenticate.jsp:770)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:223)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext
    .java:6724)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hi,
    I've a portal.portal created using WLW8.1SP2
    I used SP4 to deploy the portal and got the Exception included at the end
    of this message.
    My portal.portal netuix:desktop is below:
    <netuix:desktop definitionLabel="defaultDesktopLabel" markupName="desktop"
    markupType="Desktop" tit le="
    Portal Desktop">
    no editing has been done. I created the staffportal desktop to use this
    template via the Portal Admin.
    I've tried removing the desktop via the Admin and re-create - problems
    persist.
    There's no documentation on this on BEA website.
    the console log:
    ================
    org.xml.sax.SAXParseException: Element type "netuix:desktop" must be
    followed by either attribute specifications, ">" or "/>".
    at
    weblogic.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.jav
    a:232)
    at
    weblogic.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:213)
    at
    weblogic.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:375)
    at
    weblogic.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:305)
    at
    weblogic.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1269)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragment
    ScannerImpl.java:736)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(X
    MLDocumentFragmentScannerImpl.java:1477)
    at
    weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScan
    nerImpl.java:329)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
    at
    weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
    at
    weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at
    weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
    at
    com.bea.netuix.nf.container.jsp.tags.StreamingControlFactoryBuilder.getNetuixControlFactory(Str
    eamingControlFactoryBuilder.java:166)
    at
    com.bea.netuix.servlets.manager.PortalServlet.createPortalAccessData(PortalServlet.java:932)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getAnonymousPortalAccessData(PortalServlet.java:8
    22)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getCustomizedPortalAccessData(PortalServlet.java:
    885)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessDataForDesktop(PortalServlet.java:
    789)
    at
    com.bea.netuix.servlets.manager.PortalServlet.getPortalAccessData(PortalServlet.java:681)
    at
    com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:587)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at portal.LoginFilter.doFilter(LoginFilter.java:30)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
    at
    jsp_servlet._login.__stfpauthenticate._jspService(STFPauthenticate.jsp:770)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:223)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext
    .java:6724)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.servlet.ServletException: com/bea/netuix/logging/NetUILoggerFactory
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:469)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at portal.LoginFilter.doFilter(LoginFilter.java:30)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
    at
    jsp_servlet._login.__stfpauthenticate._jspService(STFPauthenticate.jsp:770)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:223)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext
    .java:6724)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • Could not generate stub object - The element type "META" must be terminated by the matching end-tag "".

    I am getting the following error message when I try invoking
    a webservice.
    Could not generate stub objects for web service invocation.
    Name: ProgrammePrivilege. WSDL:
    https://clientaccweb.reseaudistinction.com/CardHolderInfo.asmx?WSDL.
    org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The
    element type "META" must be terminated by the matching end-tag "".
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    The problem is, the webservice is working fine, the
    application was working yesterday, the error message just appears
    after a couple of days and I have to refresh the service in the CF
    Administrator. Once I refresh it, everything starts working again.
    Anyone else got this problem? ANY help would be appreciated!
    If you guys need my code anyway, I can attach it but like I
    said, everything works for a couple of days, then, out of the blue,
    it stops working so I doubt that it's my CFINVOKE that's the
    problem...

    Similar kind of problems here - reported back to Adobe a
    couple of months ago, so let's wait and hope for the best. My
    problems have related to registering multiple web services and
    executing them. One problem is that, If I register two identical
    (and quite complex) web services, I can only execute either of
    them. After CF restart, either of them works, but invoking the
    other doesn't work.
    For example; CF_Restart -> Try A first, A works -> B
    doesn't. Also, CF_Restart -> Try B first, B works -> A
    doesn't.
    CFMX7.0.2, Apache 2.2, WinXP

  • Element type "translatable" must be declared. Message - my first faces page

    Good day,
    I kept getting this stack trace on my first adf faces page test.
    I am deploying the application on glassfish but I don't think that it should be a problem because I have deployed the adffaces demo.
    The stacktrace is
    [#|2009-07-02T20:46:11.312+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=Thread-33;_RequestID=3a89d3e0-ef35-4b07-9ac5-ceef7ea89af6;|WebModule[/webapp1]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    javax.faces.FacesException: Can't parse configuration file: jar:file:/C:/Sun/AppServer/domains/domain1/applications/j2ee-modules/webapp1/WEB-INF/lib/dvt-faces.jar!/META-INF/faces-config.xml: Error at line 95 column 25: Element type "translatable" must be declared.
         at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
         at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
         at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
         at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
         at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537)
         at java.lang.Thread.run(Thread.java:595)
    What am I doing wrong??
    Regards,

    Were you able to get this to work on GlassFish? I am running into the same issues when I attempt to load my initial test page. I've followed the advice from most of the postings; however, they tend to be Tomcat centric. Here is the error I can't get past:
    #|2009-10-27T10:46:25.123-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=pool-1-thread-7;_RequestID=06125f94-b2cd-4ea9-ac22-651ef9ce4d62;|WebModule[TestApp-AppViewController-context-root]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    javax.faces.FacesException: Can't parse configuration file: jndi:/server/TestApp-AppViewController-context-root/WEB-INF/faces-config.xml: Error at line 2 column 71: cvc-elt.1: Cannot find the declaration of element 'faces-config'.
         at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:376)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
         at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
         at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
         at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    |#]
    Any help would be greatly appreciated!
    Ed

  • IREPORT : Exception: Element type "topPen" must be declared?

    i am making a report with IReport plugin it is running in Preview.
    when i call this report in JAVA code it give me Exception
    Nov 15, 2008 10:45:13 AM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 43 column 79: Element type "topPen" must be declared.
    org.xml.sax.SAXParseException: Element type "topPen" must be declared.
            at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
            at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
            at org.apache.commons.digester.Digester.parse(Digester.java:1647)
            at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238)
            at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
            at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213)
            at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
            at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
    JAVA code
    try {    
            ConnectDB con = new ConnectDB();
            Map parameters = new HashMap();
            parameters.put("regNo", "2");
            JasperDesign jasperDesign = JRXmlLoader.load("c:/agreement.jrxml");
            JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
            JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, con.getConnection());    
            JasperViewer.viewReport(jasperPrint);
        } catch (Exception ex) {
            JOptionPane.showMessageDialog(this, ex );  
        }

    thanks for reply.
    i made report with the help of wizard.
    Either your XML is invalid according to its DTD, or the DTD is invalid.
    how can i resolve this problem?

  • Fatal Error:-The element type "br" must be terminated while download image

    Hi ,
    I am downloading images from Flickr webserver using Flickr API.While parsing the url usinfg document object
    I got the fatel error:
    *[Fatal Error] ?method=flickr.photos.getRecent&api_key=myapikey&tags=&per_page=10&page=1:16:155: The element type "br" must be terminated by the matching end-tag "</br>".*
    The requested url to download the image is :-
    "http://www.flickr.com/services/rest/?method=flickr.photos.getRecent&api_key=myapikey&tags=&per_page=10&page=1"
    what is the problem in this.Please help my out here.
    Thanks in advance.
    Thanks and Regards,
    Kalpesh Jain

    Sorry for missing letter 'h'.
    The actual URL is this "http://www.flickr.com/services/rest/?method=flickr.photos.getRecent&api_key=my_api_key&tags=tiger&per_pa
    ge=10&page=1"
    When paste this url into browser then following contain are display:-
    <?xml version="1.0" encoding="utf-8" ?>
    - <rsp stat="ok">
    - <photos page="1" pages="100" perpage="10" total="1000">
    <photo id="3637930746" owner="80714421@N00" secret="dcffaf4ceb" server="3410" farm="4" title="IMG_9002e" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637930724" owner="32405530@N00" secret="cdab38ff2d" server="3628" farm="4" title="P6132622" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637930706" owner="56529377@N00" secret="80fab8f394" server="3657" farm="4" title="DSCN0127" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637117815" owner="15586202@N00" secret="efc096d2e6" server="3637" farm="4" title="IMG_0329" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637117783" owner="42809587@N00" secret="086c2f05a7" server="3376" farm="4" title="N628CC" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637117761" owner="28756676@N02" secret="5583b7a2b8" server="2468" farm="3" title="18062009609-001" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637117659" owner="31242357@N07" secret="edcf46b7ea" server="2427" farm="3" title="_DSC0033_edited-1_filtered" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637930808" owner="99361158@N00" secret="895cf707b3" server="3618" farm="4" title="_DSC7786" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637930800" owner="91431624@N00" secret="d157f95156" server="3602" farm="4" title="DSCF5530" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="3637930790" owner="31507225@N00" secret="8b7fa39d3d" server="3595" farm="4" title="Library - 3094" ispublic="1" isfriend="0" isfamily="0" />
    </photos>
    </rsp>
    Thanks and Regards,
    Kalpesh

  • The element type jsp:useBean must be terminated by the matching end-tag

    Hi, I have deployed an application under WLS 8.1 SP4 and I get this error, when I try to access a page. I searched through the BEA site and it does refer to solution id S-13709 which says issue has been fixed in WLS 7.0. Hence should I not be seeing this error?
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xml.sax.SAXParseException: The element type "jsp:useBean" must be terminated by the matching end-tag "</jsp:useBean>"., "

    It would be useful if you provided a little more information about what you're trying to do on your JSP page. For instance, are you using an include directive or include action on the page? Are you trying to start the "jsp:useBean" element in one file, and end it in another? That, in particular, would likely be rejected.

  • HT6114 I have an iMac running OS X 10.5.8, and in order to run newer applications I apparently need to upgrade my OS.  Since this OS is fairly old, what steps must I follow to get my computer up to date?  I seem to recall hearing that it may take several

    I have an iMac running OS X 10.5.8, and in order to run newer applications I apparently need to upgrade my OS.  Since this OS is fairly old, what steps must I follow to get my computer up to date?  I seem to recall hearing that it may take several steps and may require new versions of iWorks and iLife (at least)

    The relevant information is:
    Model Name:          iMac
      Model Identifier:          iMac9,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.93 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          6 MB
      Memory:          4 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          IM91.008D.B08
    Chipset Model:          NVIDIA GeForce GT 120
      Type:          Display
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0655
      Revision ID:          0x00a1
      ROM Revision:          3370
      Displays:
    iMac:
      Resolution:          1920 x 1200
      Depth:          32-Bit Color
      Core Image:          Hardware Accelerated
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Quartz Extreme:          Supported
      Built-In:          Yes
    Display Connector:
      Status:          No Display Connected

  • Document type declaration for root element type "web-app" must end with ' '

    I am attempting to deploy an application (.war file) using the Sun Access Manager Agent installed, (Reference http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view -near the bottom) and I get this error:
    Error loading deployment descriptors for ajacs Line 3 Column 19 -- The document type declaration for root element type "web-app" must end with '>'.
    Here is the relavent code:
    <!DOCTYPE web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <web-app>
    <filter>
    <filter-name>Agent</filter-name>
    <filter-class> com.sun.identity.agents.filter.AmAgentFilter </filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Agent</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <display-name>AJACS</display-name>
    <welcome-file-list>
    <welcome-file>frameSet.jsp</welcome-file>
    </welcome-file-list>
    etc...
    Now, when I remove the parts that http://docs.sun.com/app/docs/doc/819-3201/6n5eht3k4?a=view said to add, it deploys just like it used to deploy- just fine with no errors. However, I add that code and it breaks.
    Note: The code was a straight copy/paste, so if there is any error in the code, it is because it's written incorrectly on the Sun doc website.
    Any help would be MUCH appreciated. Thanks!

    Well, if that was pasted on one line, it would be:
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    So it's supposed to be that way. I just tried it with the extra quotes, and no dice...

  • Error: Element type "stateful-session-descriptor" must be declared ?

    Hi,
    while running the ant i am getting this error.
    jar_ejb:
    [jar] Building jar: D:\bdms\src\ejbdist\std_ejb_bdms_eapm.jar
    ejbc:
    [java]
    [java] ERROR: ejbc found errors while parsing the descriptor for src/ejbdis
    t/std_ejb_bdms_eapm.jar:
    [java]
    [java]
    [java]
    [java] ERROR: Error from ejbc: Error parsing file 'META-INF/weblogic-ejb-ja
    r.xml' at line: 394 column: 55. Element type "stateful-session-descriptor" must
    be declared.
    [java]
    [java]
    [java] ERROR: ejbc couldn't load descriptor from jar
    [java]
    [java] Java Result: 1
    Here with i have included the ejb-jar.xml & weblogic-ejb-jar.xml lines. I am using a service locator to call the ejb. please help me.
    ejb-jar.xml
    <session>
    <ejb-name>ValueListHandlerEJB</ejb-name>
    <home>com.pagination.ValueListHandlerEJBHome</home>
    <remote>com.pagination.ValueListHandlerEJBRemote</remote>
    <ejb-class>com.pagination.ValueListHandlerEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
         <res-ref-name>jdbc/DataSource</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
    </resource-ref>
         </session>
    weblogic-ejb-jar.xml
    <weblogic-enterprise-bean>
    <ejb-name>ValueListHandlerEJB</ejb-name>
    <stateful-session-descriptor>
    <stateful-session-cache>
         <max-beans-in-cache>100</max-beans-in-cache>
         <idle-timeout-seconds>600</idle-timeout-seconds>
    </stateful-session-cache>
    </stateful-session-descriptor>
         <reference-descriptor>
    <resource-description>
              <res-ref-name>
    jdbc/DataSource
    </res-ref-name>
         <jndi-name>
    adslDataSource
    </jndi-name>
    </resource-description>
         </reference-descriptor>
         <enable-call-by-reference>True</enable-call-by-reference>
         <jndi-name>ValueListHandlerEJB</jndi-name>
    </weblogic-enterprise-bean>

    but a bean's deployment descriptor lies in the
    meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
    Regards,
    $ Carol.

  • Content-Type=application/x-www-form-urlencoded with UTF-8  data which servlet fails to interpret correctly .

    My Environment is Weblogic 6.1 SP2 on WIN2K.
    I have an HTTP client sending an HTTP request with
    Content-Type=application/x-www-form-urlencoded
    the data in HTTP request is in UTF-8. Note that HTTP client does not specify charset=UTF-8
    as part of the Content-Type.
    I have a servlet "VosXmlEvents" processing this HTTP request.
    The HTTP request contains data like &#8220;Zoë&#8221; which the servlet below
    interprets as &#8220;Zoë&#8221; causing me to think that my deployment settings
    might be wrong.
    My Deployment settings:
    In weblogic.xml deployment descriptor I have specified following:
    <charset-params>
    <!-- I specified this so that I can tell to weblogic that HTTP request data is
    UTF-8 so weblogic can successfully convert it to ISO-8859-1 as per Java servlet
    spec.-->
    <input-charset>
    <resource-path>/vos/events/xml/*</resource-path>
    <!-- I tried both UTF8 and UTF-8 and got same results-->
    <java-charset-name>UTF8</java-charset-name>
    </input-charset>
    <!-- I specified the the settings below just to be on the safe side, as I have
    seen java documentation, newsgroups etc. using slightly different, names for the
    same char encoding/canonical names . Java uses MIME preferred names,I think I
    dont have to do this but I hope specifying these should not do any harm either,
    am I correct in assuming it? (see reference 1 and 2. below for details)-->
    <charset-mapping>
    <iana-charset-name>ISO_8859-1:1987</iana-charset-name>
    <java-charset-name>ISO-8859-1</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>ISO_8859-1:1987</iana-charset-name>
    <java-charset-name>ISO8859_1</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>UTF-8</iana-charset-name>
    <java-charset-name>UTF-8</java-charset-name>
    </charset-mapping>
    <charset-mapping>
    <iana-charset-name>UTF-8</iana-charset-name>
    <java-charset-name>UTF8</java-charset-name>
    </charset-mapping>
    </charset-params>
    My web.xml has:
    <servlet>
    <servlet-name>VosXmlEvents</servlet-name>
    <servlet-class>some class name</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>VosXmlEvents</servlet-name>
    <url-pattern>/vos/events/xml/*</url-pattern>
    </servlet-mapping>
    According to Servlet spec. 2.3 sec. SRV.4.9 Request data encoding, cut pasting
    from spec below:
    "Currently, many browsers do not send a char encoding qualifier with the Content-Type
    header, leaving open the determination of the character encoding for reading HTTP
    requests. The default encoding of a request the container uses to create the request
    reader and parse POST data must be &#8220;ISO-8859-1&#8221;, if none has been
    specified by the client request. However, in order to indicate to the developer
    in this case the failure of the client to send a character encoding, the container
    returns null from the getCharacterEncoding method.
    If the client hasn&#8217;t set character encoding and the request data is encoded
    with a different encoding than the default as described above, breakage can occur.
    To remedy this situation, a new method setCharacterEncoding(String enc) has been
    added to the ServletRequest interface. Developers can override the
    character encoding supplied by the container by calling this method. It must be
    called prior to parsing any post data or reading any input from the request. Calling
    this method once data has been read will not affect the encoding."
    Q1. Should not <input-charset> related settings in weblogic.xml for a servlet
    helps container actually do some thing like setCharacterEncoding(String enc) on
    HTTP Request before it call the servlet?
    Q2. If not then that would mean I have to programatically call setCharacterEncoding(String
    enc)to correctly interpret my HTTP Request?
    Q3. If the answer to Q1 is "yes" then I will assume that getInputStream() or getReader()
    methods on the HttpServletRequest will give the chacter in the client encoded
    format which in this case is UTF-8, i.e I will get "Zoë" as in this example. Am
    I correct here?
    Reference:
    1. http://edocs.bea.com/wls/docs70/webapp/components.html#139932
    2. http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html

    Stefan,
    Thanks for the information. I have the following question then.
    The Webserver I am interacting with does not recognize user and password provided in the channel. It accepts user and pwd in payload and in application/x-www-form-urlencoded  content type only.
    Sample Raw Post that server server requires looks like this
    User=yourname&Password=yourpassword&INPUT_XML=%3C%3Fxmlversion%3D%221.0%22standalone%3D%22no%22%3F%3E%3CDELIVERY%3E%3CMESSAGE%3E%0D%0A++++%3CDESTINATION_ADDR%3E%2B447900570205%3C%2FDESTINATION_ADDR%3E%%3C%2FMESSAGE%3E%0D%0A%0D%0A%3C%2FDELIVERY%3E%
    What i have done is that constructed the post manually in Java code in un encoded form and expected the HTTP Adapter to do the encoding. Having done this, the HTTP Server is able to scuccessfully parse the xml except for & and < , > chars which err out as invalid XML.
    Is there an elegant way of doing above scenario using XML post and standard HTTP Adapter.
    Best Regards,
    Sudharshan N A

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • Failed to load deployable object part 'AmendAgrmntApp', type 'Application'

    hi,
    I have deployed a DC on server. I can run the application indepemdently. But when I try to create the URL of this application using WDURLGenerator.getApplicationURL (as I want to call this application from another application), i get the following exception
    com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to load deployable object part 'AmendAgrmntApp', type 'Application' of deployable object 'aramco.com/itcaesaleswebamndagrmnt'.
    Failed to generate URL to deployable object 'aramco.com/itcaesaleswebamndagrmnt', application 'AmendAgrmntApp'
    Please suggest a solution
    Thanks !
    seventyros

    According to the API at http://help.sap.com/javadocs/NW04S/SPS09/wd/com/sap/tc/webdynpro/services/sal/url/api/WDURLGenerator.html
    There must be a deployable object part of type WDDeployableObjectPartType.APPLICATION with the given applicationPartName within the deployable object with name deployableObjectName

  • Unit of measure for calculation type C must be completed

    Hi All
    When releasing some contracts in SRM , we are getting the error message as above.
    The error message doesn't specify any particular part and the contract has more than 3000 parts.
    There are no conditions at header or item level.
    There is no Target quantity also. Just a Target value for the contract and prices for individual items are maintained.
    We are using extended classic scenario and the contract is manually created in SRM.
    I have checked the OSS notes for this error, but they are mostly for contract creation in Bidding and not for a manually created SRM contract.
    We checked the UOMs for all the contract parts with the UOMs ( Base and Purchasing) in ECC Material Master and they are OK.
    In our scenario , MM changes in ECC are replicated to SRM in real time
    Any pointers towards pin pointing the error will be rewarded!
    Regards
    Kedar

    Hi,
    We encountered this error message and resolved the problem by applying the following 3 SAP Notes:
    a)     Note #1022928 - Unit of Measure for Calculation Type C Must Be Completed
            (Previously Mentioned)
    b)     Note #1702484 - Unit of Measure for Calculation Type C Must Be Completed
    c)     Note #1517648 - Default Conditions Added for Product Category Item Type
    Although the contract required is similar to a "Limit" item, but had to be placed for bid, then the RFX PS Item Type was set to "Service" to receive the bid responses.  After accepting the bid response, then we created a contract from the bid response.  Since it was to be a "Limit" type contract, then we immediately removed the data from the following fields:
    Remove the Quantity
    Remove the Unit of Measure
    Remove the Price
    Remove the Price Condition
    After removing the values from these fields, then we switched the PS Item Type from "Service" to "Product Category".  We added the Guaranteed Minimum and account assignment data to encumber the funds.  We were able to "Release" the contract successfully.
    Bob Zinsmeister

  • Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.

    Hi,
    I have written code for 'Export To Excel' in the visual web part as below
    //ascx file    
    <table>
        <tr>
            <td>From Date:</td>
            <td><SharePoint:DateTimeControl ID="dtFromDate" runat="server" DateOnly="True" /></td>
        </tr>
        <tr>
            <td>To Date:</td>
            <td><SharePoint:DateTimeControl ID="dtToDate" runat="server" DateOnly="True" TimeOnly="False" /></td>
        </tr>
        <tr>
          <td>Report Type:<asp:DropDownList ID="ddlreporttype" runat="server"><asp:ListItem>Consolidated</asp:ListItem><asp:ListItem>Question Wise</asp:ListItem></asp:DropDownList></td>
            <td>
                <br />               
                <asp:GridView ID="gvwikireport" runat="server">
                </asp:GridView>                   
            </td>
        </tr>   
        <tr>
            <td><asp:Button ID="btnExportToExcel" runat="server" Text="Export To Excel" OnClick="btnExportToExcel_Click"/></td>
        </tr>  
        </table>
    //cs file
    protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                    BindGridview();
    private void BindGridview()
                DataTable dt = new DataTable();
                dt.Columns.Add("UserId", typeof(Int32));
                dt.Columns.Add("UserName", typeof(string));
                dt.Columns.Add("Education", typeof(string));
                dt.Columns.Add("Location", typeof(string));            
                dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
                dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
                dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
                dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
                dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
                dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
                gvwikireport.DataSource = dt;
                gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
                Page.Response.ClearContent();
                Page.Response.Buffer = true;
                Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
                Page.Response.ContentType = "application/ms-excel";
                StringWriter sw = new StringWriter();
                HtmlTextWriter htw = new HtmlTextWriter(sw);
                gvwikireport.AllowPaging = false;
                BindGridview();
                //Change the Header Row back to white color
                gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
                //Applying stlye to gridview header cells
                for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
                    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
                gvwikireport.RenderControl(htw);
                Page.Response.Write(sw.ToString());
                Page.Response.End();            
    But after clicking the 'Export To Excel' button i am getting the below error
    Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.
    In case if i am modifying the code as below I am getting error as 'page can have only one server tag'.
    <form id="frmgrdview" runat="server">
     <asp:GridView ID="gvwikireport" runat="server">
                 </asp:GridView></form>
    So please share your ideas/thoughts on the same.
    Regards,
    Sudheer 
    Thanks & Regards, Sudheer

    Hi,
    According to your post, my understanding is that you fail to export to excel.
    I create a demo as below, it works well.
    <table>
    <tr>
    <td>
    <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    <asp:GridView ID="gvwikireport" runat="server">
    </asp:GridView>
    </td>
    <td>
    <br />
    <asp:Button ID="btnExportToExcel" runat="server"
    onclick="btnExportToExcel_Click" Text="Export to excel" />
    </td>
    </tr>
    </table>
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Data;
    using System.IO;
    namespace Export_to_Excel.VisualWebPart1
    public partial class VisualWebPart1UserControl : UserControl
    protected void Page_Load(object sender, EventArgs e)
    if (!Page.IsPostBack)
    BindGridview();
    private void BindGridview()
    DataTable dt = new DataTable();
    dt.Columns.Add("UserId", typeof(Int32));
    dt.Columns.Add("UserName", typeof(string));
    dt.Columns.Add("Education", typeof(string));
    dt.Columns.Add("Location", typeof(string));
    dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
    dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
    dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
    dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
    dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
    dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
    gvwikireport.DataSource = dt;
    gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
    Page.Response.ClearContent();
    Page.Response.Buffer = true;
    Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
    Page.Response.ContentType = "application/Excel";
    StringWriter sw = new StringWriter();
    HtmlTextWriter htw = new HtmlTextWriter(sw);
    gvwikireport.AllowPaging = false;
    BindGridview();
    //Change the Header Row back to white color
    gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
    //Applying stlye to gridview header cells
    for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
    gvwikireport.RenderControl(htw);
    Page.Response.Write(sw.ToString());
    Page.Response.End();
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Adding new custom field in already existing custom tab for MM01

    Hello Guru, I have a requirement that add a custom field in already existing custom view of MM01. I did the following steps : 1. I have cerated a new field in MARA using APPEND structure. 2. I have found the function group(Y_FE_MARA) that already the

  • Connecting iPod to the wall Speakers

    Hello, Can anybody help me I have left and right input jacks in my living room for my wall speakers throught my house. How should I connect my iPod to it, what type of accessories will I need? Thanks

  • Delete/Stop Scheduling Agreement Release (Purchasing)

    Hi, I have a question concerning releases of a purchasing scheduling agreement in SAP APO. Basically very simple - how can I delete them or at least stop them? I did not find any transaction or report to do so (only for SD scheduling agreement releas

  • Simple question, how do I get the date to print on pictures? Using IPhoto 11

    I just want to print a my husband's photo's with the date on it. IPhoto does not show how and I am new to Apple. Please help with this very simple or should be function.

  • 7.1.5 update disabled my MPEG-2 Component?

    i recently updated to the 7.1.5 version of quicktime everything seems to be working fine, i still have my pro capabilitys and the internet plug-in functions fine, but now the MPEG-2 component appears to not be working/missing. I frequently am working