Solved

Cant get .asp Page working on SBS 2011 server

Posted on 2013-06-19
16
828 Views
Last Modified: 2013-12-02
I have a classic .asp page that connects to a MySQL database. It ws working fine on my old SBS 2003 server. We now have a SBS 2011 server and the page will load, but if I try to change any of the records it errors out and stays in a error state until I restart IIS.

I have read and tried almost every article I can find on the net about this. I have .asp installed in IIS,

1. I have .asp turned on
2. I have Enable parent Paths set to True
3. I have Send Errors to Browser Set to True
4. In the Error Page Setting I have status 500 errors feature set to Detailed Errors

I still only get a generic error message with a link to IIS 7 troubleshooting links and no detailed error info.

I have tried everything I can think of, please help.

I will gladly add any additional info any may need to help troubleshoot the issue.

Thanks
0
Comment
Question by:ionofrao
  • 9
  • 7
16 Comments
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39259681
If i am not wrong Earlier it was working on 32bit OS (2003) and now moved to 64bit machine (2011)

if that is correct then refer below link

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/0aafb9a0-1b1c-4a39-ac9a-994adc902485.mspx?mfr=true
0
 

Author Comment

by:ionofrao
ID: 39259815
I read the page and I see this

------------
On 64-bit Windows, the World Wide Web Publishing service can run 32-bit and 64-bit worker processes. Other IIS services like the IIS Admin service, the SMTP service, the NNTP service, and the FTP service run 64-bit processes only.
•      

On 64-bit Windows, the World Wide Web Publishing service does not support running 32-bit and 64-bit worker processes concurrently on the same server.

-------------

Does that mean I cant run this web page and SMTP on the same server? I have to run exchange on this server...
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39259848
I have not tried but you can check it out if it works
0
 

Author Comment

by:ionofrao
ID: 39260067
I went in application pool defaults and set enable 32 bit applications to true, which I believe is the preferred way to do this in IIS 7.5. But when I do that all my websites stop working and start throwing 503 errors

Here is the instructions I followed
http://devonenote.com/2011/01/run-iis-in-32-bit-mode-on-a-64-bit-machine/
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260106
A 503 error is usually because the application pool is not running

check it out if its running or not
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260113
Check whether the Application Pool serving the web site/web application is Stopped. If it is, start it, browse to the ASP.NET page again.

If it fails again, still with "HTTP Error 503. The service is unavailable", open the Event Viewer (eventvwr), open the application log, and see if there are any errors indicating worker process or application pool failures
0
 

Author Comment

by:ionofrao
ID: 39260147
Whenever I try it the website errors out and when I look back the applications pool is stopped

I See a lot of these errors in the applications log

The Module DLL 'C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

Source: IIS-W3SVC-WP
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260170
What about reverting back settings?
working on 32bit OS (2003) and now moved to 64bit machine (2011)

does it solve issue ?  i mean other sites are working no failure of application pooler service?
0
Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260172
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260186
Also check below link to get more details of the errors

http://mvolo.com/troubleshoot-iis7-errors-like-a-pro/
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39260190
same problem reported and after reinstalling .net fremwork it got solved

http://www.codeproject.com/Questions/437684/Application-pool-stops-automatically-in-IIS7
0
 

Author Comment

by:ionofrao
ID: 39260274
I cant move back to the SBS 2003 server as it is now disconnected and gone.

====

The application pool runs under the NetworkServices security, I went and made sure the website folder allowed permissions for this (they were not there but I added them read/write/modify) I then restarted the application pool, switched the website back from the default application pool to the one with 32 bit turned on and it did the same thing, the app pool stopped and it gave multiple errors in the application log as follows

---

The Module DLL 'C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
0
 

Author Comment

by:ionofrao
ID: 39260306
I am not using ,net framework, the .Net framework version in the application pool I am trying to use is set to "No Managed Code" and the Managed pipeline mode is set to "Classic" as the website is a classic .asp website not a asp.net site.
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39261828
one more kb from microsoft for
The Module DLL 'C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll' could not be loaded due to a configuration problem.


http://support.microsoft.com/kb/2619402
0
 

Accepted Solution

by:
ionofrao earned 0 total points
ID: 39274665
None of these suggestions got it working, I ended up downloading the Abyss web server and hosting the classic asp site on a different machine and forwarding the url to it, that took me like an hour to setup and worked perfectly versus the week of beating my head against the wall trying to get the site working on IIS 7.5 had given me...
0
 

Author Closing Comment

by:ionofrao
ID: 39287889
None of the other solutions worked so I found a workaround as I couldn't devote any more time to the issue.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now