Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all articles
Browse latest Browse all 14169

UNABLE TO CAST OBJECT OF TYPE 'PROFILECOMMON' TO TYPE 'PROFILECOMMON'

$
0
0

I have four web application configured on the IIS with .Net Framework 2.0

All the applications are working fine except one.

If the system / server, restarted. The Application throws an error message "UNABLE TO CAST OBJECT OF TYPE 'PROFILECOMMON' TO TYPE 'PROFILECOMMON'"

When I searched for the issue, they have mentioned that the temporary Profile class clashes with your ProfileCommon class.

By setting <profile enabled="false"> you are telling it to NOT generate the dynamic, temporary Profile class and use your own instead.

On every restart, I need to change the attribute value to make it work.

Can you please let me know, why it crashed on server restart? How it can be resolved ?

Root cause???

Please help on this.


MJ - Man of Joy (Rajkumar) Techno Geek


Viewing all articles
Browse latest Browse all 14169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>