473,383 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Atlas error...

"An instance of 'Microsoft.Web.UI.DummyHtmlTextWriter' could not be used as
an HtmlTextWriter. Make sure the specified class can be instantiated,
extends System.Web.UI.HtmlTextWriter, and implements a constructor with a
single parameter of type System.IO.TextWriter."

I am just doing a simple test. I have a textbox, label and button inside an
update panel. When i click the button, what is in the textbox gets displayed
in the label. What is strange is that it works a time or two or three or
more and then just quits with the above errormessage.

Anyone have any ideas?

Thanks!

Brad
May 16 '06 #1
7 1202
Hi Brad,

Thank you for posting.

From your description, you're encountering some error when using some
certain WebControls in the ASP.NET web page. As the subject mentioned
"Atlas", are you using the ASP.NET Atalas control toolkit? Currently it is
still under beta preview, not sure which version are you using in the page.
Would you provide any further information on the page and control logic?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
May 17 '06 #2
Sure, and thanks!

<atlas:ScriptManager ID="sm1" runat="server" EnablePartialRendering="true"
OnPageError="sm1_PageError" EnableScriptComponents="true">

</atlas:ScriptManager>

<controls:header ID="Header1" runat="server" Page_Title="C2 Mx Work Order">

</controls:header>

<div id="page_container">

<atlas:UpdatePanel ID="up1" runat="server">

<ContentTemplate>

<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">

<asp:View ID="View1" runat="server">

<asp:TextBox ID="Textbox3" runat="server" TabIndex="1"
AutoPostBack="false"></asp:TextBox><br />

<asp:Button ID="SaveButton" runat="server" OnClick="Submit1_ServerClick"
Text=" Ok " /><br />

<asp:Label ID="Label1" runat="server" Text=""></asp:Label><br />

</asp:View>

<asp:View ID="View2" runat="server"></asp:View>

</asp:MultiView>

</ContentTemplate>

<Triggers>

<atlas:ControlEventTrigger ControlID="SaveButton" EventName="Click" />

</Triggers>

</atlas:UpdatePanel>

</div>

<controls:footer ID="Footer1" runat="server">

</controls:footer>

and for the code behind...

protected void Submit1_ServerClick(object sender, EventArgs e)

{

Label1.Text = Textbox3.Text;

}

protected void sm1_PageError(object sender,
Microsoft.Web.UI.PageErrorEventArgs e)

{

throw new Exception(e.ErrorMessage);

}

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:y0**************@TK2MSFTNGXA01.phx.gbl...
Hi Brad,

Thank you for posting.

From your description, you're encountering some error when using some
certain WebControls in the ASP.NET web page. As the subject mentioned
"Atlas", are you using the ASP.NET Atalas control toolkit? Currently it is
still under beta preview, not sure which version are you using in the
page.
Would you provide any further information on the page and control logic?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 17 '06 #3
Thanks for your response Brad,

I've just setup an ATLAS environment and performed some tests on the page
code you provided. It seems that the test page dosn't utilize any ATLAS
specific client-scripts , correct? Also, in my local test appliation, it
seems the page always function correctly without any unexpected exception.
I think this is likely an environment specific issue. As for the
"Microsoft.Web.UI.DummyHtmlTextWriter", it is just as its name indicates,
doesn't provide any actual functionality , I'm not sure why the runtime
will instance it in your application. Anyway, have you tried creating a new
ATLAS project or test the same thing on other page to see whether it also
suffers this issue?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



May 18 '06 #4
I just tried it on another server and it works fine. The server with the
problem is using windows for authentication while the other is using forms.
It is also behind a company firewall. Otherwise the two machines are
identical.

If I use a support incedant, would they be able to help?

Thanks!

Brad

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:4R**************@TK2MSFTNGXA01.phx.gbl...
Thanks for your response Brad,

I've just setup an ATLAS environment and performed some tests on the page
code you provided. It seems that the test page dosn't utilize any ATLAS
specific client-scripts , correct? Also, in my local test appliation, it
seems the page always function correctly without any unexpected exception.
I think this is likely an environment specific issue. As for the
"Microsoft.Web.UI.DummyHtmlTextWriter", it is just as its name indicates,
doesn't provide any actual functionality , I'm not sure why the runtime
will instance it in your application. Anyway, have you tried creating a
new
ATLAS project or test the same thing on other page to see whether it also
suffers this issue?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



May 18 '06 #5
Ok, think I have found it, I "thought" both machines were identical, well at
least the parts that matter. I was using Output cache in the header control
on the machine that didnt work. When i added it to my good machine, it broke
it. Might want to pass this on to the atlas team. I believe i can reproduce
it if they want the code.

Brad
"Brad Coble" <bc****@newsgroups.nospam> wrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
I just tried it on another server and it works fine. The server with the
problem is using windows for authentication while the other is using forms.
It is also behind a company firewall. Otherwise the two machines are
identical.

If I use a support incedant, would they be able to help?

Thanks!

Brad

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:4R**************@TK2MSFTNGXA01.phx.gbl...
Thanks for your response Brad,

I've just setup an ATLAS environment and performed some tests on the page
code you provided. It seems that the test page dosn't utilize any ATLAS
specific client-scripts , correct? Also, in my local test appliation, it
seems the page always function correctly without any unexpected
exception.
I think this is likely an environment specific issue. As for the
"Microsoft.Web.UI.DummyHtmlTextWriter", it is just as its name indicates,
doesn't provide any actual functionality , I'm not sure why the runtime
will instance it in your application. Anyway, have you tried creating a
new
ATLAS project or test the same thing on other page to see whether it also
suffers this issue?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)




May 18 '06 #6
Brad,

Can you please share a sample code that can reproduce the error.

Thanks,

SA
"Brad Coble" <bc****@newsgroups.nospam> wrote in message
news:uZ**************@TK2MSFTNGP05.phx.gbl...
Ok, think I have found it, I "thought" both machines were identical, well
at least the parts that matter. I was using Output cache in the header
control on the machine that didnt work. When i added it to my good
machine, it broke it. Might want to pass this on to the atlas team. I
believe i can reproduce it if they want the code.

Brad
"Brad Coble" <bc****@newsgroups.nospam> wrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
I just tried it on another server and it works fine. The server with the
problem is using windows for authentication while the other is using
forms. It is also behind a company firewall. Otherwise the two machines
are identical.

If I use a support incedant, would they be able to help?

Thanks!

Brad

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:4R**************@TK2MSFTNGXA01.phx.gbl...
Thanks for your response Brad,

I've just setup an ATLAS environment and performed some tests on the
page
code you provided. It seems that the test page dosn't utilize any ATLAS
specific client-scripts , correct? Also, in my local test appliation,
it
seems the page always function correctly without any unexpected
exception.
I think this is likely an environment specific issue. As for the
"Microsoft.Web.UI.DummyHtmlTextWriter", it is just as its name
indicates,
doesn't provide any actual functionality , I'm not sure why the runtime
will instance it in your application. Anyway, have you tried creating a
new
ATLAS project or test the same thing on other page to see whether it
also
suffers this issue?

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)





May 18 '06 #7
Thanks for your response Brad,

The output cache you mentioned is a possible cause since when using cache,
the ASP.NET runtime won't use actual HtmlWriter to render content(but
retrieved from cache). Anyway, you can try submiting this issue request in
the msdn produce feedback center:

http://lab.msdn.microsoft.com/produc...k/default.aspx

You can also post this info in the www.asp.net's forum since there are some
ASP.NET dev team's engineers who will timely monitor there.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 19 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I realized that I was lacking Atlas. I ran into...
3
by: Marshall | last post by:
Hello, I am wondering if it is possible to call a remote web service using ATLAS and if so, how. I have read several docs which show how to call a web service that is within the same project as...
1
by: TARUN | last post by:
Hello All, I am facing problem regarding Atlas. I have install the AtlasSetup.msi in my .NET framework 2.0, and i open the new Atlas Website...... Let me first explain the my senario, I...
1
by: TARUN | last post by:
Hello All, I am facing problem regarding Atlas. I have install the AtlasSetup.msi in my .NET framework 2.0, and i open the new Atlas Website...... Let me first explain the my senario, I...
3
by: mkr04 | last post by:
Hi Friends I am facing also Unk 8) nown error problem. In have page where I am using a User Control when I am using ATLAS to this page I have same problem, I have tried it by debugging but there...
2
by: GaryDean | last post by:
I have an asp.net app using Atlas (july ctp) written from an example I found at the 4guysfromrolla.com site. It's very much like the examples I find at this site. I have pasted the body of the...
9
by: lanem | last post by:
I installed atlas on my dev machine and everything works great. When I try to get it working on the server, I get this error when building the page: "Request for the permission of type...
4
by: Brad Baker | last post by:
I'm trying to implement a gridview control using atlas & asp.net per the following article: http://weblogs.asp.net/scottgu/archive/2005/12/26/433997.aspx My frustration is that the page I've...
0
by: BillE | last post by:
I have the same problem as identified in http://forums.asp.net/thread/1402420.aspx (Atlas Crashing Visual Studio 2005) I'm using VS2005, visual basic.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.