Solved

Getting Event ID 1309 Error 3005 ASP.NET Ver2

Posted on 2009-05-12
7
2,160 Views
Last Modified: 2012-05-06
I am having a big issue getting an asp.net website running in IIS 6. The same exact site is running fine on our test server. IIS is the same and both machines are running Win2k3.

Every time I try to access the default.aspx page, I only get: "Page cannot be displayed". My web.config file has debug set to "True". IE is set to show detailed errors and so is IIS.

I looked in Event Viewer > Application log and found the following message every time I requested an ASPX page. HTM ans ASP pages come up fine.

The one strange thing that I have noticed is the fact that there is no URL listed in the event as I have seen with many other errors like this one.

One last bit of info...I have another .net website running on the same server with no issues. This one is also on our test site and both work fine there and both are compiled.

I have also tried uninstalling and reinstalling all .net framework(s) including 2sp2, 3.0 and 3.5.

Also, I have commented out the offending line(s) listed under session_end which was noted in the event.

Any assistance is greatly appreciated!

Thanx

pbt43
Event code: 3005 

Event message: An unhandled exception has occurred. 

Event time: 5/12/2009 9:59:08 PM 

Event time (UTC): 5/13/2009 1:59:08 AM 

Event ID: 181cb0f0931143fdb11081446484bdcb 

Event sequence: 4 

Event occurrence: 1 

Event detail code: 0 

 

Application information: 

    Application domain: /LM/W3SVC/2135001654/Root-1-128866535484768793 

    Trust level: Full 

    Application Virtual Path: / 

    Application Path: C:\Inetpub\wwwroot\MyDeferral\DcompClient\ 

    Machine name: PA-PROWEB-05 

 

Process information: 

    Process ID: 4828 

    Process name: w3wp.exe 

    Account name: NT AUTHORITY\NETWORK SERVICE 

 

Exception information: 

    Exception type: HttpException 

    Exception message: Response is not available in this context. 

 

Request information: 

    Request URL:  

    Request path:  

    User host address:  

    User:  

    Is authenticated: False 

    Authentication Type:  

    Thread account name: NT AUTHORITY\NETWORK SERVICE 

 

Thread information: 

    Thread ID: 5 

    Thread account name: NT AUTHORITY\NETWORK SERVICE 

    Is impersonating: False 

    Stack trace:    at System.Web.HttpApplication.get_Response()

   at ASP.global_asax.Session_End(Object sender, EventArgs e) in C:\inetpub\wwwroot\DcompClient\global.asax:line 90

 

Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Open in new window

0
Comment
Question by:pbt43
  • 4
  • 2
7 Comments
 
LVL 6

Expert Comment

by:M3mph15
ID: 24371352
Hi,

How are you trying to access the page. Is it via the browser on the server where the website is located or from another computer on the network?

If its from another computer on the network then try from the server.....i have foudn that you get more detailed and specific error messages when accesed through localhost/
0
 

Author Comment

by:pbt43
ID: 24371424
I am trying to access it locally by ip address.
0
 
LVL 6

Expert Comment

by:M3mph15
ID: 24371580
Ok is there a chance you can try to access the page from the actual server....so through http://localhost/ and then post the error message you get.
0
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 3

Expert Comment

by:DreamsTech
ID: 24371837
Are u trying to hit DB ,jus check if the connection is geeting opend and getting properly closed.
  Can u paste the code ,what exactly u r trying to do in ur page ,also ,put a outermost try catch and log the exception to a text file on the sever (Dont log in DB ,as it will fail in case u r nt able to conect to DB) ,and see the exact reason of failure.

Also are all ur referenced dlls are in the Bin folder which is also in IIS server.
0
 

Author Comment

by:pbt43
ID: 24374201
It doesn't matter what page I try to run. I tried the content below with the name test.aspx and it doesn't work.

<html>
<head>
</head>
<body>
<p>Is this working</p>
</body>
</html>
Please keep in mind that this site compiles with no errors in VS2005, this version is running on 3 developer machines, and two other servers. I think it is more of an IIS / .NET / windows issue.
0
 

Author Comment

by:pbt43
ID: 24374228
I tried accessing the site at the console via http://localhost/ and get the same thing. "Page cannot be displayed.

Also, I am running two separate websites on this server from two different NIC cards. They are domain.com and domain.biz. The latter of the two is running fine and I can access it with no difficulty.

Thanx,
0
 

Accepted Solution

by:
pbt43 earned 0 total points
ID: 24387868
Thanks for the assistance everyone but I figured it out. The global file contained code that forced port 443. With no SSL cert installed on IIS, the web server failed to load the application.

Thanx
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now