简体   繁体   中英

Migrating my application from IIS 6 to IIS 7 doesn't work

I'm migrating my website from IIS running on windwos server 2003 to Win server 2008 (64 bit). In both cases, the application is running on .NET 4.0, however, for unknown reason i get the error message "Object reference not set to an instance of an object" for no obvious reason.

As you can see, everything works well on http://www.matchmypet.com , but when you try to do http://beta.matchmypet.com/home.aspx (which points to the new sever), everything break loose. does anyone have any idea how can i figure out what the issue is? keep in mind that these are exactly the same binaries (compiled against .net 4.0 32 bit, but i would assume that should not make a difference).

Let me know if you have any idea. much appreciated.

Try configuring your Application Pool to use Classic pipeline mode (as opposed to Integrated pipeline).

Also the error page shows that the exception originated from your custom code - deploy a Debug build to see what source code line causes it or at least post the whole method that raises the exception.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM