Arvixe ASP.NET Web Deployment (How-To Guide)

Setup for Arvixe WebsitePanel:

1.) Login to your Arvixe WebsitePanel
2.) Click Web>Web Sites>
3.) Now under your web site’s Home Tab in the Authentication category make sure
     Enable Integrated Windows Authentication isn’t checked And that
     Enable Basic Authentication is checked
4.) Now under the Extensions Tab in the ASP.NET category if your site was built
with .NET 4.5 make sure that you set the dropdown box to 4.0 (Integrated)

SIDE NOTE: My website was built with ASP.NET MVC 4 and I set the dropdown to 4.0 (Integrated).

If you built yours with a different version of ASP.NET then set the dropdown box to the proper version.

5.) Now under the Management Tab you should see a Username that looks like

mywebsitename_admin. If it does not have a password then set it, otherwise the password should
be the password you used to log in to the WebPanel. Remember this username because it will be
used later on in Visual Studio

Create & Connect to your Arvixe Database: (Optional)

Create your Database:

1.) From your Arvixe WebsitePanel click Databases > SQL Server 2008 or MySQL 5.x
2.) Click on Create Database
3.) Enter a name for your Database then click Save

Create a user for your Database:

1.) Now that your Database has been created click Create User
2.) Enter a Username & Password then select the name of your database in the
Default database dropdown box
3.) Click Save

Visual Studio 2010 & Visual Studio 2012 Setup:

1.) In your Web.config add the following to your <connectionStrings> section (SQL Server 2008):

<add name="EnterTheNameOfYourConnectionStringHereThisCanBeWhateverYouWant"
Initial Catalog=EnterYourDatabaseNameHere;
Integrated Security=false;
User ID=EnterTheUsernameYouCreatedEarlierInTheDatabaseSectionOfThisTutorial;
Password=EnterThePasswordYouCreatedEarlierInTheDatabaseSectionOfThisTutorial;" />

SIDE NOTE: The following Screenshots are from Visual Studio 2012

2.) Next in Visual Studio Right-Click on your project then select Publish
3.) You will be presented with this modal window.
Proceed to click on the dropdown box and select <New…>
4.) Enter a profile name then click OK Then Next >

— Image for Steps 5 – 11: —

5.) In the Publish method dropdown box select Web Deploy
6.) For the Service URL enter in
7.) For the Site/application enter in
8.) For the User name enter in the username that was under your website’s Management Tab
Example: mywebsitename_admin
9.) For the Password enter the password for the user specified above
10.) For the Destination URL enter your website’s address:
11.) Click Validate Connection. If you receive an error here stop and review the previous
information and try again. If successful then click Next >
12.) Select Release in the Configuration dropdown box
13.) In the Databases section you should see the connection string that you added earlier in your
Web.configClick the dropdown box and select your connection string and also check the Use this
connection string at runtime
 checkbox. Then click Next >
14.) Preview the files that are about to be deployed to your site and once you’re done click Publish
15.) Congratulations! You have successfully deployed your ASP.NET Site to Arvixe.

If you have any questions or concerns please don’t hesitate to post them here and I will try to get back to you as soon as I can.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , | Posted under Using Arvixe, Windows Server Admin | RSS 2.0

Author Spotlight

Eric Anderson

Android fan boy, web geek and developer. I'm an ambitious and confident self-starter with strong trouble-shooting, presentation, planning and execution skills for application development. I've worked with several technologies, some of which include; The .NET Framework, Objective-C, Java & Python.

16 Comments on Arvixe ASP.NET Web Deployment (How-To Guide)

  1. I found a few additional steps were necessary to use Web Deploy 3.0 from within Visual Studio 2012 to install a web application in a virtual directory (to call it a separate application than the root directory).

    First, I had to use the control panel to create a virtual directory. I set its path to a new folder under wwwroot. For example, if my domain is “” and my web application is “myapp”, then the folder would be located at:

    Then after creating that virtual directory, I would go back and check all three boxes under “Security Settings” (Enable Write Permissions, Enable Directory Browsing, Enable Parent Paths). Also, I would check only one box under Authentication (Allow Anonymous Access).

    Then after downloading the Web Deploy.pubxml file, I would edit the file and insert a line right after . This is:

    This keeps Web Deploy 3.0 from changing the permissions of folders. It looks like Web Deploy 3.0 is not working fully with yet.

    This next part is not necessary to publish on Arvixe but I thought I would add it since the issue could block actual testing. This has to do with authorization using the new ASP.NET SimpleRoleProvider. Add the following to the Web.Config file in the section

  2. Previous comment will not work because xml content was deleted after submission. Do not accept it. Sorry.

  3. Paul White says:

    See for how to set IncludeSetACLProviderOnDestination to False in your .pubxml file.

  4. ivan alvarez says:

    i have one question, im trying to publish an mvc version 3 proyect and it gives me the following error:
    Error 1 Copying file Scripts\themes\.DS_Store to obj\Release\Package\PackageTmp\Scripts\themes\.DS_Store failed. Could not find file ‘Scripts\themes\.DS_Store’. 0 0 MVC

    and Iam doing it in windws 8.

    • Noah S says:

      Hi Ivan,

      Unfortunately that will take more to fix then a quick comment on our blog. If you are an Arvixe customer please submit a ticket to support[@]arvixe[.]com and we will be able to further assist you.


  5. Ben W says:

    I had to use http (not https) for the URL, and check ‘Allow untrusted certificate’ with VS2010

    • Noah S says:

      Hi Ben,
      If you are with Arvixe Web hosting, please send an e-mail to support. We allow the use of https so that you can upload your files securely. A tech will be able to assist you with making sure you can use https.

  6. Auguste says:

    I found 2 different problem.

    I don’t find the option to choose “Release”, but only “Debug”.

    Second (probably related to the first), the preview (the last step) failed.

  7. Auguste says:

    Everything is good now. I had to exclude the App_Data folder.

    Thanks for this valuable information. I had to cancel my recently registered GoDaddy hosting account because it wasn’t that easy :).

  8. Hi, I try publish and very slow, the publish during about 40 minutes… can help me publish fast?

  9. tomi says:

    Hi Ali,

    I have enabled web Publishing but i get this error when i attempt to deploy

    The Maximum Number of Connections for this website has been exceeded.

  10. praveen ch says:


    what is my server name?
    i mean my website name is, so then

    my server name is, i this correct or wrong

    if wrong plz provide me this is very urgent

  11. jomal says:

    hi! i’m a firstimer 🙂 i already Publish my web app. but when i visit the site, the site is not available how to fix that?

    tnx alot:)

    • Alex says:


      Can you please reach out to our support team using our support portal ( They’ll be more than happy to assist you.


Leave a Reply to tomi Cancel reply

Your email address will not be published. Required fields are marked *