AUTH_USER vs LOGON_USER following a name change
Hi,
This concerns an intranet site written in ASP.NET v1.1 using C#. The site is
running on IIS6 on Win2k3S with all the SPs and patches etc.
The Session_Start interrogates the AUTH_USER server variable to identify the
current user. This is then used to query ActiveDirectory, and the site
dynamically configures itself according to which AD groups the current user
is a member of - fairly standard stuff.
However, one of the users has recently changed her name, let's say from Anne
Smith to Anne Jones. As far as I can tell, this has been changed throughout
ActiveDirectory. The user now logs into her Windows XP desktop as
anne.jones@domain.com instead of anne.smith@domain.com.
However, although the LOGON_USER server variable correctly shows her as
DOMAIN\Anne.Jones, the AUTH_USER server variable still shows her as
DOMAIN\Anne.Smith - why is this? What / where needs to be changed for the
AUTH_USER server variable to show the new name?
I found the following site:
http://www.codeproject.com/asp/request_server_variables.asp which says that
AUTH_USER is: "The name of the user as it is derived from the authorization
header sent by the client, before the user name is mapped to a Windows
account. This variable is no different from REMOTE_USER. If you have an
authentication filter installed on your Web server that maps incoming users
to accounts, use LOGON_USER to view the mapped user name."
What *actually* is the authorization header which the client is sending, and
where is the old name still coming from?
Any assistance gratefully received.
Mark
P.S. the solution is obvious... use LOGON_USER instead of AUTH_USER in
Session_Start - but I'm now curious as to why AUTH_USER is still being
populated with the old name... Tag: Load Balancing IIS configuration Tag: 385719
IIS 6.0 Condition_Dropped (aspx page freezes)
Hello
Am working on a .net credit scoring application deployed on 4 servers
(2 web servers and 2 applicataion servers) in a load balanced
environment. The servers are running windows 2003 and the iis servers
communicate with the app servers using web services. The app servers in
turn invoke other web services running on different boxes in the
enterprise.
Off late, I started seeing this error where the aspx pages just freeze.
Nothing is displayed and the status bar in the browser just hangs while
the window is all white. However, htm pages deployed in the same
virtual directory work just fine. Also, applications deployed in other
virtual directories are unaffected.
On going through HTTPERR log, am seeing errors such as
Connection_Dropped, Timer_EntityBody and
Connection_Abandoned_By_AppPool. The application starts working fine
after a few minutes break only to freeze later.
Any help would be greatly appreciated. Out of ideas and out of time.
Please help.
Vimal Tag: Load Balancing IIS configuration Tag: 385712
Vulnerable to SQL Injection?
Hello!
I help a friend with his web site that has an HTML/ASP interface to an
Access MDB file for its database. When you attempt to access the database,
you get prompted for a user name and password. I want to know if that type
of setup is vulnerable to being hacked via SQL injection or other means.
How can I test for that?
Thank you for your time!
Gregg Hill Tag: Load Balancing IIS configuration Tag: 385710
creating site with Server 2003 Web edition
Hello,
How many site i can create with Windows Server 2003 Web Edition ?
thanks and regards Tag: Load Balancing IIS configuration Tag: 385707
.NET site set up
I want to be able to copy over .NET web pages and place them on a site that
has .NET running on it without havint to create virtual directories
everytime. BUt when I do I get an error saying I need to set up a virtual
directory. Isnt there a way to just copy files over and have them run off of
the defualt Web site runnig as a default application? Tag: Load Balancing IIS configuration Tag: 385705
iisadmpwd with iis 6.0 problem
I've just added the iisadmpwd functionality to my OWA server. I have
everything configured properly from what I can tell but I'm still having a
problem changing passwords.
When a normal user account with email attempts to change their password I
always receive a error screen: invalid username or password. However, I can
make it fail to the bad password, and mismatched password screen easily.
If a domain admin attempts to change a password it successful. I can even
login to OWA as a domain admin then change another password using the change
password options and entering another userid.
So, it appears the configuration is correct however I seem to be missing a
permission for the change password functionality.
Any ideas apprecaited (and yes, iisadmpwd is set to run and execute scripts.
Thanks in advance,
Hardy Utley Tag: Load Balancing IIS configuration Tag: 385702
WebDAV
Now I was wondering if you could direct me on how I could set up WebDAV in a
isolated user mode if possible. When put my username and password in it
directs me to the appropriate folder that my user name is assigned like "home
directory". I know this can be done using FTP any ideas Tag: Load Balancing IIS configuration Tag: 385701
Virtual Directory On UNC Share Not Writable
Hi all,
I have an ASP page on a Win2003 IIS6 server attempting to write a
text file via a virtual directory setup to point to a UNC share on
another Win2003 server. When the code attempts to create the text
file, I get a 8007052e error - bad username or password essentially.
Both servers are in the same domain, and I'm using a user in the domain
with admin privileges for both the virtual directories Connect As
credentials and the anonymous access Directory Security credentials
(and Integrated Windows Auth is not checked). The share itself has
full perms granted to Everyone. The NTFS perms are also set for full
access by Everyone right now.
This started happening when I moved the website itself to an IIS6
Win2003 server from an IIS5 Win2000 server. It worked fine for a
couple years on the IIS5 server. If I point DNS for the site back to
the old Win2000 server with the virtual directory setup exactly the
same, it still works.
In an effort to troubleshoot, I pointed the virtual directory to a
Linux box running Samba so I could view Samba's logs in real time to
see if the share is accessed. I get the same error. When I created
the virtual directory or accessed it manually from within the IIS
snap-in, Samba writes the corresponding access to its log files.
However, when I run the script, Samba doesn't write anything. So, this
tells me it doesn't seem as if the share isn't even accessed, as if
there's something more basic happening.
The extremely simple code being used to test is below for reference
(the error occurs in the third line). Can anyone point me in the
correct direction?
Thanks!
Toni
<%
vendor_orders_dir = server.mappath("/vendor_orders")
Set XMLFSO = CreateObject("Scripting.FileSystemObject")
Set XMLFile = XMLFSO.CreateTextFile(vendor_orders_dir & "\test.xml",
True)
XMLFile.WriteLine("testing") Tag: Load Balancing IIS configuration Tag: 385693
Restricting Users to Enter through Homepage
I want to restrict users to enter the website through the homepage
only. We do not want them to be able to bookmark pages on the site and
go directly to them. Can someone recommend a 3rd party product to
accomplish this? Our website does not require authentication to enter.
Someone recommended a product called iisrewrite (www.qwerksoft.com).
Any thoughts on this product or its ability to accomplish the above?
Thank you in advance. Tag: Load Balancing IIS configuration Tag: 385688
Firefox and IIS
Okay, I'm trying to set up my server for testing, and I keep getting a
password prompt on my site when viewing it through Firefox (IE works
fine). How do I turn this off? Tag: Load Balancing IIS configuration Tag: 385685
http://domain.com/directory converted to http://domain.com/directory/
Hi All,
I think I have does this in apache, but does IIS allow such stuff (and
if does then how) so that directories when opened in users browser does'nt
end with a slash.
like http://domain.com/directory should NOT convert to
http://domain.com/directory/ and it remains http://domain.com/directory when
opened in browser!
Thanks
J Tag: Load Balancing IIS configuration Tag: 385684
Content of cached compressed javascript files differs per server in a webfarm
We have a webfarm on which http compression is configured like
described at:
http://www.dotnetjunkies.com/Article/16267D49-4C6E-4063-AB12-853761D3...
But I have found out that some servers are creating different content
files
at the temporary files directory; a filecompare of
a compressed javascript file shows that the file is not compressed
equally on all webservers. Though all servers seems to be configured
alike.
The fun part is when I empty all temp compressed dirs, the files get
regenerated and guess what? no difference is found !!
It seems the differences are occurring when we install a new version
of our app (though the (real) content javascript is not changed). We
delete all files
from the website directory and install the new files.
Any insight is appreciated.
// Ryan Tag: Load Balancing IIS configuration Tag: 385677
CreateNewSite return E_INVALIDARG
I try to create web site with IISWebService::CreateNewSite (C++)
HRESULT hr;
CComQIPtr<IISWebService> sp;
hr = ADsGetObject(L"IIS://localhost/w3svc", __uuidof(IISWebService),
(void**)&sp);
SAFEARRAY * psa = SafeArrayCreateVector(VT_BSTR, 0, 1);
CComBSTR bstr(":80:");
long i = 0;
SafeArrayPutElement(psa, &i, bstr);
VARIANT var;
var.vt = VT_ARRAY | VT_BSTR;
var.parray = psa;
CComVariant v; //empty - to generate random id
CComVariant varID;
hr = sp->CreateNewSite(CComBSTR("my"), &var , CComBSTR("c:\\"), v,
&varID);
return E_INVALIDARG
Why? In any time, in any case E_INVALIDARG
Please give me properly setted params to run CreateNewSite()
successfully Tag: Load Balancing IIS configuration Tag: 385674
CreateNewSite return E_INVALIDARG
I try to create web site with IISWebService::CreateNewSite (C++)
HRESULT hr;
CComQIPtr<IISWebService> sp;
hr = ADsGetObject(L"IIS://localhost/w3svc", __uuidof(IISWebService),
(void**)&sp);
SAFEARRAY * psa = SafeArrayCreateVector(VT_BSTR, 0, 1);
CComBSTR bstr(":80:");
long i = 0;
SafeArrayPutElement(psa, &i, bstr);
VARIANT var;
var.vt = VT_ARRAY | VT_BSTR;
var.parray = psa;
CComVariant v; //empty - to generate random id
CComVariant varID;
hr = sp->CreateNewSite(CComBSTR("my"), &var , CComBSTR("c:\\"), v,
&varID);
return E_INVALIDARG
Why? In any time, in any case E_INVALIDARG
Please give me properly setted params to run CreateNewSite()
successfully Tag: Load Balancing IIS configuration Tag: 385673
Migrate 1000+ virtual directories from 5 to 6.0
We have a IIS 5.0 (Win2Kserver), which has 1000+ virtual directories and 300+
sites hosted. What's the easiest way or any way to port to IIS 6.0??
Any help would be greatly appreciated.
Thanks, Tag: Load Balancing IIS configuration Tag: 385672
load-testing IIS
Hi All: I have a public webserver hosting one website that is on a 10Mbps
connection and receives about .5 page requests/sec and 20 requests/sec.
It's a Xeon 3.0 with 2 gig ram and 1+0 SCSI RAID.
We're anticipating a sudden spike in traffic to coincide with a promotion,
where the server will receive up to several thousand page requests per
minute for 5-10 minutes. The page being requested has been reduced to about
50K total including some 7 images on the page. There is quite a bit of
server-side processing on this page however.
Is there any way to accurately load-test the server in this scenario to
predict if it will be able to handle the load? Tag: Load Balancing IIS configuration Tag: 385668
Hide ftp folders in ftp root subfolder
Hi all,
I have a ftp site with different clients connecting to it. I don't want
clients to see the other clients' folders. Having read the posts I
could find, I set ntfs permissions for each client then created a
virtual directory for each client.
My problem is this: If I put the virtual directories directly under my
root, each user that logs in is redirected straight to their folder.
That is the behaviour I want but in a subfolder of my root, i.e. I want
to have:
<vroot> - Public
- Clients
With each client's folder under the 'clients' directory.
However when I set this up, one of two things happens: If I set the
permissions of 'Clients' to be identical to those of my root, when a
client logs in they see a list of all folders - Bad.
If I strip the permissions on 'Clients' so that the administrators
group has full control and the users group has read but not list, my
users get an access violation when trying to navigate to 'clients'
(unless they enter the full address such as
<vroot>/Clients/clientName).
Could anybody tell me how to set it up so that I have my structure as
shown above, and when a client navigates to 'Clients' either be
redirected to their folder or see only their folder listed?
I use windows server 2003 with IIS6.0
Thank you! Tag: Load Balancing IIS configuration Tag: 385666
ADFS and Windows Sharepoint Services
I need to prove to my boss that ADFS will work well with WSS so that we can
have one central datastore (Active Directory) which is in a different domain
to the web server.
I have gone through the ADFS step-by-step guide and proven that I can
authenticate to the adfsresource federation server when I try to access the
WSS web server on the adfsweb server when both adfsweb and adfsresource are
in the same domain.
Both adfsweb and adfsresource are in the same domain (treyresearch.net). I
need to prove that the sharepoint accounts can be on a different server that
is not in the same domain as the web server.
Therefore I have removed adfsweb from the treyresearch.net domain (and
restarted) and edited the trust policy on the adfsresource server to allow
claims from the WSS application at the url https://adfsweb. I also created
certificates to reflect the new name of adfsweb (instead of
adfsweb.treyresearch.net).
Now, when I browse to https://adfsweb, I am able to successfully
authentication via ADFS. I know this because if I enter the credentials
correctly, I can reach the WSS application and if I don't enter them
correctly I get a IIS 403 error. When I *do* enter the credentails correctly
however I also get a WSS error telling me that I don't have access to these
Sharepoint resources (in other words, WSS does not recognise the user).
It seems that when the federation server is not in the same domain as the
web server then I can't log in. But isn't ADFS supposed to allow
authentication users located in other domains? Or is my architecture wrong?
The architecture that I currently have is as follows:
* adfsweb :
IIS with adfs web agent (not in any domain) configured as per the
step-by-step guide.
* adfsresource (this is just the name that the step-by-step guide gave for
the server storing the WSS user accounts, but for my purposes this particular
federation server is acting more like an account provider):
adfs is configured to accept token-based claims from adfsweb (as per the
step-by-step guide). adfsresource is also in the treyresearch.net domain.
Anybody have any ideas?
Many thanks Tag: Load Balancing IIS configuration Tag: 385641
IIS6 new site with server extensions cannot authenticate
Hi all.
Go with me here if you can I'm a relative newby:
I have just created a new website from a frontpage template through the IIS
snap in in MS SBS2003. I have succeeded in uploading the site through
frontpage.
Most things work, I can browse the site fine from an external source.
It has a selection of simple forms which ask the client to fill in name,
email etc and comments. This requires 2002 server extensions, so I have
enabled extensions for the site.
The forms fail to work. The submit buttons are dead, and this leads me to
beleive something wrong with either the form properties (I have altered to
reflect an email address to mail to) or the extension attributes on the
server.
If I right click on the new site through IIS snap in, select all tasks, then
check server extensions, I am prompted for authentication. I cannot use
administrator or any other administrator user, therefore I cannot access any
tweakable IIS info.
Does this mean server extensions is not functioning correctly?
Does anyone know how to correct this?
Thanks for your time. Tag: Load Balancing IIS configuration Tag: 385640
IIS5 W2k Upgrade - help
I have IIS5 running on W2Ks. I need to upgrade to IIS6 on W2k3s. Does
anyone know of a migration tool that I could use? The iismt tool only
works on w2k3s source (and I'm on w2k).
TIA
Al Tag: Load Balancing IIS configuration Tag: 385635
Permissions
I'm using IIS 5.1, with an ASP.Net web page. I'm trying to write an XML file
to my C drive, but I keep getting the following error.
System.UnauthorizedAccessException: Access to the path is denied.
The program is as follows:
Const strFileName As String =
"c:\inetpub\wwwroot\WritingXMLExample\WriteXMLExample.xml"
Dim objXmlTw As XmlTextWriter = New XmlTextWriter(strFileName,
encoding.utf8)
'write root element
objXmlTw.WriteStartElement("ct", "ContactDetails",
"http://www.deltabis.com/contact")
objXmlTw.WriteEndElement()
'end the xml document
objXmlTw.WriteEndDocument()
'write to the file and close
objXmlTw.Flush()
objXmlTw.Close()
How do I go about writing to my hard drive? I've already given 'write'
permissions to all the folders and sub-directories in my Inetpub using IIS,
so what else do I need to do? I'm using Windows XP Pro.
Thanks Tag: Load Balancing IIS configuration Tag: 385632
Multiple SSL Website, One Server
Good Day All,
I need assistance again today.
I have one server that I would like to use to house all of my website
services.
I currently have my OWA website hosted on SSL port 443 working nicely
and I have even changed the error message when they forget to type in
the https:// and have it redirected to the proper website.
Now I would like to tack on my intranet to this server and have it
accessed outside via SSL. I created another certificate (I got one
internal, don't need to spend big bucks just for these projects). I then
add it to the new VD that I created for the intranet. I placed this new
site on the SSL port 444, and its setup. Now when I try to browse to
http://www.intranetaddress.com, I would get the 403.4 error, so I
changed that as well to redirect to the proper address
(https://www.intranetaddress.com:444/). Now when I do that I get an
error. It says it cannot find the site.
Should I have used the one certificate, or creating a new certificate is
just as good?
Can anyone point me in the direction of getting this working. I would
like to still have my OWA working nicely on 443 and have my intranet now
working 444.
Thanks. Tag: Load Balancing IIS configuration Tag: 385631
IIS 6 [WMI] - Programmatically Replace/Set Custom Error Files
I found an example of how to do this in IIS 5 & ADSI but I need to
accomplish it with WMI and I can not find any documentation for the
ADSI GetEX method. The WMI vitual directory class does not have a GetEX
method. Thanks!
Dim HttpError, NewErrors, i
NewErrors = objWebVirtualDir.GetEx("HttpErrors")
MsgBox CStr(UBound(NewErrors))
For i = 0 To UBound(NewErrors)
HttpError = Split(NewErrors(i), ",")
If (HttpError(0) = "401" And HttpError(1) = "1") Then
NewErrors(i) = "401,1,FILE," & BaseSitePath & "\401-1.htm"
Exit For
End If
Next
Const ADS_PROPERTY_UPDATE = 2
objWebVirtualDir.PutEx ADS_PROPERTY_UPDATE, "HttpErrors", NewErrors
objWebVirtualDir.SetInfo ' Write info back to Metabase Tag: Load Balancing IIS configuration Tag: 385628
Problems with IIS Migration and Scripts
Hey everyone, here is my situation:
I have a old server that I am gtting rid of and I am migrating the
information over to a new server. I used Microsofts IIS 6.0 Migration
tool to migrate over the Default web site that we run off of the old
server. Everything copied over fine, I set the Web extenstion
permissions the same as the old sever but the script that is supposed
to run when site is accessed won't run. I get the IE Page cannot be
displayed error. I have checked every setting I can think of and they
are the same on the new server. My scripts are in the Scripts folder in
the Inetpub folder, standard directories. Is there something I am
missing? The script is a .dll file THanks for any help that you can give Tag: Load Balancing IIS configuration Tag: 385626
PFX Exporting Help Please
'm writing a VBScript that intalls certificates programmatically. I
also need to export the .pfx file. I have found two different methods
to do this, but can't seem to find examples of either one in vbscript.
I have found the capicom.certificate.save method, and the
pfxexportcertstore method. If anyone could provide a small sample of
code that'd be wonderful. Thanks in advance. Tag: Load Balancing IIS configuration Tag: 385624
Setting up SMTP to use with SQL 2005 Database Mail
(reposted from the smtp_nntp group which doesn't get much traffic)
My goal is to send notification emails to myself/coworkers from SQL Server
2005 Database Mail. At this point there will not be any incoming mail
activity on this server. It's ok with me if I send email as myself rather
than a local account specifically for the SQL Server.
I'm using W2003 Server Standard and SQL2005 Standard. IIS and Pop3 are
installed but not configured. I'm at a university and part of an Active
Directory domain. Computer name is like MyServer.MyDomain.University.edu.
The University has an SMTP server: smtp.university.edu.
I'm clueless about all of this. I don't know whether I need SMTP running on
my server or just the default SMTP Virtual Server in order to send mail via
the university's SMTP, or whether I should just be my own mail server. I've
read Kristofer Gafvert's article at www.ilopia.com .
Most likely my network admin and the guys who own the university's SMTP
server have no experience with SQL2005. Before/if I need to get them
involved I'd like to understand as much as possible about the whole
situation.
Using only the default SMTP server I was able to use SQL 2005 Database Mail
to a private email server I have access to, but it would only accept mail to
an address on that server. I assume that means I had set up the SQL Database
Mail correctly.
Do I need to run a POP3/SMTP server on my machine? If so, in the POP3
snap-in I see "Connect to another Server" at the POP3 Service level and "New
Domain" at the MyServer level of the tree. Do I do anything with these?
In the Default SMTP Virtual Service Properties, General tab: Do I use "All
Unassigned" or my IP? Access tab: The article covers these settings.
Delivery: Outbound Security - what goes there? Advanced delivery: Do I need
to masquerade as University.edu to use the University's SMTP server?
Where do I start? Thanks in advance for helping me.
--
Cindy Winegarden MCSD, Microsoft Most Valuable Professional
cindy@cindywinegarden.com Tag: Load Balancing IIS configuration Tag: 385619
ASP Sessions time out too early
I have some ASP scripts which use sessions. In the scripts, I've set
the Session.Timeout = 360 and in IIS, I've gone into the application
pool and set every possible timeout to 360 minutes (or as high as I can
set it in seconds).
My problem is that people are still being kicked off the application.
Many people's sessions seem to timeout in only a few minutes. Others
however seem to last an hour or two (but not the full 360 minutes).
Is there some way I can set this on IIS? Am I doing something wrong?
Thanks in advance,
-Tom Tag: Load Balancing IIS configuration Tag: 385618
No connection could be made because the target machine actively refused it
I have a website that consumes a webservice. Both of them are in the
Default Website folder. I can execute the service without any problem
when I go to the test page http://localhost/Service.asmx. When I try to
consume that webservice from the website I get the error shown bellow.
In my web.config I have:
<authentication mode="Windows"/>
<identity impersonate="true" userName="auser" password="apwd"/>
IIS is configured as "Integrated Windows authentication" and "Enable
anonymous access" is disabled.
System.Security.Principal.WindowsIdentity.GetCurrent().Name returns
"auser".
I am struggling with that for a LONG time so any help is greatly
appreciated.
Thanks
Error:
"No connection could be made because the target machine actively
refused it
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection
could be made because the target machine actively refused it
Line 110: object[] results = this.Invoke("MyWebservice", new
object[] {
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\root\26676eb7\92c7e946\App_WebReferences.rglqbs34.0.cs
Line: 110 " Tag: Load Balancing IIS configuration Tag: 385615
similar data, code, tables, stored procedures - but production app slower than development
Hello all
I'm new to my role as DB admin / support person for an ASP application
with SQL Server 2000 backend. The code is the same on production and
development, the data is similar too (at least in orders of magnitude).
Yet a coupla pages load about twice as fast on development than in
production.
I've noticed that the development SQL Server has 4 processors compared
to 2 for the developemt server and about 3775MB OS Memory as compared
to 2048 MB on production.
Another potential problem - on both servers, my page load uses a stored
procedure that does returns the results of a JOIN with 5 tables -
On Production, 2 tables have about 20,000 records, and one has 400,000.
On Development, these same 2 tables have about 15,000 records, and the
big table has 285,000.
What does it sound like - is it a data problem, because of the
difference in number of records? Or would increasing the memory size or
# of processors help my code run faster? Need to verify this before I
go to my VP and suggest any course of action.
Thanks in advance! Tag: Load Balancing IIS configuration Tag: 385612
Active Components Not Loading
Hi,
I've been setting up a new windows 2003 server with IIS 6.0 and CFMX 7.0.
We use Activedit (WYSIWYG editor) on some of our sites but it will not load
with this new server. I have tried FCKEditor as well and that won't load eit
her. The client machines, accessing via internet, can see these same active
component which are hosted by the old server but not the new.
I downloaded the latest demo of activedit to make sure our version it wasn't
obsolete, but I get the same problem
http://63.134.216.39/activedit/example.cfm
I SHOULD get a window similar to as shown on the following page
http://www.activsoftware.com/activedit/demo/edit.cfm
I can only imagine I need to somehow allow active components to run via the
server, webservice extensions, security? I don't know.
If anyone can help, it will be much appreciated.
thanks, Dan Tag: Load Balancing IIS configuration Tag: 385610
replicating IIS
All,
We have IIS running on a couple of webservers.
I would like to replicate the IIS settings (websites and FTP sites) to other
servers for fault tolerance and load ballancing (we have an LB in front of
the webservers)is there an application or utility to facilitate this?? We
have a lot of FTP sites and websites, it would be a lot of work to do this
manually.
TIA,
Bryan Tag: Load Balancing IIS configuration Tag: 385609
Why am I getting login prompts?
Hi all,
I have IIS 6 running on Wink2k3. i have anoymous access enabled, however
some users are getting prompts to enter a username, password and domain
before being allowed access.
The webserver is for the local intranet.
Im stumped as to why this is happening. Any general pointers or guidance
would be appreciated.
Kind regards
Taz Tag: Load Balancing IIS configuration Tag: 385607
Can't open visio file in Internet Explorer - IIS Security problem?
In Microsoft Internet Explorer, when I click a hyperlink to a Visio
drawing, I receive a 'File download box'. In case I click open I
starts downloading but stopps suddenly. Then I receive the following
error message:
The page cannot be displayed.
The page you are looking for is currently unavailable. The Web site
might be experiencing technical difficulties, or you may need to adjust
your browser settings.
In case I click on 'save' on the 'file download box' and on Open after
saving it to my hard drive it works fine.
Problem is just for Visio .vsd. - ,doc .pdf, .ppt are working fine.
I have an other server with the same file and it works fine (older
installation). Looks like a server security settings problem?
Any idea? Thanks! Tag: Load Balancing IIS configuration Tag: 385604
IIS Server On Intranet - Can't access from other computers
Hello Everyone,
I set up an IIS server on my desktop, and am on an intranet. I'm
running Windows XP SP2, and IIS5.1. When I go to http://localhost/ or
http://da626630/ (my computer name) I am able to load my site. But from
other computers on the intranet I can't access it. (it brings up the
'The page cannot be displayed' message). It's running on port 80. Also,
before I installed my IIS server I had an apache server running (which
was port 80) which could be accessed from any computer on the lan. I
changed that to port 8080, and other computers are still able to access
it by http://da626630:8080/. So I know it's not a firewall problem (I
also have my firewall set to off)
I've tried playing with the IIS security settings but haven't had any
luck, right now under Authentication I only have the Anonymous
Authentication box checked.
If anyone has any suggestions I would appreciate it. Tag: Load Balancing IIS configuration Tag: 385603
adsutil.vbs and APPCREATE*PROC with IIS 6.0
Hi,
while testing sample projects of Indigo, I found setup batches using
adsutil.vbs. I find it very handy but I'm missing what APPCREATEPOOLPROC,
APPCREATEINPROC and APPCREATEOUTPROC commands exactly do.
I understand the IN, OUT, POOL process hosting, of course. But how
APPCREATE*PROC corresponds with settings in IIS 6.0 manager ? An application
is assigned to a pool there and the pool has some proces recycling settings.
I tried to apply different APPCREATE*PROC without obvious difference in
result.
There is not much documentation for the adsutil tool. Can it be used with
IIS 6.0 ? Is there a better way of automating web services setup ?
Thanks fro explanation,
Jan Tag: Load Balancing IIS configuration Tag: 385602
localhost stopped working! (IIS 5.1)
Last week I had a .net 2.0 webiste running locally on my machine perfectly. I
could access it locally by hitting http://localhost/ and others could hit it
just as well, using http://computername/. Then came day when I thought it
would be a good idea to download some software for a Sprint wireless card
(bad move), and everything went crazy.
Now, I can't hit localhost without getting an error (below), although I can
hit http://computername/ (from the actual machine) and it works fine. When
other's try to hit http://computername/ they have the same issue I have when
I try to hit localhost (again, below).
I've unistalled the software that caused this issue, reinstalled/rebuilt the
Enterprise Library .dll's that it's erroring on, and adjusted my
computername/ASPNET account to be an Administrator on my machine all with no
luck!
Does anyone have any suggestions?!?!?!?
Error -->
Key not valid for use in specified state.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Security.Cryptography.CryptographicException: Key
not valid for use in specified state. Tag: Load Balancing IIS configuration Tag: 385597
tutorial for iis
Hai,
I need to study about, how the iis is working. Bec., I have
assigned a task using iis.
So, anybody having tutorial or links for that. pl. let me know.
thanks in advance.
Regards,
Raju. Tag: Load Balancing IIS configuration Tag: 385596
Windows 2000 Server, ASP 1.1 and ASP 2.0
Hi,
I currently run a Windows 2000 Server machine with a number of ASP 1.1
websites running in the IIS. I've just started to develop ASP 2.0
websites but I'm getting problems when trying to view both ASP 1.1 and
ASP 2.0 web pages at the same time. Is there any features within 2000
Server to view both sites at the same time, like the application pool
within Server 2003? Or is there another way round this?
Thanks in advance
Simon Tag: Load Balancing IIS configuration Tag: 385595
java.security.AccessControlException
hello all,
we are facing a quite mysterious problem: web applications with self
programmed applet framework are no more running on 2 of 4 webservers. client
uses sun java v1.5.0_0x, 3 servers are running W2k3 with IIS6 and one is
running W2K with IIS5. The latter one and one of the W2k3 are fine the two
others (one of them newly setup) don't.
this is the error message:
java.lang.Exception: java.security.AccessControlException: access denied
(java.util.PropertyPermission http.strictPostRedirect read)
and occurs when calling a class from a jar archive. IIS logged a 302, so we
checked 'Enable Parent Paths' in the web's configuration on the IIS. That
changed the error to:
java.lang.Exception: java.security.AccessControlException: access denied
(java.net.SocketPermission localhost:8888 connect,resolve)
Changing java.policy made no difference. Further research took as to the
suggestion that their might be a session problem. Tests without cache and
proxy made no difference at all. Checking DNS names when running the code
showed no anomalies.
So we transferred the settings from a server that worked to another server
that doesn't and also setup a new server but nothing worked at all.
I am very astonished that the server might interfere with client script but
that's what I can see. So I will be very thankful to any hint in this case.
If you have hints how to configure the server or which software or setting
might interfere I can check all these. What we cannot do is reprogramming the
java applets because they are working fine in our production environment.
thanks in advance
Michael Richter Tag: Load Balancing IIS configuration Tag: 385591
Cannot view web on local network
I installed the Windows component IIS admin with Server Extensions on a
Windows XP SP2 box.
I created a web site and I can view this web site from the local box.
Actually I just threw in a default.asp page ito the root directory and then
viewed it in the local browser as http://box1
However, when I type in the http://box1 URL into the browser on another
machine (box2) on my local network, I get "Cannot find server or DNS Error"
However, from box2 I can ping box1 by IP address and machine name; I just
cannnot access the default web page on box1 from a browser in box2.
In my web security settings on box1 I have the default anonymous
(IUSR_myMachineName) and Windows Intergrated Authentication selected.
Does anyone know why remote machines cannot access the website on this XP
box? Tag: Load Balancing IIS configuration Tag: 385583
Problem displaying QuickTime movie
Hi;
I just realized this might be a server problem so I'm posting here too.
On the page http://www.windwardreports.com/film.htm the embedded QuickTime
movie plays fine on some systems. However on other systems we get the
following problems:
1) Sound only - no video
2) IE dies and gives the "Send Microsoft an error report?" message
3) Starts and then stops - the client is on a broadband connection and the
server is at a co-lo.
Is there something wrong with the html for the movie?
Do I need to set some mime type for mov on IIS?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com Tag: Load Balancing IIS configuration Tag: 385574
Determine Top-Level Domain Name
Hi,
I would like to find out what the top level domain name is for the user
requesting a page through IIS.
I have content (Flash) on a page that does work well on all ".mil"
sites. I would like to know a ".mil" site is requesting a page so that
I can send a page without the Flash.
Any suggestion are welcomed.
Thanks,
Gary Kearney Tag: Load Balancing IIS configuration Tag: 385568
IIS 6 vs iis 5
Greetings,
I have an asp page that allows me to start and stop services on my windows
2000 server and run some batch files as well. Now that we are upgrading to
windows 2003 this page is not working. I have changed the security parameters
on IIS 6.0 but still I cant run my batch (I am using .bat ) files. What else
should I do in order to make an asp page to run batch files (that among other
things start or stop services) on windows 2003?.
Thanks!. Tag: Load Balancing IIS configuration Tag: 385565
2 domains with the same home directory
I would like to know if there are any issues with having two different
domains pointing to the same home directory on our Win2003 server.
For example, I would like www.domain1.com and www.anotherdomain.com
both running from the same home directory found at E:\CommonDomains
Any help would be greatly appreciated.
Rob Tag: Load Balancing IIS configuration Tag: 385559