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

IIS 7 Windows 2007, Localhost work but not local ip or external ip

$
0
0

Hi everyone,

I triend to set up the Windows 7 IIS in order to get a web server to see some web pages as a intranet in my company.

After trying many thing that I found here:

https://forums.iis.net/t/1186390.aspx?IIS+7+Windows+2008+Localhost+work+but+not+local+ip+or+external+ip

...only one thing worked for me: I turned off Domain Networks inside Windows Firewall section, into System and Security from Control Panel. Awesome!... I really works well but the firewall is not working 100%. So, I found how to integrate my Local IP into Domain Network iside my Firewall. This is it:

https://superuser.com/questions/231358/allowing-ip-range-in-windows-firewall

These are the steps:

Windows Firewall > Advance Settings > Inbound Rules > New Rule > Custom > Scope  > (Wich Local IP Address...) (choose) These IP Address > Add > (choose)This IP Address or subnet: > (write your Local IP:) Example: 192.168.140.33 >OK > Next > (choose) Allow the connection > Next > (must be checked 3 things: Domain, Private, Public) > Next > (Write a name and a description for it) > Finish.

After this, I turned on Domain network inside Firewall. Finally, I tested my local ip in other PCs and everything was working well!

I am very happy for this big step.

See you around,
MarcoOvalle 


After Login site redirecting to inner folder with no DNS

$
0
0
Hi Team,

I am in between of some weird error where I am able to login but after login it is redirecting to inner folder with no DNS.

For example.

I am able to login Https://www.somehost.com/account/login.aspx but after login website redirecting to https://somefolder/somepage.

Here you can see DNS is not forwarded while redirecting to required page which is not correct.

Any help will be highly appreciated.

Best regards,
Pravin

Can't start IIS Admin service: "Object already exists."

$
0
0

BLUF:  When trying to start the IIS ADMIN service, I receive the following error:

"Windows could not start the IIS Admin Service on Local Computer. For more information, review the System Event Log.  If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code -2146893809."

And the following log in Event Viewer:

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

Source: Service Control Manager

EventID:  1024

"The IIS Admin Service service terminated with the following service-specific error: 

Object already exists."

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

BACKGROUND:

After upgrading to Windows 10 CU Enterprise 1703, I was experiencing the known RDC issue.   Ref here:

https://social.technet.microsoft.com/Forums/windows/en-US/954975f2-743c-413f-8cc3-037bf3e35b09/remote-desktop-the-local-security-authority-cannot-be-contacted?forum=w7itpronetworking

In an attempt to resolve the issue, it was suggested to rename and recreate the following DIR:

C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

I did that and it resolved the RDC problem.  However, I cannot start the IIS Admin service now.  IIS Manager and W3SVC both start and the webserver seems to be working okay, but I know there is a major underlying issue here.  

So, how do I recreate the key that IIS Admin uses?

P.S.  I DID try to restore my backup copy of the \RSA\machinekyes DIR, but I tried to migrate them and polluted both the backup DIR and the working copy.   So, restoring is NOT an option for me. 

THANKS!

MongoDB authentication in IIS Server

$
0
0

Hi,

I've been trying to load my project into IIS Server. Once I'm done loading I'm trying to login, the login is done using MongoDB authentication and I'm using MongoClient for authentication in the code. I'm not able to pass the authentication in IIS Server. Would like to know if there is anything that I'm missing out.

I've already added the privileges to the application pool which is associated with the project and also on the URL I'm hosting in IIS. If there is anything I need to perform more would be great to hear back about it.

502 - Web server received an invalid response while acting as a gateway or proxy server.

$
0
0

I have 2 server (Web & APP Server).

I am hosted my API's on APP Server & APP server is accessed by ARR from Web Server.

on both server port 443 open i.e. https request.

How to solve this. 

Please help me.

error 5002 5003 WAS

$
0
0

Hi 

after I changed the name of Citrix server, all was working well until I started getting errors 5002, 5003 and defaultAppPool is stopping every several minutes.

granted NETWORK SERVICE account permissions on the TEMP folder, but I dont see this was done in my other servers. also this did not help.

any ideas?

thanks

Timeout for some of websites after they stopped for any reason while other worked just fine (iisreset was only solution)

$
0
0

Hello,

I have very weird situation happening from time to time. Scenario: IIS 8.5 with about 1.5k websites. App pool after 20-30 minutes is being terminated. They all work under 32bit. From time to time (once in a month maybe?) I'm experiencing a situation:

  • clients are trying to access their websites are getting permanent loading experience (timeout)
  • not all websites are being affected because some of them are working just fine
  • solution for this problem is performing iisreset
  • restarting website or app pool is not helping

Observations:

  • websites which stopped responding / are permanently loading stopped responding in different time (IIS logs shows very different times when they just stopped responding -> no new entries in log)
  • it looks like they stopped responding in moment when they has been shutdown by WAS because of inactivity and they never started again until iisreset or they have been stopped by website application error (one client had DB limit exceeded which caused his app to crash) -> so basically it doesn't matter what caused website to stop but after that app couldn't start again

As far as I can see there are no errors in Event Log System or Application except entries mentioned above. There is a big chance that most other websites where working just fine because they where not restarted because of being actively used or not crashing because of application errors. IIS logs just have gaps between moment when application stopped and iisreset command.

Does someone experienced similar issue or have any idea what could cause that problem?

Thanks

Windows 2012 R2 - IIS8 - HTTP Error 503. The service is unavailable

$
0
0

Hi everyone,

I'm encoutering an error trying to use IIS8 server and I don't have any idea how to fix it...

Context:
I have to set up three IIS8 servers.
I got three supposed-identical Windows 2012 R2 VM.
For the three servers, I'm testing my webservice by the same way. I try to access to the service throughhttp://localhost:80/applicationrepository/nameoftheservice.extension


Everything is right with the first one, I have something like :

ERPService Service

You have created a service

...

but I encoutered the following error with the others :

Service Unavailable
HTTP Error 503. The service is unavailable

Then the application pool is automatically stopped.

I find warning and error logs in the event viewer but they don't give me accurate information :

Warning logs say " A process serving application pool "NameofMyApplicationPool" terminated unexpectedly. The process id was '5664'. The process exit code was '0xfffffffe'. "

Error log say : " Application pool "NameofMyApplicationPool" is being automatically disabled due to a series of failures in the process(es) serving that application pool. "

Here is some things I've tested and checked :

Restart the pool and retry
Restart the manage server
Restart the manage website
Reboot the server
Component Services +> Computer +> My Computer +> DCOM Config +> SMS Agent Host +> Right click +> Properties +> Security :
For Launch and Activation Permission menu, Local Activation and Local Launch are allowed for SYSTEM USER.

Globally, I've compared every pool, website and right settings between the three VM and there is no difference.

I've also tried to activate Failed Request Tracing but nothing is generated whereas the error appears in the event viewer.

That's why roday I'm asking you if you have any idea to fix this error ?

Thank you very much for your time.

Regards,
Hugues


Forms authentication failed for the request. Reason: The ticket supplied was invalid.

$
0
0

Dear forum members,

I'm hoping you can help me with an issue on an IIS server. I'm not a developer so please forgive me if this in the wrong thread/category!

I am hosting a .Net 4 app that is failing beginning with the informational warning in the subject (which I'm told is fine and indicates a cookie refresh?) showing in the event logs, followed by another warning:

Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs

which results in a custom error on the web page.

I realise this is a bespoke app so I'm not necessarily expecting anyone here to be able to precisely troubleshoot this necessarily, but would be very grateful if anyone can point me at any requirements to enable forms auth to work correctly on Server 2016 IIS 10. Or if anyone has seen the multiple controls ID error - can you share your experiences in troubleshooting it?

This application worked perfectly on Server 2008 R2 and IIS 7.5.

Any advice most gratefully received. 

Adele

OWA breaks after changing framework to 4.0

$
0
0

I am trying to clear up an issue with a recent vulnerability scan for Cross-Site Scripting Vulnerability, when I change the framework from 2.0 to 4.0 inside of the IIS Manager on our Exchange 2010 server, OWA times out, giving errors. I clicked on the server, and hit "Change .NET Framework" with no issues, but when I go to the Application Pools, and change MSExchangeOWAAppPool to .NET Framework v4.0.30319, then Restart under Manage Server, OWA will time out opening or sending emails. I am not sure of all mailflow stops, as I had to revert my changes back quickly. Thanks in advance.

"Keyset does not exist" error on Server 2016 after sysprep

$
0
0

We are making new images using Server 2016 + IIS.  These are the steps we follow:

  1. Perform a clean install of Server 2016 on a new machine
  2. Install IIS and configure to our requirements
  3. Install our application as a test of step 2
  4. Sysprep the new machine
  5. Convert the new machine to a template
  6. Deploy a new VM from the template
  7. Perform the usual steps such as domain join and set permissions

This process worked perfectly with Server 2012.

But with Server 2016, we are unable to install our application on the newly deployed VM. The installation fails with this error:
Install.ps1 : Keyset does not exist (Exception from HRESULT: 0x80090016)

There does not seem to be any way to salvage the clone. We have tried checking permissions on keys are correct, deleting keys and even re-installing IIS. Nothing works.

Can anyone please suggest:

  • how to fix the clone
  • how to prevent this happening in the first place

Thank you!

After installing xampp, IIS doesn't work any more

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

On a desktop computer with Windows 10 a colleague has installed XAMPP, and it works perfectly.

Now I have tried to run IIS and it doesn't work any more.

I have stopped Windows Firewall and XAMPP is also not running, but IIS doesn't work. I have tried to change IIS port to 8081 and still doesn't run.

On the event viewer there isn't any message about this.

I have uninstall and then install IIS again, but with it doesn't work.

On Internet Explorer I have tried to connect to localhost and with the public IP (192.168.1. ...) and it doesn't work.

I have tried also to connect to telnet with port 80 and I get no answer.

Do you know what could I do to make it work?

</div>

Suspended apps/apppools - issue with SSL connectivity?

$
0
0

Hello,

System (Windows Server 2016 Standard) with about 1.5k websites. I've switched app pools from terminate after 30 minutes to suspend after 10 minutes. After about one day system has about 1.1k running processes and it works fine. After about 24h after switching to suspension websites are becoming not accessible over ... SSL. Nothing has changed, all bindings are fine, SSL certificates are there but no site is available over https connection. Httperr log files are also not showing anything special. Windows event log is also not showing anything particular. Is this possible that that amount of running w3wp processes which at least in some part where suspended could couse this problem? Running iisreset is not helping and only system restart helped. I've also noticed that editing website bindings using IIS Manager was freezing after pressing saving bindings configuration.

Anyone experienced similar issue?

Thanks

shared configuration not listed and iis crashes

$
0
0

Hi,

I am new to iis.

We have "migrated" from web server 2008 running iis 7 to server 2012 running iis 8.

We have 2 iis servers that are network load balanced together.

When I say migrated, I created new app pools and new sites based off the settings of the old server.

Our physical paths are on a shared farm, so I used that as the path.

I am now thinking this is not the best way to do it, however the sites do load.

We randomly get error when accessing iis that says "cannot read configuration file"

When this occurs, I also noticed a bunch of error log:

IISMANAGER_ERROR_LOADING_PROVIDER_TYPE

IIS Manager could not load type 'Microsoft.Web.Deployment.UI.PackagingModuleProvider, Microsoft.Web.Deployment.UI.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' for module provider 'WebDeployment_Current' that is declared in %windir%\system32\inetsrv\config\administration.config. Verify that the type is correct, and that the assembly that contains the module provider is in the Global Assembly Cache (GAC).

IIS Manager could not load type 'Microsoft.Web.Management.Features.SharedConfig.SharedConfigModuleProvider, Microsoft.Web.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' for module provider 'SharedConfig' that is declared in %windir%\system32\inetsrv\config\administration.config. Verify that the type is correct, and that the assembly that contains the module provider is in the Global Assembly Cache (GAC).

and the same for: 'Microsoft.Web.Management.Features.Delegation.DelegationModuleProvider','Microsoft.Web.Management, 'Microsoft.Web.Management.Features.Administrators.AdministratorsModuleProvider.

So I am not really sure what is going on.

Also I noticed that the shared configuration module is not listed in iis. Under the Management feature title, we have configuration edior and web platform installer.

Anyone have any ideas?

DecompressFail entries in httperr logs

$
0
0

Hello,

does anyone knows what exactly mean DecompressFail entry error in httperr logs? I can't find it anywhere (especially here https://support.microsoft.com/en-us/help/820729/error-logging-in-http-apis). Issue is related to random not able to access website over secure connection. In the same time other user or apps can access the same site. I had even situation when Chrome was not able to access website while Firefox could.

Any ideas?

Thanks


Publish from VS2015 to a site hangs on IIS8.5 on Windows 2012R2

$
0
0

Hi

I am trying publish from Visual Studio 2015 to a site. The user has the delegation rule which lets the user to connect to the site and deploy. visual studio show the following status. When I checked on the server the folders are created fine; also the application under website created BUT no files copied over, and VS studio HANGS trying to complete the job. this user has full rights on the website folder. Don't know what I am missing. My delegation rules are contentPath (CurrentUser), iisApp (CurrentUser),CreateApp(WDeployConfigWriter) ,SetAcl (CurrentUser),recycelapp (identity WDDeployAdmin). enables this user. I in stalled WebDeploy 3.6 on the server. I can connect from IIS remote manger OK. I suspect wmsvc on server is hanging but not sure why. When I try to restart this service it will not stop. So I have to restart the server to get back to normal. Also, I am able to publish as administrator without an issue.

Transformed Web.config using D:\Projects\xxxxxxxxxxTestApp\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
Auto ConnectionString Transformed Views\Web.config into obj\Release\CSAutoParameterize\transformed\Views\Web.config.
Auto ConnectionString Transformed obj\Release\TransformWebConfig\transformed\Web.config into obj\Release\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
Start Web Deploy Publish the Application/package to https://192.168.xxx.xxx:8172/msdeploy.axd?site=Default%20Web%20Site ...
Adding sitemanifest (sitemanifest).
Creating application (Default Web Site/TestAppJdoe)
Adding virtual path (Default Web Site/TestAppJdoe)
Adding directory (Default Web Site/TestAppJdoe).
Adding directory (Default Web Site/TestAppJdoe\bin).
Adding directory (Default Web Site/TestAppJdoe\bin\de).
Adding directory (Default Web Site/TestAppJdoe\bin\es).
Adding directory (Default Web Site/TestAppJdoe\bin\fr).
Adding directory (Default Web Site/TestAppJdoe\bin\it).
Adding directory (Default Web Site/TestAppJdoe\bin\ja).
Adding directory (Default Web Site/TestAppJdoe\bin\ko).
Adding directory (Default Web Site/TestAppJdoe\bin\ru).
Adding directory (Default Web Site/TestAppJdoe\bin\zh-Hans).
Adding directory (Default Web Site/TestAppJdoe\bin\zh-Hant).
Adding directory (Default Web Site/TestAppJdoe\Content).
Adding directory (Default Web Site/TestAppJdoe\Content\themes).
Adding directory (Default Web Site/TestAppJdoe\Content\themes\base).
Adding directory (Default Web Site/TestAppJdoe\Content\themes\base\images).
Adding directory (Default Web Site/TestAppJdoe\fonts).
Adding directory (Default Web Site/TestAppJdoe\Images).
Adding directory (Default Web Site/TestAppJdoe\Scripts).
Adding directory (Default Web Site/TestAppJdoe\Views).
Adding directory (Default Web Site/TestAppJdoe\Views\Agent).
Adding directory (Default Web Site/TestAppJdoe\Views\Home).
Adding directory (Default Web Site/TestAppJdoe\Views\Shared).
Adding directory (Default Web Site/TestAppJdoe\Views\StaasTest).
Adding ACLs for path (Default Web Site/TestAppJdoe)
Adding ACLs for path (Default Web Site/TestAppJdoe)
Adding sitemanifest (sitemanifest).
Creating application (Default Web Site/TestAppJdoe)

Under IIS 8.0, appcmd or inetmgr cannot make changes to web.config if / element is present in the file

$
0
0

In preparing to move some applications to IIS 8, I am getting hresult:c00cef03 error on Windows 10 and Windows Server 2012 R2 when using appcmd.exe or inetmgr to make changes to web.config as long as the web.config file contains / element.

Has anyone seen this before and what is the workaround?

Below is an example of appcmd output:

C:>C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site/Configuration" -section:anonymousAuthentication /username
:""
Applied configuration changes to section "system.webServer/security/authenticati
on/anonymousAuthentication" for "MACHINE/WEBROOT/APPHOST/Default Web Site/Config
uration" at configuration commit path "MACHINE/WEBROOT/APPHOST/Default Web Site/
Configuration"
ERROR ( hresult:c00cef03, message:Failed to commit configuration changes.
 )

The following is the content of a web.config file that you may use to reproduce the issue. It seems that just the presence of element would make the error happen, the identity of the assembly does not matter.

<?xml version="1.0" encoding="utf-8"?><configuration><system.webServer><security><authentication><anonymousAuthentication enabled="true" userName="IUSR" /></authentication></security></system.webServer><runtime><asm:assemblyBinding xmlns:asm="urn:schemas-microsoft-com:asm.v1"><asm:dependentAssembly><asm:assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /><asm:bindingRedirect oldVersion="4.5.0.0-9.0.0.0" newVersion="9.0.0.0" /></asm:dependentAssembly></asm:assemblyBinding></runtime></configuration>

IIS 8.5 - Not responding - Post restart website comes up

$
0
0

Hi,

We have 2 websites running one 1 app pool. Data flows between these 2 sites using web services. Over the last few weeks, we are facing intermittent issues wherein one of the site becomes inaccessible and after restarting IIS it does become accessible.

We are unable to reproduce this issue in our UAT or Dev environment. I ran the Debug Diagnostic Tool in Dev and found this message. I am trying to understand what could have wrong here.

In w3wp__xxxxx-TENANT-APP__PID__20444__Date__07_20_2017__Time_03_11_58PM__759__Second_Chance_Exception_E0434352.dmp the assembly instruction atKERNELBASE!RaiseException in C:\Windows\System32\KERNELBASE.dll fromMicrosoft Corporation has caused a CLR Exception on thread22 with the following error information:

    Type:  System.NullReferenceException
    Message:  Object reference not set to an instance of an object.


This exception originated from mscorlib_ni!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

The following threads in w3wp__NXXX-TENANT APP__PID__20444__Date__07_20_2017__Time_03_11_58PM__759__Second_Chance_Exception_E0434352.dmp are waiting in a WaitMultiple

The following threads in w3wp__NXXX-TENANT-APP__PID__20444__Date__07_20_2017__Time_03_11_58PM__759__Second_Chance_Exception_E0434352.dmp are waiting inSystem.Threading.Monitor.Wait

Are these symptoms of any memory leak? Seeking support in troubleshooting this.

Regards,

Ram

Error when trying to import entire web server

$
0
0

Hello all.

So, we recently upgraded a server and successfully migrated from IIS6 to IIS7.5. Now, I want to move to Server 2012 with IIS8.5.

On the old server, I tried exporting the server in IIS Manager, but was told the package exceeds 2GB, so I used msdeploy commands to create an archiveDir instead. I've moved the archiveDir over to the new server, on the C:\ root.

Using msdeploy again, I run:

msdeploy -verb:sync -source:archiveDir=c:\backup,encryptPassword=mypassword -dest:webServer -whatif

Prompt returns with an error "cannot create a file when that file already exists." I've tried just installing Web Deploy and running it again, but it still does not work. I've wiped the drive, reinstalled Server 2012, installed my server roles and tried again, but I still receive this error. I want to move the entire server over to save myself some headaches, but this is turning into one itself! What can I do?



IIS HTTP 500

$
0
0

Hello to all

Im having an issue with my asmx web service, it receives requests from only one java client but sometimes when it receives more than 4 requests per second the server returns http 500(on IIS log 500 0 0 120 for example) the maximum requests that it receives is 7 per second. Is there a way I can improve IIS configuration to avoid that situation on concurrent calls per second. It is not really frequent because an example is from 2500 requests in 5 hours it gives the http 500 just 10 times.

I appreciate your help

Viewing all 1814 articles
Browse latest View live


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