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

Help!! Blank Page when browsing website

$
0
0

Hoping someone can help with the below issue:

Windows Server 2012 - IIS 8 - ASP.NET 2 & 4

From time to time, browsing to our website will eventually time out showing a blank page.  It appears that the application pools (.net 2 & .net 4) are busy handling other requests. No entries in IIS logs until app pools are manually recycled.  After recycle, website functions normal and IIS will eventually spit out all the previous logs with error code 400 indicating bad request.  I'm 100% certain the requests were not malformed in any way.  Sometimes we can see entries in the HTTPERR.log file with error code 400.


IIS 7 ARR URL Rewrite

$
0
0

Hope someone can help me out here, my head is getting a dent in it from banging it into the wall.

I cannot get reverse proxy to work.  Here is what I have and want:

IIS 7 server hostname: MDPW2K8S1

Security Camera Monitor Server hostname:  MDPW2K3S2

I can access, from IE on the IIS Server, the page at http://MDPW2K3S2:81 which lands on the login page on the MDPW2K3S2 server on port 81.

I want to be able to access that page with the following URL:  http://MDPW2K8S1/seccams/

Here is what I have done so far.

I created a folder on the IIS7 server and then set a Virtual Directory in IIS to point to it.  I dumped a quick and dirty HTM document in the folder and I am able to browse to it successfully via IE on a workstation.

Then I created the following inbound rule at the "Default Web Site level:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <system.webServer>
      <rewrite>
         <rules>
            <rule name="SecCamsInbound" enabled="true">
               <match url="^SecCams/(.*)" />
               <action type="Rewrite" url="mdpw2k3s2:81/{R:1}" />
            </rule>
         </rules>
     </rewrite>
        <tracing>
            <traceFailedRequests>
                <add path="*">
                    <traceAreas>
                        <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI" verbosity="Verbose" />
                    </traceAreas>
                    <failureDefinitions statusCodes="502" />
                </add>
            </traceFailedRequests>
        </tracing>
   </system.webServer>
</configuration>

At this point, based on what I have read, I should be able to go to http://MDPW2K8S1/SecCams/ and get a response that approximates the page I would get fromhttp://MDPW2K3S2:81 but instead I am getting a 502.3 error.

As you can see, I have Failed Request Tracing enabled.  That isn't helping me much.  I do see, in the trace log, the following:

OldUrl="/seccams/", NewUrl="mdpw2k3s2:81/" - which is precisely what I would expect.

Further down in the "Compact View" of the trace logs I see the first and last warnings:

ModuleName="ApplicationRequestRouting", Notification="MAP_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="The data is invalid.
 (0x8007000d)", ConfigExceptionInfo=""

...and that is followed by...

ErrorDescription="There was a connection error while trying to route the request."

Can anyone shed some light on this issue?  I have spent hours trying different configurations, etc. and searching for clues online as to what I might have wrong and so far I have yet to find the magic bullet.

Appreciate your efforts...

IIS 7 PHP This page can’t be displayed occassionally

$
0
0

I have a PHP application on IIS 7 on a Windows 2008 R2 server with a MYSQL database. Sometimes it works, and sometimes it displays "This page can’t be displayed".  When I go to the server itself and load the page, it always loads albeit somewhat slowly when it is not working for all other computers. After I go to the server page and load it, the page starts working again for all outside computers. After a while it goes back to sometimes working and sometimes not working. The site ishttp://www.gsrsinc.com

I have checked and rechecked everything on the IIS PHP sites as for as a configuration is concerned and have it configured according to recommended settings. I have PHP showing errors and I am getting none. I have checked the error logs for PHP and there are none.

Someone please shed some light on this.

Thanks in advance.

Tom

Unable to browse webservice from IE 8 and above.

$
0
0

I am trying to access a third party webservice over HTTPS from IE 8 but get the error:

Unable to download xxx.wsdl from xxx.com

Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.

The funny thing is that this happens only for the first time in each tab/window. If I try to just open the same URL again in same tab, it will open just fine.

Enhanced Security Config is not enabled for IE. Nothing in event logs. No errors in Wireshark or Procmon. The third party web service host also doesnt see any errors for this request. OS is Win 2008 R2. It runs perfectly fine on Win 2003. We have MSXML 4.0 SP2 and .net 4.0 installed on the server.

ViewState Errors

$
0
0

Dear IIS Community,

We have 3 servers setup.. Two of which have almost identical IIS configuration and one server which is setup slightly different.

All 3 servers are running the same application however on the two replica's when a person hibernates their PC and re-attempts logon (Say 20 minutes later) one would get a ViewState Error.

This only happens on 2/3 servers.. I've compared the configuration of all three servers and am struggling to find reasoning behind the viewstate errors. 

On the two replica (Not clustered, just replica configuration running two separate app instances) servers the below error is generated after the user has hibernated their PC and attempted a page refresh on return:

********** 18/11/2014 22:01:40 **********

Inner Exception Type: System.Web.UI.ViewStateException

Inner Exception: Invalid viewstate.

                Client IP: HIDDEN

                Port: 61727

                Referer: HIDDEN

                Path: /WERWER/Loginpage.aspx

                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

                ViewState: /wEPDwUJMTU3NDQ3OTA5D2QWAgIDD2QWBgIFDxYCHgRUZXh0BQczLjEuNC4zZAIJDxAPFgIeC18hRGF0YUJvdW5kZ2QPFgICAQICFgIQBQtBc3RyYVplbmVjYQUBMWcQBQtBc3RyYVplbmVjcQUBMmdkZAILDw9kDxAWAWYWARYCHg5QYXJhbWV0ZXJWYWx1ZWQWAQIDZGRkfcrsQ9t3t1viPYtGtlL9zhltvqca0XJ8+sAMNb9FJhc=

Inner Source:

Exception Type: System.Web.HttpException

Exception: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

 

See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.

Source: Application_Error - Global.asax

Stack Trace:

   at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)

   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)

   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose)

   at System.Web.UI.HiddenFieldPageStatePersister.Load()

   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()

   at System.Web.UI.Page.LoadAllState()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at ASP.scairlogin_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\appdir\405a4e54\e0bdc3da\App_Web_qp5t5y2q.3.cs:line 0

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Another Occasion::

********** 16/10/2014 11:29:06 **********

Inner Exception Type: System.Web.UI.ViewStateException

Inner Exception: Invalid viewstate.

                Client IP: hidden

                Port: 63887

                Referer: hidden

                Path: HIDDEN

                User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

                ViewState: /wEPDwUJMTU3NDQ3OTA5D2QWAgIDD2QWBgIFDxYCHgRUZXh0BQczLjEuNC40ZAIJDxAPFgIeC18hRGF0YUJvdW5kZ2QPFgECARYBEAUGU2Fub2ZpBQE1Z2RkAgsPD2QPEBYBZhYBFgIeDlBhcmFtZXRlclZhbHVlZBYBAgNkZGQOSDDVejjm6GAjbB7Ke9jTxN8jwI+kH3Hw9hzBkL2Oug==

Inner Source:

Exception Type: System.Web.HttpException

Exception: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

 

See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.

Source: Application_Error - Global.asax

Stack Trace:

   at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)

   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)

   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose)

   at System.Web.UI.HiddenFieldPageStatePersister.Load()

   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()

   at System.Web.UI.Page.LoadAllState()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at ASP.scairlogin_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\scair\405a4e54\e0bdc3da\App_Web_uhtljwwn.1.cs:line 0

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Could anyone perhaps help ?

Thanks very much! 

Unable to connect to website

$
0
0

Hey all,

I've recently begun using IIS. I've set up a website for it since I'm running a mail server (SmarterMail) and I wanted to make a web UI of this, so it's accessible anywhere. That said, there's a problem blocking me from doing so. I'm unable to connect to the website and I'm getting an error 503. I have a domain I own hosted at GoDaddy, which is awesomeworld.info, I've made sure all ports are opened on my router and the firewall isn't blocking any incoming connections. Here's the deal - I followed the steps in the article for the SmarterMail at http://portal.smartertools.com/kb/a2766/set-up-smartermail-as-an-iis-site-iis-7_0-7_5.aspx

With this setup, I attempted to connect to the website but was unable to do so. The default file showing up when using smartermail's local service was login.aspx, so I set this as a default file in the site itself and removed all others. I've also removed the default website since I thought it might interfere in some way (as I said, I'm quite new to this). My OS is Windows Server 2008 R2 if this matters in any way.

Any help in getting the login screen running will be highly appreciated.

NOTE: When I test the settings for the site (Sites > SmarterMail > Basic settings > Test Settings) a warning pops up saying Authorization - Cannot verify access to path (C:\Program Files (x86)\SmarterTools\SmarterMail\MRS) with Details: The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.

Google the warning above doesn't seem to come up with anything that might be related. I've also tried sharing the folder but I'm not sure whether it would help.

Thanks for reading and for any help.

IIS7 Dublicate request

$
0
0

Hello

we have asp.net application that has developed with vs2010, .net 4 and sql server 2008 r2.application is on server 2008 R2 and iis7.

we have big problems,the users of system are about 2000 and most of the time IIS hangs. in this time we check the iis ,there are a lot request froman IP. We guess request are duplicated.

please help us.

thanks a lot

IIS log will capture client password?

$
0
0

Hi,

I am new to this IIS forum, I believe some one we'll help me to answer my question.

We have a web server which is IIS 7.5, I see the IIS logs it capture client user name and password, I don't how to disable the IIS logs to capture the client password. I know there is custom field is available in the IIS log to enable and disable the future, but I didn't see any password field available in the IIS log filed, my question is how the IIS log has capture the Client password? and how to protect?

Much appreciate if some one answer my question.

Thanks,

Sam


PHP is not recognized

$
0
0

I am using some code that runs php command in php file. I have successfully configured php on my iis7 server. But when i use php in child process then i get an error which says 'php is not recognized as an internal or external command'. However i have added php path to system variables and have done all other settings. Please help on this

Wordpress under Web Platform Installer & WebMatrix3 on Win 2012R2

$
0
0

For the purposes of learning & creating a Wordpress website before deploying it on a public web site, I installed Wordpress & MySQL on our Win 2012 R2 server 2 ways:

  1. Via Microsoft Web Platform installer 5 on Win 2012R2 server, selecting IIS option.   Wordpress &  plugins don’t upgrade automatically.  I get message “Could not create directory”  I can upgrade them manually but cannot work out the reason why auto upgrade doesn't work.  
  2. I then installed Webmatrix3 and installed Wordpress & MySQL from WebMatrix3.  Wordpress & plugins will upgrade automatically with this installation however I can only access that website when WebMatrix3 is started.  The website installed as site URL: http://localhost:23205.  I tried changing the siteurl to http:/<IP>:23205 but that doesn't work, so I needed to change it back to localhost:23205

 

Questions/Problems:

  1. The NTFS security on web site folders appear the same.   Why is it that the installation via Microsoft Web Platform issues what appears to be a security rights problem when attempting to upgrade (“Could not create directory” ) when security looks the same on both installations?  I have gone through the online document http://digwp.com/2011/04/wordpress-auto-updates/ without resolution
  2. Are Wordpress sites created under WebMatrix3 designed only to run when WebMatrix3 is active?  I’m not sure if this problem is a the installation or a limitation in WebMatrix3 installations of Wordpress.
  3. I tried changing the site ID to  http:<IP>/webname however internet explorer site cannot be accessed.  I included localhost and the IP address in hosts file.  Is this a limitation with WebMatrix Installations of Wordpress?

Thanks,

Jeff

System.Threading.ThreadAbortException when executing remote web service

$
0
0

I'm in the process of moving a set of web services that currently work under IIS 6 on Windows 2003 Server, to run on Windows Vista Ultimate, IIS 7.

 Everything seems to be working, with the exception of  each I try to execute a synchronous remote web service that has a long execution time  running on IIS 7 / Vista Ultimate, after about 2 - 3 minutes, a System.Threading.ThreadAbortException is thrown at the provider end of the web service, which can't be caught.  It appears to be a timeout issue, however I've set all the timeouts, that I could find to 1 hour, and even then the new timeout settings are either not being honored or I'm missing a setting which may be new to IIS 7.

 Can anyone possibly provide some insight into what my issue might be, and how to resolve it?

Here's the stacktraces:


[ThreadAbortException: Thread was being aborted.]
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +495
   System.Web.ApplicationStepManager.ResumeSteps(Exception error) +531
   System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +140
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +403

Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.312
--.
Source: System.Web.Services
Exception Type: System.InvalidOperationException
StrackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at ServiceProxies.Net.NAntServiceSoap.ExecuteNAntTemporaryTask(String nantScriptFileContents, DirectoryFSO workingDirectory, String arguments) in C:\work\dotNET\Utilities\WADeploy\trunk\ServiceProxies\Net\NAntServiceSoap.cs:line 152
at WADeployTool.Support.TargetDeployer.PerformNAntTask(NAntServiceSoap nantProxy, NAntTaskStaticCopy currentTask, ThreadDeploymentArgs args) in C:\work\dotNET\Utilities\WADeploy\trunk\WADeployTool\Support\TargetDeployer.cs:line 746

 

Here are the errors in the event viewer:

-System
<div>
-Provider
<div>
[ Name] ASP.NET 2.0.50727.0
</div>
-EventID1309
<div>
[ Qualifiers] 32768
</div>
Level3
Task3
Keywords0x80000000000000
-TimeCreated
<div>
[ SystemTime] 2007-06-12T20:26:49.000Z
</div>
EventRecordID6160
ChannelApplication
ComputerXXXXXX
Security
</div>

-EventData
<div>
3005
An unhandled exception has occurred.
6/12/2007 1:26:49 PM
6/12/2007 8:26:49 PM
a2f473a8da5c42d8947e6870c6071fdc
23
1
0
/LM/W3SVC/3/ROOT-1-128261534809598000
Full
/
C:\DeployService\
XXXXXX
5784
w3wp.exe
NT AUTHORITY\NETWORK SERVICE
ThreadAbortException
Thread was being aborted.
http://localhost:3450/NAntService.asmx
/NAntService.asmx
::1
XXXXXXX
True
Negotiate
NT AUTHORITY\NETWORK SERVICE
5
NT AUTHORITY\NETWORK SERVICE
False
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
</div>

AND

 

-

System

<div>
-Provider
<div>
[ Name] ASP.NET 2.0.50727.0
</div>
</div> <div>
-EventID1073
<div>
[ Qualifiers] 32768
</div>
</div> <div>
Level3
</div> <div>
Task0
</div> <div>
Keywords0x80000000000000
</div> <div>
-TimeCreated
<div>
[ SystemTime] 2007-06-12T20:26:49.000Z
</div>
</div> <div>
EventRecordID6161
</div> <div>
ChannelApplication
</div> <div>
ComputerXXXXXX
</div> <div>
Security
</div>

-EventData
<div>
Failed to process request. Exception: System.AppDomainUnloadedException Message: Attempted to access an unloaded AppDomain. StackTrace: at System.Web.Hosting.ApplicationManager.RespondToPingIfNeeded() at System.Web.Hosting.HostingEnvironment.RespondToPingButNotTooOften() at System.Web.Hosting.HostingEnvironment.DecrementBusyCountInternal() at System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
</div>

Enable IIS ETW for a single ASP.NET MVC web app?

$
0
0

I would like to enable IIS ETW for a single ASP.NET MVC web app (app = Foo).  Do I just modify the IIS root web.config and put my app URL like so:

<configuration><system.webServer><httpTracing><traceUrls><add value="/foo" /></traceUrls></httpTracing></system.webServer></configuration>

IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

$
0
0

This is IIS 7 in Windows Vista Ultimate. The web site is stopped and when I try to start it the error message (in subject) appears.

In EventLog(System) I get the following following errors:

Source: HttpEvent

Msg: Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.

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

 Source: IIS-W3SVC

Msg: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The site has been disabled. The data field contains the error number.

I'm at a loss. I have no clue as to what is wrong. Any help would be greatly appreciated.

MobileDevice encounter 403.3 error when access IIS WebDav with Kerberos Authentication

$
0
0

Basic the case should similar to Part 3 of this post, UNC folders added in IIS server as Application with pass through authentication

http://forums.iis.net/t/1208017.aspx?Problems+with+Webdav+on+IIS+7+5+connecting+to+UNCpath+win+auth+with+passthrough

Quote:

When I try connecting through the webdav on the Ipad I simply get (cannot access the folder). On the IIS I can see that I get the error: 403.3.

_______________________________________________________________________

My case

In Domain workstation I'm able to use Kerberos Auth to reach server properly while using Browser to access IIS website or map the folder properly. e.ghttps://servername or https://servername/uncshare

Kerberos tickets confirm in workstation.  I had few question due to limited understanding.

1. When using browser access root level of webpage. I'm able to view physical directory stored in IIS server, but cant find any Folder which point to UNC path.. But if i use mounted as Web folder. All folder displayed properly.

e.g  when browsing https://servername , UNC share folder didnt show up - This happen in both PC's browser or  Mobile Device client

2. Any permission missing and cause 403.3 error when access through device.. Since I can access server's local folder in Mobile but not UNC path vApplication

Thanks in advance

Perl on IIS works, but errors open "Save As" dialog

$
0
0

I have perl configured and working on iis 5.1 (i.e., I can run perl scripts to process forms and generate content). However there are some errors that iis handles by popping open the "Save As" dialog. If I download and open the file it does not contain the code of the script, rather it contains the error iis encountered. While this does at least allow me to troubleshoot my code, it would be better if the error was displayed in the browser. The error file has both the error from Perl followed by an html formatted error message.

Does anyone know how to get iis to not download error messages?

Notes:

  • iis is configured with perl.exe mapped to .pl files - works fine
  • iis version 5.1 - runs fine
  • Perl version 5.20 (activeperl)


Server Error in '/' Application.

$
0
0

I am trying to publish image on nocommerce website and I have give write permission to "everyone" local system account to "images" folder

I get access denied error message to the specific folder. There is some link as showing into stack error causing the issue

Any help please

IIS 8.5

Windows 2012 R2

nopcommerce version 1.60

Error message is

Server Error in '/' Application.

Access to the path 'C:\Websites\Website1\images\thumbs\0000513.jpeg' is 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.UnauthorizedAccessException: Access to the path 'C:\Websites\Website1\images\thumbs\0000513.jpeg' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

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:

[UnauthorizedAccessException: Access to the path 'C:\Websites\Website1\images\thumbs\0000513.jpeg' is denied.]    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +216    System.IO.File.InternalDelete(String path, Boolean checkHost) +14006726   NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 targetSize, Boolean showDefaultPicture) in F:\Temp\Test\nopCommerce 1.60\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:349    NopSolutions.NopCommerce.BusinessLogic.Media.PictureManager.GetPictureUrl(Picture picture, Int32 targetSize) in F:\Temp\Test\nopCommerce 1.60\Libraries\Nop.BusinessLogic\Media\PictureManager.cs:180    NopSolutions.NopCommerce.Web.Administration.Modules.CategoryInfoControl.BindData() in F:\Temp\Test\nopCommerce 1.60\NopCommerceStore\Administration\Modules\CategoryInfo.ascx.cs:63   NopSolutions.NopCommerce.Web.Administration.Modules.CategoryInfoControl.Page_Load(Object sender, EventArgs e) in F:\Temp\Test\nopCommerce 1.60\NopCommerceStore\Administration\Modules\CategoryInfo.ascx.cs:99    System.Web.UI.Control.LoadRecursive() +71    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive()+190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Control.LoadRecursive() +190    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009

iis w3c log: requests with empty fields

$
0
0

I'm using IIS on Azure Websites.

I'm trying to figure out why some instances sometimes grow in number of threads and CPU usage. The result is an increase of the HTTP Queue Length.

Looking at the HTTP Logs I see that there are some requests (around 50/100) that are reported with some empty fields.

The image here https://www.dropbox.com/s/ya4gfvl5vdqmc3b/stuck-requests.jpg?dl=0 shows an example.

The few fields set report the same values, even the time is quite the same every few minutes.

I thought it was a problem of query string length but many working requests have it much higher.

Why does iis log the requests in that way? What could it be the reason?

Thank you

Issue with IIS and connecting to Microsoft SQL server 2008 R2, receving network path not found error

$
0
0

I'm using an instance of the SQL server and running a different port on IIS(8090) to access the website, as this is not the default website.

My SQL server is working, I've tested it using the following ways.

1. Connect to it directly from SQL management studio
2. connect to the server using VPN and using visual studio from my development machine to connect to run the website, no issues encounters and everything works.
3. Connect to the server using VPN using my test environment through IIS on a virtual machine, everything is working as intended.

All the connection methods in SQL configuration are enabled, and the firewall is turned off.


The issue occurs from my live server when trying to access the SQL through IIS, I'm using C# as my coding language.

I feel like the issue has to do with IIS, I've checked all the ports and permissions, but I can't figure out why this might be happening.



Here is the stack code that i receive.

   [Win32Exception (0x80004005): The network path was not found]

    [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +6568558
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
       System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +6595000
       System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +219
       System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +6597311
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +6597891
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +942
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +1162
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +72
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +6601145
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +103
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +2102
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
       System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +1079
       System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6605639
       System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +233
       System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +278
       System.Data.SqlClient.SqlConnection.Open() +239
       System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +292
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +420
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +277
       System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +3326331
       System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +176
       System.Web.UI.WebControls.ListControl.PerformSelect() +51
       System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +146
       System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +36
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

This is my connection string, I've replaced the login credentials with asterisks.

<add name="BakeryConnection" providerName="System.Data.SqlClient"  connectionString="Data Source= 192.168.2.10\BAKERYDB,52468;Initial Catalog=Bakery;Integrated Security=False;User ID=*******;Password=******;MultipleActiveResultSets=True" />



IIS 8.5 - APPCRASH iisw3adm.dll - Windows Server 2012 R2

$
0
0

I am looking for a way to resolve this issue, to get IIS working again. 

Any assistance would be appreciated.  

The following are the steps I have taken, and the Windows Logs/Application Events from Event Viewer.

IIS 8.5 - APPCRASH iisw3adm.dll - Windows Server 2012 R2

IIS 8.5 will not start

W3C Logging Service will not start 

World Wide Web Publishing Service will not start

Removed IIS Roles & Features.  "restart" , Added IIS Roles & Features aka Reinstalled-IIS, "restart", still not working. 

Removed IIS Roles & Features.  "restart", Deleted inetpub folder from root of C:\ , Added IIS Roles & Features aka Reinstalled-IIS, "restart", still not working. 

EVENT ID: 1000 


Faulting application name: svchost.exe_WAS, version: 6.3.9600.17415, time stamp: 0x54504177
Faulting module name: iisw3adm.dll, version: 8.5.9600.16384, time stamp: 0x5215f105
Exception code: 0xc0000005
Fault offset: 0x0000000000022b94
Faulting process id: 0x1ae8
Faulting application start time: 0x01d03656ee27d230
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: c:\windows\system32\inetsrv\iisw3adm.dll
Report Id: 2bdb98c6-a24a-11e4-80f3-00155d421472
Faulting package full name:
Faulting package-relative application ID:

==============================================================================

EVENT ID: 1001

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: svchost.exe_WAS
P2: 6.3.9600.17415
P3: 54504177
P4: iisw3adm.dll
P5: 8.5.9600.16384
P6: 5215f105
P7: c0000005
P8: 0000000000022b94
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue
\AppCrash_svchost.exe_WAS_cd865c91f8e76e5b7fe826c415b1ebbb79f947_1feafb92_04b62547

Analysis symbol:
Rechecking for solution: 0
Report Id: 9c805999-a249-11e4-80f3-00155d421472
Report Status: 4100
Hashed bucket:

App Pool Recycle - Application works

$
0
0

Hello,

We have at our company one Application - Classic ASP Application.

But every day, on different times we have to restart the application pool from this app because something works wrong in application.

We get errors at different parts at application.

After app pool restart, the app works fine.

What can I do, to find out where the problem is.

Can somebody explain me a way, to trouble shoot this issue in short words, thanks a lot.

Viewing all 1814 articles
Browse latest View live


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