Quantcast
Channel: Troubleshooting
Viewing all 1814 articles
Browse latest View live

Odd 403.6 - Forbidden IP Address Issue

$
0
0

I've been scouring the site and the Internet in general, trying to figure out an odd occurance of a 403.6 error.

We have one user who seems to have a daily 403.6 error when logging in to our site.

We have a main site, that our main user-base logs into using a single sign-on account.  From there, depending on roles, they'll have a set of options to log into other module applications.  Some of those modules are restricted by domain (.mil) and may also have granted access to other domains or IP addresses.

This user, in the .mil domain, will log into the SSO, go to one of the restricted modules and hit the 403.6 error.  She goes back in the browser, clicks on something else, and all is fine.

We set the user's IP address in the 'allow access', figuring it may give a secondary layer of acceptance, but they are still hitting that error.  From my Failed Trace Request logs - this is what I see:

Warning
-MODULE_SET_RESPONSE_ERROR_STATUS 

ModuleName  IpRestrictionModule 
Notification 1 
HttpStatus 403 
HttpReason Forbidden 
HttpSubStatus 6 
ErrorCode 2147942405 
ConfigExceptionInfo 
Notification BEGIN_REQUEST
ErrorCode Access is denied. (0x80070005)
 

We're not getting notified by any other user, so I cannot for the life of my figure out why this one person is.

Much of this tracing and reading IIS7 log files is relatively new to me for the fine details, so not sure if I should be looking elsewhere.

Any suggestions are much appreciated!!

Thanks,

  Scott


cannot create COM object in ASPX

$
0
0

I have problem in new a COM object in ASPX.

If I host page  by Visual Studio and run in debug mode, the COM object can be created and there is no problem. But if I host the ASPX in IIS then always has error to create that COM object.

 

The steps to create my ASP.Net project with COM reference.

1. The project is to new BizFlow COM object in ASPX code, so I installed BizFlow Process Studio client in my PC, that HWOX.DLL is registerred

2. In my sample VB ASP.Net project, I had referenced  that HWOX.DLL COM

3. The program to new a COM object is :

Dim hwSession As HWOX.HWSession

 hwSession = New HWOX.HWSession

 4 at my Windows 7 IIS 7, I use a .net Framework V4.0 application tool, managed pipleline mode is classic, identity is my domain account which has admin privilege on the PC. At web site Authentication, I enabled Anonymous authentication with application pool identity, I also enabled ASP.Net Impersonation authentication. Also make sure my domain account has full access to that HWOX.DLL.

 The error message is:
{"Retrieving the COM class factory for component with CLSID {6483C07E-C90B-40E8-ACC6-EAFFAFF5101A} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."}

 Anyone know the solution?

HTTP error 404.17 Request Content appear to be script will not be served by static file handler

$
0
0

I'm new to IIS 7.  How do I resolve this error?

IIS -PHP URL rewriting, 404 with - in URL

$
0
0

Hi all,

I'm setting the rules for URL rewriting and I'm facing a problem I can't solve by myself.

What I would like to do is the following:

urls with: /catalogue-productype/([0-9a-z\-]+)
should go to: index.php?product={R:1}

    <rule name="catalogue graphic cards">
        <match url="catalogue-graphic-cards/([0-9a-z\-]+)" />
        <action type="Rewrite" url="index.php?product={R:1}" />
    </rule>

Because of the - in catalogue-graphic-cards, it doesn't work. If I remove them or if I put another character like _ for example, it works too but with - it never works, I always get a 404. I really don't get it, the - is not uncommon in url rewriting and I need to keep them as I'm migrating a site that is using - in the urls.

Any ideas?

Thanks


IIS stripping lines of code from external javascript file

$
0
0

Hi,

IIS is stripping some lines of code containing below code related to flash object embed from the external javascript file. The part from object width is replaced with whitespace in the browser.

'<object width="'+a.width+'" height="'+a.height+'" id="'+a.id+'" name="'+a.id+'" data="'+a.src+'" type="application/x-shockwave-flash"'):d+' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';d=d+">"


This happens in both IIS 6 & 7. Is there any permissions to be set for static handler? Please help.

Regards,

Sreekanth

Run IIS 7.0 Trace Viewer on IIS 7.5

$
0
0

Is there a way to install IIS 7.0 Trace Viewer on IIS 7.5? 
http://blogs.iis.net/thomad/archive/2008/03/27/iis-7-0-trace-viewer.aspx

If I run the traceviewinstall.exe from and elevated cmd prompt, I get several errors, one from teh GUI and another in the CMD window.  The CMD window implies it is installed already - if so where can I see the Trace Viewer GUI or the related .config file if I do need to remove the duplicate entry.

Thanks,
Dan Foxley


---CMD Window Error
Unhandled Exception: System.Runtime.InteropServices.COMException (0x800700B7): Filename:
Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'TraceViewer'


   at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(
IAppHostElement pElement, Int32 cPosition)
   at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T el
ement)
   at TraceViewInstaller.Install(String TraceViewerFilePath)
   at TraceViewInstaller.Main(String[] args)


---GUI PopUp Error
Description:
  Stopped working

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: traceviewinstall.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 47eb44da
  Problem Signature 04: Microsoft.Web.Administration
  Problem Signature 05: 7.0.0.0
  Problem Signature 06: 4a5bdfaa
  Problem Signature 07: 52
  Problem Signature 08: 32
  Problem Signature 09: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX
  OS Version: 6.1.7600.2.0.0.1296.17
  Locale ID: 1033


 

IIS Logs showing ::1 instead of IP addresses.

$
0
0

We are having an issue with IIS showing ::1 instead of IP addresses.

Situation:  Sharepoint 2010 Environment running behind a loadbalancer on IIS 7.5 Windows server 2K8 R2.  up untill thursday last week no issues,  after our daily reset (at midnight)  it stopped showing the addresses in the logs and looks like the below.  We have had 0 changes made to the environment in the last 3 weeks.

 

2013-05-12 16:03:54 ::1 GET <website>- 80 - ::1 - 401 2 5 0

2013-05-12 16:03:54 ::1 GET <website>- 80 - ::1 - 401 1 2148074254 0

2013-05-12 16:03:54 ::1 GET <website>- 80 Domain\Username ::1 - 200 0 64 156

2013-05-12 16:03:54 ::1 GET <website>- 80 - ::1 - 401 2 5 0

2013-05-12 16:03:54 ::1 GET <website>- 80 - ::1 - 401 1 2148074254 0

2013-05-12 16:03:54 ::1 GET <website>- 80 Domain\Username ::1 - 200 0 995 140

I've never seen anything like this.   any suggestions as to why it would be doing this or why it changed from showing IP to showing this or how to get it back to how it was would be appreciated.

 

Thanks.

error 401.2 in Failed Request Log Files

$
0
0

I have hosted a website with framwork 4.0 on IIS 7.5 and only window authentication is enabled.

I keep getting this log file with error 401.2 in failedreqlogfile folder.

 

 

Log file

Here it shows RequestAuthType 1 RequestAuthType Anonymous and HTTPStatus 401 and substatus 2. What I am confused about is I have enabled only window authentication and disabled anonymus authentication then why the requestauthtype is Anonymous? How to fix this error?

Thanks,


Problem with iils light switch

$
0
0

Server Error in '/' Application.
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 41: </assemblies>
Line 42: </compilation>
Line 43: <authentication mode="Forms">
Line 44: <forms name="SapyLiveSystem" />
Line 45: </authentication>


Source File: c:\inetpub\wwwroot\sapy\web.config Line: 43


Show Additional Configuration Errors:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

500 - Internal server error.

$
0
0

I had an application which I was running on windows 2008 r2 in iis7.  It ran fine (it enables communication of some software I am running with  LabVIEW) on there, but now I move it over I am having issues.

After setting up iis8 on windows 2012, I copied the folder into the wwwroot folder.  I then broswed to it in IIS Manager and converted it to an application.  Upon trying to connect to the page(which I previously could do jkust by browsing to it to test) I get a 500 error.  Is there a way to narrow down this problem and see what's wrong with it?  Or does anyone know a likely fix?

Possibly worth note, I initially got 500.19.  I no longer seem to get that.

Cannot verify access to path

$
0
0

using IIS 7

Have a site that is having serious issues as of recently this morning:

"cannot verify access to path"

I'm using the "connect as application user(pass through)" option.  what do I have to do in order to get this to work? all my end users that aren't admins get pop up for credentials and cannot log in.

thanks

Some strange trouble with WebDAV

$
0
0

I have a broblem with Microsoft WebDAV. I don't know is it a server problem or a client. But want to help the Microsoft to resolve this problem. The problem is in the next. When I am copeing file from some local folder to WebDAV folder everithing is good, but when opening file (from WebDAV mounted drive) in a some editor, modify file from time to time and press Save button from time to time - changes didn't came persistent on a target WebDAV server. I used Windows 2012 Server with IIS and embedded into it WebDAV as a Server and a Winodws 8 Enterprise as a Client (both last Microsoft products)

I can provide RDP access to both - server and client to peoples from the Microsoft to debug problem more deep and create patch in the future.

Or may be I have a wrong configuration. But in this case I will not have a possibility to upload / download / remove files at all.

One more thing. Some times some folders are disappear in a WebDAV drive but I can see it through RDP in a Server local files system.

Please help me with this because my work dependen on it and I don't want to use old FTP protocol.

P.S. I already configuread 4Gb files support by adding corresponding lines to the machine.config. And file I was try to sava not more than 2 Mbytes. It is a Sparx Entrprise Architect model file.

Thank you.

Failed to perform Web Site discovery 0x80070032 appcmd.exe ERROR (hresult:80070032, message:Command execution failed. The request is not supported.)

$
0
0

I frequently receive the following alerts: 

Failed to perform Web Site discovery
Alert Description
Event Description: Error reading properties of the WebSite 'webSiteName'. Skipping Discovery of website. This operation will be retried.

Error: 0x80070032

Details: The request is not supported.

One or more workflows were affected by this.

Workflow name: Microsoft.Windows.InternetInformationServices.2008.Discover96To100WebSites
Instance name: IIS Web Server

Instance ID: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}

Management group: X


Source:  computerName.fullyqualified.domain.name
Path:  computerName.fullyqualified.domain.name\computerName.fullyqualified.domain.name  
Alert Rule:  Failed to perform Web Site discovery  
Created:  dd/mm/yyyy hh:mm:ss XM   

Upon investigating I have determined that running appcmd.exe list config "webSiteName" returns an error as shown below:
C:\Windows\System32\inetsrv>appcmd.exe list config "webSiteName"
ERROR ( hresult:80070032, message:Command execution failed.
The request is not supported.
 )

Please provide any help in regards to troubleshooting this alert.

How to access the trace resulting from IHttpTraceContext::QuickTrace

$
0
0

Hi

I have developed a native module which uses QuickTrace, as follows:

REQUEST_NOTIFICATION_STATUS
CAuthenticationModule::OnAuthenticateRequest(
	IHttpContext* pHttpContext,
	IAuthenticationProvider* pProvider
)
{
	IHttpTraceContext* pTraceContext = pHttpContext->GetTraceContext();
	pTraceContext->QuickTrace( L"Test Data 1.", L"Test Data 2", S_OK, 4 );
        return RQ_NOTIFICATION_CONTINUE;
}

I can debug the module and step through the QuickTrace line.  I configured the site tracing in the web.config as follows:

<tracing><traceFailedRequests><remove path="*" /><add path="*"><traceAreas><add provider="WWW Server" areas="Authentication,Security,Module" verbosity="Information" /></traceAreas><failureDefinitions timeTaken="00:00:00" statusCodes="200-999" /></add></traceFailedRequests></tracing>        

I checked the log files, but can't find any trace of my trace...  Because I set the Level argument in the QuickTrace to 4 (info) I just don't get any info.  I've enabled page tracing and nothing appears there either.

Any ideas??



IIS 7 Access and Asp error http 500

$
0
0

Hi,

I am getting error 500 when i try to connect with MS Access with asp 4.5 in windows 8. Simple asp is running successfully but while connection i am getting error. In Data Source i installed 32bit drivers. so its not appearing in admin tools. (using MS Access 2007)

Guide me to slove this error


IIS7.0 On Azure - Dot at the end of a URL causes 404 error

$
0
0

I have production VMs on Azure cloud service with IIS7.0.

I recently discovered that one or more dots at the end of the URL cause a 404 error. It is a known bug of IIS7+, but I'm looking for a solution on Azure.

I searched for a solution but none of those I found has worked:

1. the URL rewrite engine cannot be used since the error is emitted before the URL rewrite module can process the URL

2. some proposed workarounds does not work on Azure/IIS7.0 (e.g., runAllManagedModulesForAllRequests, <httpRuntime relaxedUrlToFileSystemMapping="true" />)

thanks in advance for any help

ERROR 404.3 Not Found

$
0
0

 Using Windows Vista Home Premium.  This has IIS V7 and it is working properly when I type localhost in the address bar of I.E. 

  When I attempt to open a program using localhost I get the following error:  

  HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

  I have no idea what a handler or a mime map means.

I went unto Microsoft support site and found the following which again I do not know how to configure a handler or mime let alone what they mean.

Error message when users visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.3 - Not Found"

<div class=appliesToLink>View products that this article applies to.</div> <script type=text/javascript>function loadTOCNode(){}</script> <div class=articleProperty>
Article ID:942032
Last Review:October 4, 2007
Revision:1.0
</div> <div class=section>

SYMPTOMS

<script type=text/javascript>loadTOCNode(1, 'symptoms');</script> <div class=sbody>Consider the following scenario. You have a Web site that is hosted on a server that is running Internet Information Services (IIS) 7.0. When users visit this Web site, the users receive the following error message: <div class=errormsg>Server Error in Application "<application name>"
--------------------------------------------------------------------------------
HTTP Error 404.3 - Not Found
HRESULT: 0x80070032
Description of HRESULT: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed. </div>

Back to the top

</div>

CAUSE

<script type=text/javascript>loadTOCNode(1, 'cause');</script> <div class=sbody>This problem occurs if the following conditions are true:
The handler mapping for the requested file name extension is not configured.
The appropriate MIME type is not configured for the Web site or for the application.

Back to the top

</div>

RESOLUTION

<script type=text/javascript>loadTOCNode(1, 'resolution');</script> <div class=sbody>To resolve this problem, follow these steps:
1.Configure a handler mapping for the requested file name extension. To do this, follow these steps:
a. Click Start, type inetmgr in the Start Search box, and then clickInetmgr in the Programs list.

If you are prompted for an administrator password or for a confirmation, type the password, or clickContinue.
b. In IIS Manager, expand the server, expand Web sites, and then click the Web site that you want to modify.
c. In Features View, double-click Handler Mappings.
d. Configure an appropriate handler mapping for the type of the requested file name extension.
2.Configure an appropriate MIME type for the Web site. To do this, follow these steps:
a. Click Start, type inetmgr in the Start Search box, and then clickInetmgr in the Programs list.

If you are prompted for an administrator password or for a confirmation, type the password, or clickContinue.
b. In IIS Manager, expand the server, expand Web sites, and then click the Web site that you want to modify.
c. In Features View, double-click MIME Types.
d. In the Action pane, clickAdd.
e. Add the extension of the required file and the MIME type in theAdd MIME Type box, and then click OK.
</div></div>

I am a novice and would appreciate your support and patience in helping me to resolve this issue.

 

thank you in advance for your support.

 Hank Laskin

IIS 7.5 : Browse Website link does nothing

$
0
0

Hi,

My client had to reinstall the whole server, so I redeployed my ASP.NET MVC app, but I can't browse it. I deployed successfully with the FTP and the website is in the proper local directory.

When I click the link (on the right panel of IIS) Browse crm on *:80, nothing happens. No error, no IE or Chrome opening, just nothing. I also tried to access the app by typing localhost or localhost/myapp (which should be the right path) and I get HTTP Error 404. The requested resource is not found.

I did not install the IIS, but I did the configuration. Have I missed something? 

- Windows Server 2008 R2

- All the roles previously activated have been activated

- The MVC framework has been installed and SQL also.

Trouble with IIS7 using UNC share on local network

$
0
0
<div class="post-text" itemprop="description">

Hi Guys,

I've been struggling for the past few weeks on and off trying to connect my laptop with my desktop computer running iis. Let me elaborate a little bit.

I have a desktop computer at my home connected to a router. Lets call this computer #1. Computer #1 has an internal hard drive which is assigned a drive letter of "Z", which holds all of my web applications.

Now here's my problem. I have my laptop, which is connected to my network wirelessly. I have a mapped drive on my laptop to computer #1, "Z" drive. All of this is fine. I can connect to Z drive on computer #1 with no problem via windows explorer.

I am running a local instance of iis on my laptop, and pointing the website folder to my network drive on computer #1. I'm not doing this "Z:\Web Sites\My Web Site", and doing it like this \Computer1\Z\Web Sites\My Web Site". I have went to the security tab on the "Z" drive on computer #1 and added permissions for IUSR, DefaultAppPool, and IIS_IUSRS. All of which have full permission.

When I go in to my website on my laptop in IIS Manager it is using DefaultAppPool. I'm not sure why it does not work. I just keep getting this error no matter what i try.

"Cannot read configuration file due to insufficient permissions"

Please Help! Thanks

</div>

OutOfMemoryException Binding ObjectDataSource to GridView

$
0
0

I've built a really simple page that binds a GridView to a ObjectDataSource. The code works fine everywhere I run it except in a specific site in on IIS8. The same code files in a new site on the same server, using the same ApplicationPool, works fine. What could possibly cause an OutOfMemoryException on one site and not another? The problematic site is actually running AspDotNetStorefront, however, the page doesn't reference any AspDotNetStorefront code, so I can't imagine it would be their code.

Given the nature of the error (no breakpoints in the page even get it, it just goes straight to the error) I don't know how to effectivly debug this.

My page:

<%@ Page Language="VB" %><!DOCTYPE html PUBLIC "-//W""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title></title></head><body><form id="Form1" method="post" runat="server"><asp:GridView ID="gvHistory" runat="server" DataSourceID="dsHistory"></asp:GridView><asp:ObjectDataSource ID="dsHistory" runat="server" SelectMethod="GetHistoryRows"
        TypeName="AspDotNetStorefrontAdmin.ROIImportHistory"></asp:ObjectDataSource></form></body></html>

In my App_Code folder:

Imports System.Data

Namespace AspDotNetStorefrontAdmin

    Public Class ROIImportHistory

        Public Shared Function GetHistoryRows() As DataTable

            Dim localDatatable As New DataTable

            localDatatable.Columns.Add()
            localDatatable.Columns.Add()
            localDatatable.Columns.Add()
            localDatatable.Rows.Add(New Object() {"Hi", "Hi2", "Hi3"})

            Return localDatatable

        End Function
    End Class

End Namespace

The exception:

Server Error in '/' Application.
Exception of type 'System.OutOfMemoryException' was thrown.
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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

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:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase) +.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +.Web.UI.WebControls.ObjectDataSourceView.GetType(String typeName) +.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +.Web.UI.WebControls.DataBoundControl.PerformSelect() +.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +.Web.UI.Control.EnsureChildControls() +.Web.UI.Control.PreRenderRecursiveInternal() +.Web.UI.Control.PreRenderRecursiveInternal() +.Web.UI.Control.PreRenderRecursiveInternal() +.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +: Microsoft .NET Framework Version:2.0.50727.6400; ASP.NET Version:2.0.50727.6387 

Any suggests are very welcome. Thanks.

Viewing all 1814 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>