Solved

Windows Server 2003 - IIS6 - "Server unavailable"

Posted on 2007-03-26
8
1,056 Views
Last Modified: 2013-11-07
Hello Experts,

I recently installed Windows Server 2003, which is running IIS 6.  But when I go in the IIS Manager and try to browse a site, I get: "Service Unavailable" in big black letters.

Can someone help me with this?

Thanks,
GRCHELPDESK
0
Comment
Question by:GRCHELPDESK
8 Comments
 
LVL 8

Expert Comment

by:b0fh
ID: 18795338
Are the following services running?

IIS Admin Service
World Wide Web Publlishing Service

0
 
LVL 2

Author Comment

by:GRCHELPDESK
ID: 18795432
Hello B0ft,

Yes, both of those are running.

Thanks,
GRCHELPDESK
0
 
LVL 21

Expert Comment

by:tovvenki
ID: 18797803
HI,
see if this discussion helps you
http://www.go4expert.com/forums/showthread.php?t=545

Kind regards
Venki
0
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 18798110
Do you have any errors showing up in the System or Application event logs?

Dave Dietz
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 2

Author Comment

by:GRCHELPDESK
ID: 18799291
Hello,

I'm now running in IIS 5.0 isolation mode.
Now I'm getting an error message:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 30:                         <add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

Source File: c:\inetpub\wwwroot\web_apps\agent_incentive\web.config    Line: 30

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 I've found the offending log in my web.config file, but I'm not sure how to fix it.  ANd the registry values in the warning message don't exist in the registry.

Thanks!
GRCHELPDESK
0
 
LVL 21

Accepted Solution

by:
tovvenki earned 500 total points
ID: 18799565
Hi,
you need the reportViewer assemblies in the GAC. Check the following discussion in how to get it there
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=837905&SiteID=17

Kind Regards
Venki
0
 
LVL 2

Author Comment

by:GRCHELPDESK
ID: 18800437
Hey Venki,

Thanks for the feedback, that's gotten me one step closer I think.  Although now I'm getting this error message.

Server Error in '/Web_Apps/Incentive' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 401: Access Denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Access Denied.

Source Error:


An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  


Stack Trace:
[WebException: The request failed with HTTP status 401: Access Denied.]
   Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +211
   Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) +42
   Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +129
   Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +118
   Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +83
   Agent_Incentive.Page_Load(Object sender, EventArgs e) +1066
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

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

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

The application log gives me: Event ID 1309
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/27/2007 11:55:43 AM
Event time (UTC): 3/27/2007 2:55:43 PM
Event ID: 340a738928f44d9190a13ab1ab0ac5ad
Event sequence: 17
Event occurrence: 4
Event detail code: 0

I'm going to research this, but if you have any ideas it would be much appreciated!

Thanks!
GRCHELPDESK
0
 
LVL 2

Author Comment

by:GRCHELPDESK
ID: 18809371
Hello,

I figured out the problem, I needed to add the following to my web.config:

  <system.web>
    <authentication mode="Windows" />
    <identity impersonate="true" />
  </system.web>

It's the <Identity impersonate="true" /> that fixed the issue.

Points to Venki for solving my initial problem!  Many thanks to everyone that contributed.

Cheers,
GRCHELPDESK

0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

19 Experts available now in Live!

Get 1:1 Help Now