ASPX MasterPage upload

hurrelld

New Member
Messages
1
Reaction score
0
Points
0
Can anyone help with uploading ASPX pages to the server. I have followed the instruction with regard to replacing the Web.Config however any ASPX page uploaded fails to display. HTML are OK. The ASPX pages work fine locally. I use MS VisualStudio 2008 with a VB Masterpage.
I am a neewby to this development lark so be gentle! Any help much appreciated.
 

thegriff

New Member
Messages
14
Reaction score
0
Points
0
Firstly, I assume your primary ASPX page is Default.aspx, and you also have a related file called Default.apsx.vb (or similar - I use C# so mine are .aspx.cs). Using CPanel File Manager, ftp, or (my prefered) Filezilla copy them both to the public_html directory of your webspace. Remove any index.html files you may find there, and copy over the bare minimum web.config:
Code:
<?xml version="1.0" ?>
<configuration>
  <appSettings />
  <connectionStrings>
  </connectionStrings>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
</configuration>

If you are using master pages, you will need to copy those as well - they end .master and .master.vb and you will need them in pairs.

Enter your address in your browser (mine is www.griffin.x10hosting.com, so yours would be www.yourname.x10hosting.com) and you should be up and away.
 
Top