last day (15 days later) » 

3:20 PM
1
A: ASP Classic: request function for url param not working?

lurkerThe app pool for Classic ASP needs to run in Classic, rather than Integrated mode. Create a new app pool for the new web site if it is currently using the same app pool as the website1 site. I jogged my memory by searching for "Request Form in Classic ASP stops working" or something similar. I...

 
Is it real?? It seems working. But just a few question. The website has aspx and asp pages. Is it going to affect somehow the aspx pages? And any idea why this setting has changed so that asp pages were off?
Also on the prod server, the asp pages work perfectly and the application pool is set as integrated. Any reason for that?
 
Good question. The site I work on runs .Net 3.5 and Classic ASP using an app pool in Classic mode without issues. Here are some links with decent explanations of the differences stackoverflow.com/questions/716049/… and hanselman.com/blog/…
In response to the Prod server in Integrated Mode. Is the Classic ASP in a Virtual Directory or as a separate Application? Otherwise, is there a custom HttpHandler for the Classic ASP?
 
As far as I know, the box where the source code is is shared with other people/websites. So I would assume it is a virtual drive. For the httphandler, the web.config does not have any httphandler mentioning asp. Should I look somewhere else?
The website uses a third party component. When the application pool is set to asp classic, here is the server error I get HTTP Error 500.21 - Internal Server Error Handler "thirdPartyComponent.Web.UI.ChartHttpHandler" has a bad module "ManagedPipelineHandler" in its module list I believe this is not the right way to go anymore :(
 
Are all of the app pools on production set to Integrated Mode?
 
There is ASP.NET v4.0 (integrated). ASP.NET v4.0 Classic (Classic). Classic .NET AppPool (Classic). DefaultAppPool (Integrated). Website.com (integrated). On the test server, there is also ASP.NET v4.0 Classic (Classic). Classic .NET AppPool (Classic).
Hi
 
3:24 PM
I didn't know we could set up chat sessions. Hope this is okay with you
 
it is fine sure. Thanks for your time
 
no problem. this is really self serving of me because I want to know so I can use the info in the future :>
If you select one of the app pools the menu on the left hand side changes and there is a "View Applications" link underneath the "remove" link
 
so it seems that the application pool is part of the problem / solution
 
has to be
or at least it's something different between the two servers
When viewing the applications for one app pool, there is a "Remove filter" link
 
i see the menu for the appPool
 
3:28 PM
cool. do you see the "view application" link?
 
yes
should i click remove filter?
 
yes, please
 
ok
on the test server right?
 
this shows you all app pools and all applications
production would be better
is hard to get there?
 
no 1 min i'll be on it
ok i clicked remove filter on prod
 
3:31 PM
based on the physical path or the site, how many app pools are associated with the problem application?
 
3
 
and are they all in integrated mode?
 
sorry 2
one is c:/ inetpub/wwwroot doesw not count right?
both are integrated
 
is that the 3rd one?
the one at the root
 
yes
 
3:32 PM
and it's also integrated?
 
yes.
 
this is going to be like 20 questions because I'm guessing, but...
 
ready to answer
 
let's find out what the classic asp pools are for
first, are the .asp files contained in a separate directory?
or are they intermingled with .aspx?
 
more or less yes
you could have both type of files in the folder
but mostly all asp files are in the same root folder
 
3:37 PM
do any of the app pool in classic mode have the physical path to the asp folder?
 
still on the prod right? no all the app pool have the root folder of the whole website
 
that was my next question
 
hold on
how do i check the path of a specific app pool
 
in my IIS there is a physical path column
 
because in 'view application' then 'remove filter' all these app pool i can see the path but they are integrated
 
3:41 PM
we may not be in on the same page
 
so I went back to all application pools not but here i cannot see the path
 
no, it's only there when viewing the applications
 
So if i click view application, there is no app pool set in classic
 
on my system, the application list doesn't give the mode
just virtual path, physical path, site, and application pool
 
one moment please
 
3:46 PM
no problem
 
sorry about that lurker
 
playing around with my dev system I can set the app pool for the web site to integrated
 
and it works fine?
 
but the site lives in a virtual folder/application
where the app pool is set to classic
yes it works
 
alright just ti make sure I am in the correct place. I clicked View application and then Remove filter. Now i see virtual path, physical path, site, app pool. Listed I only have app pool set to integrated therefore I cannot answer to your question "do any of the app pool in classic mode have the physical path to the asp folder?"
the prod server might be on a virtual folder/application but not the test server
i confirm the prod server is in virtual folder app but not the test server
 
3:58 PM
virtual folders are an IIS thing and don't have much to do with what drive the files are on
so what applications are using the classic mode app pools on prod?
 
none. same on the test server
 
slight change of topic; are you able to add apps to your system? (not the servers, but the system you develop on)
I'm trying to understand why the prod sever has classic mode app pools if they aren't used
 
to add an application pool? I am not sure to understand "the system i develop on"
our website has been all in asp classic for years
then they changed to aspx and .net
i believe this app pool stayed here but stopped being used
 
been there, still there
how long ago was the .Net added and are there any those developers still around?
 
.Net has been added like 10 yrs ago... The website has been managed by another company until I came in as a in house developer. I am the only developer
 
4:05 PM
aren't you lucky!
 
ahah should I?
 
is there any connection with the company that managed the site?
because I may not be able to figure this out without seeing the system
there is one app we could use for you to share your desktop but you have no reason to trust me
 
They still host the website and offer their programming service some times to times.
 
but it will cost you?
to talk to them?
 
I will not be allowed to do that probably not
 
4:07 PM
didn't think so.
 
I don't know the term of the contract with that company
 
Did they set up the test server?
 
if it is by ticket or by month as a flat fee no idea. I submitted that issue to them too
they set up the test server
 
and the prod site doesn't have the new website on it yet?
 
it actually won't have it at all
we host the prod and test website here
 
4:10 PM
ah
I'm fairly certain, the solution is to figure out what the differences are between the prod and test servers
how good are the backups on the test server
could you roll back to just before the new site was added?
 
no I don't think so. I am taking the creation of the new web site as a reference but I could not be certain that the issue started when the website was added
 
hate that, but I'm just wasting your time now because I don't have much else to offer at this point
how long does it usually take for the mgmt company to get back to you and do you need to resolve the problem before then?
 
it takes long... but I am not in a rush to solve it. I don't have too many asp pages where i need to work on. as long as no bugs are reported i should not have any work on them i can wait
I will post the solution when they fix it
I appreciated your help and your time
 
do me a favor? When they get back to you update your question with how it was resolved.
I hate not knowing the answer!
 
yes I will. you deserve to know the answer :) I feel the same. I am sure it is an easy thing, a little switch somewhere. just the test and prod server are very different
 
4:22 PM
thx Greg
 
take care I see you on another question sometime on stackoverflow :)
 
hope so, r u on LinkedIn?
 

last day (15 days later) »