Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya
 asked on

Server Error in '/' Application

Hello Experts,
I converted a dot.net web project from vs 2003 to vs 2010.  It is running fine in my local machine.  But when I deployed it in our web server with Windows 2008 OS, I am getting the below error.  Please see the attachment.  I am using the right Framework 4.0 in web.config file.  Also, in IIS, I did the necessary changes.  Do you have any idea?  Thank you in advance.
RuntimeError.png
C#.NET Programming.NET App Servers

Avatar of undefined
Last Comment
RadhaKrishnaKiJaya

8/22/2022 - Mon
Dave Baldwin

That message is telling you what to do to be able to view the error.
Mike

Try accessing the site from the server itself, you should get a more descriptive error.
RadhaKrishnaKiJaya

ASKER
Mike,
Thank you!  I did try from the server and getting exact same error message.

Thank you!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Mike

Can you upload a screenshot of the one ran from the server not a client.
RadhaKrishnaKiJaya

ASKER
It is exact same Runtime Error.
Mike

That's odd, it should be different as the one above suggests that remote errors are disabled. Are all the required application pools started and set to use the new version? It's kind of hard to diagnose without an actual error though.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Dave Baldwin

I think the default 'mode' does not display any errors.  This is what I had to put in my 'web.config' to show errors in the browser.  I would imagine that a .NET application will have more in that file.
<?xml version="1.0"?>
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
        <urlCompression doDynamicCompression="true" doStaticCompression="true"/> 
    </system.webServer>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web>
</configuration>

Open in new window

SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
RadhaKrishnaKiJaya

ASKER
Dave/Mike,
I changed a new application pool with Integrated mode and applied that to the Basic Settings.  It is working now.  Thank you guys for your quick response.   I have no words.
RadhaKrishnaKiJaya

ASKER
Already mentioned the reasons.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes