Visual Web Developern 2010 Express

I am trying to install the Web Platform Installer 5.0 so that I can download Visual Web Developer 2010 Express. It does not seem to be installing. It evidently is running, at least the task Manager says it is. I let it run all night, Probably a total
of 14hrs, but still not loaded. Any Help?

As your issue is with WPI, I suggest that you visit the IIS forums and ask in the WPI forum here:
http://forums.iis.net/1155.aspx/1?Web+Platform+Installer

Similar Messages

  • Visual Web Developer 2010 Express and Oracle ODAC - Oracle data provider

    system - xp pro
    Microsoft Visual Web Developer 2010 Express and Oracle ODAC112021.
    I can't seem to get the ODAC to work correctly with the Web Developer Express. When putting in a gridview I only see the standard adapters. The one from Oracle does not appear. I have spent days trying to figure out why but no luck. No one else seems to have this problem. I do not see any errors when I installed the ODAC. I've followed a few tutorials.
    http://weblogs.asp.net/nannettethacker/archive/2010/09/17/installing-oracle-data-access-components-odac.aspx
    and
    http://www.smart-soft-nz.com/oracle-and-asp-dot-net.html
    I tried using the Windows adapters but they just don't seem to work. I can get results in the query builder but when I go to the next step in the wizard I get the constraints error. I've done all the research on that with no luck so I wanted to use the ODAC. This killing me! This really shouldn't be that hard. I've added the dll to the references but again it's just not an option. If anyone could give me a little direction that would be great!!!!!!!!!!!!!!!!!!!!!!
    Thank you
    John

    Dear Friends,
    Installing SP1 and updates to it solved the first issue. So the database now seems to be of type 2008 R2.
    Deleting some files solved the second issue.
    However, another issue remains.
    My most important projects were created with a version of VWDX 2010 that was downloaded from Microsoft and installed on July 3, 2012. This version of VWDX has now been lost, because my hard drive recently ceased to function and had to be replaced.
    On the new hard drive I have a version of VWDX 2010 that was downloaded yesterday (May 28, 2014). As indicated above, I also installed SP1 and related updates.
    When I load a project that was created in the version of VWDX 2010 that was installed almost two years ago and try to open the database connection, I get, in essence, the following error message:
    "The database C:\Users\...\Database.mdf cannot be opened, because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported."
    So it seems that the original database version was 661, whereas the version downloaded yesterday is 655. It seems very strange that a version downloaded now should be earlier than a version downloaded two years ago. Does anyone have an explanation or a solution?
    Thank you all for your trouble, and best regards.
    Eric (orexin)
    P.S. The site from which I obtained VWDX yesterday was:
    www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-web-developer-express and the executive was called VWD2010SP1AzurePack.exe.

  • Groupwise.wsdl in Visual Studio Web Developer 2010 Express

    Hello,
    I'm trying to add a "Service Reference" in VS Web Developer 2010 Express by importing the groupwise.wsdl file.
    Everything looks fine when importing the file/adding the reference but when using it several things are missing (e.g. there is no GroupWiseBinding)
    I tried with the groupwise.wsdl file of GW 8 and GW 7 SP3.
    Should I use another .wsdl file or is this just not supported by VS Web Developer? (it works fine in Visual Studio 2010 Express)
    Tx, vha

    Originally Posted by vha001
    Hello,
    I'm trying to add a "Service Reference" in VS Web Developer 2010 Express by importing the groupwise.wsdl file.
    Everything looks fine when importing the file/adding the reference but when using it several things are missing (e.g. there is no GroupWiseBinding)
    I tried with the groupwise.wsdl file of GW 8 and GW 7 SP3.
    Should I use another .wsdl file or is this just not supported by VS Web Developer? (it works fine in Visual Studio 2010 Express)
    Tx, vha
    Replying to an old thread, but since i walked into this problem myself and google could not not help me, maybe this is usefull for others.
    In Visual Studio 2010 (and 2008) you will need to add a Web Reference, not a Service Reference.
    This is done by right clicking on References, selecting "Add Service Reference", clicking Advanced, and then "Add Web Reference".
    Ray

  • How do i use directX in microsoft visual basic studio 2010 express ?

    i am writing code to graph stock market prices using microsoft visual basic studio express
    i want fast response (i do machine language) using directX
    this is my problem
    i have never used directX, and i have never used directX in visual basic studio
    i followed a tutorial that went like this
      Reference: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Imports: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Declare: Private D3Ddev As Device = Nothing
                 Private D3Dpp As PresentParameters = Nothing
                 Private DP As DisplayMode = Nothing
    i found the reference dll's at C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0
    when i imported microsoft.directX.direct3DX i got error #1
    namespace or type specified in the imports 'microsoft.directX.direct3DX' doesn't contain any public member or cannot be found...
    the same error occurs wether i use direct3DX \1.0.2911.0 or \1.0.2902.0
    when i built and ran, i got error #2
    microsoft visual basic 2010 express is waiting for an operation to complete ...
    it hangs and i have to soft reset ctrl-alt-del
    error #3
    when i reference
      Microsoft.DirectX
      Microsoft.DirectX.Direct3D and
      Microsoft.DirectX.Direct3DX
      from C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0,
    all my declares work:
            D3Dpp = New PresentParameters()                             'Initialize
    some stuff for the Presentation parameters
            D3Dpp.BackBufferFormat = DP.Format
            D3Dpp.BackBufferWidth = DP.Width
            D3Dpp.BackBufferHeight = DP.Height
            D3Dpp.SwapEffect = SwapEffect.Discard                       'There's flip, copy, and discard. Flip and Discard
    are used most often.
            D3Dpp.PresentationInterval = PresentInterval.Immediate      'Present the scene immediately
    but when i start debugging (f5), i get this error message:
    mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information
    i dont fully understand the visual studio process, but i think 'mixed mode' means run and debug. two seperate app's
    i know this is a long question, but the forums don't answer it properly
    i want it answered concisly. i am running windows 7 basic, and this is my question
    can somebody give me a dozen lines of directX code that will work with my system, so that i can at least draw a line using directX 2D and 3D ?
    thanks everybody :)

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Since your issue is related to DirectX, I suggest you consult on DirectX forum:
    http://xboxforums.create.msdn.com/forums/ for better response.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connection of Mysql with visual web developer 2010 using visual basic

    Aslam o Alaikum friends,
    i want to connect my asp.net website with mysql database. i have successfully installed mysql and mysql connector 6.3.6
    but i don't know how to connect my website with mysql database 
    please anyone can help me

    Hello,
    This should be asked in Microsoft's ASP.Net forums:
    http://forums.asp.net/
    As Microsoft's ASP.Net forums are on a different platform, we cannot move the question for you.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Having Trouble Installing Visual C# 2010 Express from ISO and from Web

    I have Windows 7 Home Premium Service Pack 1, and I am trying to install Microsoft Visual C# 2010 Express from the Web and also tried from the ISO. But, the installation program is stalling and then not installing the programs....any ideas on what I can
    do to help with this install. Thanks.

    Hello JWDog,
    Please following the article below to collect logs:
    https://support.microsoft.com/en-us/kb/2899270?wa=wsignin1.0
    Download the
    Microsoft Visual Studio and .NET Framework Log Collection tool
          (http://www.microsoft.com/en-us/download/details.aspx?id=12493)    
    (collect.exe).
    Run the collect.exe tool from the directory where you saved the tool.
    The utility creates a compressed cabinet file of all the VS and .NET logs to %TEMP%\vslogs.cab.
    Post the vslogs.cab file with some descriptions of your issue to the forum.
    You can also use this page
    https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs to verify your ISO checksum.
    In my point of view, the error of the setup crash may need to check the following:
    Verify that you have installed all your Windows Updates
    Verify that you have disabled any anti-virus software
    Verify that your OS is update to date, for example, if you are using Win 7 please remember to update to Win 7 SP1.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Way to use Visual Web part in sharepoint 2010 without using/installing third party tools

    I want to know the way to use Visual Web part in sharepoint 2010 without using/installing third party tools.
    Please provide me a link where i can actually know how it is done.

    + to _eNo_,
    Visual Studio 2010 has support for visual webpart, you can find that under Visual C# node in the Installed Templates section (if your preferred language is C#)
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How does one install a express sql server to run with Visual Web Developer 2008?

    I successfully installed .NET framework v 3.5 and VWD 2008 on a new Vista laptop. When I want to add a Sql Server database to a website, errors tell me to install SS 2005 Express. MSDN SS 2005 Express download tells me I MUST  first install .NET framework v 2.0 before SS 2005. When I try to install framework v 2.0, I'm sent to v. 3.5 and no way to download SS 2005.
    How does one install a express sql server to run with Visual Web Developer 2008?   

    Momark,
    Do you still need help with this?
    Thank you!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • How to create Auto complete text box in share point 2010 Visual web part

    Hi All ,
    I am want to use Auto complete text box in share point 2010 Visual web part ,data need to get from share point list how to  create 
    please guide me how to use Auto complete text box
    Thanking you,
    Arun Darly

    Hi Arun,
    Please refer to the following article.
    SharePoint 2010: JQuery Autocomplete Textbox Containing List Items
    http://smarttools.codeplex.com/wikipage?title=Autocomplete%20Text%20Field
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Search Server 2010 Express: Open a PDF document from list of search results invokes adobe reader client application with error

    Hi community,
    I set up search server 2010 express on a windows 2008 r2 server.
    The Adobe PDF iFilter 9 64 bit is installed and search is correctly configured to find PDF-files.
    When doing a search and clicking on a link of the result page, the PDF is not opened in the browser, instead the adobe reader XI client application (11.0.04) is invoked and an error raised like "could not open document .. check syntax of url..."
    Right click on a link to open in new tab works fine. And PDF-Files from other arbitrary Internet Sites opens in browser correctly. Moreover when configure Adobe Acrobat Pro 9 as default application on the client it also open in Browser correctly.
    I noticed googling the web there are several challenges when dealing with PDF-files in sharepoint. The following settings are made so far:
    1. In IE: Add-On to open PDF in Browser is enabled for all sites.
    2. Client Integration is enabled
    3. The OpenControl attribute in the DOCICON.xml is left empty OpenControl="" for the pdf entry.
    4. The Browser File Handling is set to "Permissive".
    Please feel free to ask for more information if needed.
    I appreciate any help on this. I don't know what to do further.
    Thanks in advance.

    Thanks for the reply.
    Before responding to your points I want to give a little more context:
    We have an intranet based on pure html and a little aspx containing many of those pdf- files. By clicking on the links in the intranet the files open correctly in browser handled by the adobe plugin. Now we set up this search server crawling the file system
    accessed through a share to the root folder of the intranet. In the search server settings a host mapping rule is applied to replace the file://[share] with http://[intranet host+domain+port] to access files over http.
    And now to answer your question. The resulting urls are the same, copying the link from intranet and copying the link from the search result (except some case issues).
    The event viewer not seem to show any errors on this, though I'm not very familiar using it.
    If any further information are from interest and any ideas come to your mind - please let me know.
    Thanks.

  • Search Server 2010 Express Help Button doesn't work

    I installed Search Server 2010 Express to crawl our file shares and give our users a decent full text search capability and it's working well.  I noticed that the initial search page that comes up, where you would type in your search string, has a little
    blue question mark icon at the top right of the page.  When I click on that, it pops up a window and inside the window it says "Help content cannot be displayed". 
    I found some info that pointed me to Site Actions, Site Settings, Site Collection Administration, Help Settings.  When I go here and click on the link for Help Settings, it comes back with, "An unexpected error has occurred". 
    I also found a link that said to reinstall help files by using the following SP Powershell command: 
    Install-SPHelpCollection -LiteralPath 'C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\HCCab\1033\MS.Wss.HC.Cab'
    I try this and it says Source not found, even though I can confirm the path to the cab is correct and my user has permissions to see that file.
    Can anyone help me with my Help button here?  I have to give a demo for our users on how to use the Search Server, I know someone is going to click on the Help button link and it's going to say "Help content cannot be displayed" and then ask
    me about it. I want to get it working. Thanks.

    What does the powershell-command below return? 
    Get-SPHelpCollection
    Kr, Rasmus
    PS C:\Users\svcSPCA> Get-SPHelpCollection
    Title                                                      
    Name
    Atskaišu izveides pakalpojumu palīdzība un jaunumi          SQLWSSAddIn.1062
    Aide et nouveautés de Reporting Services                    SQLWSSAddIn.1036
    Ajuda e novidades do Reporting Services                     SQLWSSAddIn.1046
    Reporting Services Help en Nieuw                            SQLWSSAddIn.1043
    Reporting Services Yardımı ve Yenilikleri                   SQLWSSAddIn.1055
    Ajutor şi noutăţi pentru Reporting Services                 SQLWSSAddIn.1048
    Ayuda y novedades de Reporting Services                     SQLWSSAddIn.1027
    Novinky a pomocník doplnku Reporting Services               SQLWSSAddIn.1051
    Reporting Services 帮助和新增功能                                  SQLWSSAddIn.2052
    Ajuda e Novidades no Reporting Services                     SQLWSSAddIn.2070
    Search Server 2010 Central Administration                   MSSCentralAdmin.1033
    Справка и новые возможности служб Reporting Services        SQLWSSAddIn.1049
    Βοήθεια των υπηρεσιών αναφοράς και τι νέο υπάρχει           SQLWSSAddIn.1032
    Reporting Services – hjelp og hva er nytt                   SQLWSSAddIn.1044
    Reporting Services Hjælp og nyheder                         SQLWSSAddIn.1030
    Search Server 2010                                         
    MSSEndUser.1033
    Pomoc i informacje o nowościach w usługach Reporting Ser... SQLWSSAddIn.1045
    Reporting Services – עזרה ומה חדש                           SQLWSSAddIn.1037
    Reporting Services – súgó és újdonságok                     SQLWSSAddIn.1038
    Nápověda a novinky ve službě Reporting Services             SQLWSSAddIn.1029
    Reporting Services Help and What's New                      SQLWSSAddIn.1033
    SharePoint Foundation 2010                                  WSSEndUser.1033
    التعليمات والجديد في Reporting Services                     SQLWSSAddIn.1025
    Aruandlusteenuste spikker ja uudised                        SQLWSSAddIn.1061
    Pomoć za Reporting Services i šta je novo                   SQLWSSAddIn.2074
    Ayuda y novedades de Reporting Services                     SQLWSSAddIn.3082
    Reporting Servicesin ohje ja uudet ominaisuudet             SQLWSSAddIn.1035
    Reporting Services 說明與新功能                                   SQLWSSAddIn.1028
    Помощ и новости за услугите за отчет                        SQLWSSAddIn.1026
    Ataskaitų tarnybų žinynas ir straipsniai „Kas naujo?“       SQLWSSAddIn.1063
    วิธีใช้ Reporting Services และสิ่งใหม่                      SQLWSSAddIn.1054
    Reporting Services – Hilfe und Neuigkeiten                  SQLWSSAddIn.1031
    Pomoč za storitev Reporting Services in njene novosti       SQLWSSAddIn.1060
    SharePoint Foundation 2010 Central Administration           WSSCentralAdmin.1033
    Довідка та нові можливості служб Reporting Services         SQLWSSAddIn.1058
    Reporting Services туралы анықтама және оның жаңалығы       SQLWSSAddIn.1087
    Reporting Services 도움말 및 새로운 기능                             SQLWSSAddIn.1042
    Pomoć i značajka Što je novo usluge Reporting Services      SQLWSSAddIn.1050
    Guida e novità di Reporting Services                        SQLWSSAddIn.1040
    Reporting Services のヘルプと新機能                                 SQLWSSAddIn.1041
    Reporting Services – hjälp och nyheter                      SQLWSSAddIn.1053

  • Table display in Visual Web JSF (Project woodstock)

    Hi...
    I am trying to display a table(Quota) from a database in Visual Web JSF(project woodstock) and it works fine, as in I am able to run the project and a browser opens up dislaying the page with the date from the table. However when I try to display another table (Booking) from the same database, I am having problems. The page renders with no content(BLANK) in the browser. I am not sure why this is happening as I am using the same technique used to display content from the Quota table.
    This is my jsp code to display the Quota table ( this is the table that loads fine)
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <h:panelGrid id="gridPanel1" style="left: 216px; top: 216px; position: absolute">
                                <webuijsf:staticText id="staticText1" style="font-size: large" text="FACILITY"/>
                                <webuijsf:table augmentTitle="false" id="table1" title="Table" width="0">
                                    <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{SessionBean1.quotaArray}" sourceVar="currentRow">
                                        <webuijsf:tableColumn headerText="allocatedhours" id="tableColumn1" sort="allocatedhours">
                                            <webuijsf:staticText id="staticText2" text="#{currentRow.value['allocatedhours']}"/>
                                        </webuijsf:tableColumn>
                                        <webuijsf:tableColumn headerText="yearofStudy" id="tableColumn2" sort="yearofStudy">
                                            <webuijsf:staticText id="staticText3" text="#{currentRow.value['yearofStudy']}"/>
                                        </webuijsf:tableColumn>
                                    </webuijsf:tableRowGroup>
                                </webuijsf:table>
                            </h:panelGrid>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>Below is the jsp code to view the Booking table ( I am just getting a blank web page when I run the project with this code).
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <h:panelGrid id="gridPanel1" style="left: 216px; top: 216px; position: absolute">
                                <webuijsf:staticText id="staticText1" style="font-size: large" text="FACILITY"/>
                                <webuijsf:table augmentTitle="false" id="table1" title="Table" width="0">
                                    <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{SessionBean1.bookingArray}" sourceVar="currentRow">
                                        <webuijsf:tableColumn headerText="bookingdate" id="tableColumn1" sort="bookingdate">
                                            <webuijsf:staticText id="staticText2" text="#{currentRow.value['bookingdate']}"/>
                                        </webuijsf:tableColumn>
                                        <webuijsf:tableColumn headerText="bookingendtime" id="tableColumn2" sort="bookingendtime">
                                            <webuijsf:staticText id="staticText3" text="#{currentRow.value['bookingendtime']}"/>
                                        </webuijsf:tableColumn>
                                    </webuijsf:tableRowGroup>
                                </webuijsf:table>
                            </h:panelGrid>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>

    Hi..guys..
    The following is the code from my 'SessionBean1'.java file.
    package com.TestApp.managedbean;
    import com.TestApp.dao.QuotaFacadeLocal;
    import com.TestApp.entity.Quota;
    import com.TestApp.dao.BookingFacadeLocal;
    import com.TestApp.entity.Booking;
    import java.util.List;
    import javax.ejb.EJB;
    import com.sun.rave.web.ui.appbase.AbstractSessionBean;
    import javax.faces.FacesException;
    * <p>Session scope data bean for your application.  Create properties
    *  here to represent cached data that should be made available across
    *  multiple HTTP requests for an individual user.</p>
    * <p>An instance of this class will be created for you automatically,
    * the first time your application evaluates a value binding expression
    * or method binding expression that references a managed bean using
    * this class.</p>
    public class SessionBean1 extends AbstractSessionBean {
        // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
         * <p>Automatically managed component initialization.  <strong>WARNING:</strong>
         * This method is automatically generated, so any user-specified code inserted
         * here is subject to being replaced.</p>
        private void _init() throws Exception {
        // </editor-fold>
         * <p>Construct a new session data bean instance.</p>
        public SessionBean1() {
        @EJB
         private BookingFacadeLocal bookingDAO;
         private Booking[] bookingArray;
         @EJB
         private QuotaFacadeLocal quotaDAO;
         private Quota[] quotaArray;    
         * <p>This method is called when this bean is initially added to
         * session scope.  Typically, this occurs as a result of evaluating
         * a value binding or method binding expression, which utilizes the
         * managed bean facility to instantiate this bean and store it into
         * session scope.</p>
         * <p>You may customize this method to initialize and cache data values
         * or resources that are required for the lifetime of a particular
         * user session.</p>
        @Override
        public void init() {
            // Perform initializations inherited from our superclass
            super.init();
            // Perform application initialization that must complete
            // *before* managed components are initialized
            // TODO - add your own initialiation code here
            // <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
            // Initialize automatically managed components
            // *Note* - this logic should NOT be modified
            try {
                _init();
            } catch (Exception e) {
                log("SessionBean1 Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Perform application initialization that must complete
            // *after* managed components are initialized
            // TODO - add your own initialization code here
         * <p>This method is called when the session containing it is about to be
         * passivated.  Typically, this occurs in a distributed servlet container
         * when the session is about to be transferred to a different
         * container instance, after which the <code>activate()</code> method
         * will be called to indicate that the transfer is complete.</p>
         * <p>You may customize this method to release references to session data
         * or resources that can not be serialized with the session itself.</p>
        @Override
        public void passivate() {
         * <p>This method is called when the session containing it was
         * reactivated.</p>
         * <p>You may customize this method to reacquire references to session
         * data or resources that could not be serialized with the
         * session itself.</p>
        @Override
        public void activate() {
         * <p>This method is called when this bean is removed from
         * session scope.  Typically, this occurs as a result of
         * the session timing out or being terminated by the application.</p>
         * <p>You may customize this method to clean up resources allocated
         * during the execution of the <code>init()</code> method, or
         * at any later time during the lifetime of the application.</p>
        @Override
        public void destroy() {
         * <p>Return a reference to the scoped data bean.</p>
         * @return reference to the scoped data bean
        protected ApplicationBean1 getApplicationBean1() {
            return (ApplicationBean1) getBean("ApplicationBean1");
        public Booking[] getBookingArray() {
             List<Booking> bookingList = bookingDAO.findAll();
             if (bookingList != null) {
                 bookingArray = bookingList.toArray(new Booking[0]);
             } else {
                 bookingArray = null;
             return bookingArray;
        public Quota[] getQuotaArray() {
             List<Quota> quotaList = quotaDAO.findAll();
             if (quotaList != null) {
                 quotaArray = quotaList.toArray(new Quota[0]);
             } else {
                 quotaArray = null;
             return quotaArray;
    }

  • Cannot compile program in VC++ 2010 Express in Windows 8

    Hi Microsoft Team,
    I was using VC++ 2010 express edition on Windows 7. Recently i purchased Windows 8 Dell Machine and installed VC++ 2010 express edition on same.
    To my disappointment i am not able to compile a plain C Code in VC++.
    Please let me know what is work around for this ;
    regards
    Sobin

    Hi 
    Sorry for that !! :(
    I will give complete info please help.
    I am a fan of Visual C++ 2010, coz of simplicity in debugging. I have created simple win 32 console project and created a .c file
    Please find the screen shot attached.
    I wrote simple C "Hello world program" 
    #include<stdio.h>
    int main()
    printf("Hello world");
    return 0;
    But when i do build Debug -> Build Solution. i am getting below messages.
    1>------ Build started: Project: sobincode, Configuration: Debug Win32 ------
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018: The "CL" task failed unexpectedly.
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018: System.TypeInitializationException: The type initializer for 'Microsoft.Build.Utilities.FileTracker' threw an exception. ---> System.NullReferenceException:
    Object reference not set to an instance of an object.
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.Utilities.FileTracker..cctor()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    --- End of inner exception stack trace ---
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.CPPTasks.CL.ComputeOutOfDateSources()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.SkipTaskExecution()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.Utilities.ToolTask.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext
    I didnt get this error when i was using windows 7. Does it mean that Visual Studio is not supported in Windows 8
    Please help in resolving this issue so that i can get my old sweet VC++ 2010 ":)
    regards
    Sobin

Maybe you are looking for

  • I have a user on Adobe Reader X.  whenever they open a .pdf file, the form fields do not auto-fill u

    I have a user on Adobe Reader X.  whenever they open a .pdf file, the form fields do not auto-fill until you click in the box.  Is there a setting that can be changed to make the form open properly?

  • How to call one form to another form in JDeveloper

    hai, i am new to JDeveloper. i am having 2 forms contains some textfields and buttons. when i click button in one form then the second form opens and the first forms also appears remains in back. any one knows about this just tell how to do this. tha

  • Importing raw digital video from a deck

    1. imovie says it is importing at 3/4 speed. How do i get normal speed so on playback I can get good lip synch? 2. the app does not appear to be importing all the data that i am sending it thru the deck. Any idea why this is happening?

  • ArrayList will grow and shrink implicitly

    Hi, I have an ArrayList which is going to hold 1000 elements, hence I have defined the List as :- List list = new ArrayList(1000); If the number of elements is less than 1000 , in such case whether the ArrayList will shrink implictly and similarly if

  • NAT between two interfaces

    Good day, I would ask if it is possible to do NAT between two Interfaces on the same device? The problem is that I need access from my inside lan to the management interface on the ASA. We will not manage the ASA over the inside interface. This is my