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

IIS 7 needs constant refreshing

$
0
0

I am using IIS 7 to host an ASP.NET game server. My IIS 7 works fine on the home page. However, on the ASP.NET page that my server derives it's information from, constantly goes down and I have to leave the page and come back or else it says ERR_CONNECTION_REFUSED what the heck is going on ?


Bandwidth limit for each user

$
0
0

hi

i am new in IIS and  asp.net. i want to limit bandwidth of download and upload in IIS and my limit is for each user.

my scenario is limit bandwidth of upload and download for user1 to 1M and limit bandwidth of upload and download for user2 to 4M.

in IIS we can set "

maxBandwidth
" but it only set maximum bandwidth of sum of user.

so how can i limit maximum bandwidth for each user in IIS?

if i can't set for each user can i set one limit bandwidth for all user? for example 1M for each user. 

How do I force WebAdministration cmdlets to make changes in apphost.config?

$
0
0

Hello,

I'm trying to use Clear-WebConfiguration cmdlet below but it fails on reading web.config file from the UNC location which is expected since I did not specify username/password to access it. I want to make changes based on <location> attribute inside apphost.config instead of web.config in destination directory. How can I instruct Clear-WebConfiguration cmdlet to make changes in root configuration file instead of individual subdirectory? I can do it easily with IIS Manager.

Clear-WebConfiguration -Filter /System.FtpServer/Security/Authorization -PSPath "IIS:\sites\ftp\account1" -Force

ADO-Connectstring does not work

$
0
0

Hi,

I connected my ASP-Application to a MS-Access-database like this what works:

Function OpenDBMain()

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "PROVIDER=Microsoft.ACE.OLEDB.12.0; Data Source=" &  server.mappath("\database\prosrv.accdb")& ";Persist Security Info=False"
objConn.Open

------

No i try do connect to a MySQL-Database like this what not works:

objConn.ConnectionString ="ODBC;Driver=MySQL ODBC 5.3 ANSI Driver;DATABASE=zeit2000;SERVER=192.168.1.5;PORT=3307;UID=root;PWD=ps567698;OPTION=43"
objConn.Open

I checkt the parameters, userID PW ..but still it does not works...Any hints?

thx Peter

how to have multiple domain name using one valid ip

$
0
0

hi

i'm using windows 7 with iis 6 

 i want to have three domain name (www.a.com ,www.b.com, www.c.com) , so when i have changed host name using binding(for example :localhost towww.a.com)   and in hosts file i inserted an entry(127.0.0.1    www.a.com) but when i have trying to browse this domain, browser give me following error.

Firefox can't establish a connection to the server at www.a.com.

please anyone help me to know is it possible doing so on win 7 or no?

best regards

IIS 7 stops working when another device connects to my router

$
0
0

Not sure if this is fixable or if it's just how things are, but when I am on my router by myself my iis 7 server runs perfectly fine. Once another device logs onto my router, it stops working immediately. I am not sure why this is happening but is there a way to fix this? Thanks in advance!

IIS Smooth Streaming with Visio Forge

$
0
0

Can I use the live smooth streaming feature of IIS Server without any encoder like Microsoft Expression Encoder. Is it possible to achieve live smooth streaming with Visio Forge and IIS server only?   

262144 max-size for Output Caching - where is it located?

$
0
0

Hi,

I wonder, where the value 262144 max-size for Output Caching in detail is stored? Meaning: Which .config-file on which level (.NET, IIS, etc.)?


"Session State" versus 'Processor Affinity Enabled'

$
0
0

Hi,

when using 'Processor Affinity Enabled' for App Pools, does it interfere with "Session State"?

IIS maxBandwidth don't limit upload

$
0
0

hi

i want to limit upload and download in IIS. i set

maxBandwidth

to 2000. this limit work for download correctly. but when upload file this limit don't work.

Note that in my web.config file i set:

<system.web><httpRuntime maxRequestLength="2147483647" executionTimeout="3600" /></system.web><system.webserver><security><requestFiltering><requestLimits maxAllowedContentLength="4249967295" /></requestFiltering></security></system.webserver>

when i remove this line upload is limited but when add this lines uploud bandwidth is unlimited.

so how can i limit upload bandwidth in IIS?

'Maximum Worker Processes' versus "multi-threaded apps"

$
0
0

Hi,

when using 'Maximum Worker Processes' > 1 in App Pools, do the related apps have to be "multi-threaded apps" as a prerequisite? Or more in general: is it recommended to use it in nower days with IIS 7.x and 8.x? I am aware of thisthread talking about the opposite in regards to IIS 6.

IIS 7.x SFTP support

$
0
0

I would like to use IIS with SSH is it any chance to use this feature or should use 3rd party tool for that?

TTP Web Server IIS

$
0
0

Could I ask, as the error is and how to solve . thanks

nghetromdienthoai

Minimum delay for live smooth streaming

$
0
0

How much delay would the IIS server/smooth streaming encoder introduce in the media pipeline ?

I am trying to see if I can reduce it to a number less than 10 seconds

.axd file extension not working

$
0
0

We have a setup of from end ARR server routing the request to backend IIS server.In my application there is a functionality of downloading a pdf file which is being called by a .axd file,The .axd file do not reside in the file system which is autogenerated by http handler.Now the this download PDF functionality is working fine in backend IIS server.But when we try to download the pdf in reverse proxy ARR server it gives a 502 error.I implemented failed request tracing in ARR and found

MODULE_SET_RESPONSE_ERROR_STATUS

Modulename ApplicationrequestRouting

Notification 128

HTTPSStatus 502

HTTPreason Bad Gateway

HttpSubstatus 3

ErrorCode 2147954552

ConfigexceptionInfo

Notification EXECUTE_REQUEST_HANDLER

Also in the ARR server IIS log it shows 502.3 error while executing the .axd file.

Is it something to do with URL rewrite or may be the firewall could be an issue .ARR is in DMZ and IIS in trusted zone and there is a firewall in between.What can be the best solution to trace the issue. 


Sync Web Server but skip multiple objects?

$
0
0

So we have two load balanced web servers with tons of sites on them all setup with their own IP. 

We use the following to push updates from one server to the other.

msdeploy -verb:sync -source:webServer -dest:webServer,computerName=server02 -skip objectName=binding

All is good there. We have added a few sites on the 01 server and do not want those sync'd over to the 02 server. Is it possible to skip those websites? I haven't figured out multiple skip arguments or whether skipping a website is possible. IIS 7.5 if that matters.

FTP display Issues

$
0
0

hello,

I am running windows 2003 standard edition sp1 and have IIS installed for FTP for Internal and external use for large files.   In IIS manager under the FTP sites, I have created a number of Virtual Directory.  I have created user accounts so that the Sales only have access to Sales folder, Marketing only to Marketing etc etc.   

When accessing the FTP via Windows Explorer or Chrome, once you enter your username and password, it takes you straight in at the user account Folder level.

When I try to access via Internet Explorer (v9), it take me to the Root, and I can see all the sub-folders. but I don't want all the sub-folders listed as we also deal with 3rd party companies, some of which are competitors.

Can somebody please advise.

cheers

Dave

Execute batch script from classic asp in IIS 8.5

$
0
0

I have a classic ASP page that creates a bat file and runs it.  It works in 2003 IIS6, but it will not run in 2012 IIS 8.5.  NewJob.bat is created fine, but it does not execute.  I cannot find the right option in IIS to enable "Scripts and Executables" for the execute permission.  Does anyone have a solution?


	Set fso = CreateObject("Scripting.FileSystemObject")
	SitePath = Server.MapPath(".")
	BatchPath = SitePath & "\NewJob.bat"
	Set file = fso.CreateTextFile(BatchPath, true)
	file.WriteLine("@echo off")
	file.WriteLine("Call BuildJobFolder.bat " & JobYear & " " & JobNumber & " " & JobName & " > BJF.log")
	file.Close
	dim cmdShell, objCmd, strResult, objResult
	set cmdShell = Server.CreateObject("WScript.Shell") 
	cmdShell.CurrentDirectory =  SitePath
	objResult = cmdShell.Run("cmd /c " & SitePath & "\newjob.bat", 10, true)
	strOutput = ""
	set Results=fso.OpenTextFile(SitePath & "\BJF.log",1,false)
	do while not Results.AtEndOfStream
		strOutput = strOutput & chr(13) & chr(10) & Results.readline
	loop
	Results.close 
	Set cmdShell = nothing 
	Set objResult = nothing 

Redirecting Non-WWW to WWW along with HTTP to HTTPS

$
0
0

Hi,

I want to know how to redirect Non-WWW to WWW along with HTTP to HTTPS in IIS 8.5. I want it so that if they type in http://example.com, http://www.example.com, or https://example.com, they all redirect to https://www.example.com. I already have the URL Rewrite module if I need that, but it doesn't matter what way we do it. I've been looking it up and none of the ways I find actually work for me. I've also tried making a second HTTP website with an HTML file that automatically redirects to the other HTTPS website. It worked at first but it doesn't redirect other pages such as example.com/page1. What would be the right way to do this?

Appcmd to change Anonymous Authentication Identity

$
0
0

I encountered an issue where our password expired of our Anonymous Authentication Identity. The site has hundreds of applications and virtual directories in it and  need to update the password for all of them. It would take lots of time and painstaking to update them manually in GUI.  I tried the below appcmd command but it changed the password only at Site parent level.

appcmd.exe set config "sitename" -section:system.webServer/security/authentication/anonymousAuthentication /password:"****" /commit:apphost

Can anyone share a solution to update password for all the apps and VDs under the SITE ?

Viewing all 28504 articles
Browse latest View live


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