Learn how to a build a cloud-first strategyRegister Now

x

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,
Well I would like to build a e-commerce site in .net  
I stucked in designing the DB tables , and my problem IS:

let us say I need as a seller to sell a 2 products :
1. ring
2. cat

the "Ring" product have this fields:
A. category :"Product"
B. CategoryType : "jewelry"
C. ProductCondition: "New"
D. ProductMaterial: "Silver"

the "Cat" producthave this fields:
A. category :"Product"
B. CategoryType : "Pet"
C. Age : "1 year"
D. Color : "White"

It means , that will be MANY products at same category  with VARY different fields/sub-category .
how can i solve this problem in designing the DB field/tables/relations between each other?
0
Concerto's Cloud Advisory Services
LVL 5
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Hi All,

Could someone help me with the web.config code i need to ensure all websites are prefixed with www.

Many thanks
D
0
Disclaimer:  Completely new to IIS and asp.net.  I was assigned the task of copying a website that resides in an Windows server 2003 running on IIS 6.0 and making run on a Windows 2012 R2 server with IIS 8.5.  I have read you can deploy websites using IEMT or Web deploy.  My fear using these tools is that if I use them the website on the source server will stop working.  What we want is to test if the site can run in IIS 8.5.  Can anyone help me and tell me more less how to do this?  A couple of thing more.  The website was created using ASP 1.1.4xxxx and the SQL server is sitting in another computer.  Can I make this happen or do I need to recreate the website.
0
We have a server environment consisting of a load balance (hardware), 3 web servers and a single database server.  Against the environment we have run 3 load tests, scaling up to 600 concurrent users over a 20 minute period.  On each test the response time for the page load begins to degrade at exactly the same point, when the number of concurrent users hits 100.  

Test one was done with two web servers balanced
Test two was done with three web servers balanced
Test three was done with three web servers balanced but with +2 cpu allocated

All three tests have exactly the same result.  I have had the hosting provider for the infrastructure review the network and none of the hardware elements in the route have restrictions or limits on users and the network is handling the load with ease.  The individual web servers are also handling the load, even at peak evenly and without maxing out CPU or memory. Its seems highly irregular that the drop-off point remains identical despite the increase in resource and has lead me to question whether there is a configuration or set-up default value which is reaching its limit (100) within the system.

This is a theory but it posing a major challenge to what should be a robust server set-up and I would appreciate some expert opinion on what could be causing the issue.  In preparation I have already ensured I have New Relic APM data available for all three sessions as well as general hardware monitoring data.
0
I just created a 3 node, Windows Server 2012 cluster for hosting websites.  HTTP requests are no problem.  HTTPS requests are timing out.  netstat -a shows a 443 port listening.
0
Hi to all,

I want to redirect subdomains to another subdomains and was wondering if anyone can provide a simpler solution.

This is what I'm trying to achieve.
domain1.olddomain.com redirect to domain1.newdomain.com
domain2.olddomain.com redirect to domain2.newdomain.com
domain3.olddomain.com redicect to domain3.newdomain.com

My solution is to add the rules on each web.config file for each site but is it possible to have it on the applicationhost.config

        <rewrite>
            <rules>
                <rule name="Redirect to new subdomain" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Redirect" url="https://domain1.newdomain.com/{R:0}" />
                </rule>
            </rules>
        </rewrite>

Thanks
0
I'm sure there is something obvious that I'm missing.  However I'm finding myself unable to connect via SSL to an FTP server.

The strange thing is I have no problems connecting via regular FTP on the same server.  

I'm using IIS for Windows Server 2016 FTP site.

On the client side I'm using WinSCP.

I'm not sure what I'm doing wrong.  Any assistance would be appreciated.
0
I need help to write a IIS 8 url rewrite to change

"https://www.ctia.org/about/the-ctia-team/someuser"

to

"https://www.ctia.org/about/the-ctia-team/staff-detail/someuser"

Basically adding "staff-detail" to all of the matching urls, as there would be different user names referenced - if that makes sense.

Thanks,

Nelson
0
I am trying to set up a rewrite url in my iis web.config file.

something like this:
 <rule name="car-donation pages">
<match url="^car-donation-(.*)-(.*).asp$" />
<action type="Rewrite" url="car-donation.php?city={R:1}&state={R:2}" />
</rule>

Open in new window


These are sample of pages that are coming in
car-donation-omaha-ne.asp
car-donation-tucson-az.asp

I need to get the name after the 2nd dash as city and the words after the 3rd dash is for state.

But I am running into an issue that i have some cities that have dashes in it.
car-donation-new-orleans-la.asp
car-donation-san-antonio-tx.asp
and even
car-donation-new-york-city-ny.asp

really if it would be possible to separate it
-  'car-donation- '
- whatever is here is city
- extra dash '-'
- these 2 characters is the states
- '.asp' (at the end)

How can I set that up?
0
After a security review of our new WordPress site it was pointed out that we're vulnerable to "External Service Redirecton - DNS". Specifically, if a URL is entered into the "Your Name" field of our Contact 7 Form then the testers have found that: "It was possible to induce the application to perform server-side DNS lookups of arbitrary domain names"

The suggested remedial action is to implement a whitelist of permitted services and hosts and to block interaction not on this whitelist.

I'm something of a newbie when it comes to this, and it occured to me (perhaps wrongly!) that there may be different whitelists; one for those who cannot enter the site, and a separate for sites to which our server is allowed to speak. Or does a whitelist imply both ways?

Anyway, all help on this gratefully received and I'm imagining this is something that's been done a zillion times before!

I'm using IIS and would prefer that answer, although Apache related help just as good because I've realised I can kind of 'translate' how to do it once I've got the idea.

Thanks in advance Iain
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Hi EE,

Getting this message when trying to launch a website see attached. I am using Windows server 2008 R2 Standard SP1, IIS 7. I know it's a browser check of some sort I am just wondering if there is a way around it or a windows update that fixes it.  

Server Error in 'Service/myGuest' 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: The browser or gateway element with ID 'InternetExplorer' cannot be found.

Source Error:


An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: d:\inetpub\wwwroot\Service\myGuest\App_Browsers\ie11.browser    Line: 2

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

***********

ie11 browser file below:



<browsers>
  <browser id="IE11" parentID="IE">
	<identification>
      <capability name="majorversion" match="^11$" />
    </identification>
    <capabilities>
      <capability name="browser"  value="IE" />
      <capability name="type"     value="IE${majorversion}" />
    </capabilities>
  </browser>
  <browser 

Open in new window

0
Hi,

Is there a configuration file within IIS that defines current existing websites?  From yesterday to today one of the sites on my server disappeared.  I'd like to recover it gracefully if I could, from backups.  The site content folders are still intact.

This is on a Windows 2008 server.

Thanks!

--Ben
0
Hi, We are a non profit organization and we have footage of streets and city from early 1900's. We want to store this all in most economical and safe way. The videos are no more than max 25GB in size each or no more than 60 mins in length each but the total amount of videos may go upto 40 TB, Is youtube a best place to store . I read that we can make those videos private in youtube channel but would those videos can be linked or embedded to our webpage even though they marked as private ?

Is there a paid youtube service which gives us more options and are there any restrictions of amount of videos (quantity and size) we upload ?

Thanks
0
my current setup has exchange 2003 and exchange 2010 in co existence. My active sync doesnt work.

The error is
Attempting the FolderSync command on the Exchange ActiveSync session.
       The test of the FolderSync command failed.
        Tell me more about this issue and how to resolve it
       
      Additional Details
       
Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).
HTTP Response Headers:
Pragma: no-cache
MS-Server-ActiveSync: 6.5.7638.1
Content-Length: 56
Content-Type: text/html
Date: Thu, 30 Nov 2017 04:10:45 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Elapsed Time: 1050 ms.

I have tried the following
https://technet.microsoft.com/en-us/library/620c5ce8-3595-4658-9a7a-ec76c10e4a69.aspx

https://support.microsoft.com/en-us/help/330463/how-to-troubleshoot-server-activesync-http-error-codes

Requesting for steps to be taken next
0
We have 2 projects running on 2 different servers that are using the same code. One server is a 2008 R2 server and the second is a 2012 R2 server.

One of the main functions of the project is to retrieve a list of websites from IIS and then use that list to perform various functions on the websites.

We recently were forced to update all of our servers to 2012 because Microsoft stopped supporting 2008. Everything works fine, except when it comes to trying to retrieve the list of websites from IIS. On the 2008 server the process takes about 1 sec to get the list of 200 websites. On the 2012 server the process takes about 30 - 40 seconds and it's w3wp.exe process uses about 3 times as much memory for the exact same set of websites

Does anyone have any idea on what we could be doing wrong? Or what we can do to fix this?

We have written a test below so that you can see our code and diagnose what may be causing the issue.

Thanks ahead of time for your help.

**Instructions:**
1. Copy GetSiteList.aspx to the root of the project

2. Modify GetSiteList.aspx file for correct settings:

    private string ServerName = "Your Server Name";
    private string LoginId = @"Your Login Id";
    private string Password = "Your Password";

3. Modify Web.config file for correct settings.
   Make sure you have "impersonate" and also assemblies reference for "System.DirectoryServices"

4. Open page http://[your-server-name]/GetSiteList.aspx

**GetSiteList.aspx**

 …
0
I am have a 2012 server running IIS.  I created a CSR, dropped it into Godaddy's tool and was issued a certificate and an intermediary certificate.  I put those on the local server, went into MMC and added the certficate snap in.  I imported the certificate to the personal and the Trusted Root Certification Authorities areas.  

I then went to IIS manager and tried to edit the binding for the server on port 443.  When selecting the certificate, nothing is there to select.

A support person from Microsoft said that it was because there wasn't a private key.  I tried the "certutil -repairstore my "s/n (or thumbprint) of cert here)" but I am then prompted to insert a smart card.  We don't use these.  

This IIS server is using owncloud and is connected to the LDAP.  Does that have anything to do with it?  

Hoping someone that is better at SSL certs then I can help.

Thanks in advance.  IIS server is down until I get a certificate back on.
0
Hi EE,

This question is an inverse of what is usually asked in EE; I am looking for an explanation for what happened not a solution.

The setup:

A web application that used IIS as it's web server was having performance issues (12-27 second load times) when loading a large amount of form data.  The issue only occurred with users on our Citrix environment anyone who accessed the web application from their local desktop didn't have the issue. So while waiting for our Citrix guys to look into the issue, I thought I do a mid-week index rebuild on all tables in the server using the following script:

DECLARE @TableName VARCHAR(255)
DECLARE @sql NVARCHAR(500)
DECLARE @fillfactor INT
SET @fillfactor = 100
DECLARE TableCursor CURSOR FOR
SELECT OBJECT_SCHEMA_NAME([object_id])+'.'+name AS TableName
FROM sys.tables
OPEN TableCursor
FETCH NEXT FROM TableCursor INTO @TableName
WHILE @@FETCH_STATUS = 0
BEGIN
SET @sql = 'ALTER INDEX ALL ON ' + @TableName + ' REBUILD WITH (FILLFACTOR = ' + CONVERT(VARCHAR(3),@fillfactor) + ')'
EXEC (@sql)
FETCH NEXT FROM TableCursor INTO @TableName
END
CLOSE TableCursor
DEALLOCATE TableCursor
GO

Open in new window


Observing the fragmentation levels of the tables in the respective database was minor ranging between 7%-13% percent. Suddenly performance issues disappeared for the Citrix users.

How did this happen or did something else to fix this issue that isn't SQL related.

Any assistance is welcome.

Thank you.
0
Hi Experts,

I had this question after viewing How Do I "Install the Google Client Library".

I guess I closed the above too early, but after downloading from https://github.com/google/google-api-php-client by clicking Clone or Download, then Extracting the .zip, I noticed that all files and folders don't get downloaded (I tried twice),  such as examples/, styles/, tests/, and most files under the root directory when compared to the following screenshot of what is actually downloaded.

GitHub Download
Why aren't all files and folders getting downloaded?

Secondly, and most importantly, after extracting the download into my project director, and running the following code,

<!DOCTYPE html>
<?php

require_once 'google-api/src/Google/autoload.php';


define('APPLICATION_NAME', 'Google Calendar API PHP Quickstart');
define('CREDENTIALS_PATH', '~/.credentials/calendar-php-quickstart.json');
define('CLIENT_SECRET_PATH', __DIR__ . '/client_secret.json');
// If modifying these scopes, delete your previously saved credentials
// at ~/.credentials/calendar-php-quickstart.json
define('SCOPES', implode(' ', array(
  Google_Service_Calendar::CALENDAR_READONLY)
));

if (php_sapi_name() != 'cli') {
  throw new Exception('This application must be run on the command line.');
}

/**
 * Returns an authorized API client.
 * @return Google_Client the authorized 

Open in new window

0
how much should be the average memory consumption for a web server. It is currently above 80%

windows server 2012 R2
64 bits
4GB of memory
IIS 8.5
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 5
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

I am using exchange 2010. When I login in OWA, authentication is happening properly after that page does not display.
On IE " Page cannot display". It seems something wrong with IIS, please suggest.
owa.jpg
OWA2.jpg
0
Hi Experts,

I'm trying to get started with the the Google Calendar API, following the steps at https://developers.google.com/google-apps/calendar/quickstart/php

I've completed Step 1, and have my .json file in my test project folder, but I have no idea on Step 2: Install the Google Client Library

My environment is Win 7 Pro, Running IIS with PHP as CGI.  I have never needed to use github, SSH or Linux commands.

I have also checked the alternative installations options, but same thing - none make sense.  I was actually thinking that I could download a set of Google files into my project, then require_one some_file.php, and go.  Sort of PHPMailer and TCPDF.

I actually see this at the start of Step 3, but where is the vendor/autoload.php coming from? Guessing Step 2?

Thanks!
0
Hi
We have a Server 2012 R2 Standard running as a DC in a small office of about 8 PC running Windows 7 pro. I needed to set up an SSTP VPN service but found that I could not obtain the self signed certificate required for the client PC. Further investigation found that the ADCS Configuration is not complete and cannot be completed.

Visiting the Server Manager and looking at a flagged Notification I see that there is a Post-deployment Configuration notice to 'Configure Active Directory Certificate Services on the destination server' If I start this process I'm presented with a credentials page which is completed just fine so I click Next. Then Role Services has 'Certification Authority' is the only Role selected from the 6 potential Roles available - the remaining 5 can't be ticked they appear greyed out and I can't untick 'Certification Authority' either. The only option I have is to click Previous or Cancel which will not help me to complete the post process.

How can I break out of this cycle whilst keeping the domain active. I'm working remotely from the site through a VNC service.

Can I remove the ADCS Role safely or will this impact the existing client logins etc. I'm assuming it will but not 100% sure.

I have also noticed that the CertSrv site under the Default IIS webpage is not listed. I'm sure this was there not too long ago but again can't be sure. NB This accounts for being unable to access CertSrv on this server either locally or externally.

Some …
0
Hello we have an IIS hosted website, binded to Citrix XenApp Store Front.  We have an AD server, Web Server, Citrix Server.
Currently in order to access site users need a CAC/PKI once this have authenticated they must enter a username & password to get into store front to see their application(s).  What we would like to do is get rid of the username & password, have just CAC/PKI authentication.
0
I have a Sonicwall NSA 3600. I have a block of Public IP's.  I have a Server 2012 vm with two IIS sites and two seperate LAN IP's configured in bindings.  One of the IIS sites has been configurd in the NSA via the wizard. The Address Object is called "web1."  

When trying to run the web server wizard for the second IIS site, i get error "Server name conflicts with existing address object" when entering the same name of "web1" which is the servers DNS name.  I change the name to "web2" and assign my LAN IP and my seperate WAN IP and it completes the wizard and creates rules.  

However, my site is not available at all. Not even by WAN.  I ensure i configure private and public DNS but it wont resolve.

Has anyone seen this issue when running to web sites from one server trying to create the firewall rules in an Sonicwall.
0
Dear EE experts,

We are in high trouble right now, as we don't know what went wrong with our Product Site. We need tech support badly as our Product site (as per attached image, Product Image site) got changed to the look of our main Teamsite...
Please see the attached files, the look of our Teamsite and the look of our Product Image site, but what happened is when you access the site: http://pm-server:2018/products , the site is correct but the page data isn't. The data becomes the same as the main page (Teamsite page).
But when you check the Navigation settings on the Product page, the links are there (please see the attached screenshot Product Navigation)
Or when you access the site http://pm-server:2018/products/brand the correct site for the Brand page will show (please see the attached screenshot Brand), only the page for http://pm-server:2018/products/   is currently having a problem...

Kindly help us and advise on how to fix this problem...

Thank you!
Teamsite_MainPage.jpg
Product_Image.jpg
Wrong_Product_Image.jpg
Products_Navigation.jpg
Brand.jpg
0

Microsoft IIS Web Server

35K

Solutions

29K

Contributors

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.