PDA

View Full Version : I think I figured it out...Using themed css files requires a header control on the page


DCottle
06-23-2005, 09:18 AM
I get the following error when specifying my beta website

http://beta-136325.server1.dotnetsandbox.net


Using themed css files requires a header control on the page. (e.g. <head runat="server" />).





I also get the same error when specifying my website name + the name of the built in index page


http://beta-136325.server1.dotnetsandbox.net/index.aspx

I do NOT get the error when specifying my own page


<a target="_blank" href="http://beta-136325.server1.dotnetsandbox.net/default.aspx">http://beta-136325.server1.dotnetsandbox.net (http://beta-136325.server1.dotnetsandbox.net/)/default.aspx</A>


I renamed their index.aspx to index2.aspx (thus removing it from the default page list) and now everything is cool and loads correctly by only specifying the site url.

Moral of the story: The page that specifies the order of the default pages (https://my.discountasp.net/addons/betahosting.aspx) is wrong on their website. Index.aspx is first, then Default.aspx


Hope this helps people!

David

bruce
06-25-2005, 12:23 AM
thank you for pointing that out. i'll let the SA team know.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

DCottle
06-25-2005, 12:37 AM
No Problem...don't suppose you would reward me with actually hosting my domain name against my asp 2.0 site would you? I am so desperate to get a domain attached to that account that I am actually looking into setting up my own web server to host my stuff.

david

Eric
06-25-2005, 04:55 AM
Sorry, we do not point customer domains to the ASP.NET 2.0 beta hosting test account.

DiscountASP.NET
http://www.DiscountASP.NET

RedDog
08-02-2005, 08:09 AM
re: domain names


You know, most Domain Registrars provide "domain forwarding" and "domain-gripping". If not, change registrars. (or get an el-cheapo $8.99 domain at dodaddy.com ...no affiliation...don't buy all their other stuff.)


domain forwarding simply means that if a client enters abc.com, then the registrar can auto-forward them to (eg.) http://sanbox.host.com/xyz/abc/123/ThisIsMyPage.aspx


with domain gripping, the user would simply alwayssee abc.com in the address bar (and not the long ugly URL above),


Note: (test this but) you may (?) have issues with passing parameters thru the address query string if you opt for domain gripping since you'd lose the http://abc.com?UserID=2034.( it would just get converted back to abc.com) Simply use other means such as Session("UserID")=2034 to create a global variable.


Hope that helps!


Cheers,
RedDog http://community.discountasp.net/emoticons/cool.gif