Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Saturday, March 31, 2012

Monday, March 26, 2012

Serializable

Hello, When I attempt to store a dataview into a "viewState" variable, I get
some error message indicating that I need to "mark the dataview as
serializable". How do I do that?DataSet is serializable, store it. DataView is a property of DataSet hence
not serializable. You can always get the DataView from the DataSet.

"Jim Heavey" <JimHeavey@.hotmail.com> wrote in message
news:ez2zYkBmDHA.1084@.tk2msftngp13.phx.gbl...
> Hello, When I attempt to store a dataview into a "viewState" variable, I
get
> some error message indicating that I need to "mark the dataview as
> serializable". How do I do that?
DataSet is serializable, store it. DataView is a property of DataSet hence
not serializable. You can always get the DataView from the DataSet.

"Jim Heavey" <JimHeavey@.hotmail.com> wrote in message
news:ez2zYkBmDHA.1084@.tk2msftngp13.phx.gbl...
> Hello, When I attempt to store a dataview into a "viewState" variable, I
get
> some error message indicating that I need to "mark the dataview as
> serializable". How do I do that?

Tuesday, March 13, 2012

server application not available

After I upgraded to .NET 2.0, every a few days, our sites will stop and I
get an error message of "server application not available". I tried the
event viewer but did not find any information related to this.

I am using Windows 2003 standard, any idea where to look for the error? It
sounds like a DotNet run time error?

regards,

Guoqi Zheng
http://www.ureader.comPossibly it could be due to process recycling but then again it could be a
dozen other things. IIS settings, whether in IIS 5.0 compatibility mode,
various IIS settings that you may or may not have set, and half a dozen other
things.
First step, check the Application Event log to see if there are any clues.
Check connections being properly closed, download the Best Practices
Whitepapers from MSDN and "Get under the hood".
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com

"guoqi zheng" wrote:

> After I upgraded to .NET 2.0, every a few days, our sites will stop and I
> get an error message of "server application not available". I tried the
> event viewer but did not find any information related to this.
> I am using Windows 2003 standard, any idea where to look for the error? It
> sounds like a DotNet run time error?
>
> regards,
> Guoqi Zheng
> http://www.ureader.com
We saw the same thing in a server that we recently upgraded to .net 2.0.
There were a few different applications running, one in 2.0, the rest
in 1.1.

Turns out you can't have different versions of .net running in the same
app pool. As soon as we moved the 2.0 stuff to a new app pool, the
problem went away.

I don't know if this is your problem, but it seems likely. As Peter in
the previous post said: it could be half a dozen other things.

guoqi zheng wrote:
> After I upgraded to .NET 2.0, every a few days, our sites will stop and I
> get an error message of "server application not available". I tried the
> event viewer but did not find any information related to this.
> I am using Windows 2003 standard, any idea where to look for the error? It
> sounds like a DotNet run time error?
>
> regards,
> Guoqi Zheng
> http://www.ureader.com

--
David Hogue

server application not available

After I upgraded to .NET 2.0, every a few days, our sites will stop and I
get an error message of "server application not available". I tried the
event viewer but did not find any information related to this.
I am using Windows 2003 standard, any idea where to look for the error? It
sounds like a DotNet run time error?
regards,
Guoqi Zheng
http://www.ureader.comPossibly it could be due to process recycling but then again it could be a
dozen other things. IIS settings, whether in IIS 5.0 compatibility mode,
various IIS settings that you may or may not have set, and half a dozen othe
r
things.
First step, check the Application Event log to see if there are any clues.
Check connections being properly closed, download the Best Practices
Whitepapers from MSDN and "Get under the hood".
Peter
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"guoqi zheng" wrote:

> After I upgraded to .NET 2.0, every a few days, our sites will stop and I
> get an error message of "server application not available". I tried the
> event viewer but did not find any information related to this.
> I am using Windows 2003 standard, any idea where to look for the error? It
> sounds like a DotNet run time error?
>
> regards,
> Guoqi Zheng
> http://www.ureader.com
>
We saw the same thing in a server that we recently upgraded to .net 2.0.
There were a few different applications running, one in 2.0, the rest
in 1.1.
Turns out you can't have different versions of .net running in the same
app pool. As soon as we moved the 2.0 stuff to a new app pool, the
problem went away.
I don't know if this is your problem, but it seems likely. As Peter in
the previous post said: it could be half a dozen other things.
guoqi zheng wrote:
> After I upgraded to .NET 2.0, every a few days, our sites will stop and I
> get an error message of "server application not available". I tried the
> event viewer but did not find any information related to this.
> I am using Windows 2003 standard, any idea where to look for the error? It
> sounds like a DotNet run time error?
>
> regards,
> Guoqi Zheng
> http://www.ureader.com
David Hogue

Server Application Unavailable

Hi all,
I'm getting a "Server Application Unavailable" error message when I runa query against my database which is in MS Access. Other pages arerunning fine. Also, the query runs for some particular combinations butfor other I get this error. I'm not sure why. And all this stratedhappening suddenly. Previously, it was running without problems and Ididn't even change the code. So why now?
the web server I'm using is Windows 2000 Server. The version of ASP.NET I have is 1.1.
I viewed the event log which describes a different error every time Irefresh the page. The errors are none of those that I found aftersearching on the net and msdn.
It seems I'm getting two error messages per refresh but they all seem to be different.
I have copied the event log below:
1)
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 5/12/2005
Time: 9:39:21 AM
User: N/A
Computer: (omitted)
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot befound. The local computer may not have the necessary registryinformation or message DLL files to display messages from a remotecomputer. The following information is part of the event: .NET Runtimeversion 1.1.4322.573- Setup Error: Failed to load resources fromresource file
Please check your Setup.

2)
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1008
Date: 5/12/2005
Time: 9:39:55 AM
User: N/A
Computer:
Description:
aspnet_wp.exe (PID: 3256) was recycled because it failed to respond to ping message.

3)
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 5/12/2005
Time: 9:51:46 AM
User: N/A
Computer:
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot befound. The local computer may not have the necessary registryinformation or message DLL files to display messages from a remotecomputer. The following information is part of the event: .NET Runtimeversion 1.1.4322.573- aspnet_wp.exe - Common Language Runtime DebuggingServices: Application has generated an exception that could not behandled.
Process id=0x1320 (4896), Thread id=0xbd0 (3024).
Click OK to terminate the application.
Click CANCEL to debug the application..

4)
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1000
Date: 5/12/2005
Time: 9:51:46 AM
User: N/A
Computer:
Description:
aspnet_wp.exe (PID: 4896) stopped unexpectedly.
I would really appreciate any help on this. Please help me.
Thanks in advance.
Usually, this happens when you have an infinite loop in your code. This seems to be confirmed by the problem only appearing for some parameters.

Server Application Unavailable

Hi,

I have my machine, where i develop my applications (ASPNET), and run well. but...

When i copy the project to other server, this message appear "Server Application Unavailable"....

-In this server, exist old applications, so i can't re-install the IIS.
So...
-I installed the framework 1.1, after IIS.

Please, somebody help me.....Hi,

Maybe the reason is security. So try doing to IIS and click on the folder which has your applicattion. I think you have to right click and choose some property to make the web application Public. Try it maybe it will work.
Thanks,

But, the site, is like Application and it has all the extensions.

And, don't run......:(

Someone, had the same problem?
I did. It had me scratching my head for a bit I must confess but it turned out to be the result of a stack overflow. Check your code carefully--you may be unexpectedly encountering recursion that probably wouldn't have shown up on your test server because of fairly subtle configuration differences between it and your production server. The easiest way to track this down and fix it is to single step using the Visual Studio .net debugger, particularly if you are able to debug remotely on your other server.

It records "Server application unavailable" because a stack overflow crashes your aspnet_wp.exe process and it has to restart.

This is where programming becomes like solving the cryptic crossword in the Daily Telegraph...