Xcopy Deployment

Posted on 2008-11-13
Last Modified: 2013-12-12
I have developed an application using VB.Net. I try to deploy the application using XCopy. After following the steps described in a textbook, I'm still having some difficulties running the application on a machine.
When I click on the "application.exe" I get the following

<?xml version="1.0" encoding="utf-8" ?>
        <add name="StudentDataCenter.My.MySettings.StudentDBConnection"
            connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\StudentCenter\StudentDB.mdb"
            providerName="System.Data.OleDb" />
            <!-- This section defines the logging configuration for My.Application.Log -->
            <source name="DefaultSource" switchName="DefaultSwitch">
                    <add name="FileLog"/>
                    <!-- Uncomment the below section to write to the Application Event Log -->
                    <!--<add name="EventLog"/>-->
            <add name="DefaultSwitch" value="Information" />
            <add name="FileLog"
                 type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
            <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
            <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->

Can someone help me.
Sincerely yours
Question by:Arnaud241
    LVL 25

    Accepted Solution

    I think it's not possible that you get that response when you doubleclick application.exe. I think it's more possible that you doubleclicked "application.exe.xml", but your windows explorer it's hiding the extension of known files, and so it's hiding the ".xml" extension, and so you see "application.exe" for the "application.exe.xml" file. If it's true, you must see only "application" for your "application.exe", try doubleclicking that for running your app. Or, in all case, open Windows Explorer and in the Tools menu, click on Folder options, then View tab, then find the option "Hide File Extensions for Known File Types" and UNcheck this if it's checked and click OK. Then you'll see complete filenames with it's extensions.
    LVL 83

    Expert Comment

    Just a correction. Its Application.Exe.Config and not Application.Exe.xml

    Author Closing Comment

    great answer. The option was masking the file extension. Thanks a lot

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    A list of useful business intelligence software.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now