By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,053 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,053 IT Pros & Developers. It's quick & easy.

HELP: Server Application Unavailable Error

P: n/a
<!--#include file="CommonServer.aspx"-->
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
CheckConnection()
end sub
</script>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
Yes
</BODY>
</HTML>

when I ran above code test.aspx, I'll got Server Application Unavailable
Error.

Please help.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Don't include .aspx files in other .aspx files. You will run into
problems - such as that if both have a server side form - this is not
allowed. Put all your commong code into a .inc file.

Or better yet, take advantage of inheritance, code behind and user controls.

"Nobody" <No****@nospam.com> wrote in message
news:Oq**************@tk2msftngp13.phx.gbl...
<!--#include file="CommonServer.aspx"-->
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
CheckConnection()
end sub
</script>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
Yes
</BODY>
</HTML>

when I ran above code test.aspx, I'll got Server Application Unavailable
Error.

Please help.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.