471,337 Members | 838 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Don't want this code to execute

HI All,

Could not find an appropiate group to ask this question. But it does relate
to C#.
I have an aspx app, running on a DNN portal. Part of it lists tutorials,
very very basic stuff. But the problem is that when I put in sample code
such as <%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>, I get
an erro as this is trying to execute, I think. A critical error has
occurred.The server block is not well formed.
I tried putting it into a textarea, but that did not work. I tried encoding
it using things like &lt. But I get the error
A critical error has occurred.The directive 'page' is unknown.

Can some one point me to a place where I can find some answers


avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080617-0, 17/06/2008
Tested on: 18/06/2008 09:08:37 AM
avast! - copyright (c) 1988-2008 ALWIL Software.

Jun 27 '08 #1
1 1043
Hi Robert,

Conversation below seems close to your issue: http://www.dotnetnuke.com/Community/...s/Default.aspx
The server block is not well formed.

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

303 posts views Thread by mike420 | last post: by
8 posts views Thread by middletree | last post: by
3 posts views Thread by Jacques Koorts | last post: by
4 posts views Thread by #kiss# | last post: by
reply views Thread by Nashat Wanly | last post: by
13 posts views Thread by Martin Sand Christensen | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.