Showing posts with label working. Show all posts
Showing posts with label working. Show all posts

Saturday, March 31, 2012

The compiler failed with error code -1073741502

Hi all,
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\wh
oissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
Show Complete Compilation Source:
Line 1:
//----
--
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//----
--
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D
Thanks,
Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.
"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a
\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\syste
m.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\
whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system
.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll
"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a
3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system
.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //---
--
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //---
--
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie
>

Wednesday, March 28, 2012

The code is not working

I download the framework and install the IIS server 5.1, But when I
copy the code that supposed to print me 'hello world' from my manual
it didn't work. It showed me the page, but ignored the '.net' script.
What could be the reason?
Does my server version support asp.net?
This is the code I copy:
<%@dotnet.itags.org.Page Language="C#"%>
<script runat="server">
void Page_Load(object sender, EventArgs e) {
myLabel.Text = "Hello World!";
}
</script>
<html>
<head>
<title>My first ASP.NET page</title>
</head>
<body>
<asp:Label runat="server" id="myLabel"></asp:Label>
</body>
</html>
thanksOn Jul 13, 12:28 pm, Gandalf <goldn...@dotnet.itags.org.gmail.com> wrote:
> I download the framework and install the IIS server 5.1, But when I
> copy the code that supposed to print me 'hello world' from my manual
> it didn't work. It showed me the page, but ignored the '.net' script.
> What could be the reason?
> Does my server version support asp.net?
> This is the code I copy:
> <%@dotnet.itags.org.Page Language="C#"%>
> <script runat="server">
> void Page_Load(object sender, EventArgs e) {
> myLabel.Text = "Hello World!";
> }
> </script>
> <html>
> <head>
> <title>My first ASP.NET page</title>
> </head>
> <body>
> <asp:Label runat="server" id="myLabel"></asp:Label>
> </body>
> </html>
> thanks
Execute C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\aspnet_regiis.aspx -i
That should register the ASP.NET with IIS.
http://support.microsoft.com/kb/306005
On Jul 13, 1:01 pm, Alexey Smirnov <alexey.smir...@dotnet.itags.org.gmail.com> wrote:
> On Jul 13, 12:28 pm, Gandalf <goldn...@dotnet.itags.org.gmail.com> wrote:
>
>
>
>
>
>
>
> Execute C:\WINDOWS\Microsoft.NET\Framework
> \v2.0.50727\aspnet_regiis.aspx -i
> That should register the ASP.NET with IIS.
> http://support.microsoft.com/kb/306005
I only have this two 'version' directories:
v1.1.4322
v1.0.3705
and none of them contains the file aspnet_regiis.aspx
On Jul 13, 8:57 am, Gandalf <goldn...@dotnet.itags.org.gmail.com> wrote:
> On Jul 13, 1:01 pm, Alexey Smirnov <alexey.smir...@dotnet.itags.org.gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
> I only have this two 'version' directories:
> v1.1.4322
> v1.0.3705
> and none of them contains the file aspnet_regiis.aspx- Hide quoted text -
> - Show quoted text -
I recommend you install .Net framework 3.0.
On Jul 13, 3:07 pm, Larry Bud <larrybud2...@dotnet.itags.org.yahoo.com> wrote:
> On Jul 13, 8:57 am, Gandalf <goldn...@dotnet.itags.org.gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> I recommend you install .Net framework 3.0.
Thanks I will try it. it supposed to make it work?
re:
!> I recommend you install .Net framework 3.0.
I hope you meant *.Net Framework 2.0*, and not 3.0,
since 3.0 has nothing which an ASP.NET developer needs.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Larry Bud" <larrybud2002@dotnet.itags.org.yahoo.com> wrote in message news:1184332075.248198.101630@dotnet.itags.org.m3g2000
hsh.googlegroups.com...
> On Jul 13, 8:57 am, Gandalf <goldn...@dotnet.itags.org.gmail.com> wrote:
> I recommend you install .Net framework 3.0.
>
On Jul 13, 1:44 pm, "Juan T. Llibre" <nomailrepl...@dotnet.itags.org.nowhere.com>
wrote:
> re:
> !> I recommend you install .Net framework 3.0.
> I hope you meant *.Net Framework 2.0*, and not 3.0,
> since 3.0 has nothing which an ASP.NET developer needs.
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espa=F1ol :http://asp.net.do/foros/
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D
>
> "LarryBud" <larrybud2...@dotnet.itags.org.yahoo.com> wrote in messagenews:1184332075.24819=
8=2E101630@dotnet.itags.org.m3g2000hsh.googlegroups.com...
>
>
al
ipt.
>
>
>
>
>
>
>
>
>
>
t -
>
>
Yes, I mean 2.0

The Command event of dynamically loaded controls

Hi,

I noticed an interesting effect when working with controls that are
dynamically loaded. For instance, on a web form with a PlaceHolder control
named ImageHolder, I dynamically add an image button at runtime:

//-- Code snippet
protected System.Web.UI.WebControls.PlaceHolder ImageHolder;

private void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack)
LoadDynamicImageButton();
}

private void ImageButton_Click(object sender,
System.Web.UI.ImageClickEventArgs e)
{
Response.Write("Image button clicked");
}

private void LoadDynamicImageButton()
{
ImageButton btn = new ImageButton();
btn.ImageUrl = "Images/Minus.png";
btn.Click += new ImageClickEventHandler(ImageButton_Click);
ImageHolder.Controls.Add(btn);
}
//-- End code snippet

The first time the page loads, the image button is created. When I click it,
it reloads the page but doesn't trigger its ImageClickEventHandler. If I
forcefully run LoadDynamicImageButton(), i.e., remove the IsPostBack check
in Page_Load() to recreate the image, its ImageClickEventHandler is
triggered. This happens with the Command event as well.

It seems that on post-back, if a dynamically loaded control is not loaded,
then its event handler is not wired. Its properties such as CommandName and
CommandArgument, OTOH, persists from the last load.

The problem is that if I dynamically load up the PlaceHolder control with
different controls according to the button clicked, this behavior forces all
those controls to be loaded twice - first to load all default controls just
to wire up their event handlers, then to reload them again according to the
event. There are also other factors, such as the assigning a differnet
ImageUrl, that seem to affect whether or not the event handler is triggered.
I'm still working on it to hopefully isolate the problem.

Is there a workaround?

Thanks,
Donald XieHi Donald,

Thanks for posting in the community!
From your description, you dynamically add some command controls such as
button or ImageButton into a webform within a placeholder.(in the page_load
event when the page is first loaded). Also, you registered a "Click" event
handler for the dynamicly added control. However, you found that when you
clicked the control , its event handler hadn't been called and if you did
the adding and registering event handler operation every time the page is
loaded in Page_load, it worked well, yes?

I've tested the code you provided and also tried using other controls such
as Button and did encoutnered the same problem. Currently, I am finding
proper resource to assist you and we will update as soon as posible. In the
meantime, if you have any new findings, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

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

This is normal behavior and results from the way ASP.NET remembers the old
value for that text box in order to determine if the new value is different.

Each time the form is sent to the browser, ASP.NET stores the current text
box value (and other controls) in a hidden field which it sends to the
browser. When the browser posts the page back, the hidden field is sent to
the server along with the rest of the form. ASP.NET parses the list of old
values from the hidden field and attempts to associate each value with a
control. Then it compares the new value of the control with the old value
and triggers events.

The text box must be recreated to allow ASP.NET to associate it with the
old value from the hidden field. Only then can ASP.NET compare the new and
old values.

Here is a code sample which demonstrates one text box that correctly
triggers the changed event and three text boxes which fail for each of
three reasons.

**** HTML
<form id="Form1" method="post" runat="server">
<P>This sample contains a series of text boxes added to the page<BR>
programmatically with Controls.Add. The variations in these<BR>
text boxes demonstrate how to (and how not to) add a control<BR>
so that it can fire an event.<BR>
<BR>
</P>
<asp:panel id="Panel1" runat="server">
<P>
<asp:Label id="Label5" runat="server" Width="115px"> With
ViewState:</asp:Label>
<asp:PlaceHolder id="PlaceHolder1"
runat="server"></asp:PlaceHolder>
<asp:Label id="Label1" runat="server" Width="368px"
EnableViewState="False"></asp:Label></P>
<P>
<asp:Label id="Label6" runat="server" Width="115px" Height="19"> No
ViewState:</asp:Label>
<asp:PlaceHolder id="PlaceHolder2"
runat="server"></asp:PlaceHolder>
<asp:Label id="Label2" runat="server" Width="368px"
EnableViewState="False"></asp:Label></P>
<P>
<asp:Label id="Label7" runat="server" Width="115px"
Height="19px">Controls.AddAt:</asp:Label>
<asp:Label id="Label3" runat="server" Width="368px"
EnableViewState="False"></asp:Label></P>
<P>
<asp:Label id="Label8" runat="server" Width="115px"
Height="19px">!IsPostBack:</asp:Label>
<asp:PlaceHolder id="PlaceHolder4"
runat="server"></asp:PlaceHolder>
<asp:Label id="Label4" runat="server" Width="368px"
EnableViewState="False"></asp:Label></P>
</asp:panel>
<P><asp:button id="Button1" runat="server" Text="Submit" Width="100px"
Height="27px"></asp:button></P>
<P><hr></P>
<P>As you can see through experimenting with the above, the text<BR>
box labeled "With ViewState" is the only one that works properly.<BR>
<BR>
The "No ViewState" and the "Controls.AddAt" text boxes both<BR>
fire their changed events whenever they contain text, even if that<BR>
text has not changed.<BR>
<BR>
The "!IsPostBack" text box simply disappears upon postback.</P>
</form
**** CODE
private void Page_Load(object sender, System.EventArgs e)
{
System.Web.UI.WebControls.TextBox MyTextBox;

MyTextBox = new TextBox();
MyTextBox.ID = "TextBox1";
MyTextBox.EnableViewState=true;
PlaceHolder1.Controls.Add(MyTextBox);
MyTextBox.TextChanged += new
System.EventHandler(this.TextBox_TextChanged);

MyTextBox = new TextBox();
MyTextBox.ID = "TextBox2";
MyTextBox.EnableViewState=false;
PlaceHolder2.Controls.Add(MyTextBox);
MyTextBox.TextChanged += new
System.EventHandler(this.TextBox_TextChanged);

MyTextBox = new TextBox();
MyTextBox.ID = "TextBox3";
MyTextBox.EnableViewState=true;
Panel1.Controls.AddAt(15,MyTextBox);
MyTextBox.TextChanged += new
System.EventHandler(this.TextBox_TextChanged);

if(!IsPostBack)
{
MyTextBox = new TextBox();
MyTextBox.ID = "TextBox4";
MyTextBox.EnableViewState=true;
PlaceHolder4.Controls.Add(MyTextBox);
MyTextBox.TextChanged += new
System.EventHandler(this.TextBox_TextChanged);
}
}

private void TextBox_TextChanged(object sender, System.EventArgs e)
{
TextBox txtBoxSender = (TextBox)sender;
string strTextBoxID = txtBoxSender.ID;

switch(strTextBoxID)
{
case "TextBox1":
Label1.Text = "Changed";
break;
case "TextBox2":
Label2.Text = "Changed";
break;
case "TextBox3":
Label3.Text = "Changed";
break;
case "TextBox4":
Label4.Text = "Changed";
break;
}
}

--
Please see these articles for more information.

Adding Controls to a Web Forms Page Programmatically
http://msdn.microsoft.com/library/e...gcontrolstowebf
ormspageprogrammatically.asp

HOW TO: Dynamically Create Controls in ASP.NET by Using Visual C# .NET
http://support.microsoft.com/defaul...kb;EN-US;317794

Does this answer your question?

Thank you, Mike
Microsoft, ASP.NET Support Professional

Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computers security.

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

-------
> From: "Donald Xie" <donald_xie@dotnet.itags.org.msdn.nospam>
> Subject: The Command event of dynamically loaded controls
> Date: Fri, 30 Jan 2004 16:52:00 +0800
> Lines: 54
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> Message-ID: <#C2U35w5DHA.2580@dotnet.itags.org.TK2MSFTNGP11.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.aspnet
> NNTP-Posting-Host: 202.181.80.84
> Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP11.phx.gbl
> Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:206364
> X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> Hi,
> I noticed an interesting effect when working with controls that are
> dynamically loaded. For instance, on a web form with a PlaceHolder control
> named ImageHolder, I dynamically add an image button at runtime:
> //-- Code snippet
> protected System.Web.UI.WebControls.PlaceHolder ImageHolder;
> private void Page_Load(object sender, System.EventArgs e)
> {
> if (!IsPostBack)
> LoadDynamicImageButton();
> }
> private void ImageButton_Click(object sender,
> System.Web.UI.ImageClickEventArgs e)
> {
> Response.Write("Image button clicked");
> }
> private void LoadDynamicImageButton()
> {
> ImageButton btn = new ImageButton();
> btn.ImageUrl = "Images/Minus.png";
> btn.Click += new ImageClickEventHandler(ImageButton_Click);
> ImageHolder.Controls.Add(btn);
> }
> //-- End code snippet
> The first time the page loads, the image button is created. When I click
it,
> it reloads the page but doesn't trigger its ImageClickEventHandler. If I
> forcefully run LoadDynamicImageButton(), i.e., remove the IsPostBack check
> in Page_Load() to recreate the image, its ImageClickEventHandler is
> triggered. This happens with the Command event as well.
> It seems that on post-back, if a dynamically loaded control is not loaded,
> then its event handler is not wired. Its properties such as CommandName
and
> CommandArgument, OTOH, persists from the last load.
> The problem is that if I dynamically load up the PlaceHolder control with
> different controls according to the button clicked, this behavior forces
all
> those controls to be loaded twice - first to load all default controls
just
> to wire up their event handlers, then to reload them again according to
the
> event. There are also other factors, such as the assigning a differnet
> ImageUrl, that seem to affect whether or not the event handler is
triggered.
> I'm still working on it to hopefully isolate the problem.
> Is there a workaround?
> Thanks,
> Donald Xie
Thanks for the excellent explanation, Mike. Yes that answers my question.

Now I'm trying to find a good solution for my problem. In a nutshell, I need
to load a hierarchical list of folders and files from a database and display
them on a tree - very much the same as the MSDN Library deeptree.asp. The
number of nodes is potentially large, so I'll only load all top level
folders plus folders in the branch selected by the user. Only one branch can
be expanded each time. My users can click a folder node to expand or
collapse it, based on the selected folder's state.

Since my client doesn't want to use a third party tree control, my first
thought i\was to programmatically create a list of ImageButton/LinkButton
pairs to display the folders. This dynamic control's behavior means that:

1. I'll need to load the folder list in the first pass to wire up the
controls and corresponding event handlers. After it's loaded, the event
handler will fire and give me the selected folder. Then,

2. I'll then load the folder list again with the selected folder
expanded/collapsed.

It doesn't seem like a very efficient solution now because it requires two
trips to the database to load the folder list. Caching doesn't sound very
attractive either because list can be quite big and changes frequently.

Any suggestions are very much appreciated.

Cheers,
Donald Xie

""Mike Moore [MSFT]"" <michmo@dotnet.itags.org.online.microsoft.com> wrote in message
news:AXcHok55DHA.3032@dotnet.itags.org.cpmsftngxa07.phx.gbl...
> Hi Donald,
> This is normal behavior and results from the way ASP.NET remembers the old
> value for that text box in order to determine if the new value is
different.
> Each time the form is sent to the browser, ASP.NET stores the current text
> box value (and other controls) in a hidden field which it sends to the
> browser. When the browser posts the page back, the hidden field is sent to
> the server along with the rest of the form. ASP.NET parses the list of old
> values from the hidden field and attempts to associate each value with a
> control. Then it compares the new value of the control with the old value
> and triggers events.
> The text box must be recreated to allow ASP.NET to associate it with the
> old value from the hidden field. Only then can ASP.NET compare the new and
> old values.
> Here is a code sample which demonstrates one text box that correctly
> triggers the changed event and three text boxes which fail for each of
> three reasons.
>
> **** HTML
> <form id="Form1" method="post" runat="server">
> <P>This sample contains a series of text boxes added to the page<BR>
> programmatically with Controls.Add. The variations in these<BR>
> text boxes demonstrate how to (and how not to) add a control<BR>
> so that it can fire an event.<BR>
> <BR>
> </P>
> <asp:panel id="Panel1" runat="server">
> <P>
> <asp:Label id="Label5" runat="server" Width="115px"> With
> ViewState:</asp:Label>
> <asp:PlaceHolder id="PlaceHolder1"
> runat="server"></asp:PlaceHolder>
> <asp:Label id="Label1" runat="server" Width="368px"
> EnableViewState="False"></asp:Label></P>
> <P>
> <asp:Label id="Label6" runat="server" Width="115px" Height="19"> No
> ViewState:</asp:Label>
> <asp:PlaceHolder id="PlaceHolder2"
> runat="server"></asp:PlaceHolder>
> <asp:Label id="Label2" runat="server" Width="368px"
> EnableViewState="False"></asp:Label></P>
> <P>
> <asp:Label id="Label7" runat="server" Width="115px"
> Height="19px">Controls.AddAt:</asp:Label>
> <asp:Label id="Label3" runat="server" Width="368px"
> EnableViewState="False"></asp:Label></P>
> <P>
> <asp:Label id="Label8" runat="server" Width="115px"
> Height="19px">!IsPostBack:</asp:Label>
> <asp:PlaceHolder id="PlaceHolder4"
> runat="server"></asp:PlaceHolder>
> <asp:Label id="Label4" runat="server" Width="368px"
> EnableViewState="False"></asp:Label></P>
> </asp:panel>
> <P><asp:button id="Button1" runat="server" Text="Submit" Width="100px"
> Height="27px"></asp:button></P>
> <P><hr></P>
> <P>As you can see through experimenting with the above, the text<BR>
> box labeled "With ViewState" is the only one that works
properly.<BR>
> <BR>
> The "No ViewState" and the "Controls.AddAt" text boxes both<BR>
> fire their changed events whenever they contain text, even if
that<BR>
> text has not changed.<BR>
> <BR>
> The "!IsPostBack" text box simply disappears upon postback.</P>
> </form>
>
> **** CODE
> private void Page_Load(object sender, System.EventArgs e)
> {
> System.Web.UI.WebControls.TextBox MyTextBox;
> MyTextBox = new TextBox();
> MyTextBox.ID = "TextBox1";
> MyTextBox.EnableViewState=true;
> PlaceHolder1.Controls.Add(MyTextBox);
> MyTextBox.TextChanged += new
> System.EventHandler(this.TextBox_TextChanged);
> MyTextBox = new TextBox();
> MyTextBox.ID = "TextBox2";
> MyTextBox.EnableViewState=false;
> PlaceHolder2.Controls.Add(MyTextBox);
> MyTextBox.TextChanged += new
> System.EventHandler(this.TextBox_TextChanged);
> MyTextBox = new TextBox();
> MyTextBox.ID = "TextBox3";
> MyTextBox.EnableViewState=true;
> Panel1.Controls.AddAt(15,MyTextBox);
> MyTextBox.TextChanged += new
> System.EventHandler(this.TextBox_TextChanged);
> if(!IsPostBack)
> {
> MyTextBox = new TextBox();
> MyTextBox.ID = "TextBox4";
> MyTextBox.EnableViewState=true;
> PlaceHolder4.Controls.Add(MyTextBox);
> MyTextBox.TextChanged += new
> System.EventHandler(this.TextBox_TextChanged);
> }
> }
> private void TextBox_TextChanged(object sender, System.EventArgs e)
> {
> TextBox txtBoxSender = (TextBox)sender;
> string strTextBoxID = txtBoxSender.ID;
> switch(strTextBoxID)
> {
> case "TextBox1":
> Label1.Text = "Changed";
> break;
> case "TextBox2":
> Label2.Text = "Changed";
> break;
> case "TextBox3":
> Label3.Text = "Changed";
> break;
> case "TextBox4":
> Label4.Text = "Changed";
> break;
> }
> }
>
> --
> Please see these articles for more information.
> Adding Controls to a Web Forms Page Programmatically
http://msdn.microsoft.com/library/e...gcontrolstowebf
> ormspageprogrammatically.asp
> HOW TO: Dynamically Create Controls in ASP.NET by Using Visual C# .NET
> http://support.microsoft.com/defaul...kb;EN-US;317794
> Does this answer your question?
> Thank you, Mike
> Microsoft, ASP.NET Support Professional
> Microsoft highly recommends to all of our customers that they visit the
> http://www.microsoft.com/protect site and perform the three
straightforward
> steps listed to improve your computers security.
> This posting is provided "AS IS", with no warranties, and confers no
rights.
>
> -------
> > From: "Donald Xie" <donald_xie@dotnet.itags.org.msdn.nospam>
> > Subject: The Command event of dynamically loaded controls
> > Date: Fri, 30 Jan 2004 16:52:00 +0800
> > Lines: 54
> > X-Priority: 3
> > X-MSMail-Priority: Normal
> > X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> > Message-ID: <#C2U35w5DHA.2580@dotnet.itags.org.TK2MSFTNGP11.phx.gbl>
> > Newsgroups: microsoft.public.dotnet.framework.aspnet
> > NNTP-Posting-Host: 202.181.80.84
> > Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
> phx.gbl!TK2MSFTNGP11.phx.gbl
> > Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:206364
> > X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> > Hi,
> > I noticed an interesting effect when working with controls that are
> > dynamically loaded. For instance, on a web form with a PlaceHolder
control
> > named ImageHolder, I dynamically add an image button at runtime:
> > //-- Code snippet
> > protected System.Web.UI.WebControls.PlaceHolder ImageHolder;
> > private void Page_Load(object sender, System.EventArgs e)
> > {
> > if (!IsPostBack)
> > LoadDynamicImageButton();
> > }
> > private void ImageButton_Click(object sender,
> > System.Web.UI.ImageClickEventArgs e)
> > {
> > Response.Write("Image button clicked");
> > }
> > private void LoadDynamicImageButton()
> > {
> > ImageButton btn = new ImageButton();
> > btn.ImageUrl = "Images/Minus.png";
> > btn.Click += new ImageClickEventHandler(ImageButton_Click);
> > ImageHolder.Controls.Add(btn);
> > }
> > //-- End code snippet
> > The first time the page loads, the image button is created. When I click
> it,
> > it reloads the page but doesn't trigger its ImageClickEventHandler. If I
> > forcefully run LoadDynamicImageButton(), i.e., remove the IsPostBack
check
> > in Page_Load() to recreate the image, its ImageClickEventHandler is
> > triggered. This happens with the Command event as well.
> > It seems that on post-back, if a dynamically loaded control is not
loaded,
> > then its event handler is not wired. Its properties such as CommandName
> and
> > CommandArgument, OTOH, persists from the last load.
> > The problem is that if I dynamically load up the PlaceHolder control
with
> > different controls according to the button clicked, this behavior forces
> all
> > those controls to be loaded twice - first to load all default controls
> just
> > to wire up their event handlers, then to reload them again according to
> the
> > event. There are also other factors, such as the assigning a differnet
> > ImageUrl, that seem to affect whether or not the event handler is
> triggered.
> > I'm still working on it to hopefully isolate the problem.
> > Is there a workaround?
> > Thanks,
> > Donald Xie
Hi Donald,

Thank you for the response. Regarding on the issue, we are
finding proper resource to assist you and we will update as soon as posible.

Regards,

Steven Cheng
Microsoft Online Support

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

As for the situation you mentioned in the last reply, here is my
suggestions on it:
1. If we manually build a "tree" programatically via a list of ImageButtons
or LinkButtons, I'm afraid there will cause some performance issues since
every time page loaded , it need to create and add these dynamic controls
so as to associate their states from viewstate, also register the event
handler for them. This will be a large challenge to the serverside.

2. Would you like to have a try on the TreeView control in the Microsoft
Internet Explorer WebControls? This treeview control has been added to the
MS's web control collections and have detailed reference and tutorial in
MSDN. Also, the IE webcontrols' source code is opened to public , you're
feel to extend their existed functions. Here is some tech references and
articls on the TreeView web control:

#TreeView WebControl Reference
http://msdn.microsoft.com/library/e...ingtreeviewiewe
bcontrol.asp?frame=true

And here is a test page I used to test dynamically add nodes when a certain
node is expanded. The treeview has
4 hierarchies and each contains 20 nodes. When a node is first time
expanded or selected, it dynamically add its child nodes. Please have a
look to see whether it possible for you to use this TreeView control.

In addition, if you have the "Application Center Test" installed, you may
try having a test on different approachs such as using TreeView or manually
add button lists so as to see the realtime performance. And here are
another two tech articles, one is about the MSDN site's TreeView 's
implementation in C#. I think they may be helpful to you,too.

#Hierarchical Data Binding in ASP.NET
http://msdn.microsoft.com/library/e...databinding.asp
?frame=true

#The MSDN Table of Contents in C#
http://msdn.microsoft.com/library/e...001.asp?frame=t
rue

Please check out the above suggestions. If you have any questions or if my
suggestions not quite suitable for your situation, please feel free to post
here.

Regards,

Steven Cheng
Microsoft Online Support

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

Sorry for forgetting attach My test page's code in the last reply, here is
the Page code:
#If you haven't the IE web control's reference or code, you may get them at
http://www.asp.net/ControlGallery/C...l=75&tabindex=2

----------aspx page-----------
<%@dotnet.itags.org. Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>DynaTree</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<table width="500" align="center">
<tr>
<td><FONT face="">
<iewc:TreeView id="trvMain"
runat="server"></iewc:TreeView></FONT></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</form>
</body>
</HTML
--------code behind class-----
public class DynaTree : System.Web.UI.Page
{
protected Microsoft.Web.UI.WebControls.TreeView trvMain;

private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
LoadData();
BindTreeNodes(trvMain.Nodes,GetChildNodes("0"));
trvMain.AutoPostBack = true;
}
}

protected void LoadData()
{
DataTable tb = new DataTable();
tb.Columns.Add("nid");
tb.Columns.Add("pid");
tb.Columns.Add("name");
tb.Columns.Add("url");
tb.Columns.Add("target");

int i=0;
int j=0;
int k=0;
int l=0;
int nodeindex = 1;

for(i=1;i<=20;i++)
{
DataRow row1 = tb.NewRow();
row1["nid"] = i.ToString();
row1["pid"] = "0";
row1["name"] = "FirstLevelNode_"+nodeindex.ToString();
row1["url"] = "";
row1["target"] = "";
tb.Rows.Add(row1);

for(j=1;j<=20;j++)
{

DataRow row2 = tb.NewRow();
row2["nid"] = i.ToString() + j.ToString();
row2["pid"] = i.ToString();
row2["name"] = "SecondLevelNode_"+j.ToString();
row2["url"] = "";
row2["target"] = "";
tb.Rows.Add(row2);

for(k=1;k<=20;k++)
{

DataRow row3 = tb.NewRow();
row3["nid"] = i.ToString() + j.ToString() + k.ToString();
row3["pid"] = i.ToString() + j.ToString();
row3["name"] = "ThirdLevelNode_"+k.ToString();
row3["url"] = "";
row3["target"] = "";
tb.Rows.Add(row3);

for(l=1;l<20;l++)
{
DataRow row4 = tb.NewRow();
row4["nid"] = i.ToString() + j.ToString() + k.ToString() +
l.ToString();
row4["pid"] = i.ToString() + j.ToString() + k.ToString();
row4["name"] = "ForthLevelNode_"+k.ToString();
row4["url"] = "";
row4["target"] = "";
tb.Rows.Add(row4);
}

}
}
}

Session["TEMP_DATA"] = tb;

}

protected DataRow[] GetChildNodes(string pid)
{
DataTable tb = (DataTable)Session["TEMP_DATA"];
DataRow[] rows = tb.Select("pid = '" + pid +"'");

return rows;
}

protected void BindTreeNodes(TreeNodeCollection nodes, DataRow[] rows)
{

for(int i=0;i<rows.Length;i++)
{
TreeNode node = new TreeNode();
node.ID = rows[i]["nid"].ToString();
node.Text = rows[i]["name"].ToString();
node.NavigateUrl = rows[i]["url"].ToString();
node.Target = rows[i]["target"].ToString();

TreeNode emptynode = new TreeNode();
emptynode.ID = node.ID + "#$#EMPTY";

node.Nodes.Add(emptynode);
nodes.Add(node);
}

}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{

InitializeComponent();
base.OnInit(e);
}

private void InitializeComponent()
{
this.trvMain.Expand += new
Microsoft.Web.UI.WebControls.ClickEventHandler(thi s.trvMain_Expand);
this.trvMain.SelectedIndexChange += new
Microsoft.Web.UI.WebControls.SelectEventHandler(th is.trvMain_SelectedIndexCh
ange);
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion

private void trvMain_Expand(object sender,
Microsoft.Web.UI.WebControls.TreeViewClickEventArg s e)
{
TreeNode pnode = ((TreeView)sender).GetNodeFromIndex(e.Node);
TreeNode emptynode = pnode.Nodes[0];

if(emptynode.ID.IndexOf("#$#EMPTY") != -1)
{
pnode.Nodes.Clear();
BindTreeNodes(pnode.Nodes,GetChildNodes(pnode.ID)) ;
}

}

private void trvMain_SelectedIndexChange(object sender,
Microsoft.Web.UI.WebControls.TreeViewSelectEventAr gs e)
{
TreeNode oldnode = ((TreeView)sender).GetNodeFromIndex(e.OldNode);
TreeNode newnode = ((TreeView)sender).GetNodeFromIndex(e.NewNode);

if(newnode.Nodes.Count>0)
{
TreeNode emptynode = newnode.Nodes[0];

if(emptynode.ID.IndexOf("#$#EMPTY") != -1)
{
newnode.Nodes.Clear();
BindTreeNodes(newnode.Nodes,GetChildNodes(newnode. ID));
}
}

}

}
Hi Steven,

Thanks so much for your suggestions and the sample code - they are exactly
the information I need.

The TreeView control is the more conventional, and the MSDN TOC in C# is
very elegant and certainly well proven. I will go through both to see which
is the best for this application.

The hierarchical data binding approach is in essense what I'm doing
manually, as the depth of each node is variable. However I suspect that it
also suffers the same render-twice problem if we want to do more than just
displaying the nodes and get their state on post back.

Best,
Donald Xie

"Steven Cheng[MSFT]" <v-schang@dotnet.itags.org.online.microsoft.com> wrote in message
news:8JbKxSx6DHA.3524@dotnet.itags.org.cpmsftngxa07.phx.gbl...
> Hi Donald,
>
> As for the situation you mentioned in the last reply, here is my
> suggestions on it:
> 1. If we manually build a "tree" programatically via a list of
ImageButtons
> or LinkButtons, I'm afraid there will cause some performance issues since
> every time page loaded , it need to create and add these dynamic controls
> so as to associate their states from viewstate, also register the event
> handler for them. This will be a large challenge to the serverside.
> 2. Would you like to have a try on the TreeView control in the Microsoft
> Internet Explorer WebControls? This treeview control has been added to the
> MS's web control collections and have detailed reference and tutorial in
> MSDN. Also, the IE webcontrols' source code is opened to public , you're
> feel to extend their existed functions. Here is some tech references and
> articls on the TreeView web control:
> #TreeView WebControl Reference
http://msdn.microsoft.com/library/e...ingtreeviewiewe
> bcontrol.asp?frame=true
> And here is a test page I used to test dynamically add nodes when a
certain
> node is expanded. The treeview has
> 4 hierarchies and each contains 20 nodes. When a node is first time
> expanded or selected, it dynamically add its child nodes. Please have a
> look to see whether it possible for you to use this TreeView control.
> In addition, if you have the "Application Center Test" installed, you may
> try having a test on different approachs such as using TreeView or
manually
> add button lists so as to see the realtime performance. And here are
> another two tech articles, one is about the MSDN site's TreeView 's
> implementation in C#. I think they may be helpful to you,too.
> #Hierarchical Data Binding in ASP.NET
http://msdn.microsoft.com/library/e...databinding.asp
> ?frame=true
> #The MSDN Table of Contents in C#
http://msdn.microsoft.com/library/e...001.asp?frame=t
> rue
>
> Please check out the above suggestions. If you have any questions or if my
> suggestions not quite suitable for your situation, please feel free to
post
> here.
>
> Regards,
> Steven Cheng
> Microsoft Online Support
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
Hi Donald,

Thanks for your response. I'm glad that my suggestions are helpful to you.
As for the things I mentioned in the last reply, here some of my further
suggestions:
As for the "MSDN TOC in C#", since it is not provided as a Web Server
Control and the DataSource is based on serveral xml files. If you'd like to
use this means, I think you may try dynamically generic the certain XML
files from your own datasource. That'll save your times.

Anyway, which approach to choose all depends on the real time performance.
Hope you'll soon figure out the most appropriate means.

Regards,

Steven Cheng
Microsoft Online Support

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

The compiler failed with error code -1073741819.

Anyone,

I have an ASP.NET webapp in the 1.0 framework that has been working for
the past 2ish years.

Two weeks ago a new developer received the following error when trying
to run the app in debug mode.

"The instruction at "0x77f57ec6" referenced memory at "0x797800004".
The memory could not be "written".

>From the IDE, before I attempt to run in debug mode I can "right click"
a given aspx file and "View Code". I can also "right click" and "View
in Designer". When I attempt to "right click" and "View in Browser" I
receive the following error:

Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

The detailed Compiler Output is as follows:

C:\WINDOWS\system32>
"c:\windows\microsoft.net\framework\v1.0.3705\vbc.e xe" /t:library
/utf8output
/R:"c:\windows\assembly\gac\crystaldecisions.web\9.1.3 300.0__692fbea5521e1304\crystaldecisions.web.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\5642a9da\c0eb1c67_a2aac501\xsm2.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.crystalre ports.engine\9.1.3300.0__692fbea5521e1304\crystald ecisions.crystalreports.engine.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.33 00.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0_ _b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\d898667e\c40d926c_a2aac501\nexsurex.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77 a5c561934e089\system.xml.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\430dcb9f\147ce564_a2aac501\xaccounting.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\2c66c8b1\6c3aaed6_9baac501\controls.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\6834c7bf\32afd8a9_9baac501\dalplugindetailedlo g.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.reportsou rce\9.1.3300.0__692fbea5521e1304\crystaldecisions. reportsource.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\dade88bd\0060bd99_534fc201\interop.vba.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\9f86c1cb\0ac2eba9_9baac501\xdom3.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\b0170de4\b0608c65_a2aac501\commonlib.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.shared\9. 1.3300.0__692fbea5521e1304\crystaldecisions.shared .dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\1edb7ee1\f99ae4a9_9baac501\xdba3.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b7 7a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\7996cee9\e873dda9_9baac501\vcrpagenavigator.dl l"
/R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c5 61934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03 f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\93ce11ca\a67a0465_a2aac501\xdti.webcontols.dll "
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Tempo rary ASP.NET
Files\nexsurex_working\cd5673eb\1b418a67\thy6lfor. dll" /D:DEBUG=1
/debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Tempo rary
ASP.NET Files\nexsurex_working\cd5673eb\1b418a67\thy6lfor. 0.vb"

Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.00.3705.288
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.

The first developer who was receiving this issue had IT rebuild the
box, and the problem went away for a day or two, but came back. He is
currently on the third rebuild, with the application working for three
consecutive days.

With this now happening on my machine, I believe this to be an
application issue, not hardware.

Any help would be greatly appreciated.Check your hard disk(s) for errors.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================

<robert_m_fisher@dotnet.itags.org.yahoo.com> wrote in message
news:1125104686.827098.248920@dotnet.itags.org.g14g2000cwa.googlegr oups.com...
> Anyone,
> I have an ASP.NET webapp in the 1.0 framework that has been working for
> the past 2ish years.
> Two weeks ago a new developer received the following error when trying
> to run the app in debug mode.
> "The instruction at "0x77f57ec6" referenced memory at "0x797800004".
> The memory could not be "written".
>>From the IDE, before I attempt to run in debug mode I can "right click"
> a given aspx file and "View Code". I can also "right click" and "View
> in Designer". When I attempt to "right click" and "View in Browser" I
> receive the following error:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> The detailed Compiler Output is as follows:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.0.3705\vbc.e xe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\crystaldecisions.web\9.1.3 300.0__692fbea5521e1304\crystaldecisions.web.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\5642a9da\c0eb1c67_a2aac501\xsm2.dll"
> /R:"c:\windows\assembly\gac\crystaldecisions.crystalre ports.engine\9.1.3300.0__692fbea5521e1304\crystald ecisions.crystalreports.engine.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.33 00.0__b03f5f7f11d50a3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0_ _b03f5f7f11d50a3a\system.drawing.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\d898667e\c40d926c_a2aac501\nexsurex.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77 a5c561934e089\system.xml.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\430dcb9f\147ce564_a2aac501\xaccounting.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\2c66c8b1\6c3aaed6_9baac501\controls.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\6834c7bf\32afd8a9_9baac501\dalplugindetailedlo g.dll"
> /R:"c:\windows\assembly\gac\crystaldecisions.reportsou rce\9.1.3300.0__692fbea5521e1304\crystaldecisions. reportsource.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\dade88bd\0060bd99_534fc201\interop.vba.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\9f86c1cb\0ac2eba9_9baac501\xdom3.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\b0170de4\b0608c65_a2aac501\commonlib.dll"
> /R:"c:\windows\assembly\gac\crystaldecisions.shared\9. 1.3300.0__692fbea5521e1304\crystaldecisions.shared .dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\1edb7ee1\f99ae4a9_9baac501\xdba3.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b7 7a5c561934e089\system.data.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\7996cee9\e873dda9_9baac501\vcrpagenavigator.dl l"
> /R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c5 61934e089\system.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03 f5f7f11d50a3a\system.web.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\tempo rary asp.net
> files\nexsurex_working\cd5673eb\1b418a67\assembly\ dl2\93ce11ca\a67a0465_a2aac501\xdti.webcontols.dll "
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Tempo rary ASP.NET
> Files\nexsurex_working\cd5673eb\1b418a67\thy6lfor. dll" /D:DEBUG=1
> /debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Tempo rary
> ASP.NET Files\nexsurex_working\cd5673eb\1b418a67\thy6lfor. 0.vb"
>
> Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
> for Microsoft (R) .NET Framework version 1.00.3705.288
> Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.
> The first developer who was receiving this issue had IT rebuild the
> box, and the problem went away for a day or two, but came back. He is
> currently on the third rebuild, with the application working for three
> consecutive days.
> With this now happening on my machine, I believe this to be an
> application issue, not hardware.
> Any help would be greatly appreciated.

The compiler failed with error code -1073741502

Hi all,
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\wh
oissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
Show Complete Compilation Source:
Line 1:
//----
--
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//----
--
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D
Thanks,
Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.
"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a
\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\syste
m.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\
whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system
.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll
"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a
3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system
.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //---
--
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //---
--
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie
>

The compiler failed with error code -1073741502

Hi all,

I was working on a little project, worked fine, but now all of a sudden I
get:

The compiler failed with error code -1073741502

as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:

Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code -1073741502.

Show Detailed Compiler Output:

C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.e xe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000 .0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b7 7a5c561934e089\system.data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\tempo rary asp.net
files\whoissite\d24d73f4\7403d467\assembly\dl2\2f0 f1907\a8f077d3_1bcbc401\whoissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscor lib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03 f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c5 61934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.50 00.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77 a5c561934e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0_ _b03f5f7f11d50a3a\system.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbxnx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbxnx.0.cs"

Show Complete Compilation Source:

Line 1:
//------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D

Thanks,

Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.

"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.e xe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000 .0__b03f5f7f11d50a3a\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b7 7a5c561934e089\system.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\tempo rary asp.net
> files\whoissite\d24d73f4\7403d467\assembly\dl2\2f0 f1907\a8f077d3_1bcbc401\whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscor lib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03 f5f7f11d50a3a\system.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c5 61934e089\system.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.50 00.0__b03f5f7f11d50a3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77 a5c561934e089\system.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0_ _b03f5f7f11d50a3a\system.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbxnx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbxnx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //------------------------
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //------------------------
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie

The compiler failed with error code -1073741819.

Anyone,
I have an ASP.NET webapp in the 1.0 framework that has been working for
the past 2ish years.
Two ws ago a new developer received the following error when trying
to run the app in debug mode.
"The instruction at "0x77f57ec6" referenced memory at "0x797800004".
The memory could not be "written".

>From the IDE, before I attempt to run in debug mode I can "right click"
a given aspx file and "View Code". I can also "right click" and "View
in Designer". When I attempt to "right click" and "View in Browser" I
receive the following error:
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
The detailed Compiler Output is as follows:
C:\WINDOWS\system32>
"c:\windows\microsoft.net\framework\v1.0.3705\vbc.exe" /t:library
/utf8output
/R:" c:\windows\assembly\gac\crystaldecisions
.web\9.1.3300.0__692fbea5521e130
4\crystaldecisions.web.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\5642a9da\c0eb1c67_a2aa
c501\xsm2.dll"
/R:" c:\windows\assembly\gac\crystaldecisions
.crystalreports.engine\9.1.3300.
0__692fbea5521e1304\crystaldecisions.crystalreports.engine.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\d898667e\c40d926c_a2aa
c501\nexsurex.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\430dcb9f\147ce564_a2aa
c501\xaccounting.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\2c66c8b1\6c3aaed6_9baa
c501\controls.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\6834c7bf\32afd8a9_9baa
c501\dalplugindetailedlog.dll"
/R:" c:\windows\assembly\gac\crystaldecisions
.reportsource\9.1.3300.0__692fbe
a5521e1304\crystaldecisions.reportsource.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\dade88bd\0060bd99_534f
c201\interop.vba.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\9f86c1cb\0ac2eba9_9baa
c501\xdom3.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\b0170de4\b0608c65_a2aa
c501\commonlib.dll"
/R:" c:\windows\assembly\gac\crystaldecisions
.shared\9.1.3300.0__692fbea5521e
1304\crystaldecisions.shared.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\1edb7ee1\f99ae4a9_9baa
c501\xdba3.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\7996cee9\e873dda9_9baa
c501\vcrpagenavigator.dll"
/R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\93ce11ca\a67a0465_a2aa
c501\xdti.webcontols.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\nexsurex_working\cd5673eb\1b418a67
\thy6lfor.dll" /D:DEBUG=1
/debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary
ASP.NET Files\nexsurex_working\cd5673eb\1b418a67
\thy6lfor.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.00.3705.288
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.
The first developer who was receiving this issue had IT rebuild the
box, and the problem went away for a day or two, but came back. He is
currently on the third rebuild, with the application working for three
consecutive days.
With this now happening on my machine, I believe this to be an
application issue, not hardware.
Any help would be greatly appreciated.Check your hard disk(s) for errors.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
<robert_m_fisher@dotnet.itags.org.yahoo.com> wrote in message
news:1125104686.827098.248920@dotnet.itags.org.g14g2000cwa.googlegroups.com...
> Anyone,
> I have an ASP.NET webapp in the 1.0 framework that has been working for
> the past 2ish years.
> Two ws ago a new developer received the following error when trying
> to run the app in debug mode.
> "The instruction at "0x77f57ec6" referenced memory at "0x797800004".
> The memory could not be "written".
>
> a given aspx file and "View Code". I can also "right click" and "View
> in Designer". When I attempt to "right click" and "View in Browser" I
> receive the following error:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> The detailed Compiler Output is as follows:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.0.3705\vbc.exe" /t:library
> /utf8output
> /R:" c:\windows\assembly\gac\crystaldecisions
.web\9.1.3300.0__692fbea5521e1
304\crystaldecisions.web.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\5642a9da\c0eb1c67_a2
aac501\xsm2.dll"
> /R:" c:\windows\assembly\gac\crystaldecisions
.crystalreports.engine\9.1.330
0.0__692fbea5521e1304\crystaldecisions.crystalreports.engine.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a
3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\d898667e\c40d926c_a2
aac501\nexsurex.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system
.xml.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\430dcb9f\147ce564_a2
aac501\xaccounting.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\2c66c8b1\6c3aaed6_9b
aac501\controls.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\6834c7bf\32afd8a9_9b
aac501\dalplugindetailedlog.dll"
> /R:" c:\windows\assembly\gac\crystaldecisions
.reportsource\9.1.3300.0__692f
bea5521e1304\crystaldecisions.reportsource.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\dade88bd\0060bd99_53
4fc201\interop.vba.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\9f86c1cb\0ac2eba9_9b
aac501\xdom3.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\b0170de4\b0608c65_a2
aac501\commonlib.dll"
> /R:" c:\windows\assembly\gac\crystaldecisions
.shared\9.1.3300.0__692fbea552
1e1304\crystaldecisions.shared.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\1edb7ee1\f99ae4a9_9b
aac501\xdba3.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\syste
m.data.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\7996cee9\e873dda9_9b
aac501\vcrpagenavigator.dll"
> /R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll
"
> /R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system
.web.dll"
> /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net
> files\nexsurex_working\cd5673eb\1b418a67
\assembly\dl2\93ce11ca\a67a0465_a2
aac501\xdti.webcontols.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
> Files\nexsurex_working\cd5673eb\1b418a67
\thy6lfor.dll" /D:DEBUG=1
> /debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary
> ASP.NET Files\nexsurex_working\cd5673eb\1b418a67
\thy6lfor.0.vb"
>
> Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
> for Microsoft (R) .NET Framework version 1.00.3705.288
> Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.
> The first developer who was receiving this issue had IT rebuild the
> box, and the problem went away for a day or two, but came back. He is
> currently on the third rebuild, with the application working for three
> consecutive days.
> With this now happening on my machine, I believe this to be an
> application issue, not hardware.
> Any help would be greatly appreciated.

Monday, March 26, 2012

The control values are not sent to the form code.

I am new to Web Forms and I ported my little app from Windows Forms to
ASP.NET and I am wondering why some things are not working as before.
Although I figured most of them, one of them is that on my form I have input
fields and a button causing to store all the input fields into the database.
However, when in the button OnClick event I gather all the form control
values by either getting txtBox.Text or lstChoice.SelectedItem, all the
values are not equal to the user choices, but to the values last set by the
form programatically on Form Load. It looks that I am missing some event tha
t
sends the user control values from the client to the server.
Am I missing something?
Thank you
Cezar MartCezar:
Take a look at http://openmymind.net/FAQ.aspx?documentId=2
short answer is you need to wrap the code which initially sets the values in
a if not page.IsPostback then
Karl
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Cezar" <Cezar@dotnet.itags.org.discussions.microsoft.com> wrote in message
news:E8548106-843F-4252-A39F-4C40BC63774B@dotnet.itags.org.microsoft.com...
> I am new to Web Forms and I ported my little app from Windows Forms to
> ASP.NET and I am wondering why some things are not working as before.
> Although I figured most of them, one of them is that on my form I have
input
> fields and a button causing to store all the input fields into the
database.
> However, when in the button OnClick event I gather all the form control
> values by either getting txtBox.Text or lstChoice.SelectedItem, all the
> values are not equal to the user choices, but to the values last set by
the
> form programatically on Form Load. It looks that I am missing some event
that
> sends the user control values from the client to the server.
> Am I missing something?
> Thank you
> Cezar Mart
>

The control values are not sent to the form code.

I am new to Web Forms and I ported my little app from Windows Forms to
ASP.NET and I am wondering why some things are not working as before.
Although I figured most of them, one of them is that on my form I have input
fields and a button causing to store all the input fields into the database.
However, when in the button OnClick event I gather all the form control
values by either getting txtBox.Text or lstChoice.SelectedItem, all the
values are not equal to the user choices, but to the values last set by the
form programatically on Form Load. It looks that I am missing some event that
sends the user control values from the client to the server.
Am I missing something?
Thank you
Cezar MartCezar:
Take a look at http://openmymind.net/FAQ.aspx?documentId=2

short answer is you need to wrap the code which initially sets the values in
a if not page.IsPostback then

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)

"Cezar" <Cezar@dotnet.itags.org.discussions.microsoft.com> wrote in message
news:E8548106-843F-4252-A39F-4C40BC63774B@dotnet.itags.org.microsoft.com...
> I am new to Web Forms and I ported my little app from Windows Forms to
> ASP.NET and I am wondering why some things are not working as before.
> Although I figured most of them, one of them is that on my form I have
input
> fields and a button causing to store all the input fields into the
database.
> However, when in the button OnClick event I gather all the form control
> values by either getting txtBox.Text or lstChoice.SelectedItem, all the
> values are not equal to the user choices, but to the values last set by
the
> form programatically on Form Load. It looks that I am missing some event
that
> sends the user control values from the client to the server.
> Am I missing something?
> Thank you
> Cezar Mart

Saturday, March 24, 2012

The default page is only showing HTML when copied to Host.

Hi Guys,

I'm working on a little site for a friend (my first!) I've been viewing in browser and everything is going fine, but when I copy the site to the hoster for further development all I'm seeing is html. I'm usingwww.streamline.com as the host, I have all the settings correct (I think), and I have set the webconfig file debug to false.

So, what am I doing wrong.

below is the code from the masterpage. (yes, I'm sure it's messy, but I haven't done the css yet).

<%@dotnet.itags.org. Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body bgcolor="#bdd8ea"> <form id="form1" runat="server"> <div> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 60px; width: 850px; position: absolute; top: 13px; height: 370px;"> <tr> <td align="left" style="background-color: #ffffff; width: 850px; height: 3px;" valign="top"> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center"> <span style="font-size: 24pt; color: #3300ff; font-family: Arial;"></span> </p> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center">  </p> <p align="center" class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: center">  </p> </td> </tr> <tr> <td align="left" style="background-color: #ffffff; width: 850px; height: 31px;" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 1px; width: 99.5%; position: absolute; top: 137px"> <tr> <td align="left" style="width: 109px; background-color: #099ccf; height: 30px;" valign="bottom"> </td> <td align="left" style="background-color: #099ccf; height: 30px; font-weight: bold; font-size: 15pt; color: #ffffff; font-family: 'Microsoft Sans Serif'; vertical-align: middle; width: 554px; text-align: left;" valign="bottom"> <asp:Literal ID="Literal1" runat="server"></asp:Literal></td> <td align="left" style="background-color: #099ccf; height: 30px;" valign="bottom"> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 101; left: 0px; width: 100%; position: absolute; top: 168px; border-left-width: thin; border-left-color: #ffffff;"> <tr> <td align="left" style="border-top: #099ccf 2px solid; width: 3px; height: 288px; background-color: #ffffff" valign="top"> </td> <td align="left" style="border-top: #099ccf 2px solid; width: 122px; height: 288px; background-color: #ffffff; text-align: right;" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="z-index: 100; left: 3px; width: 100%; position: absolute; top: 5px; height: 189px;"> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="default.aspx" onmouseover="document.images.pic1.src='Images/Home_Over.gif'" onmouseout="document.images.pic1.src='Images/Home_Out.gif'"> <img src="Images/Home_Out.gif" name="pic1" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Services.aspx" onmouseover="document.images.pic2.src='Images/Services_Over.gif'" onmouseout="document.images.pic2.src='Images/Services_Out.gif'"> <img src="Images/Services_Out.gif" name="pic2" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="CurrentProjects.aspx" onmouseover="document.images.pic3.src='Images/CurrentProjects_Over.gif'" onmouseout="document.images.pic3.src='Images/CurrentProjects_Out.gif'"> <img src="Images/CurrentProjects_Out.gif" name="pic3" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="FutureProjects.aspx" onmouseover="document.images.pic4.src='Images/FutureProjects_Over.gif'" onmouseout="document.images.pic4.src='Images/FutureProjects_Out.gif'"> <img src="Images/FutureProjects_Out.gif" name="pic4" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Gallery.aspx" onmouseover="document.images.pic5.src='Images/Gallery_Over.gif'" onmouseout="document.images.pic5.src='Images/Gallery_Out.gif'"> <img src="Images/Gallery_Out.gif" name="pic5" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="Testimonials.aspx" onmouseover="document.images.pic6.src='Images/Testimonials_Over.gif'" onmouseout="document.images.pic6.src='Images/Testimonials_Out.gif'"> <img src="Images/Testimonials_Out.gif" name="pic6" border="0"></a> </td> </tr> <tr> <td align="center" style="border-bottom: #ffffff 2px solid; background-color: #ffffff" valign="middle"> <a href="UsefulLinks.aspx" onmouseover="document.images.pic7.src='Images/UsefulLinks_Over.gif'" onmouseout="document.images.pic7.src='Images/UsefulLinks_Out.gif'"> <img src="Images/UsefulLinks_Out.gif" name="pic7" border="0"></a> </td> </tr> <tr> <td align="center" style="background-color: #ffffff" valign="middle"> <a href="ContactUs.aspx" onmouseover="document.images.pic8.src='Images/ContactUs_Over.gif'" onmouseout="document.images.pic8.src='Images/ContactUs_Out.gif'"> <img src="Images/ContactUs_Out.gif" name="pic8" border="0"></a> </td> </tr> </table> </td> <td align="left" style="width: 10px; height: 288px; background-color: #ffffff; border-top: #099ccf 2px solid; border-left: #099ccf 1px solid;" valign="top">  </td> <td align="left" style="width: 473px; height: 288px; background-color: #ffffff; border-top: #099ccf 2px solid; font-size: 10pt; color: buttonshadow; font-family: 'Microsoft Sans Serif';" valign="top">  <br /> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </td> <td align="left" style="width: 10px; height: 288px; background-color: #ffffff; border-right: #099ccf 2px solid; border-top: #099ccf 2px solid;" valign="top">  </td> <td align="left" style="width: 155px; height: 288px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" style="width: 3px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf;" valign="top">  </td> <td align="left" style="width: 122px; height: 20px; background-color: #ffffff; text-align: right; border-top-width: 2px; border-top-color: #099ccf;" valign="top"> </td> <td align="left" style="width: 10px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf; border-left: #099ccf 1px solid;" valign="top"> </td> <td align="left" style="border-top-width: 2px; width: 473px; border-top-color: #099ccf; height: 20px; background-color: #ffffff" valign="top"> </td> <td align="left" style="border-right: #099ccf 2px solid; width: 10px; height: 20px; background-color: #ffffff; border-top-width: 2px; border-top-color: #099ccf;" valign="top">  </td> <td align="left" style="width: 155px; height: 20px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" height="3" style="width: 3px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 122px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 10px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 473px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 10px; background-color: #ffffff" valign="top"> </td> <td align="left" height="3" style="width: 155px; background-color: #ffffff" valign="top"> </td> </tr> <tr> <td align="left" style="width: 3px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 122px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 10px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 473px; background-color: #bdd8ea; text-align: center;" valign="top"> <span style="color: dimgray"><span style="font-size: 8pt"><span style="font-family: Arial"><span style="color: dimgray; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA"><strong style="vertical-align: middle">? </strong></span>T and S Wilson 2007/2008</span></span></span></td> <td align="left" style="width: 10px; background-color: #bdd8ea" valign="top"> </td> <td align="left" style="width: 155px; background-color: #bdd8ea" valign="top"> </td> </tr> </table> </td> </tr> </table> </div> </form></body></html>

Most likely ASP.NET is not setup on the site. Check with the host to be sure the site is on an IIS server running the version of ASP.NET (2.0|3.5) that you have built the site with. Most likely they have not setup ASP.NET on the server.


Thanks. They only open 10am til 4pm gmt so I'll ask them tomorrow.


I don't think you host provides .Net, or if they do .. most probably not 2.0/3.5


Looks like Streamline is a merchant company, not a hosting company.


What is the difference, they offer hosting?


Yes, they charged me an extra 35 quid for the ASP.NET framework, still only 4.5 quid a month though, so not bad.

Ta!


Sorry for my ignorance, but what is a quid in relation to a pound? I know a pound is a little more than a US $ and a pence is similar to our penny.


'Quid' is slang for 1 pound sterling (roughly $2), and a penny is roughly 2 cents.

Everybody says quid, and it's easier on a computer in case the reader's browser doesn't support the Libre 'pound' symbol. For instance, in the british civil service, I believe it is common practice to use a small i instead of the pound symbol.

You learn something every day!


Cool! I was watching the office on BBC America last night and they were talking about Quid. The manager paid the secretary 100 quid to help him in a motivational speaking event.