Link to home
Start Free TrialLog in
Avatar of ionofrao
ionofrao

asked on

Cant get .asp Page working on SBS 2011 server

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
Avatar of Haresh Nikumbh
Haresh Nikumbh
Flag of India image

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
Avatar of ionofrao
ionofrao

ASKER

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...
I have not tried but you can check it out if it works
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/
A 503 error is usually because the application pool is not running

check it out if its running or not
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
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
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?
Also check below link to get more details of the errors

http://mvolo.com/troubleshoot-iis7-errors-like-a-pro/
same problem reported and after reinstalling .net fremwork it got solved

http://www.codeproject.com/Questions/437684/Application-pool-stops-automatically-in-IIS7
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.
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.
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
ASKER CERTIFIED SOLUTION
Avatar of ionofrao
ionofrao

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
None of the other solutions worked so I found a workaround as I couldn't devote any more time to the issue.