Link to home
Start Free TrialLog in
Avatar of No1Coder
No1CoderFlag for United States of America

asked on

ASP.Net Application won't run

I have a commercial application that is written in asp.net, running on an IIS version 6 server.

My customer is running an older version of my application.   They are attempting to upgrade to the newer version.  After updating the web site, the system will not render the startup page.  It gives me a blank page.  I can't find any information in the event log, Also, my application log doesn't show anything happening.  It only shows that the startup page loads.  The startup page should redirect to the main application form, but id doesn;t.  I am stumped by this.

This app is running on numerous servers without error.

The log below is the IIS log.  The app is currently configured to run on port 81, but this was for testing only.  I don't know what the log is telling me.

I tried created a new web site in IIS. Also tried pointing the old web site to the new directory. Both yield same results.

This customer is in the UK.  Most other customers are US based.  Don't know if something with timezone could be causing issue.  It the app were throwing an exception, I would see it in either the event log, or my app log.  Neither one shows anything.

They are running IE8.  I also tried Chrome.   Same results.  ASP.Net 4.0.  When I point the web site to the older version it works.  Using same web.config.  Same app pool.

Ideas?

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

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2012-05-21 15:48:27
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2012-05-21 15:48:27 W3SVC1215016566 10.75.164.45 GET /welcome.aspx - 81 - 10.73.228.32 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C;+.NET4.0E) 302 0 0
2012-05-21 15:48:27 W3SVC1215016566 10.75.164.45 GET /Welcome.aspx - 81 - 10.73.228.32 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C;+.NET4.0E) 200 0 0
2012-05-21 15:48:27 W3SVC1215016566 10.75.164.45 GET /Script/MainForm.js - 81 - 10.73.228.32 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C;+.NET4.0E) 404 0 2
Avatar of ExpertLogin_890
ExpertLogin_890
Flag of India image

Hi,

In IIS have u set the virtual directory target framewok 4.0.
also application domain is in same framework version i.e 4.0
One Possible solution.

1) First of all check which frame work you have installed on your Server.

2) Then change your target frame work through Visual Studio 2010/2008

3) Then go to virtual directory ,Right Click Go to Properties then go to ASP.NET Tab and select ASP.NET version from the Drop down.

99% it will solve your error.
Dear!!!

Above comments are correct and It worked for me also before.

Another suggetion is like sometime you will get error because of aspnet_regiis.

1. Just open the Visual Studio Command prompt
2. type aspnet_regiis.exe -i
3. Click enter. It will install and register the correct .Net framework for you.

Note - You may need to run the Visual studio command prompt as administrator.
ASKER CERTIFIED SOLUTION
Avatar of No1Coder
No1Coder
Flag of United States of America image

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

ASKER

The javascript methos was throwing exception.  I put a try/catch block in andthe page loads.