Showing posts with label description. Show all posts
Showing posts with label description. Show all posts

Saturday, March 24, 2012

System.Net.WebException: The underlying connection was closed:

Hi Tim,

From your description, you've a ASP.NET webservcie and created a Winform
client app to consume it. However, when calling the webservice, you found
it worked well the first time but occured unexpected error the second time
after a few minutes, yes?

From the code you provided(calling the webservice), it seems all right and
I don't think the problem is likely in the client application. I'm not sure
about the webservice's detailed code logic in its webmethods but from the
method's signature:

WebSvcW.OMTestAddOrderXML(comboBox3.Text,int.Parse (textBox2.Text),comboBox4.
Text);

it takes simply type params, so I think we can test the webservice through
IE, open the certain url (http://...... .asmx) in the IE and call the
webservice thourgh it. It is better if you can use VS.NET to debug the
webservice on the serverside to see whether the problem also occured when
calling it from IE. If still remains, we can confirm that the problem is
not caused by the winform client , do you think so?

In addition, as for creating client application to consume webservice,
below is the related web link in MSDN:
#Creating Clients for XML Web Services
http://msdn.microsoft.com/library/e...atingclientsfor
webservices.asp?frame=true

Hope also helps. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspxHi Tim,

Have you had a chance to view the suggestions in my last reply or have you
got any progresses on this issue? If there is anything else I can help,
please feel free to post here. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply. However, when I try to go directly to the ..asmx url via IA, when I click on the name of the web service in order to test, I receive this message - Tes
The test form is only available for requests from the local machine. Therefore, I am unclear on how to proceed. The server is in another state so I can't logon directly to it in order to test from my location. How shall I proceed

Thank you
Tim Reynold
Verizon
Hi Tim,

From your reply, you haven't the certain permission to logon the server
which host the webservice, yes? Then, I think we can do the following tests
on the webservice:

1. Creating a client proxy through the following guide(using wsdl.exe
rather than via VS.NET) and consume the webservice by the geneated proxy to
see whether the webservice still fail.
#Creating an XML Web Service Proxy
http://msdn.microsoft.com/library/e...atingWebService
Proxy.asp?frame=true

2. I'm not sure whether you have ever tried calling a webservice via
javascript(DHTML) in a webpage, if not, you may have a look at the
following reference:
#Accessing Web Services From DHTML
http://msdn.microsoft.com/library/e...001.asp?frame=t
rue

If you're able to perform a test via the DHTML way, we can further confirm
whether the problem is with the serverside or not.

In addtion, you can create a simple webservice( similiar with the one
you're consuming, maybe just take 2 string parameters) on your local
machine or a remote machine which you have full control on it. And then
call it on the local machine to see whether the same problem occurs. If
not, that also probably proof that the problem is likely due to the
webservice's serverside processing.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tim,

Any progress on this issue? If you have any problems on this or if there're
anything else I can help, please feel free to let me know. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

System.Net.WebException: The underlying connection was closed:

Hi Tim,

From your description, you've a ASP.NET webservcie and created a Winform
client app to consume it. However, when calling the webservice, you found
it worked well the first time but occured unexpected error the second time
after a few minutes, yes?

From the code you provided(calling the webservice), it seems all right and
I don't think the problem is likely in the client application. I'm not sure
about the webservice's detailed code logic in its webmethods but from the
method's signature:

WebSvcW.OMTestAddOrderXML(comboBox3.Text,int.Parse (textBox2.Text),comboBox4.
Text);

it takes simply type params, so I think we can test the webservice through
IE, open the certain url (http://...... .asmx) in the IE and call the
webservice thourgh it. It is better if you can use VS.NET to debug the
webservice on the serverside to see whether the problem also occured when
calling it from IE. If still remains, we can confirm that the problem is
not caused by the winform client , do you think so?

In addition, as for creating client application to consume webservice,
below is the related web link in MSDN:
#Creating Clients for XML Web Services
http://msdn.microsoft.com/library/e...atingclientsfor
webservices.asp?frame=true

Hope also helps. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspxHi Tim,

Have you had a chance to view the suggestions in my last reply or have you
got any progresses on this issue? If there is anything else I can help,
please feel free to post here. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply. However, when I try to go directly to the ..asmx url via IA, when I click on the name of the web service in order to test, I receive this message - Tes
The test form is only available for requests from the local machine. Therefore, I am unclear on how to proceed. The server is in another state so I can't logon directly to it in order to test from my location. How shall I proceed

Thank you
Tim Reynold
Verizon
Hi Tim,

From your reply, you haven't the certain permission to logon the server
which host the webservice, yes? Then, I think we can do the following tests
on the webservice:

1. Creating a client proxy through the following guide(using wsdl.exe
rather than via VS.NET) and consume the webservice by the geneated proxy to
see whether the webservice still fail.
#Creating an XML Web Service Proxy
http://msdn.microsoft.com/library/e...atingWebService
Proxy.asp?frame=true

2. I'm not sure whether you have ever tried calling a webservice via
javascript(DHTML) in a webpage, if not, you may have a look at the
following reference:
#Accessing Web Services From DHTML
http://msdn.microsoft.com/library/e...001.asp?frame=t
rue

If you're able to perform a test via the DHTML way, we can further confirm
whether the problem is with the serverside or not.

In addtion, you can create a simple webservice( similiar with the one
you're consuming, maybe just take 2 string parameters) on your local
machine or a remote machine which you have full control on it. And then
call it on the local machine to see whether the same problem occurs. If
not, that also probably proof that the problem is likely due to the
webservice's serverside processing.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tim,

Any progress on this issue? If you have any problems on this or if there're
anything else I can help, please feel free to let me know. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

System.Net.WebException: The underlying connection was closed:

Hi Tim,

From your description, you've a ASP.NET webservcie and created a Winform
client app to consume it. However, when calling the webservice, you found
it worked well the first time but occured unexpected error the second time
after a few minutes, yes?

From the code you provided(calling the webservice), it seems all right and
I don't think the problem is likely in the client application. I'm not sure
about the webservice's detailed code logic in its webmethods but from the
method's signature:

WebSvcW.OMTestAddOrderXML(comboBox3.Text,int.Parse (textBox2.Text),comboBox4.
Text);

it takes simply type params, so I think we can test the webservice through
IE, open the certain url (http://...... .asmx) in the IE and call the
webservice thourgh it. It is better if you can use VS.NET to debug the
webservice on the serverside to see whether the problem also occured when
calling it from IE. If still remains, we can confirm that the problem is
not caused by the winform client , do you think so?

In addition, as for creating client application to consume webservice,
below is the related web link in MSDN:
#Creating Clients for XML Web Services
http://msdn.microsoft.com/library/e...atingclientsfor
webservices.asp?frame=true

Hope also helps. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspxHi Tim,

Have you had a chance to view the suggestions in my last reply or have you
got any progresses on this issue? If there is anything else I can help,
please feel free to post here. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply. However, when I try to go directly to the ..asmx url via IA, when I click on the name of the web service in order to test, I receive this message - Tes
The test form is only available for requests from the local machine. Therefore, I am unclear on how to proceed. The server is in another state so I can't logon directly to it in order to test from my location. How shall I proceed

Thank you
Tim Reynold
Verizon
Hi Tim,

From your reply, you haven't the certain permission to logon the server
which host the webservice, yes? Then, I think we can do the following tests
on the webservice:

1. Creating a client proxy through the following guide(using wsdl.exe
rather than via VS.NET) and consume the webservice by the geneated proxy to
see whether the webservice still fail.
#Creating an XML Web Service Proxy
http://msdn.microsoft.com/library/e...atingWebService
Proxy.asp?frame=true

2. I'm not sure whether you have ever tried calling a webservice via
javascript(DHTML) in a webpage, if not, you may have a look at the
following reference:
#Accessing Web Services From DHTML
http://msdn.microsoft.com/library/e...001.asp?frame=t
rue

If you're able to perform a test via the DHTML way, we can further confirm
whether the problem is with the serverside or not.

In addtion, you can create a simple webservice( similiar with the one
you're consuming, maybe just take 2 string parameters) on your local
machine or a remote machine which you have full control on it. And then
call it on the local machine to see whether the same problem occurs. If
not, that also probably proof that the problem is likely due to the
webservice's serverside processing.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tim,

From your reply, you haven't the certain permission to logon the server
which host the webservice, yes? Then, I think we can do the following tests
on the webservice:

1. Creating a client proxy through the following guide(using wsdl.exe
rather than via VS.NET) and consume the webservice by the geneated proxy to
see whether the webservice still fail.
#Creating an XML Web Service Proxy
http://msdn.microsoft.com/library/e...atingWebService
Proxy.asp?frame=true

2. I'm not sure whether you have ever tried calling a webservice via
javascript(DHTML) in a webpage, if not, you may have a look at the
following reference:
#Accessing Web Services From DHTML
http://msdn.microsoft.com/library/e...001.asp?frame=t
rue

If you're able to perform a test via the DHTML way, we can further confirm
whether the problem is with the serverside or not.

In addtion, you can create a simple webservice( similiar with the one
you're consuming, maybe just take 2 string parameters) on your local
machine or a remote machine which you have full control on it. And then
call it on the local machine to see whether the same problem occurs. If
not, that also probably proof that the problem is likely due to the
webservice's serverside processing.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tim,

Any progress on this issue? If you have any problems on this or if there're
anything else I can help, please feel free to let me know. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tim,

Any progress on this issue? If you have any problems on this or if there're
anything else I can help, please feel free to let me know. Thanks.

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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Tuesday, March 13, 2012

System.Security.SecurityException: Permission denied Error while invoking methods in a Com

Hi,
I am getting an error while trying to create an excel file.
"Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: System.Security.SecurityException: Permission denied"

This is what I am doing. we had an app that was written in VB to take
specific dates and create an excel file.
I am using the dll in my .NET app but it displays the error while writing
the file...

I am sure that I have used regsrv32 to register the DLL

any suggestions,
Stephenyou said you are using the COM server DLL directly in .net? If thats
what you are doing.. you need to create an interop assembly before you
can access the methods in that dll

Please let me know if I understoof your question incorrectly

stephen wrote:

Quote:

Originally Posted by

Hi,
I am getting an error while trying to create an excel file.
"Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: System.Security.SecurityException: Permission denied"
>
This is what I am doing. we had an app that was written in VB to take
specific dates and create an excel file.
I am using the dll in my .NET app but it displays the error while writing
the file...
>
I am sure that I have used regsrv32 to register the DLL
>
any suggestions,
Stephen


Are you trying to run the application over the network? If so, see
http://blogs.msdn.com/shawnfa/archi...6/20/57023.aspx. (If you're
using version 2.0 of the .NET framework, ClickOnce is another option for
permissions elevation.)

If you're not attempting to run the applicaiton over the network, could you
please post the complete exception details (including call stack listing),
as returned from its ToString method?

"stephen" <stephen_jn@.hotmail.comwrote in message
news:%23F0g$XxuGHA.324@.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>
Hi,
I am getting an error while trying to create an excel file.
"Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the required
permission please contact your system administrator or change the
application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Permission denied"
>
This is what I am doing. we had an app that was written in VB to take
specific dates and create an excel file.
I am using the dll in my .NET app but it displays the error while writing
the file...
>
I am sure that I have used regsrv32 to register the DLL
>
any suggestions,
Stephen
>


Hi Kumar and Nicole,

This is how I am working on this project. I have a DLL given to me by
another developer that generates Excel files and he created it using VB6.
I registered it on my box, referenced it and I am trying to use it
This is the error I am getting along with stack trace:

Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.

Exception Details: System.Security.SecurityException: Permission denied

[SecurityException: Permission denied]
CBAS_DTStoExcel.CBQueryDTStoExcelClass.set_OutPath (Object ) +0
cbas.QueryDB.ExportToExcel(DateTime dBeginDate, DateTime dEndDate) in
C:\Inetpub\wwwroot\CBAS_Deploy\QueryDB.aspx.vb:74
cbas.QueryDB.btnRunReport_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\CBAS_Deploy\QueryDB.aspx.vb:53
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +217
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
+179
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87

"Kumar Reddi" <kumarreddi@.gmail.comwrote in message
news:1155062429.705709.30770@.h48g2000cwc.googlegro ups.com...

Quote:

Originally Posted by

you said you are using the COM server DLL directly in .net? If thats
what you are doing.. you need to create an interop assembly before you
can access the methods in that dll
>
Please let me know if I understoof your question incorrectly
>
stephen wrote:

Quote:

Originally Posted by

>Hi,
>I am getting an error while trying to create an excel file.
>"Description: The application attempted to perform an operation not
>allowed
>by the security policy. To grant this application the required permission
>please contact your system administrator or change the application's
>trust
>level in the configuration file.
>Exception Details: System.Security.SecurityException: Permission denied"
>>
>This is what I am doing. we had an app that was written in VB to take
>specific dates and create an excel file.
>I am using the dll in my .NET app but it displays the error while writing
>the file...
>>
>I am sure that I have used regsrv32 to register the DLL
>>
>any suggestions,
>Stephen


>


It looks like your ASP.NET application is not probably not running with
unrestricted CAS permissions (aka full trust). Unless you have restricted
CAS permissions via your own application's web.config file, adjusting this
is a task for the server administrator. (If you are in shared hosting, it's
likely that the administrator will be unwilling to increase your
application's permissions, and you may need to move to dedicated hosting.)

"stephen" <stephen_jn@.hotmail.comwrote in message
news:%23DomAH0uGHA.5044@.TK2MSFTNGP05.phx.gbl...

Quote:

Originally Posted by

Hi Kumar and Nicole,
>
This is how I am working on this project. I have a DLL given to me by
another developer that generates Excel files and he created it using VB6.
I registered it on my box, referenced it and I am trying to use it
This is the error I am getting along with stack trace:
>
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
>
Exception Details: System.Security.SecurityException: Permission denied
>
>
[SecurityException: Permission denied]
CBAS_DTStoExcel.CBQueryDTStoExcelClass.set_OutPath (Object ) +0
cbas.QueryDB.ExportToExcel(DateTime dBeginDate, DateTime dEndDate) in
C:\Inetpub\wwwroot\CBAS_Deploy\QueryDB.aspx.vb:74
cbas.QueryDB.btnRunReport_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\CBAS_Deploy\QueryDB.aspx.vb:53
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
>
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +217
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
>
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
+179
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +87
>
>
>
>
>
>
"Kumar Reddi" <kumarreddi@.gmail.comwrote in message
news:1155062429.705709.30770@.h48g2000cwc.googlegro ups.com...

Quote:

Originally Posted by

>you said you are using the COM server DLL directly in .net? If thats
>what you are doing.. you need to create an interop assembly before you
>can access the methods in that dll
>>
>Please let me know if I understoof your question incorrectly
>>
>stephen wrote:

Quote:

Originally Posted by

>>Hi,
>>I am getting an error while trying to create an excel file.
>>"Description: The application attempted to perform an operation not
>>allowed
>>by the security policy. To grant this application the required
>>permission
>>please contact your system administrator or change the application's
>>trust
>>level in the configuration file.
>>Exception Details: System.Security.SecurityException: Permission denied"
>>>
>>This is what I am doing. we had an app that was written in VB to take
>>specific dates and create an excel file.
>>I am using the dll in my .NET app but it displays the error while
>>writing
>>the file...
>>>
>>I am sure that I have used regsrv32 to register the DLL
>>>
>>any suggestions,
>>Stephen


>>


>
>

System.StackOverflowException


Server Error in '/' Application.
------------------------

Exception of type 'System.StackOverflowException' was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.StackOverflowException: Exception of type 'System.StackOverflowException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[StackOverflowException: Exception of type 'System.StackOverflowException' was thrown.]

I was poking around with some of the controls in ASP.NET 2.0, and suddenly got this message. I have tried everything I can think of, but it just won't go away! Please help!

Thomas ><>Can you be more specific? For example can you post some code or tell us when this happen, what you did that will cause this exception to be thrown etc? This kind of exception will often be thrown when the stack is full, probably when there is loop that will do something with the stack and never. For example like a recursive method that will never end.

<%@. Master Debug="true" %>
<!DOCTYPE HTML SYSTEM>
<html xmlns="http://www.w3.org/1999/xhtml"
<!-- Begin Head. -->
<head>
<title>A Random Design</title>
<meta http-equiv="Content-Type" content="text/html" />
<link type="text/css" rel="stylesheet" href="http://links.10026.com/?link=/ard.css" />
</head>
<!-- End Head. --
<body class="bodycolor02">
<form id="mainform" runat="server"
<div align="center">
<table width="98%">
<tr>
<td colspan="3">
<!-- Begin Header. -->
<table id="header" class="header01" align="center" width="100%" height="100">
<tr>
<td class="backcolor02">><> A Random Design </td>
</tr>
</table>
<!-- End Header. -->
</td>
</tr>
<tr>
<td id="left" align="left" valign="top" width="200">
<!-- Begin Controls. -->
<table id="controls" class="nav01" width="200">
<tr>
<td class="backcolor02" colspan="3" align="center">Navigation</td>
<td class="backcolor02" colspan="5" align="center">Paragraph</td>
</tr>
<tr>
<td class="backcolor02" align="center" valign="bottom"><span class="nav01">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="nav02">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="nav03">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="text01">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="text02">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="text03">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="text04">A</span></td>
<td class="backcolor02" align="center" valign="bottom"><span class="text05">A</span></td>
</tr>
</table>
<!-- End Controls. -->
<!-- Begin Summary. -->
<table id="summary" class="nav01" width="200" height="25">
<tr>
<td class="backcolor02"><span align="center">Latest Updates:</span>
<p>The conversion to ASP.NET 2.0 was a success!<br />
It's a colourful world!<br />
Note the tweaked layout...</p>
</td>
</tr>
</table>
<!-- End Summary. -->
<!-- Begin Menu. -->
<table id="menu" class="nav01" width="200">
<tr>
<td class="backcolor02" valign="top">
<asp:SiteMapDataSource Runat="Server" ID="sitemap" />
<asp:TreeView Runat="Server" ShowExpandCollapse="true" DataSourceID="sitemap">
<DataBindings>
<asp:TreeNodeBinding PopulateOnDemand="true" NavigateUrlField="url" TextField="title" />
</DataBindings>
</asp:TreeView>
</td>
</tr>
</table>
<!-- End Menu. -->
</td>
<td id="center" class="backcolor00" width="100%" align="center" valign="top">
<!-- Begin NavLinks. -->
<table id="navlinks1" class="nav01" align="center" width="100%">
<tr>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="~/">Home</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="javascript:history.back(1)">Back</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><a href="http://links.10026.com/?link=../">Up</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="javascript:history.forward(1)">Forward</asp:HyperLink></span></td>
</tr>
<tr>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">First</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Previous</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Next</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Last</span></td>
</tr>
</table>
<!-- End NavLinks. -->
<!-- Begin BreadCrumbs. -->
<table id="breadcrumbs" class="nav01" align="center" width="100%">
<tr>
<td class="backcolor00">You are here: <asp:SiteMapPath ID="SiteMapPath1" Runat="Server" PathDirection="RootToCurrent" PathSeparator=":-:" CurrentNodeStyle-Font-Italic="true" />
</td>
</tr>
</table>
<!-- End BreadCrumbs. -->
<!-- Begin BodyHead. -->
<table class="header02" align="center" width="100%">
<tr>
<td class="backcolor02">
<asp:ContentPlaceHolder id="bodyhead" runat="server" />
</td>
</tr>
</table>
<!-- End BodyHead. -->
<!-- Begin BodyText. -->
<asp:Panel Runat="Server" ScrollBars="Auto" Width="100%" Height="500">
<table class="text02" align="center" width="100%">
<tr>
<td class="backcolor02" valign="top">
<asp:ContentPlaceHolder id="bodytext" runat="server" />
</td>
</tr>
</table>
</asp:Panel>
<!-- End BodyText. -->
<!-- Begin PageCounter. -->
<table class="nav01" align="center" width="100%">
<tr>
<td class="backcolor00" valign="top">
This page has been viewed <!-- Page Counter --> times.
</td>
</tr>
</table>
<!-- End PageCounter. -->
<!-- Begin NavLinks. -->
<table id="navlinks2" class="nav01" align="center" width="100%">
<tr>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="~/">Home</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="javascript:history.back(1)">Back</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><a href="http://links.10026.com/?link=../">Up</asp:HyperLink></span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled"><asp:HyperLink Runat="Server" NavigateUrl="javascript:history.forward(1)">Forward</asp:HyperLink></span></td>
</tr>
<tr>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">First</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Previous</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Next</span></td>
<td class="backcolor00" style="text-align: center"><span class="linkdisabled">Last</span></td>
</tr>
</table>
<!-- End NavLinks. -->
</td>
<td id="right" align="center" valign="top" width="200">
<!-- Begin AdsTable. -->
<table valign="top" width="100%">
<tr>
<td class="backcolor00">
<!-- Begin AdsTable. -->
<table valign="top" width="100%">
<tr>
<td class="backcolor00">
<asp:ContentPlaceHolder runat="server" ID="adstable">
<asp:AdRotator Runat="server" ID="AdRotator" AdvertisementFile="~/images/adrotate.xml" />
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
<!-- End AdsTable. -->
</td>
</tr>
</table>
<!-- End AdsTable. --></td>
</tr>
<tr>
<td colspan="3">
<!-- Begin Footer. -->
<table id="footer" class="nav01" align="center" width="100%">
<tr>
<td class="backcolor02" width="100%">
<p style="text-align: center">Copyright © 2002-2004 Thomas Ingram ><> All Rights Reserved.</p>
</td>
</tr>
</table>
<!-- End Footer. -->
</td>
</tr>
</table>
</div
</form>
</body
</html>

That is the source for the Master page. I am certain the problem is not with the Content pages. Also I am using an XML file that has the menu info in it. I am sure the problem is not there either, since the menu worked at one point. Thank you.

Thomas ><>
Has anyone else seen this error? How is it fixed?
If you could send me your code and the XML file, I could check if I will have the same problem. My e-mail is fnormen@.<no spam>hotmail.com