Showing posts with label type. Show all posts
Showing posts with label type. Show all posts

Wednesday, March 28, 2012

There was an error generating the XML document.

Hello when I serialize an object an error generated using this function
public string SerializeObject(object oClassObject,System.Type oClassType)
{
XmlSerializer oSerializer = new XmlSerializer(oClassType);
System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
try
{
oSerializer.Serialize(writer,oClassObject);
}
catch(InvalidOperationException ex)
{
string msg = ex.Message;
string stack = ex.StackTrace;
}
return strBuilder.ToString();
}
and exception occured with message "There was an error generating the XML
document."
how can I know where is the error occured the stack trace did not give usef
info
StackTrace : " at
System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object
o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object
o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
Object o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
oClassType) in d:\\scorm\\test\\form1.cs:line 133" string
line 133 where I called oSerializer.Serialize(writer,oClassObject);
Any Suggestions?And that's all the stack trace? There isn't anything more in the error
description (no description of inner exception whatsoever)?
I think you'd get replies faster by asking this at
microsoft.public.dotnet.xml group (I sent this to that group).
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Raed Sawalha" <RaedSawalha@.discussions.microsoft.com> wrote in message
news:050B90D9-6524-46CD-BB20-E1FE3BAE0367@.microsoft.com...
> Hello when I serialize an object an error generated using this function
> public string SerializeObject(object oClassObject,System.Type oClassType)
> {
> XmlSerializer oSerializer = new XmlSerializer(oClassType);
> System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
> System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
> try
> {
> oSerializer.Serialize(writer,oClassObject);
> }
> catch(InvalidOperationException ex)
> {
> string msg = ex.Message;
> string stack = ex.StackTrace;
> }
> return strBuilder.ToString();
> }
> and exception occured with message "There was an error generating the XML
> document."
> how can I know where is the error occured the stack trace did not give
> usef
> info
> StackTrace : " at
> System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object
> o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object
> o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
> Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
> Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
> oClassType) in d:\\scorm\\test\\form1.cs:line 133" string
> line 133 where I called oSerializer.Serialize(writer,oClassObject);
> Any Suggestions?
Can you post the definition of the class you're trying to serialize?
If the class is not serializable, the XmlSerializer is going to have a
hard time turning it into an XML document :)
Greetings,
Wessel
--Original Message--
From: Raed Sawalha [mailto:RaedSawalha@.discussions.microsoft.com]
Posted At: Sunday, April 10, 2005 11:25 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: There was an error generating the XML document.
Subject: There was an error generating the XML document.
Hello when I serialize an object an error generated using this function
public string SerializeObject(object oClassObject,System.Type
oClassType)
{
XmlSerializer oSerializer = new XmlSerializer(oClassType);
System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
try
{
oSerializer.Serialize(writer,oClassObject);
}
catch(InvalidOperationException ex)
{
string msg = ex.Message;
string stack = ex.StackTrace;
}
return strBuilder.ToString();
}
and exception occured with message "There was an error generating the
XML
document."
how can I know where is the error occured the stack trace did not give
usef
info
StackTrace : " at
System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object
o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object
o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
Object o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter,
Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
oClassType) in d:\\scorm\\test\\form1.cs:line 133" string
line 133 where I called oSerializer.Serialize(writer,oClassObject);
Any Suggestions?
Hello Raed,
Your code looks ok. You'll need to dig down into the InnerException ... buri
ed
down in there you'll find the root cause of the problem.
Matt Berther
http://www.mattberther.com

> Hello when I serialize an object an error generated using this
> function
> public string SerializeObject(object oClassObject,System.Type
> oClassType)
> {
> XmlSerializer oSerializer = new XmlSerializer(oClassType);
> System.Text.StringBuilder strBuilder = new
> System.Text.StringBuilder();
> System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
> try
> {
> oSerializer.Serialize(writer,oClassObject);
> }
> catch(InvalidOperationException ex)
> {
> string msg = ex.Message;
> string stack = ex.StackTrace;
> }
> return strBuilder.ToString();
> }
> and exception occured with message "There was an error generating the
> XML
> document."
> how can I know where is the error occured the stack trace did not give
> usef
> info
> StackTrace : " at
> System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String
> encodingStyle)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
> textWriter, Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
> textWriter, Object o)\r\n at Test.Form1.SerializeObject(Object
> oClassObject, Type oClassType) in d:\\scorm\\test\\form1.cs:line 133"
> string
> line 133 where I called oSerializer.Serialize(writer,oClassObject);
> Any Suggestions?
>

There was an error generating the XML document.

Hello when I serialize an object an error generated using this function
public string SerializeObject(object oClassObject,System.Type oClassType)
{
XmlSerializer oSerializer = new XmlSerializer(oClassType);
System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
try
{
oSerializer.Serialize(writer,oClassObject);
}
catch(InvalidOperationException ex)
{
string msg = ex.Message;
string stack = ex.StackTrace;
}
return strBuilder.ToString();
}

and exception occured with message "There was an error generating the XML
document."
how can I know where is the error occured the stack trace did not give usef
info

StackTrace : " at
System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter, Object
o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter, Object
o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
Object o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
oClassType) in d:\\scorm\\test\\form1.cs:line 133"string

line 133 where I called oSerializer.Serialize(writer,oClassObject);

Any Suggestions?And that's all the stack trace? There isn't anything more in the error
description (no description of inner exception whatsoever)?

I think you'd get replies faster by asking this at
microsoft.public.dotnet.xml group (I sent this to that group).

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU

"Raed Sawalha" <RaedSawalha@.discussions.microsoft.com> wrote in message
news:050B90D9-6524-46CD-BB20-E1FE3BAE0367@.microsoft.com...
> Hello when I serialize an object an error generated using this function
> public string SerializeObject(object oClassObject,System.Type oClassType)
> {
> XmlSerializer oSerializer = new XmlSerializer(oClassType);
> System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
> System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
> try
> {
> oSerializer.Serialize(writer,oClassObject);
> }
> catch(InvalidOperationException ex)
> {
> string msg = ex.Message;
> string stack = ex.StackTrace;
> }
> return strBuilder.ToString();
> }
> and exception occured with message "There was an error generating the XML
> document."
> how can I know where is the error occured the stack trace did not give
> usef
> info
> StackTrace : " at
> System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
> Object
> o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
> Object
> o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
> Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
> Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
> oClassType) in d:\\scorm\\test\\form1.cs:line 133" string
> line 133 where I called oSerializer.Serialize(writer,oClassObject);
> Any Suggestions?
Can you post the definition of the class you're trying to serialize?

If the class is not serializable, the XmlSerializer is going to have a
hard time turning it into an XML document :)

Greetings,
Wessel

--Original Message--
From: Raed Sawalha [mailto:RaedSawalha@.discussions.microsoft.com]
Posted At: Sunday, April 10, 2005 11:25 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: There was an error generating the XML document.
Subject: There was an error generating the XML document.

Hello when I serialize an object an error generated using this function
public string SerializeObject(object oClassObject,System.Type
oClassType)
{
XmlSerializer oSerializer = new XmlSerializer(oClassType);
System.Text.StringBuilder strBuilder = new System.Text.StringBuilder();
System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
try
{
oSerializer.Serialize(writer,oClassObject);
}
catch(InvalidOperationException ex)
{
string msg = ex.Message;
string stack = ex.StackTrace;
}
return strBuilder.ToString();
}

and exception occured with message "There was an error generating the
XML
document."
how can I know where is the error occured the stack trace did not give
usef
info

StackTrace : " at
System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object
o, XmlSerializerNamespaces namespaces, String encodingStyle)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object
o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
Object o, XmlSerializerNamespaces namespaces)\r\n at
System.Xml.Serialization.XmlSerializer.Serialize(T extWriter textWriter,
Object o)\r\n at Test.Form1.SerializeObject(Object oClassObject, Type
oClassType) in d:\\scorm\\test\\form1.cs:line 133"string

line 133 where I called oSerializer.Serialize(writer,oClassObject);

Any Suggestions?
Hello Raed,

Your code looks ok. You'll need to dig down into the InnerException ... buried
down in there you'll find the root cause of the problem.

--
Matt Berther
http://www.mattberther.com

> Hello when I serialize an object an error generated using this
> function
> public string SerializeObject(object oClassObject,System.Type
> oClassType)
> {
> XmlSerializer oSerializer = new XmlSerializer(oClassType);
> System.Text.StringBuilder strBuilder = new
> System.Text.StringBuilder();
> System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder);
> try
> {
> oSerializer.Serialize(writer,oClassObject);
> }
> catch(InvalidOperationException ex)
> {
> string msg = ex.Message;
> string stack = ex.StackTrace;
> }
> return strBuilder.ToString();
> }
> and exception occured with message "There was an error generating the
> XML
> document."
> how can I know where is the error occured the stack trace did not give
> usef
> info
> StackTrace : " at
> System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String
> encodingStyle)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(T extWriter
> textWriter, Object o, XmlSerializerNamespaces namespaces)\r\n at
> System.Xml.Serialization.XmlSerializer.Serialize(T extWriter
> textWriter, Object o)\r\n at Test.Form1.SerializeObject(Object
> oClassObject, Type oClassType) in d:\\scorm\\test\\form1.cs:line 133"
> string
> line 133 where I called oSerializer.Serialize(writer,oClassObject);
> Any Suggestions?

Saturday, March 24, 2012

This type of page is not served.

I am beginning to create my first .net website and am running into a problem. Google provided little help. I tried to access an .asp file within one of my subfolders and am receiving the following error:


This type of page is not served.


Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.asp' may be incorrect. Please review the URL below and make sure that it is spelled correctly.

Is it possible to change the web.config or machine.config file to allow access to an .asp page? I'm new to .Net 2.0.

Thanks!

Hi,

do you use windows server 2003 in combination with IIS6? If so you need to know that IIS6, by default, has the settings set to off for serving ASP.NET or classic ASP pages.

Besides that, ASP.NET webforms need to have the extension .aspx, not .asp. This is needed to have IIS use the correct ISAPI filters.

Grz, Kris.


Yes, I'm on a win2003 server with IIS 6. What I'm basically trying to accomplish is create a 2.0 login system to replace our current system. We currently have a lot of sites written in classic asp and a few newer sites written in .NET 2.0. So what I have done is set up a test and everything works well, until I try to access an .asp page inside of one of our sites. I know that webforms need the .aspx extension, but am unsure of how to configure ISAPI or httphandlers to allow the execution of .asp pages. A general diagram of our system is below:

Our_Portal -- main folder, has 2.0 login features with links to the following subfolders/sites

Site_A -- .NET 2.0 site

Site_B -- classic ASP

Site_C -- classic ASP

When I try to access sites B and C, I get the "cannot serve pages" error. Is this more clear?

This type of page is not served.

Why when I click .asp page shows up this error on VS 2005: "This type of
page is not served."

Can I configure it to run .asp pages?You must be using the built-in development server, right? That won't work.
Switch it to IIS and it should be fine.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
"Paulo" wrote:

Quote:

Originally Posted by

Why when I click .asp page shows up this error on VS 2005: "This type of
page is not served."
>
Can I configure it to run .asp pages?
>
>
>


And...if debugging is desired, these blog entries help a lot :

http://blogs.msdn.com/greggm/archiv.../15/552108.aspx
http://blogs.msdn.com/mikhailarkhip.../15/552236.aspx
http://blogs.msdn.com/mikhailarkhip.../24/432308.aspx
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/
======================================
"Peter Bromberg [C# MVP]" <pbromberg@.yahoo.yohohhoandabottleofrum.comwrote in message
news:41C2E3DE-BB97-44D6-A369-AB1B1E0CAFA3@.microsoft.com...

Quote:

Originally Posted by

You must be using the built-in development server, right? That won't work.
Switch it to IIS and it should be fine.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
>
>
>
"Paulo" wrote:
>

Quote:

Originally Posted by

>Why when I click .asp page shows up this error on VS 2005: "This type of
>page is not served."
>>
>Can I configure it to run .asp pages?
>>
>>
>>

This type of page is not served.

Why when I click .asp page shows up this error on VS 2005: "This type of
page is not served."
Can I configure it to run .asp pages?You must be using the built-in development server, right? That won't work.
Switch it to IIS and it should be fine.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
"Paulo" wrote:

> Why when I click .asp page shows up this error on VS 2005: "This type of
> page is not served."
> Can I configure it to run .asp pages?
>
>
And...if debugging is desired, these blog entries help a lot :
http://blogs.msdn.com/greggm/archiv.../15/552108.aspx
http://blogs.msdn.com/mikhailarkhip.../15/552236.aspx
http://blogs.msdn.com/mikhailarkhip.../24/432308.aspx
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/
======================================
"Peter Bromberg [C# MVP]" <pbromberg@.yahoo.yohohhoandabottleofrum.com> wrote
in message
news:41C2E3DE-BB97-44D6-A369-AB1B1E0CAFA3@.microsoft.com...
> You must be using the built-in development server, right? That won't work.
> Switch it to IIS and it should be fine.
> -- Peter
> Recursion: see Recursion
> site: http://www.eggheadcafe.com
> unBlog: http://petesbloggerama.blogspot.com
> bogMetaFinder: http://www.blogmetafinder.com
>
> "Paulo" wrote:
>

This type of Animation

Hi Guys,
in some websites I have seen a very good type of animation that consist of
fading between two webpages, where the first webpage fads off and the other
page fads in goto this link to see what I mean its in Arabic but click at an
y
link in table in left side: http://www.khayma.com/sweets/back.htm
does any one knows or give a link to learn how to do this type of animation?
'
Regards,
M.RochdiThose effects are called "page transitions".
They've been around since IE4.
http://www.google.com/search?hl=en&...e+transition%22
http://www.permadi.com/tutorial/ieP...tion/index.html
http://msdn.microsoft.com/library/d...tions_entry.asp
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/
===================================
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:98B864F8-4888-4F15-A28A-6F97CBF14BB1@.microsoft.com...
> Hi Guys,
> in some websites I have seen a very good type of animation that consist of
> fading between two webpages, where the first webpage fads off and the othe
r
> page fads in goto this link to see what I mean its in Arabic but click at
any
> link in table in left side: http://www.khayma.com/sweets/back.htm
> does any one knows or give a link to learn how to do this type of animatio
n?
> --
> Regards,
> M.Rochdi

This type of Animation

Hi Guys,

in some websites I have seen a very good type of animation that consist of
fading between two webpages, where the first webpage fads off and the other
page fads in goto this link to see what I mean its in Arabic but click at any
link in table in left side: http://www.khayma.com/sweets/back.htm
does any one knows or give a link to learn how to do this type of animation?

--
Regards,
M.RochdiThose effects are called "page transitions".
They've been around since IE4.

http://www.google.com/search?hl=en&...e+transition%22
http://www.permadi.com/tutorial/ieP...tion/index.html
http://msdn.microsoft.com/library/d...tions_entry.asp
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/
===================================
"Mike" <Mike@.discussions.microsoft.comwrote in message
news:98B864F8-4888-4F15-A28A-6F97CBF14BB1@.microsoft.com...

Quote:

Originally Posted by

Hi Guys,
>
in some websites I have seen a very good type of animation that consist of
fading between two webpages, where the first webpage fads off and the other
page fads in goto this link to see what I mean its in Arabic but click at any
link in table in left side: http://www.khayma.com/sweets/back.htm
does any one knows or give a link to learn how to do this type of animation?
>
--
Regards,
M.Rochdi

Thursday, March 22, 2012

Thrash my site

Note: "Thrash" not "Trash" :-)
I've developed a website, the purpose of writing this site was to test a
Model Driven Architecture type approach.
http://www.howtodothings.com
I'm not sure how well this approach stands up to high-demand. I thought I'd
ask in here if as many people as possible could just flick through some
categories, pull up some articles, etc.
Now that I think of it though this is a bit of a crappy way to test it, no
co-ordination of the demand. In which case, what is a good way to stress
test a website?
Thanks
Pete
====
ECO Modeler, Audio compression components, DIB graphics controls,
FastStrings
http://www.droopyeyes.com
Read or write articles on just about anything
http://www.HowToDoThings.com
My blog
http://blogs.slcdug.org/petermorris/Try using http://jakarta.apache.org/jmeter/
Its a good tool for testing websites, it requires java runtime environment
since its written in java, but it can test ASP pages just fine.
/Dan
"Peter Morris [Droopy eyes software]" <pete@.not.this.or.this.droopyeyes.com>
wrote in message news:%235KAFt4AFHA.2640@.TK2MSFTNGP14.phx.gbl...
> Note: "Thrash" not "Trash" :-)
> Now that I think of it though this is a bit of a crappy way to test it, no
> co-ordination of the demand. In which case, what is a good way to stress
> test a website?
>
If you're using IIS5.x, you can use WAST
( Web Application Stress Tool ) :
http://www.microsoft.com/downloads/...&displaylang=en
If you're using IIS 6.0, you can use the
Web Capacity Analysis Tool Version 5.2,
included in the IIS 6.0 Resource Kit:
http://www.microsoft.com/downloads/...&displaylang=en
Both tools do a bangup job of simulating multiple
browsers requesting pages from a web site
Juan T. Llibre
ASP.NET MVP
===========
"Peter Morris [Droopy eyes software]" <pete@.not.this.or.this.droopyeyes.com>
wrote in message news:%235KAFt4AFHA.2640@.TK2MSFTNGP14.phx.gbl...
> Note: "Thrash" not "Trash" :-)
> I've developed a website, the purpose of writing this site was to test a
> Model Driven Architecture type approach.
> http://www.howtodothings.com
> I'm not sure how well this approach stands up to high-demand. I thought
> I'd ask in here if as many people as possible could just flick through
> some categories, pull up some articles, etc.
> Now that I think of it though this is a bit of a crappy way to test it, no
> co-ordination of the demand. In which case, what is a good way to stress
> test a website?
> Thanks
>
> --
> Pete
> ====
> ECO Modeler, Audio compression components, DIB graphics controls,
> FastStrings
> http://www.droopyeyes.com
> Read or write articles on just about anything
> http://www.HowToDoThings.com
> My blog
> http://blogs.slcdug.org/petermorris/
>

Thrash my site

Note: "Thrash" not "Trash" :-)

I've developed a website, the purpose of writing this site was to test a
Model Driven Architecture type approach.
http://www.howtodothings.com

I'm not sure how well this approach stands up to high-demand. I thought I'd
ask in here if as many people as possible could just flick through some
categories, pull up some articles, etc.

Now that I think of it though this is a bit of a crappy way to test it, no
co-ordination of the demand. In which case, what is a good way to stress
test a website?

Thanks

--
Pete
====
ECO Modeler, Audio compression components, DIB graphics controls,
FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com

My blog
http://blogs.slcdug.org/petermorris/Try using http://jakarta.apache.org/jmeter/
Its a good tool for testing websites, it requires java runtime environment
since its written in java, but it can test ASP pages just fine.

/Dan

"Peter Morris [Droopy eyes software]" <pete@.not.this.or.this.droopyeyes.com>
wrote in message news:%235KAFt4AFHA.2640@.TK2MSFTNGP14.phx.gbl...
> Note: "Thrash" not "Trash" :-)
> Now that I think of it though this is a bit of a crappy way to test it, no
> co-ordination of the demand. In which case, what is a good way to stress
> test a website?
If you're using IIS5.x, you can use WAST
( Web Application Stress Tool ) :

http://www.microsoft.com/downloads/...&displaylang=en

If you're using IIS 6.0, you can use the
Web Capacity Analysis Tool Version 5.2,
included in the IIS 6.0 Resource Kit:

http://www.microsoft.com/downloads/...&displaylang=en

Both tools do a bangup job of simulating multiple
browsers requesting pages from a web site

Juan T. Llibre
ASP.NET MVP
===========
"Peter Morris [Droopy eyes software]" <pete@.not.this.or.this.droopyeyes.com>
wrote in message news:%235KAFt4AFHA.2640@.TK2MSFTNGP14.phx.gbl...
> Note: "Thrash" not "Trash" :-)
> I've developed a website, the purpose of writing this site was to test a
> Model Driven Architecture type approach.
> http://www.howtodothings.com
> I'm not sure how well this approach stands up to high-demand. I thought
> I'd ask in here if as many people as possible could just flick through
> some categories, pull up some articles, etc.
> Now that I think of it though this is a bit of a crappy way to test it, no
> co-ordination of the demand. In which case, what is a good way to stress
> test a website?
> Thanks
>
> --
> Pete
> ====
> ECO Modeler, Audio compression components, DIB graphics controls,
> FastStrings
> http://www.droopyeyes.com
> Read or write articles on just about anything
> http://www.HowToDoThings.com
> My blog
> http://blogs.slcdug.org/petermorris/