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

New Windows Control Panel

$
0
0

Hi There,

We are released new windows based web hosting control panel last week. İt's now working fine, stable and modern ui. It's support Windows Server 2008, 2012 and IIS 7.5, 8.0, 8.5 and it's working multi-server.

Our purpose is get a feedback from forum members. 

Project informations is below. But a lot of content only Turkish language (Sorry about that). We are working on English Translation now.

Product : MaestroPanel

Web: www.maestropanel.com

Download: www.maestropanel.com/download

Demo: www.maestropanel.com/demo

Thanks,


IIS 8 in parallel with other web services on Windows 2012 R2

$
0
0

OS: Windows 2012 R2 x64 EN
Web servers: IIS 8.5.9600.16384 (short IIS), Google Go 1.2 web service (short GO)

My network adapters are using three IP4 addresses:

  • a
  • b
  • c

The IIS runs two sites: A, B and the binding is

  • A>a:80
  • B>b:80
  • B>b:443

I configured the IIS to listen to a and b as follows:

  • netsh http add iplisten ipaddress=a
  • netsh http add iplisten ipaddress=b

The command netsh http show iplisten shows:

  • a
  • b

The Google Go Webservice runs on IP4 address:

  • c

Situation: This config runs fine on Windows 2008 R2. On Windows 2012 R2 it seems to run at first BUT after restarting the server the Google Go Webservice is running but the sites A and B are stopped. However I can start them manually and all three sites are operational again.

Approach 1: The sites A and B are running. Now I disable the Google Go Webservice and restart the service. But the sites A and B are still stopped after the restart.

Approach 2: (the Go Webservice is still disabled) I now add the global IP address 0.0.0.0 for the IIS to listen. So netssh http show iplisten shows: 0.0.0.0, a, b. After the restart the sites A und B are still running. However listening on 0.0.0.0 does prevent the Google Go Webservice from running because his IP and port is now blocked by the IIS.

Question 1: Why does the IIS need the 0.0.0.0 IP address to start the sites? To me this looks like a problem in Windows Server 2012 R2.

Question 2: the problem amplifies if the server configuration needs to be changed. The WinRM service is involved in the installation of roles and features. If the IIS does not listen to 0.0.0.0 any changes to roles and configuration will fail in the Wizard with "the WinRM service is not available". In my situation I have to enable listening to 0.0.0.0 then I can make the config changes and then I have to remove the binding again to allow GO to run.

Thanks for your support.

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

Redirect to subdomain causes SSL error

$
0
0

What is the best way to redirect an SSL enabled website from the root domain (site.com) to a subdomain (www.site.com) without producing a certificate error?

Currently I have a wildcard certificate for *.site.com, so if a user types www.site.com into their browser there are no errors. The issue arises when a user types in site.com, which is a simple redirect towww.site.com. When entering site.com, the user's browser is presented with a certificate for *.site.com and the browser gives them the error "The security certificate presented by this website was issued for a different website's address".

What is the best way to deal with this issue?

Setting up FTP using Virtual Directories and User Isolation on Windows Server 2012

$
0
0

Hi all,

I have been trying to set this up for a while now. I am trying to setup FTP virtual directories for isolationg user directories on Windows Server 2012. I am able to connect to the FTP site anonymously, but when I start adding virtual directories for specific user access, the user login returns status code:

530-User cannot log in, home directory inaccessible.
Win32 error: Access is denied.
Error details: Authorization rules denied the access.

What is odd is that I have set allow authorization rules for the user and have added the user to have read/write permissions on the virtual directory.

Any help with this would be greatly appreciated!

Adam

iis 6 unc shared folder "HTTP Error 404 - File or directory not found", "HTTP Error 500 - Internal server error."

$
0
0

We using iis6 in windows 2003 SP2 server. using UNC folder sharing for web content. (only html page) 

Web server in Workgroup but the file server in domain network. Using same user name and password (local computer user) in both servers. Replased Anonymous access user to local computer account, Integrated windows authentication enabled. Read and log visits checked. 

Network directory: \\192.168.0.34\Printing 

the users having list folder, read and execute and read permission

The folder content is listed in IIS6 manager.

But when browsing in explorer error receiving "HTTP Error 404 - File or directory not found". I tried with several options but no use. Please help.

All Web service extensions are enabled. the document content is only a simple test page index.htm. This file stored in \\192.168.0.34\Printing. Local user, everyone, network and network service having full rights.

Local user available in both server with same name and password. On right clicking and browsing the index.htm file from iis6 manager shows error. 

http://mysite.com/index.htm

(Also tested with selecting .net framework 1.* and 4)

"HTTP Error 404 - File or directory not found." But unable to access from browser. Please help.   

Regards,

Lourdes satheesh

HTTP redirection failing

$
0
0

I have an internal website that is "slotted" for the non-production environment (subfolders under the web-root where developers can work on their own changes without stepping on each other). The users just type in the directory name after the URL to access their slot (http://myURL/MyDirectory1,http://myURL/MyDirectory2, etc..)

In production, we keep the same configuration, but only have one slot. We use an http redirect to point the users to the correct directory. We recently moved this site to Server 2008/IIS 7.0 from Windows 2000/IIS 5.0, and see some inconsistent result. This worked without issue

The HTTP redirect is configured to point to /MyDirectory, have the "Only redirect requests to content in this directory" checkbox mark, and it sets a Permanent (301) status code.

As expected, these 2 scenarios work:

http://myURL builds urlhttp://myURL/MyDirectory/

http://myURL/ builds urlhttp://myURL/MyDirectory/

This scenario works, but I would expect the redirect to append /MyDirectory and cause it to fail:

http://myURL/MyDirectory/ builds the urlhttp://myURL/MyDirectory/

This scenario fails, as I would expect - resulting in a 404 error:

http://myURL/MyDirectorybuilds the urlhttp://myURL/MyDirectory/MyDirectory

Note the only difference between the last 2 scenarios is the trailing forward slash. Can someone explain why having a trailing forward slash would "override" the http redirection - and only when you specify the "slotted" directory?

IIS 8 and its new restrictions on default documents on Windows 2012 R2

$
0
0

OS: Windows 2012 R2 x64 EN
Web server: IIS 8.5.9600.16384 (short IIS)

The IIS allows the configuration of standard documents. However with R2 specific characters in the name of the standard document are not allowed anymore. As a result the character ? (question mark) can not be used.

For ISAPI modules this new restriction is not helpful. These modules are not just files but their call can be an URL as well. Sometimes our site is under maintenance and this is signaled to our users by changing the ISAPI call from: module.dll to module.dll?maintenance. With R2 this approach is not possible anymore. This just because of come characters that are now considered as being invalid. Please remove this limitation in R2. It is too restrictive and has no benefits.

Thanks for your support.


problem connect to ftp server as anonymous user

$
0
0

Hi Guys,

I have Windows 2012 R2 Datacneter and installed IIS 8.5

I followed this oficial document http://technet.microsoft.com/en-us/library/hh831655.aspx to add ftp site. But i can't login as anonymous user.

Under Authentication I set Anonymous user,  I add Rule that allow anonymous user to read. Firewall is stopped.

I don't know why I can't connect as anonymous user

Regards,

Tony

IIS 8.5 Logging Encoding

$
0
0

Hello,

we upgraded from Win 2008 R2 to Win 2012 R2.

In IIS 7, logfiles prefixes was "ex" when encoding was ANSI.

IIS 8.5 uses prefix "u_ex" in both setting ANSI and UTF-8.

There is one exception - FTP site uses "ex".

Our LogParser scripts stopped working.

Thank you very much for any information

Miroslav

unexpected url redirecting

$
0
0

Hi,

Short back story:

We had a website developed by a company back in 2009, for some reason they made a mistake on the SSL certificate generation where any attempt to reachwww.domainname.co.uk would return a security validation on screen (not the case when directing to domainname.co.uk).  To resolve this issue, the developers redirected the url to domainname.co.uk whenever a 'www' was used in the url.  3 years later, we have parted ways with that company, they were leaving much to be desired in regards to testing before publishing etc.   We've hired a new web developing company to take over the reigns.  A few teething problems at first as the previous company didn't provide the documentation (i will forever curse their name).  Two weeks ago, we wanted to direct all traffic from another domain name we own, to this server, and discontinue the old domain name over time.  We changed the DNS settings with our provider to point to the server (A/IP Address), for both the 'www' and non-www DNS.

Problem:

When ever we try to use the www.newdomainname.co.uk the url redirects to newdomainname.co.uk. 

Attempted:

We checked with the DNS provider to make sure everything was setup correctly with our DNS settings, and both 'www' and non-www were being resolved to the IP address as expected.

We checked the web.config file to see if any redirecting was taking place there, there were none.

We checked the HOST file to see if anything in there would be causing the problem, there was nothing.

We checked the IIS to see if any re-directing were taking place, there were none.

We changed the HOST file to redirect to www.newdomainname.co.uk, however; it loaded a blank screen.

We have hit a reinforced brick wall in trying to resolve our problem, neither myself nor the new developer can identify the cause of the re-direct, the DNS provider and Server provider both recommend it being a configuration problem.  The next step for the moment is to reach out to anyone who may have an idea as to the problem. 

*** The previous developers are unavailable for contact. ***

Can anyone suggest something for us to look for, or to try in order to resolve this problem?

Dynamic IP Restrictions Installed - Not showing up in IIS 7.5

$
0
0

We've installed Dynamic IP Restrictions and it show up in our Programs but it's not showing up as a module in IIS 7.5 for the server or any of the sites.  Any ideas how we can get it to show?

Thanks in advance.

Problems deploying

$
0
0

Hi,

I had a website on IIS6 and needed to put a version of it on a new IIS8 server. I managed to do this on a local test 2012 server and from there I used MSdeploy to create the server settings and website on a live IIS8 server. This deployment works fine.

Now I need a new version of the website so want to create a new website on the live server. Using MSDeploy I export the current website then create a new site and imported. This all works well except for one part of the application. 

This one part of the application is used to download files from a filestore and I cannot get it to work. It's definately something in the IIS site because I've tested the same files in my original site and they work.

The error I get is a 404.0 saying the file doesn't exist, but it does exist as it works from my original site. 

Detailed Error Information:

Module

IIS Web Core

Notification
MapRequestHandler

Handler
StaticFile

Error Code
0x80070002

Requested URL
http://localhost:81/filestoresecurity/5/jftest.txt?k=cviD2KXCCHIn5jMgPmCircBnsp1q%2fFDcbMURV0sUd7o5%2bH%2bA6nNgNivfCIM0LYluOui3todkSW2anK2EItU6PA%3d%3d

Logon Method

Anonymous

Logon User
Anonymous

The log file shows - 2014-01-21 16:36:15 W3SVC3 ::1 GET /filestoresecurity/5/jftest.txt k=cviD2KXCCHIn5jMgPmCircBnsp1q%2fFDcbMURV0sUd7o5%2bH%2bA6nNgNivfCIM0LYluOui3todkSW2anK2EItU6PA%3d%3d 81 - ::1 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.2;+WOW64;+Trident/6.0) 404 0 2

I've checked that there are the same amount of modules listed for both site and all the handler mappings appear to be the same.

How can I tell which handler mapping the working application is using? Is there a way to compare the differences between the two sites in IIS? Why doesn't the export\import function in MSDeploy produce a carbon copy?

Can anyone help?

Thanks in advance

Fend off attacks

$
0
0

Hi,

Looking at my Resource monitor I find regularly *a lot* of processes such as conhost.exe rrdtool.exe winlogon.exe or LogonUI.exe. I installed Syspeace to fend off attack but I am wondering if there is anything else I can do because all those processes added to the syspeace CPU usage make the overall CPU usage very high and sometimes hitting the 100% mark

See this

Reset IIS 8 to original settings

$
0
0

I would be grateful if anyone could provide assistance on how to reset IIS to the original deafult when first installed.  I am using Windows Server 2012.

To date I have reinstalled IIS and tried deleting the Inetpub folders. SYSTEM permissions would not allow deleting of the folder.

Yours sincerely,

Thomas O'Hare (tomas@toh.ie)


IIS 8 and its new loading behavior of ISAPI modules on Windows 2012 R2

$
0
0
<div class="body">

OS: Windows 2012 R2 x64 EN
Web server: IIS 8.5.9600.16384 (short IIS)

The IIS allows ISAPI modules to be loaded. If the extension of the module is different from ".dll" the new loading behavior is quite problematic.

Let us assume the name of the module is "module.dll". Let us further assume for compatibility reasons customers do not call "module.dll" but "module.isa". For this to work a mapping will do the translation from the call to the module. In the handler mapping any call to "module.isa" will be mapped to the module "module.dll". In Windows 2008 this mapping works fine.

However with Windows 2012 R2 the call to "module.isa" will not take the mapping 1:1 and load "module.dll". Instead it just takes the module name from the mapping without the extension like "module". Then it adds ".isa" from the call and finally it loads "module.isa". This bizarre behavior forces us to provide two modules to our customers. One with the name "module.dll" and the other with the name "module.isa". The first is necessary to configure the mapping (as the Wizard in IIS only accepts .dll files). The second is necessary to satisfy the load operation.

Please fix the mapping in R2 so that the mapping is executed as intended and exactly the configured module will be loaded.

Thanks for your support.

</div>

Multiple threads not firing

$
0
0

Firstly, let me apologise, as I have very little IIS experience and just simply trying to get to the bottom of why my web site is erroring. Also, apologies if I use the wrong terms.

I have 4 ajax POSTs that get fired simultaneously. They each send a set of SVGs (as text), which in turn get converted into PNG files and then are added to a PDF. 

This process works fine on my local box when run from visual studio, and also runs finemost of the time when running on from the live server ( Windows Server 2008 R2 with IIS 7).

When i publish to this box, at first, the 4 processes run concurrently. creating files and adding to the PDF from each of the 4 ajax requests.

However, at one point in the day, in the morning, only one of these processes runs at a time, which in turn causes the other 3 to timeout and I receieve a 502 bad gateway error for these three. I know that only one is running, as I can view the folder in which files get created and see from which process the files are being created

As I say, this only happens once in the day, at the start, and after 4 or 5 attempts, the processes start to run concurrently again and no errors are thrown. I'm assuming this is due to something which is happening in IIS, maybe with the settings I have??? The app pool is recycled once every day at 00:00:00, so maybe this has something to do with it, but i'm not sure how to resolve it if it is.

Also, whenver I attempt to enable logging, the processes then start to run concurrently again!

It's almost like the recycle hasn't completed properly and it takes something to kick it in/wake it up.

Please let me know if there is any further information I can provide which will help with this thread, or any tests I can run.

WebDAV

$
0
0

Hey,

Firstly is it possible to enable write-back to a WebDAV enabled website if the file is opened from a web page hyperlink, rather than a WebDAV (client) folder? This is for intranet purposes only.

Secondly, I haven't used WebDAV since Server 2003, and on 2008 R2 (so IIS7.5) I'm getting 0x80070780 error messages when trying to write, when using the WebDAV Windows client. I can read and navigate just fine.

I've tried giving the root folder Everyone:Modify permissions and the WebDAV publishing rule is All Content, All Users, Read|Source|Write

This particular web server hosts multiple websites (using host headers, all on port 80 or 443). The url (http://development.domainname.com) I'm using to connect to the WebDAV folder is not the server name (SEV-WEB01.corp.domainname.com). I have however set SPNs on the server for the host header FQDNs I need to use, using the HTTP/ and HTTPS/ prefix. There are no HOST/ prefixes for my host header FQDNs.

All root folders are on a separate volume to the Windows OS, and inheritence from the wwwroot folder is disabled. Authentication options are Basic and Windows. The PC i'm on is joined to the same domain as the web server and I'm a domain admin user.

Can someone help me get this setup?

Thanks

PS: For dev purposes there is not SSL. When I move to production, SSL will be used.

WCF Service or an aspx page on IIS 7.5 only works when w3wp.exe is elevated

$
0
0

Sorry if this is not the right place to post this.

I'm encountering a problem where upon I am loading up a WCF service into IIS. Contained within this service is a reference to a DLL that wraps around a native static Lib file. This lib launches an exe and allows api access into the exe. When I run the service using Visual Studio's debugger, everything runs properly. However, when I load it up onto IIS and make a call to the service, it crashes claiming heap corruption. I have tried using asp.net impersonation, changing the identity of the w3wp.exe worker to a user that has executable right to the exe. I even went so far as to use an administrator account as the impersonation and identity, still no joy. When the exception occurs, it tells me that the user doesn't have adequate permission to execute the JIT and will need to be elevated to an Administrator.

Now, this is where it gets peculiar. After being elevated, the service may then execute as expected as long as the w3wp.exe continues to run. If the w3wp.exe is stopped and restarted then it will throw the exception again. I've done a stack trace of the issue and have given IIS permission to access the files that the service is dependent upon as well as the DLL's dependencies. I have verified that the values in the DLL are being properly handled and that it doesn't corrupt before making a call into the Lib file.

Write access to remote file shares with IIS7

$
0
0

am seeing a problem with IIS 7 (on Windows 2008 Server 64 bit) that I did not have with IIS 6 (on Windows 2003 Server). I have a web site with several virtual directories that are file shares on another computer. The file shares are mapped in IIS 7 using Connect As with a service (domain) account. The application pool is also running under the same service account. Read access is working and the content loads from the file shares. However, one of them should allow uploads (write access) and that is not working, but IIS 7 isn't throwing a obvious error. The file share does allow write access for this service account as it was working on the IIS 6 servers. And this is with an ASP application rather than ASP.NET.

Viewing all 7363 articles
Browse latest View live


Latest Images