473,287 Members | 1,565 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,287 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 1197
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.
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.