Showing posts with label ive. Show all posts
Showing posts with label ive. Show all posts

Saturday, March 24, 2012

The default page is only showing HTML when copied to Host.

Hi Guys,

I'm working on a little site for a friend (my first!) I've been viewing in browser and everything is going fine, but when I copy the site to the hoster for further development all I'm seeing is html. I'm usingwww.streamline.com as the host, I have all the settings correct (I think), and I have set the webconfig file debug to false.

So, what am I doing wrong.

below is the code from the masterpage. (yes, I'm sure it's messy, but I haven't done the css yet).

<%@dotnet.itags.org. Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body bgcolor="#bdd8ea"> <form id="form1" runat="server"> <div> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 60px; width: 850px; position: absolute; top: 13px; height: 370px;"> <tr> <td align="left" style="background-color: #ffffff; width: 850px; height: 3px;" valign="top"> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center"> <span style="font-size: 24pt; color: #3300ff; font-family: Arial;"></span> </p> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center">  </p> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center">  </p> </td> </tr> <tr> <td align="left" style="background-color: #ffffff; width: 850px; height: 31px;" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 1px; width: 99.5%; position: absolute; top: 137px"> <tr> <td align="left" style="width: 109px; background-color: #099ccf; height: 30px;" valign="bottom"> </td> <td align="left" style="background-color: #099ccf; height: 30px; font-weight: bold; font-size: 15pt; color: #ffffff; font-family: 'Microsoft Sans Serif'; vertical-align: middle; width: 554px; text-align: left;" valign="bottom"> <asp:Literal ID="Literal1" runat="server"></asp:Literal></td> <td align="left" style="background-color: #099ccf; height: 30px;" valign="bottom"> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 101; left: 0px; width: 100%; position: absolute; top: 168px; border-left-width: thin; border-left-color: #ffffff;"> <tr> <td align="left" style="border-top: #099ccf 2px solid; width: 3px; height: 288px; background-color: #ffffff" valign="top"> </td> <td align="left" style="border-top: #099ccf 2px solid; width: 122px; height: 288px; background-color: #ffffff; text-align: right;" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 3px; width: 100%; position: absolute; top: 5px; height: 189px;"> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="default.aspx" onmouseover="document.images.pic1.src='Images/Home_Over.gif'" onmouseout="document.images.pic1.src='Images/Home_Out.gif'"> <img src="Images/Home_Out.gif" name="pic1" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Services.aspx" onmouseover="document.images.pic2.src='Images/Services_Over.gif'" onmouseout="document.images.pic2.src='Images/Services_Out.gif'"> <img src="Images/Services_Out.gif" name="pic2" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="CurrentProjects.aspx" onmouseover="document.images.pic3.src='Images/CurrentProjects_Over.gif'" onmouseout="document.images.pic3.src='Images/CurrentProjects_Out.gif'"> <img src="Images/CurrentProjects_Out.gif" name="pic3" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="FutureProjects.aspx" onmouseover="document.images.pic4.src='Images/FutureProjects_Over.gif'" onmouseout="document.images.pic4.src='Images/FutureProjects_Out.gif'"> <img src="Images/FutureProjects_Out.gif" name="pic4" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Gallery.aspx" onmouseover="document.images.pic5.src='Images/Gallery_Over.gif'" onmouseout="document.images.pic5.src='Images/Gallery_Out.gif'"> <img src="Images/Gallery_Out.gif" name="pic5" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Testimonials.aspx" onmouseover="document.images.pic6.src='Images/Testimonials_Over.gif'" onmouseout="document.images.pic6.src='Images/Testimonials_Out.gif'"> <img src="Images/Testimonials_Out.gif" name="pic6" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="UsefulLinks.aspx" onmouseover="document.images.pic7.src='Images/UsefulLinks_Over.gif'" onmouseout="document.images.pic7.src='Images/UsefulLinks_Out.gif'"> <img src="Images/UsefulLinks_Out.gif" name="pic7" border="0"></a> </td> </tr> <tr> <td align="center" style="background-color: #ffffff" valign="middle"> <a href="ContactUs.aspx" onmouseover="document.images.pic8.src='Images/ContactUs_Over.gif'" onmouseout="document.images.pic8.src='Images/ContactUs_Out.gif'"> <img src="Images/ContactUs_Out.gif" name="pic8" border="0"></a> </td> </tr> </table> </td> <td align="left" style="width: 10px; height: 288px; background-color: #ffffff; border-top: #099ccf 2px solid; border-left: #099ccf 1px solid;" valign="top">  </td> <td align="left" style="width: 473px; height: 288px; background-color: #ffffff; border-top: #099ccf 2px solid; font-size: 10pt; color: buttonshadow; font-family: 'Microsoft Sans Serif';" valign="top">  <br /> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </td> <td align="left" style="width: 10px; height: 288px; background-color: #ffffff; border-right: #099ccf 2px solid; border-top: #099ccf 2px solid;" valign="top">  </td> <td align="left" style="width: 155px; height: 288px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" style="width: 3px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf;" valign="top">  </td> <td align="left" style="width: 122px; height: 20px; background-color: #ffffff; text-align: right; border-top-width: 2px; border-top-color: #099ccf;" valign="top"> </td> <td align="left" style="width: 10px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf; border-left: #099ccf 1px solid;" valign="top"> </td> <td align="left" style="border-top-width: 2px; width: 473px; border-top-color: #099ccf; height: 20px; background-color: #ffffff" valign="top"> </td> <td align="left" style="border-right: #099ccf 2px solid; width: 10px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf;" valign="top">  </td> <td align="left" style="width: 155px; height: 20px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" height="3" style="width: 3px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 122px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 10px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 473px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 10px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 155px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" style="width: 3px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 122px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 10px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 473px; background-color: #bdd8ea; text-align: center;" valign="top"> <span style="color: dimgray"><span style="font-size: 8pt"><span style="font-family: Arial"><span style="color: dimgray; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA"><strong style="vertical-align: middle">? </strong></span>T and S Wilson 2007/2008</span></span></span></td> <td align="left" style="width: 10px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 155px; background-color: #bdd8ea" valign="top"> </td> </tr> </table> </td> </tr> </table> </div> </form></body></html>

Most likely ASP.NET is not setup on the site. Check with the host to be sure the site is on an IIS server running the version of ASP.NET (2.0|3.5) that you have built the site with. Most likely they have not setup ASP.NET on the server.


Thanks. They only open 10am til 4pm gmt so I'll ask them tomorrow.


I don't think you host provides .Net, or if they do .. most probably not 2.0/3.5


Looks like Streamline is a merchant company, not a hosting company.


What is the difference, they offer hosting?


Yes, they charged me an extra 35 quid for the ASP.NET framework, still only 4.5 quid a month though, so not bad.

Ta!


Sorry for my ignorance, but what is a quid in relation to a pound? I know a pound is a little more than a US $ and a pence is similar to our penny.


'Quid' is slang for 1 pound sterling (roughly $2), and a penny is roughly 2 cents.

Everybody says quid, and it's easier on a computer in case the reader's browser doesn't support the Libre 'pound' symbol. For instance, in the british civil service, I believe it is common practice to use a small i instead of the pound symbol.

You learn something every day!


Cool! I was watching the office on BBC America last night and they were talking about Quid. The manager paid the secretary 100 quid to help him in a motivational speaking event.

Thursday, March 22, 2012

The file web.sitemap required by XmlSiteMapProvider does not exist.

hi,

Ive seen a post above the subject in my search on the forum. My XMLFile1 has the following data in it which I copied from the thread. Now if im on a virtual directory what shall I put as sitemap and how shall I connect the sitemap with the xml file please

<?xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

<siteMapNode url="Default.aspx" title="Geekpedia" description="Home Page of Geekpedia.com ">

<siteMapNode url="Register.aspx" title="Registration" description="Register a new account." />

<siteMapNode url="SignIn.aspx" title="Sign-In" description="Sign-in into your existing account." />

</siteMapNode>

</siteMap><bump>
Get your XmlDataSource to point to XmlFile1.xml. (The datafile property)

Tuesday, March 13, 2012

The Main CSS Question?

Ok first off I'll happily admit that I've went and made a bad design decition when starting my webpage, At first I was totally focused on functionality and only very basic layout, but now that I'm nearing the end of my functionality I've started looking closer at my CSS Design and I've came accross the main CSS question......and that is what kind of screen resolution should I build my site for?

I want to favor to the majority of people and the last survey that came out said the majority of people are using a screen resolution of 800x600 pixals, however I also believe my site is actually for more intermediate computer users with a screen resolution of 1024x768 pixals so I could build it for a screen resolution of 800x600 which would also work for the 1024x768 resolution but I also want the users with the 1024x768 screen resolution to view the page on full screen and not have the white spaces...

I do not like using Percentages I woud rather set my items in pixals, I've found that percentages dont have the level of accuracy that pixals do, so what I thought I would do is build two different CSS Classes one completly for 800x600 and another for 1024x768 and have a kinda pre-entry to my website where the user can choose which screen resolution they want to view the site in...

So my question......Is it possible to do this, I am a bit unsure of how I can set up a button so when clicked the CSS for that resolution is set....here is a bit of an example of what I mean

User 1 comes to the site, see's a screen that says please pick a resolution, they pick 800x600 and continue on to the site viewing it perfectly in full screen, now user 2 comes around and picks 1024x768 resolution and instead of calling the 800x600 CSS Classes it calls for the 1024x768 classes to be used...

You can do that. Or you can design so that it doesn't matter what the user's resolution is. You might look at the Themes and Skins options.

Jeff


Yeah if I can design it so it doesnt matter what the screen resolution is would be perfect I know a couple possible way's to do it, basicly have some containers with percentages and have the content within those containers pixels.....but I will definatly look into the Themes and skins option as well...

Thanks.


Here is what might be a dumb question but I'm still going to ask it, just because if there is a way to do it... Then my life becomes a thousand times easier right now....by any chance can you have your webpage programmed to detect what kind of screen resolution that the user is using?.....

I know you can detect there IP Address and a whole lot of other information so I thought I would ask...