Quantcast
Channel: General
Viewing all 7363 articles
Browse latest View live

When does a new worker process will be added to the Application pool ?

$
0
0

Hi,

I'm using IIS Web garden. I read so many comments that says its bad and will cause problems while other says it good. anyway, i have decided to go for it and test it by myself as I’m using it for HTTP GET API without any sessions its very simple API but it got alot of traffic, so I hope this brings the good side of the web garden only.

I have noticed that all worker processes I have assigned for the application pool has been created and working. So i need to know on what basis the application pool creates the new worker process and start using it ?

 

 

 

 


IIS - drawbacks of having a higher file upload limit?

$
0
0

Hi there,

In IIS/Web.config if I just set a large limit for file upload - are there any drawbacks? (I mean other the data size?)

Thanks.

Forms based authentication can register user but user cannot login

$
0
0

I am trying to set up forms base authentication for my website.  The IIS 7 server is hosted on a Windows 2008 r2 server with .net framework v4 and MS SQL Server 2008.  The aspnetdb is set up on the sql server and operates correctly.  SQL Server was configured with Mixed Mode authentication.  I have configured the site with anonymous authentication and forms authentication enabled. In basic settings for the site my "connect as" user is a local user with login defined for the aspnetdb on the SQL server and the "test settings" operates successfully.

When I access the site the "Log In" panel displays.  I can operate the "Register" link and successfully register a user.  When I query the aspnetdb on the SQL Server I can see the user.  In the aspnet_Membership table I change the IsApproved field for the user from "False" to "True".  I access the site again and on the Log In panel enter the userid and correct password and am presented with the message "Your login attempt was not successful.  Please try again".

Could someone kindly show me what I'm doing wrong?  If I'm missing something obvious please excuse I'm a bit of a newbie.  Thanks much in advance for any help, Roscoe

Current practices of open innovation in software development and publishing..

$
0
0

Hello,

I am carrying out a research on the current practices of open innovation in
software development and publishing, and would like to clarify my idea with
you or someone else in your company.

I would appreciate if you could take few minutes to participate in my short
questionnaire: https://www.surveymonkey.com/s/KB99CCZ

Thank you for considering my request.

Kind regards,
Adeniyi Moses Adetola,
Doctoral Researcher

Westminster Business School
The University of Westminster
35 Marylebone Road
London NW1 5LS
United Kingdom

Restore IIS 8 original Default Settings

$
0
0

Hello there,

 

My name is Tomás O’Hare from Ireland.  I bought a Dell server (T320) with Windows Server Standard 2012 pre-installed about 5 weeks ago.

I installed IIS and made some changes to suit an web application I wanted to run on the server.  I’m not an IT engineer and wasn’t aware that a backup should be taken of the IIS default settings before making changes.  I wish to revert IIS to its original state as IN cannot get local host to display (error 503).

Any feedback on how IIS 8 defaults can be restored would be appreciated? Am I left with a new server that IIS can't be used?

A colleague mentioned Windows Process Activation Service for IIS 7 but I don’t see this for IIS 8? It was implied that removing this feature as well as uninstalling IIS 8 might allow the defaults to be reinstated when re-installing IIS again? Any assistance would be appreciated.

 

Yours sincerely,

 

Tomás O'Hare

Why my ISS has not all options in app pools

$
0
0

Hello,

Please see image below:

I nee to change the APP Pool to support 32 bits, but I have not the option, please see image below:

Why I have not tha otion? What I need to do? :(

Log saving trouble

$
0
0

I'm in a situation where graceful shutdowns are not allwoing enough time to upload logs to our storage location. My thought was to have the logs be written directly to an intermediary network share and have a service process those each night.

I am able to successfuly create the network share location and copy/edit files frmo the IIS server to to that new location, but when I set Advanced Logging to point to that mapped drive to create logs, no logs appear. Any help would be greatly appriciated!

IIS blocking due to a high number of requests of same IP

$
0
0

 Hi there!

We have some number of IIS 7 running on Windows Server 2008 with .Net 4 and session state on SQL Server. The servers are behind a firewall and a loadbalancer, serving hundreds of users without a problem. Most of the time this works good, no queued requests on the IIS. But sometimes our IIS get blocked, all of them building up a queue. The "current requests" in the worker process view of the troubled application pool shows  - among others seeming normal - a huge number of requests from one single IP, all in RequestAcquireState. The requests seem not from a DoS or other mean attack, just normal requests, but fired repeatedly instead of once. The lock seem to be inside session state logic, the lock on the session itself. The database server itself only shows "blkby" (blocked by) in sp_who2 on the ASPState database if there are a really high number of such simultaneous requests.

 

I am aware, that IIS serializes requests from  one source, since it can access the sessionstate only for one request at a time. But in our case, these hundreds of requests from one IP (mostly on the same URL, a page requiring sessionstate) block our IIS, filling up the queue and therefore blocking out other requests from being processed. Since the loadbalancer distributes these requests over all our servers, all endure the same problem and therefore our site gets either very slow or completely down, until the requests from the single IP time out or get served one after the other. This can not be normal for IIS?

 

Until now, we get alarmed by the queues building up on the IIS, shown by perfmon and also by some other connectivity-monitoring tools. Our only way to handle it is to block the IP on the firewall (otherwise they would simply build up again) and then performing an IISreset on all servers, getting rid of the blocking requests.

 

Is this really normal behavior for IIS 7? Why don't these requests from the same IP get queued letting the requests from other sources being processed?

 

Is there a way to prevent this situation?


Can a Host Header for IIS Site contain wildcards?

$
0
0

In my sharepoint, I create sites like test1.sharepoint.com, test2.sharepoint.com (so on and so forth).

when I try to create a IIS binding like "sharepoint.com" I cannot access any site but if I create a binding like "test1.sharepoint.com" then i can access.

Ofcourse, creating a binding for every sharepoint site is not a practical option.

so is there a way in IIS, where I can create a Host header binding like "*.sharepoint.com"?

IIS FTP issues

$
0
0

Hey Guys!

I have some issues trying to to get FTP working to my likings.

I am attempting to do the following

domain ftp.eaglesecurity.co.nz has Anonymous access and does NOT require any login info. Just plain anonymous access and directory browsing.

domain installer.eaglesecurity.co.nz has restricted access to users specified and should prompt for login when access is attempted.

Right now, I cannot get any FTP access whatsoever. It appears to just 'hang' when attepmting to access ftp.domain.com. I have confirmed that the port is open, but can anonymously access the server from a LAN client using FTP in CMD.

it just times out when attempting to access it from WAN. Also is there anyway of doing this without using virtual hostnames? Im trying to avoid the installer login as installer.eaglesecurity.co.nz|USERNAME

Any help appreciated. Using IIS7 and have tried removing IIS and reinstalling with no luck!

Thanks!

IIS 8.5 Stop Precompilation

$
0
0

Hello

I've ASP.NET Web Site MVC 5, written in .NET 4.5. Application is fully precompiled before deplyolment. No View, no Code can be updated. In fact there is no View file in deployment package, only images, javascript, css and binary data.

When I deploy application in IIS 7/7.5 all is working as expected. Because application is already precompiled I do not expect to precompile it on first run. Which is what is happing on IIS 7/7.5 and my website is starting here very qucikly (cold start is less that 5 seconds)

After moving to Windows Server 2012 R2, I'm not seeing this behaviour. Insterad I'm seeing big memory peak and CPU peek during first run. It is trying take all possibile memory. Web site is starting much longer almost 30 seconds. I believe all of that is becuas eof precompilation.

I want to sptop this, becuase all is already precompiled and there is nothing to do. I have powerfull Windows Server 2012 R2 with twice memory as old server, twice core as old server and my app is starting much slower. This is not the worst. It is throwing OutOfMemory exceptions somteimes if server have bigger memory usage. This is unexpected.

UPDATE 1:

After few more test I think this is related rather to x64 bit architecture. If I setup AppPool on IIS 8.5. to run as 32 bits everything is fast as on IIS 7 computer. I understand why IIS process is taking twice as memory on 32 bits. But do not understand why compilation is 7 (seven) times longer, and compilation memory is 10 times bigger.

Regards

Marcin

IIS 7 show custom message

$
0
0

We have a virtual directory in IIS7, this virtual directory just has ABC.dll file in it. When any user/system posts a request to this dll, this would forward the published request’s message body to anther system. This dll has coded to forward the message body as XML to another system. This is an old component which we have been using for a while. 

Now we want to configure a setting in IIS. If any user browses to the above virtual directory through any browser, we want to show the user with a custom message, something like “Hello You have reached XYZ company”. Is this possible to configure something like this in IIS 7? 

i.e. If this virtual directory is been accessed or browsed by a web browser then an custom message need to be show in the browser as the response. Otherwise, if a HTTP-Post has been made to the dll through any other means (other than web browser), proceed the request the ABC.dll as it normally happens. 

We don’t have source code or we don’t want to update this already existing component. We are looking for some solution through configuration in IIS or without touching ABC.dll code. 

Can this be achieved in IIS 7?

Webdav basic authentication Unable to reread file from service session

$
0
0

Hi Everyone,

I need help on a very strange behavior.

On the server side on a windows 2008r2 server,

  • I've created a site "webdav" bounded to https with webdav enabled, pointing to a net share file using unc path
  • Created a classic, no managed code, pool "webdav" configured with a domain account having read/write access to the share configured the site for Only basic authentication (no domain, no realm)
  • Asscoiated the Site with the pool
  • Created an authoring rule with full acces for the domain account read/source/write

On the client side (windows 2008r2 in a workgroup in dmz),

  • Interactively, i can map a drive to the webdav, create,read,delete file from the command line or explorer on the webdav site without any problem.
  • But from a service running with the same user account, the service application can write files but seems to have problem to re-read the file it has just written, even though it get an http 200 response. the file read is zero length, whereas it should be ~8000 bytes length.
  • If i read the file written interactively with the service account, no problem. I get the correct image.

#Software: Microsoft Internet Information Services 7.5

#Version: 1.0

#Date: 2014-01-25 15:34:53

#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken

2014-01-25 15:34:53 10.1.42.29 OPTIONS / - 443 - 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 401 2 5 1557 143 516

2014-01-25 15:34:53 10.1.42.29 OPTIONS / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 64 0 198 31

2014-01-25 15:34:53 10.1.42.29 PROPFIND / - 443 - 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 401 2 5 1557 173 0

2014-01-25 15:34:53 10.1.42.29 PROPFIND / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1045 228 15

2014-01-25 15:34:53 10.1.42.29 PROPFIND / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1045 228 218

2014-01-25 15:35:28 10.1.42.29 PROPFIND / - 443 - 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 401 2 5 1557 173 0

2014-01-25 15:35:28 10.1.42.29 PROPFIND / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1045 228 46

2014-01-25 15:35:28 10.1.42.29 PROPFIND /Desktop.ini - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 404 0 2 1445 239 15

2014-01-25 15:35:28 10.1.42.29 PROPFIND /AutoRun.inf - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 404 0 2 1445 239 203

2014-01-25 15:35:33 10.1.42.29 PROPFIND /res - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1061 231 62

2014-01-25 15:35:33 10.1.42.29 PROPFIND /res - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 21082 231 109

2014-01-25 15:36:20 10.1.42.29 PROPFIND / - 443 - 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 401 2 5 1557 173 0

2014-01-25 15:36:20 10.1.42.29 PROPFIND / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1045 228 15

2014-01-25 15:36:20 10.1.42.29 PROPFIND / - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1045 228 203

2014-01-25 15:37:35 10.1.42.29 PROPFIND /res/1401/25/4_847 - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 404 0 2 1445 245 46 2014-01-25 15:37:35 10.1.42.29 PROPFIND /res/1401/25 - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1061 239 15

2014-01-25 15:37:35 10.1.42.29 MKCOL /res/1401/25/4_847 - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 201 0 0 165 232 15 2014-01-25 15:37:35 10.1.42.29 PROPPATCH /res/1401/25/4_847 - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 597 765 156

2014-01-25 15:37:35 10.1.42.29 PROPFIND /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 404 0 2 1445 290 0

2014-01-25 15:37:35 10.1.42.29 PUT /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 201 0 0 165 275 46

2014-01-25 15:37:35 10.1.42.29 LOCK /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 837 586 31

2014-01-25 15:37:35 10.1.42.29 PROPPATCH /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 645 889 31

2014-01-25 15:37:35 10.1.42.29 HEAD /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 277 243 15

2014-01-25 15:37:35 10.1.42.29 PUT /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 204 0 0 14981541 171

2014-01-25 15:37:35 10.1.42.29 PROPPATCH /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 597 741 31

2014-01-25 15:37:35 10.1.42.29 UNLOCK /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 204 0 0 149 387 31

2014-01-25 15:37:35 10.1.42.29 PROPFIND /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 1189 290 46

2014-01-25 15:37:35 10.1.42.29 GET /res/1401/25/4_847/AE658DBF-830E-4CF8-BFB5-55B0FAB6EE87_001.tif - 443 company\sup 10.1.42.23 Microsoft-WebDAV-MiniRedir/6.1.7601200 0 0 277 299 218

Any help would be greatly appreciate.

Upload File Size Specification for IIS 7.0 and 7.5

$
0
0

Hi 

We have a web app running in IIS 7.5 and am in a need to upload a larger file which is more than 2 GB, googled it. some of the results shows that,it's not possible to upload file more than 2GB usinh IIS 7.0 or 7.5.

Can any one confirm or can you give me ideas on uploading a file which is more than 2 GB in size.

Thanks in advance.

IIS not accessing a TNSNames file

$
0
0

We have a ASP.NET application working on an IIS server. The Application reads data from many oracle databases in our internal network. We have a TNSNames file in a share folder somewhere on the network and every one in the Company reads from it. For the application to work the Server needs to have the Oracle Client Admin edition install and in the registry we a TNS_ADMIN key under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraClient11g_home1 that points to the Share folder mentioned before where the TNSNames file is. That arrangement works just fine in any other client except for this one. We have try having the application run under a different user name to make sure it has plenty of privileges to access the TNS file and nothing happens. Is there anything we are missing that you can see?

Thanks!


ftp site on IIS8 authentication stopped working

$
0
0

Hi,

We run IIS 8 on a Virtual Server ver 2012 (R1, X64) for our Company's Public ftp Server. The Virtual Server runs on Hyper-V 2012.

I've setup an ftp site in IIS and I am using User Isolation (selected "User Name Directory - disable global virtual directories"). Although we have Active Directory I created local accounts on the ftp Server and are using this for authenticating users so that we save on AD User CALs.

The authentication worked 100% for the last 6 months, we've created about 30 odd local accounts over this period and setup several virtual directories and then define it so that the local user can access a virtual directory that corresponds with the username, so no issues up to here for the last 6 months.

Over the weekend I reloaded the Hyper-V Host where the ftp Server is running on, I took of Hyper-V Server 2012 (Core, no GUI, only Hyper-V 2012) and I replaced it with the full Server 2012 + Hyper-V Role. I then created a new VM, pointed it to our ftp Server's .vhdx file and when it started I just setup it's IP Address on the network card again (back to the same settings it had before the host was reloaded) and I also upgraded the HAL on the ftp Virtual Server. I've done this with lots of Servers in the past with no issues what so ever.

Since the reload of the Host and putting back the ftp Server no one can login to the ftp site, it prompts users for login, one then enters the username and password (all local users on the ftp Server) and it just returns to the login screen prompting for the username and password again. It is making use of "Basic Authentication" and "Anonymous Authentication" is disabled.

My guess is that something that changed during the reload of the Host affected the ftp site on the Virtual Server, and the only know thing that I know of that will be different now is the MAC Address of the Network Adaptor on the Virtual ftp Server, but this should not affect IIS in any way (ftp site set to bind to any IP, not a specific one).

Any assistance with troubleshooting IIS or the ftp site to see why it's not accepting valid login credentials and getting to work again would be greatly appreciated.

I've done all the standard stuff trying to fix it (disabled windows firewall, restart the VM, even moved it to another Hyper-V 2012 host, ran an iisreset, checked IIS and ftp site settings, even removed the Server from our AD Domain, but it refuses to let any local user login to ftp site, can telnet to the site on tcp port 21 just fine).

I am seeing a lot of "ControlChannelClosed" in the ftp site log files on the Server in IIS for what it's worth.

Thanks, Reinhard

Change Port Of Websocket in IIS 8.0 in windows 8

$
0
0

Hello There,

I am begginer in Websocket please when i start my application it gives me error unexpected reponse code : 200

i have googled and i got that websocket and iis runs on same port 80 so there is need to change port number of websocket

HOW TO CHANGE WEBSOCKET PORTS please help me QUICKLY

I Have referred this link

w3wp is taking all CPU, how can I hunt down the cause?

$
0
0

Hi, 

We have a website that runs on 3 servers. Since a few weeks, every other day or so, our website is very slow. If I check the taskmanager on the servers, then I see approximately 20 w3wp processes, which take up 100% CPU together. How can I find out what such a process is actually doing? 

Extra info: sometimes the CPU is 100% for only a few minutes, and sometimes it takes more than half an hour. After iisreseting the server, the CPU calms down again. This, of course, is not a structural solution, so I would like to know what the server is actually doing when there is 100% CPU. The only clue that the task manager gives is in the Command Line column, there it says which application pool is working: [C:\Windows\SysWOW64\intesrv\w3wp.exe -ap <ApplicationPoolName> -v "v4.0" -l webengine4.dll" -a \\.\pipe\iisipm<guid> -h <app-pool-config> -w "" -m 0]. 

All 3 servers are virtual servers (VMWare) with Windows Server 2008 R2 and IIS 7.5.7600.16385. I checked the Resource Monitor (via the Performance tab on the Task Manager) but this essential displays the same info as the task manager. The database server is always calm during the high-CPU-periods. 

Help is much appreciated! (I'm a .net developer, not a System Administrator, I have little or no experience in finding out what is going on a server). 

Best, Leonard

FQDN issue after Website deployment

$
0
0

Hi,

  I have a website which is load balanced. I use a Fully qualified domain name on the Vip of the Load balancer. I am using IIS 7 , .NET 4.0 , Windows 2008 Server.

Issue : 

  When i deploy the website, i stop the IIS, do the deployment , start the IIS. 

Post deployment the VIP goes down or the FQDN does not work.   This happens after every deployment.

Please suggest how to overcome this issue.

IIS Permission read installed CODEC

$
0
0

Hi,

I have one application responsible for convert GSM audio to MP3 audio.

My problem is:

When I run the application from my machine (Use Virtual Studio Development Server), it works normally.

When I run the published application in IIS, the application can't read the installed CODEC's to perform the conversion.

Help-me please.

I'm using Windows 7 + IIS 7.5

Thank you so much.

Regards,

Eduardo Petitto

Viewing all 7363 articles
Browse latest View live


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