Xcopy Deployment

Posted on 2008-11-13
Medium Priority
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

Luis Pérez earned 1000 total points
ID: 22958052
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

ID: 22958173
Just a correction. Its Application.Exe.Config and not Application.Exe.xml

Author Closing Comment

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

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Web hosting control panels were first developed to make it faster and easier for most users to set up and operate websites. The graphical user interface (GUI) allows users to perform tasks by pointing and clicking rather than typing highly specific…
While Plesk offers many potential benefits to website administrators, including compatibility with Windows Server and other leading technologies, the company has also been working to differentiate it from other control panels for content management…
Starting up a Project
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

840 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