• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2218
  • Last Modified:

Getting Event ID 1309 Error 3005 ASP.NET Ver2

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
pbt43
Asked:
pbt43
  • 4
  • 2
1 Solution
 
M3mph15Commented:
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
 
pbt43Author Commented:
I am trying to access it locally by ip address.
0
 
M3mph15Commented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
DreamsTechCommented:
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
 
pbt43Author Commented:
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
 
pbt43Author Commented:
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
 
pbt43Author Commented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now