Quantcast
Channel: All Forums
Viewing all 27852 articles
Browse latest View live

How setup IIS 5.0 again when it disappeared after installing and the uninstalling Visual Web Developer 2010

$
0
0

Before it there were some asp.net projects. When I installed VWD 2010 Express 

and then uninstalled to free space as I cannot add web api functionality -

 I got virtually void content inside Internet Information Services now - that is just Connect, View. 

And not able to my current PC. What I can do and why it happened? Simple reinstalling from 

install Windows components do not help. Except it before installing VWD 2010 

I changed my xp sp2 to sp3 in registry - but it is doubtly reason of it.   


IIS

IIS 10 on a Windows 10 machine?

$
0
0

I'm trying to develop and host 2 websites.  I used Visual studio and IIS to do this about a decade ago.   Things have changed a lot since and I need your guidance.  I'm not sure what IIS version to install or current software to use.  I'm confused with all the new languages and tools.

I'm using a windows 10 machine to host 2 sites.  I'm using Host Headers and running both on Port 80.  I used HTML years ago and now looking at CSS style sheets, but I'd like to use anything quick and simple.  I'm not using databases or dynamic processing.

There's also a BizSpark and other paid options.

Thank you.

IIS Smart Card authentication - Request.IsAuthenticated = false

$
0
0

Hi! I configured a website to use IIS Smart Card authentication (IIS 7.5 and ASP.NET 4.0).

I am querying Request.IsAuthenticated but it always comes back = false even though the user entered correct PIN for the Smart Card.

Is it normal? What can I do to determine if the user is authenticated?

Many thanks in advance

Lots of schannel "The TLS protocol defined fatal error code is 20" errors

$
0
0

Hi,

We are seeing a lot of the following errors on an IIS 8.5 host with an SSL certificate: 

A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 20. The Windows SChannel error state is 960.

The problem is reproducible about 1 in 100 times on multiple hosts in multiple networks which makes me think it is a server-side issue rather than a client-side one. That's despite the fact 'error code 20' is 'Received a record with an incorrect MAC'.

The server and cert were all fine - the problem has only be occurring since a reboot. 

Does anyone have any ideas? 

IIS 8 - SSL Certificate

$
0
0

Hello 

New to this and am looking for steps for installing an updated SSL certificate. Can anyone help?

Thanks

Provisioning error - Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod'

$
0
0

We're having a persistent error on our installation of WFF 2.0.

Everything was running fine until it tried to sync bindings on a site, Repair operation also fails with this error.

Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server 'blah'. Exception in response stream. Unable to read beyond the end of the stream.

There are no more details other than this. We tried removing the server farm and readding but same error, it can't even seem to start the provisioning process at all.

thanks,
Rowan

IIS slow website, microsoft web platform installer, wordpress site

$
0
0

I'm not sure if this is the right place to put this so let me know if i should be looking elsewhere.  I have a 2008 r2 server running iis 7.5.  It is setup as dual core with 8GB of ram as a VM.  I set this server up a while ago and its been running fine up until now.  When i setup the server i ran the microsoft web platform installer to setup wordpress and make this server a wordpress server for a user group on our network.  They have recently made me aware that the site is taking a long time to load.  The server isn't using that much ram but i have noticed that there is one instance of php-cgi.exe 32 using 50% of the cpu. Its not constant, I would say it stays at 50% for about 6-8 seconds then drops to low utilization for a few seconds then will go back to 50%.

I assume this is what the problem is but I don't know how to fix it.  Can anyone help?

Thanks.


IIS 8.5: Change authentification mode for url sub path

$
0
0

We have a client intranet web application running as a remote proxy on IIS 8.5 with Windows Authentication enabled. Now, we need to disableWindows Authentication and enable Anonymous Authentication on the URL sub path/api/ to make all data from this path publicly availailbe within the client intranet domain.

To clarify, there is no physical folder as this is just an url path within the (Django) web application where the reverse proxy (URL Rewrite module) points to. So, adding an application or virtual folder probably won't work as a physical path is required.

Actually, the solution from chensformers on stackoverflow (Add authentication to subfolders without creating a web application) sounds quite promising. However didn't get it to run yet as I am missing asection declaration.

How to configure IIS 8.5 to achieve this?

How to mask IIS fingerprint?

$
0
0

Hello everyone,

Recently I started my adventure with ASP.NET/IIS environment and I am improving security of my server currently.

I'm trying to mask fingerprint of my server before aggressors. Output of nikto application is following:

root@kali:~# nikto -h 192.168.20.20
- Nikto v2.1.6
---------------------------------------------------------------------------
+ Target IP:          192.168.20.20
+ Target Hostname:    192.168.20.20
+ Target Port:        80
+ Start Time:         2016-08-26 11:14:31 (GMT0)
---------------------------------------------------------------------------
+ Server: Apache/2.2.22                                             #
+ Retrieved x-powered-by header: PHP/5.2.17         #my_comment: I already changed this parameters in web.config.
+ The X-XSS-Protection header is not defined. This header can hint to the user agent to protect against some forms of XSS
+ The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type
+ Root page / redirects to: https://192.168.20.20/
+ Server banner has changed from 'Apache/2.2.22' to 'Microsoft-IIS/8.5' which may suggest a WAF, load balancer or proxy is in place
+ Retrieved x-aspnet-version header: 4.0.30319
+ Apache/2.2.22 appears to be outdated (current is at least Apache/2.4.12). Apache 2.0.65 (final release) and 2.2.29 are also current.
+ 20515 requests: 0 error(s) and 5 item(s) reported on remote host
+ End Time:           2016-08-24 11:16:42 (GMT0) (131 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested

As you can see, http server is marked as IIS 8.5 .. I've got the suggest 'WAF, load balancer or proxy', but I don't know how can I go further..

I will waiting for your response.

Regards
AErot

Proxy server Issue doesn't retrieve the data

$
0
0

I have 3 tier application (reverse Proxy server, application server, Db Server) now when I load huge data directly from the application server it loads up fine and the grid gets populated. Also when I try to run same data from the proxy server it keep loading and it doesn't generate any data or give any errors, any ideas?

Multiple user recognition behid one IP

$
0
0

Hi guys,

I need your help.

I have to deploy a website with content protected by two-factor authentication access. The solution bought for 2FA is Fortigate 50E with Fortitoken.

The process is as follows:

  1. The user types the website address is the browser
  2. Fortigate asks for username and password
  3. Fortigate asks for token code
  4. Browser displays the website.

The problem is that different content have to be displayed to different users so the user must be authenticated somehow. For best user experience this must be done without prompting again for credentials. So I must have user authenticated by fortigate with autologin to the website.

No matter if I use fortigate local user or windows local user with radius I cannot be sure who is the user behind the IP

I have Fortigate Logs, NPS Radius logs so I can match username and IP for autologin but I cannot recognize two users connecting from one IP.

Do you have any ideas about how to recognize the user requesting access to the IIS without prompting for credentials again?

Thanks in advance guys!

IIS 7 to 8.5. .Net version issues

$
0
0

Hello.

I have installed the Web Deployment tool on a old 32  server running IIS 7 and a new server running IIS 8.5. Both are 64 bit. I have updated the msdeploy.exe.config file to be the same in the multiple versions of the tool I have found in Program Files and Program Files (86).

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true" >
<supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>

I create the file on the old server, FTP it to the new server and run Web Deploy from the IIS gui but whatever I do I can't get rid of the .Net incompatibility error below. I have rebooted both machines and also run this command on the old server:

  • net stop msdepsvc & net start msdepsvc

And these commands on the new server

  • net stop msdepsvc & net start msdepsvc
  • net stop wmsvc & net start wmsvc

But to no avail. Any help to sort this out would be appreciated.

Web Deploy .Net error

Thanks.

Unable to Publish to WebDav Server

$
0
0

Local Server 2012 - IIS7

Setup WebDav for Calendar sharing

Anon logins enabled

Able to browse http://localhost/Calendars > Directory Folder allows Full Control for Domain Users in NTFS Permissions

When trying to publish to WebDav Server in Outlook 2013:

URL: http://iishostname/public_html/Calendars/ > The Upload of Calendar failed. There was a problem with the request.
URL: httpS://iishostname/public_html/Calendars/ > "The Calendar was not published because the connection to the Server failed...." (I would imagine this so as SSL is not binded to the "Calendars" virtual directory, but it alteast shows me a progress bar of the upload which is a step further.

No research around the net proves useful. 

IIS product support - the kind where we can open a ticket to the product team

$
0
0

Hello,

How does one get to open a support ticket with MS for IIS support? I have a problem, I have done trawling the net for past two days to fix the problem, to no avail, and was thinking of logging a ticket.

The problem: I could not find where to start to log a ticket. How difficult can it be to start logging a ticket; paid or otherwise? With many products there is a link 'Contact us' which after 2-3 clicks allows you to log a ticket. Either I cannot find one, OR MS has hidden it so deep that it is truly difficult to find. Please help.

The root problem: I just cannot seem to have IIS send gzip content to .Net Web APIs returning json data. And yes, I have done all kinds of things suggested on various forums - enabling dynamic compression at machine level, putting mime types in various config files from application config files to app config files etc etc. Have been doing this for past 2 days. I can have IIS gzip static content, HTML content, but NOT the web API response.

Please do not send me yet another link to 'set this in this config file' OR suggestion to implement gzipping of the response via code in my WebAPI code. Fiddling with config files has not solved my issue; I can do zipping via code addition to my Web APIs, but I would much rather use something that is supposed to be built into IIS; how can gzipping dynamic content be so difficult. I am obviously doing something wrong here and I am at a stage where I need some expert help.

http://stackoverflow.com/questions/24815706/webapi-gzip-when-returning-httpresponsemessage

http://stackoverflow.com/questions/28844960/web-api-gzip-not-being-applied

http://forums.asp.net/t/1981841.aspx?Web+API+2+turn+on+gzip+for+REST+JSON

etc. etc - Been there done that.

Thanks,

-Amit


Please fix SMTP SSL bug

Intranet Site Auth Broken when off Network for domain joined workstations

$
0
0

I'm investigating an issue where I believe I've found a solution, but I have no idea why it works.  Looking for some sound reasoning on the below :)

Website currently has Anonymous and Forms authentication enabled.  If stuck in the Intranet zone (default settings), Windows Authentication works for domain joined, on network computers.  If a remote computer terminate VPN, restarts, the website will no longer function.

After doing some digging, I tried enabling Windows Authentication which had the providers 1. Negotiate, and 2. NTLM.   I was able to get the off-network domain joined machines to authenticate correctly via any of the following three: Promote NTLM, Remove Negotiate, Disable Windows Authentication with NTLM as only provider.   Interestingly enough, if I disable Windows Authentication with Negotiate at the top, authentication fails again.

It seems like the providers are configured in the Windows Authentication section, and that they still matter regardless if Windows Authentication is enabled.  Am I on to something?

VS Code and WebMatrix (no longer in development)

$
0
0

Hi everyone

With the release of VS Code earlier this year, we have shifted all development resources away from WebMatrix.  WebMatrix 3.0 will be the last version we ship and we are not looking at any future bug or feature releases for the product.  

If you haven't had an opportunity, take a look at VS Code at http://code.visualstudio.com

Thanks

Chris and the WebMatrix team

Performance Counter to Measure Concurrent Requests

$
0
0

We periodically receive this error in our IIS 7.5 web app:

HTTP Error 503.2 - Service Unavailable. The serverRuntime@appConcurrentRequestLimit setting is being exceeded

How can I monitor the number of concurrent connections which count against our "appConcurrentRequestLimit"? 

Sending an email from Wordpress site set up on Webmatrix

$
0
0

I'm using Webmatrix 3.0 on my home computer. I've installed a Wordpress 4.6 site for development purposes.

I want to create a form which generates an email when the submit button is pressed.

I've tried 2 plugins -   WP Mail SMTP & Easy WP SMTP but no email is generated from either.

What are the steps I need to take to allow Wordpress to generate emails if it's set up on a home computer?

Thanks.

Viewing all 27852 articles
Browse latest View live


Latest Images

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