473,395 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Windows 2003 server IIS 6.0, having problems...Plz help needed......

Hello,

I have a web service that i created in IIS 5.1,on windows xp. it has a
method "stopservice"
in which im stopping the aspnet_wp.exe,to clean all resources.And im
using a boolean set to true so that after that if anyone access the
service, it will give an error that service needs to start again.I also
have a "startservice" method in which all necessary initialization
occurs.
The boolean is initialized to false in global.ascx file and is set to
true in startservice.And then to false in stopservice. And im chking
that boolean to chk if service is started or not.
It all worked fine on winxp with IIS 5.1.

Now, the problem im having is that when i migrated this webservice to
windows 2003 server, with IIS 6.0, something wierd started to happen.

The service is stopping after sometime....

Meaning the boolean which is set to true at startservice, is getting
false again after sometime.
And its wierd becuz nobody is calling the stopservice method so ideally
the boolean shud not get set to false again,until this method is
called.

And this only means that the global code is being called agian meaning
the webservice is reloaded agian.why?

I don't understand....

Also can someone give me some tutorials links to IIS 6.0 windows 2003
server...
I just read that IIS 6.0 does'nt have aspnet_wp.exe instead it has
w3wp.exe(something like that)....

Plz help me out....(and bear with my lack of knowledge on this
issue...)

Thnks.
Bye

Mar 22 '06 #1
1 1053
This is a setting for IIS6.0 to run as IIS5.0 isolation mode.
If you set you IIS to that mode, I think it will work.
Hope this helps.

On Wed, 22 Mar 2006 14:55:09 +0900, batista <sa*********@gmail.com> wrote:
Hello,

I have a web service that i created in IIS 5.1,on windows xp. it has a
method "stopservice"
in which im stopping the aspnet_wp.exe,to clean all resources.And im
using a boolean set to true so that after that if anyone access the
service, it will give an error that service needs to start again.I also
have a "startservice" method in which all necessary initialization
occurs.
The boolean is initialized to false in global.ascx file and is set to
true in startservice.And then to false in stopservice. And im chking
that boolean to chk if service is started or not.
It all worked fine on winxp with IIS 5.1.

Now, the problem im having is that when i migrated this webservice to
windows 2003 server, with IIS 6.0, something wierd started to happen.

The service is stopping after sometime....

Meaning the boolean which is set to true at startservice, is getting
false again after sometime.
And its wierd becuz nobody is calling the stopservice method so ideally
the boolean shud not get set to false again,until this method is
called.

And this only means that the global code is being called agian meaning
the webservice is reloaded agian.why?

I don't understand....

Also can someone give me some tutorials links to IIS 6.0 windows 2003
server...
I just read that IIS 6.0 does'nt have aspnet_wp.exe instead it has
w3wp.exe(something like that)....

Plz help me out....(and bear with my lack of knowledge on this
issue...)

Thnks.
Bye


--
Zhou Peng
Mar 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
10
by: Ger | last post by:
I am having problems using VB.Net's Management base object on a machine hosting Windows Server 2003. I am trying to set file permissions from a Windows Service. These files may be loacted on a...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
0
by: batista | last post by:
Hello, I have a web service that i created in IIS 5.1,on windows xp. it has a method "stopservice" in which im stopping the aspnet_wp.exe,to clean all resources.And im using a boolean set to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.