UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Windows Dedicated Server

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-10-2007, 16:14
roboscorpion's Avatar
new member
 
Join Date: Oct 2007
Posts: 8
Default Uploading with Visual Studio (.Net)

Hi all,

I have a question regarding uploading of a web site using Visual Studio 2005. I am a bit if a newbie to VS, having previously used Dreamweaver's FTP facility to upload sites.

Anyway, the nub of the matter is this: I have yet to transfer my domain across to EUK as I am still trialling the service (one week in, so far). This means I have just got access to my directories via the 'preview' web site - the one in the format:

http://[IP ADDRESS]/$sitepreview/mydomain.co.uk/

Now, it doesn't seem to like this when I try to publish my VS2005 Web Site. I just get a message saying "Publish Failed...". I don't know if I'm just doing something wrong or if it's to do with the 'preview' site address...

I'd appreciate any hints and tips anyone could give me regarding the whys and wherefores of publishing Web Sites (& Web Apps) using Visual Studio.

Thanks in advance!

|\ /
|/ \
|\ /

EDIT: Whoops, just realised this is the wrong location, as I'm on a shared platform, not dedicated... Sorry, and feel free to move the post, Mr Admin...

Last edited by roboscorpion : 29-10-2007 at 16:17. Reason: Wrong forum
Reply With Quote
  #2 (permalink)  
Old 29-10-2007, 16:37
flesso's Avatar
Premium Member
 
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,137
Send a message via MSN to flesso Send a message via Skype™ to flesso
Default

Quote:
Originally Posted by roboscorpion View Post
Hi all,

I have a question regarding uploading of a web site using Visual Studio 2005. I am a bit if a newbie to VS, having previously used Dreamweaver's FTP facility to upload sites.

Anyway, the nub of the matter is this: I have yet to transfer my domain across to EUK as I am still trialling the service (one week in, so far). This means I have just got access to my directories via the 'preview' web site - the one in the format:

http://[IP ADDRESS]/$sitepreview/mydomain.co.uk/

Now, it doesn't seem to like this when I try to publish my VS2005 Web Site. I just get a message saying "Publish Failed...". I don't know if I'm just doing something wrong or if it's to do with the 'preview' site address...

I'd appreciate any hints and tips anyone could give me regarding the whys and wherefores of publishing Web Sites (& Web Apps) using Visual Studio.

Thanks in advance!

|\ /
|/ \
|\ /

EDIT: Whoops, just realised this is the wrong location, as I'm on a shared platform, not dedicated... Sorry, and feel free to move the post, Mr Admin...
It's still Windows so you are in the right location.

Do a quick search regarding this matter - there are a couple of other threads discussing this issue.
__________________
Regards,
Josh Hold

eUKhost Blog: Over 1000 Computer Related Articles to Sink Your Teeth Into!

Super Moderator

I'm only a moderator, and do not work for eUKhost in any way. Opinions expressed by me are mine only, and do not reflect those of either eUKhost or any company that may be listed above.
Reply With Quote
  #3 (permalink)  
Old 29-10-2007, 20:06
Rock's Avatar
System Administrator
 
Join Date: Dec 2006
Posts: 523
Lightbulb

Hi,

If you have a web site ready on your local machine, you can publish it through Visual Studio 2005.
You can publish it to any location that you have access to on the local computer or on a network that is using any connection protocol that is supported by Visual Web Developer. You have the following options for copying the Web site:

* Use a UNC share to copy to a shared folder that is on another computer on the network.
* Use FTP to copy to a server.
* Use the HTTP protocol to copy to a server that supports FrontPage 2002 Server Extensions from Microsoft.


You can publish the Web site to the remote Web site using HTTP or FTP, the Target Location box is where you would specify the remote server URL.

To publish the Web site, do this:

1. On the Build menu, click Publish Web Site. The Publish Web Site dialog box appears.

2. In the Target Location box, enter the server's IP address along with the FTP user login details.

Remember that any data in the target folder and its subfolders will be deleted. Make sure that you do not type the name of a folder that contains data or contains subfolders with data.

The 'Allow this precompiled site to be updatable' option specifies that all program code is compiled into assemblies, but that .aspx files (including single-file ASP.NET Web pages) are copied as-is to the target folder.

3. Click OK.

Visual Web Developer precompiles the contents of the Web site and writes the output to the folder that you specified. The Output window displays progress messages. If an error occurs during compilation, it is reported in the Output window.

4. If errors occur during publishing, fix the errors, and then repeat step 1.

Please refer these following URL's for more info :
msdn2.microsoft.com/en-us/library/377y0s6t(VS.80).aspx
msdn2.microsoft.com/en-us/library/1y1404zt(VS.80).aspx
msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/ClickOnce.htm


If you need to connect your database to your ASP.Net scripts, please go through this :

To remotely connect to a SQL Server 2005 Express Database Engine instance using MSSQL Management Studio, follow these steps:

1. In the 'Connect to Server' dialog box, specify one of the following:
• serverip\sqlexpress
• server-name\sqlexpress


2. Enter the proper username of the database user or use 'sa' if you want to connect as Administrator.
3. Enter the proper password of the database user or use 'sa' user's password if you want to connect as Administrator.
4. Click Enter.

Please let us know if you need further help into this. Standing by to assist,
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Reply With Quote
  #4 (permalink)  
Old 30-10-2007, 07:50
roboscorpion's Avatar
new member
 
Join Date: Oct 2007
Posts: 8
Smile

Hi all,

Thanks for your replies.

I just found the 'Copy Web Site' function in VS which I hadn't noticed before... Gives you a basic FTP facility that actually does the trick.

Thanks again.
__________________
|\ /
|/ \
|\ /
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:04.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories