HELP: Server Application Unavailable Error

N

Nobody

<!--#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.
 
M

Marina

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top