W
Will Chamberlain
For the next couple of months I am hosting 2 domains with one host
(Brinkster). What I have done is setup a page called default.aspx and a
select case for SiteNameURL = Request.ServerVariables("SERVER_NAME").
The only way I can get this to work is to use Response.Redirect for one
of the domains. I can include a file (Index.aspx) just fine for domain
B. When I attempt to include a file for Domain B I get errors such as:
The Connection Property Has Not Been set
There can only be one page directive
These errors are so ambiguous that I don't even know where to start.
The Connection Property error happens when I use:
<!--#Include Virtual="/path/file.aspx"-->
I have also tried using Server.Transfer but end up getting red x's for
images, dead-end hyperlinks, and sometimes the page directive error.
I have been dealing with this for about 2 weeks and I have run out of
ideas. Thanks in advance.
(Brinkster). What I have done is setup a page called default.aspx and a
select case for SiteNameURL = Request.ServerVariables("SERVER_NAME").
The only way I can get this to work is to use Response.Redirect for one
of the domains. I can include a file (Index.aspx) just fine for domain
B. When I attempt to include a file for Domain B I get errors such as:
The Connection Property Has Not Been set
There can only be one page directive
These errors are so ambiguous that I don't even know where to start.
The Connection Property error happens when I use:
<!--#Include Virtual="/path/file.aspx"-->
I have also tried using Server.Transfer but end up getting red x's for
images, dead-end hyperlinks, and sometimes the page directive error.
I have been dealing with this for about 2 weeks and I have run out of
ideas. Thanks in advance.