I have a dual-threaded app that runs just as it's supposed to under Casini.
However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same
machine, it is totally unpredictable and crashes the server. One would think
my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas? 13 1543
Have you tried debugging the app under IIS ?
Post some of the code that's failing in IIS.
That's the only way we could possibly help you.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl... I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
Debugging would seem to be a little useless since, as I said, it runs
perfectly under Casini. The problem is not with my code, but with the
difference between IIS and Casini. It appears there is a bug in IIS. I can't
be the first and only person to notice a difference between the two
environments.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl... Have you tried debugging the app under IIS ?
Post some of the code that's failing in IIS. That's the only way we could possibly help you.
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
Don't want to look like a smart-ass, but debugging on IIS is still
recommended as it will give you insight into what piece of your code
will be dealt with differently by IIS, so it might give you a hint for a
possible workaround.
Chip wrote: Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini. It appears there is a bug in IIS. I can't be the first and only person to notice a difference between the two environments.
--
Ward Bekker
"Asp.Net Discussions for the Professional Developer" http://www.dotnettaxi.com
"Free .Net 2.0 C# to/from VB.Net Code Converter" http://www.dotnettaxi.com/Tools/Converter.aspx
re: Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini.
Aargh!
The purpose, when you debug, is to identify problems.
If you debug the application under IIS,
you will identify what's causing the problems you say you have.
Isn't that what you want to do ? [ identify the problem(s)... ]
re: I can't be the first and only person to notice a difference between the two environments.
No, but you may very well be the first one to refuse to debug an application
which apparently is having problems running uder IIS.
You can't pin down execution problems via osmosis.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Chip" <ch**@intradata.com> wrote in message news:Oo**************@TK2MSFTNGP12.phx.gbl... Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini. It appears there is a bug in IIS. I can't be the first and only person to notice a difference between the two environments.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:eW**************@tk2msftngp13.phx.gbl... Have you tried debugging the app under IIS ?
Post some of the code that's failing in IIS. That's the only way we could possibly help you.
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
As suggested, debug under IIS. Put the project into IIS and then open it from
VS 2005 - Open Website > From Local IIS > and then debug.
--
blog: www.thinkingMS.com/pandurang
"Chip" wrote: Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini. It appears there is a bug in IIS. I can't be the first and only person to notice a difference between the two environments.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:eW**************@tk2msftngp13.phx.gbl... Have you tried debugging the app under IIS ?
Post some of the code that's failing in IIS. That's the only way we could possibly help you.
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
On Wed, 22 Mar 2006 23:10:17 -0800, Chip wrote: Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini. It appears there is a bug in IIS. I can't be the first and only person to notice a difference between the two environments.
Ahh.. the classic denial.
I remember when people would come into the Visual C++ newsgroups after VC6
was released and complain that VC6 was broken because they recompiled their
apps with VC6 and their code broke. They swore up and down there was
nothing wrong with their code, because it worked fine on VC5.
After (finally) getting them to look a their code, 9 out of 10 times, they
would sheepishly admit they found the problem, and it was their code, it
just happened to work under VC5 and VC6 changed something that brought the
bug to light.
The purpose of that story was to point out to you that just because
something works in one environment, doesn't mean there's nothing wrong with
your code.
Attach to the w3wp.exe process and run the copy on IIS, you will be able to
step through in the same way.
"Chip" <ch**@intradata.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl... Debugging would seem to be a little useless since, as I said, it runs perfectly under Casini. The problem is not with my code, but with the difference between IIS and Casini. It appears there is a bug in IIS. I can't be the first and only person to notice a difference between the two environments.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:eW**************@tk2msftngp13.phx.gbl... Have you tried debugging the app under IIS ?
Post some of the code that's failing in IIS. That's the only way we could possibly help you.
Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
Casini is not the same enviroment as iis, nor if you use iis on winxp is the
same enviroment if you deploy to win2003 server (iis 6.0). it would be nice
if there was little no difference between enviroments, but its not likely to
become perfect.
you code is crashing, it probably your bug (you are counting too much on
enviroment setup). you need to test in all enviroments.
-- bruce (sqlwork.com)
"Chip" <ch**@intradata.com> wrote in message
news:us**************@TK2MSFTNGP14.phx.gbl... I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
re: Cassini is not the same enviroment as iis your code is crashing, it's probably your bug (you are counting too much on enviroment setup). you need to test in all enviroments.
He doesn't want to "test in all environments", Bruce.
I was the first to tell him that he needs to do that.
You're now the 4th poster who tells him that
he needs to debug under IIS ( the correct answer ).
His reply to me was that I need to "really need to get down from that ivory tower".
There's no worse blind man than one who doesn't want to see.
<shrug>
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Bruce Barker" <br******************@safeco.com> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl... Casini is not the same enviroment as iis, nor if you use iis on winxp is the same enviroment if you deploy to win2003 server (iis 6.0). it would be nice if there was little no difference between enviroments, but its not likely to become perfect.
you code is crashing, it probably your bug (you are counting too much on enviroment setup). you need to test in all enviroments.
-- bruce (sqlwork.com) "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
I am finding that out from other helpful people. "Testing in all
environments" is a good idea if you are actually running in all those
environments. However, since Casini is only used during development (as far
as I know) and doesn't appear to mimick IIS 2.0 in a consistent way, it
seems that it is not in our best interests to develop using Casini.
"Bruce Barker" <br******************@safeco.com> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl... Casini is not the same enviroment as iis, nor if you use iis on winxp is the same enviroment if you deploy to win2003 server (iis 6.0). it would be nice if there was little no difference between enviroments, but its not likely to become perfect.
you code is crashing, it probably your bug (you are counting too much on enviroment setup). you need to test in all enviroments.
-- bruce (sqlwork.com) "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
Cassini was built with the objective of allowing developers to create web
projects on the file system with ease.
So it is easy for a bunch of developers to write one page each and work with
Cassini.
But eventually if you are deploying in IIS, you have to test there.
Regards
Pandurang
--
blog: www.thinkingMS.com/pandurang
"Chip" wrote: I am finding that out from other helpful people. "Testing in all environments" is a good idea if you are actually running in all those environments. However, since Casini is only used during development (as far as I know) and doesn't appear to mimick IIS 2.0 in a consistent way, it seems that it is not in our best interests to develop using Casini.
"Bruce Barker" <br******************@safeco.com> wrote in message news:eE**************@TK2MSFTNGP11.phx.gbl... Casini is not the same enviroment as iis, nor if you use iis on winxp is the same enviroment if you deploy to win2003 server (iis 6.0). it would be nice if there was little no difference between enviroments, but its not likely to become perfect.
you code is crashing, it probably your bug (you are counting too much on enviroment setup). you need to test in all enviroments.
-- bruce (sqlwork.com) "Chip" <ch**@intradata.com> wrote in message news:us**************@TK2MSFTNGP14.phx.gbl...I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
To add what others have mentioned here, debugging under IIS is important
because the web server environments (IIS and Cassini) are completely
different. Even if your web application runs fine under Cassini, there is
not as many sources of error associated with Cassini as there can be with
IIS. You mentioned that this is a dual-threaded app and that it works under
Cassini and not IIS. This is probably the source of your problem since IIS
will most likely behave differently with a multi-threaded application.
Debugging under IIS is the only way to the answer.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"Chip" <ch**@intradata.com> wrote in message
news:us**************@TK2MSFTNGP14.phx.gbl... I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas?
I've had similar problems - I was not fully locking shared objects. Worked
fine in Cassini, the bug only emerged on IIS.
Maybe Cassini doesn't genuniely multi-thread, so doesn't properly test the
locking strategy? Certainly it's behaviour in some ways is different to
IIS - eg it enforces Forms Authentication identity on jpg's and gif's, which
IIS doesn't (those pages arn't served though .NET worker, so no .NET
security checking takes place by default).
John
"Chip" <ch**@intradata.com> wrote in message
news:us**************@TK2MSFTNGP14.phx.gbl... I have a dual-threaded app that runs just as it's supposed to under Casini. However, when I run the exact same code undier IIS (ASP.NET 2.0) on the same machine, it is totally unpredictable and crashes the server. One would think my threading was the problem, but like I said, runs perfectly under Casini.
Any ideas? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: James Cameron |
last post by:
Hi I'm developing a program and the client is worried about future
reuse of the code. Say 5, 10, 15 years down the road. This will be a
major factor in selecting the development language. Any...
|
by: silviu |
last post by:
Hi All,
I have to write C++ code (server code) that will compile/run on both
Windwos and Linux OS's.
Could someone give me some pointers to info on this matter.
Thanks in advance for your...
|
by: christian9997 |
last post by:
Hi
I would be very helpful if someone could help me with this code.
It works fine in IE but when I display it in Netscape or Firefox and I
move the mouse from one menu to the other the gap...
|
by: Arthur |
last post by:
I had two Visual Studio .NET C++ solutions that I combined into one. These
project solutions were very similar. In fact, the two solutions were sharing
many files.
Now that they are one...
|
by: Joe Fallon |
last post by:
I have a C# class that works correctly.
I translated it to VB and now it runs differently.
The C# class evaluates the Public properties and then executes MyBase.New.
So default values are set...
|
by: Peter Olcott |
last post by:
Cab you write code directly in the Common Intermediate language? I need to
optimize a critical real-time function.
|
by: Chip |
last post by:
I've got a website developed in VS2005 that works fine on my local dev
machine using the casini server, but when I publish it to the web, which is
using IIS (ASP.NET 2.0) it is flipping out. It's a...
|
by: Jon Slaughter |
last post by:
I have some code that loads up some php/html files and does a few things to
them and ultimately returns an html file with some php code in it. I then
pass that file onto the user by using echo. Of...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| | |