0x80004005 error - what could be the cause?
Hi everyone,
I have a an IIS Virtual Directory that does XSL transformations of XML
documents that represent database queries. All of the other documents
run fine, but the main document (which is simply a one element XML
document transformed into a web page by the XSL sheet (source code
below)) does not load with the error message below. The main document
has several frames, one of them is populated by a transformed XML/XSL
database query, and the other frame has listboxes whose contents are
populated by XML messages in another virtual directory. The error
seems to indicate that there is not data from the XML document, but
when I open it directly in the browser, it seems to be there. We are
at our wits end regarding this error, so what is causing the problem.
When we open all the sub pages seperately, it all works fine. We are
using Windows Server 2003, SQLXML 3.0 with SQL Server 2005. Thanks,
ERROR: 500 Internal Server Error
HResult: 0x80004005
Source: msxml4.dll
Description: Error while parsing "xml file name". No data is available
for the requested resource.
main XSL sheet:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="root">
<HTML>
<HEAD><TITLE>Vega Risk</TITLE>
<LINK href="/HITMiddleOffice01/middleOfficeHome.css" type="text/css"
rel="stylesheet"/>
<LINK href="/css/VegaRiskPage.css" type="text/css" rel="stylesheet"/>
<SCRIPT language="javascript" type="text/javascript">
<![CDATA[
var objectHTML="<iframe CLASS='mainObject'
src='http://10.26.13.21/VegaRisk/templates/VegaRisk.xml?xsl=templates/VegaRiskSVG.xsl&accountId=0&instrumentId=0'>Please
ask IT to install the Adobe SVG plugin</iframe>";
var accountId=0;
var instrumentId=0;
function selectedAccount(accId) {
accountId=accId;
setHTML(accountId,instrumentId);
resetObject(objectHTML);
}
function selectedInstrument(iId) {
instrumentId=iId;
setHTML(accountId,instrumentId);
resetObject(objectHTML);
}
function setHTML(aId,iId) {
objectHTML = "<iframe CLASS='mainObject' src=";
objectHTML +=
"'http://10.26.13.21/vegaRisk/templates/VegaRisk.xml?xsl=templates/VegaRiskSVG.xsl";
objectHTML += "&accountId="+aId;
objectHTML += "&instrumentId="+iId;
objectHTML += "'>Please ask IT to install the Adobe SVG
plugin</iframe>";
}
function resetObject(html) {
document.getElementById("main").innerHTML = objectHTML;
var date = new Date();
document.getElementById("update").innerHTML = "Last updated
"+date.toString();
}
function timer() {
resetObject(objectHTML);
setTimeout("timer()",60000);
}
setTimeout("timer()",60000);
]]>
</SCRIPT>
</HEAD>
<BODY>
<DIV class="sidepanel">
<xsl:call-template name="sidepanel"/>
</DIV>
<DIV id="main" class="mainpanel">
<xsl:call-template name="mainpanel"/>
</DIV>
<DIV id="update" class="update"></DIV>
</BODY>
</HTML>
</xsl:template>
<xsl:template name="sidepanel">
<P class="spItem">Account</P>
<select name="account"
onchange="selectedAccount(this.options[this.selectedIndex].value)">
<xsl:apply-templates
select="document('http://10.26.13.21/HIT_FIRM/templates/accounts.xml')"/>
</select>
<P class="spItem">Stock</P>
<select name="stock"
onchange="selectedInstrument(this.options[this.selectedIndex].value)">
<xsl:apply-templates
select="document('http://10.26.13.21/HIT_FIRM/templates/stocks.xml')"/>
</select>
</xsl:template>
<xsl:template name="mainpanel">
<iframe id="mainObject" class="mainObject"
src="http://10.26.13.21/VegaRisk/templates/VegaRisk.xml?xsl=templates/VegaRiskSVG.xsl&accountId=0&instrumentId=0">
Please ask IT to download the Adobe SVG viewer plugin for IE
</iframe>
</xsl:template>
<xsl:template match="accounts">
<xsl:for-each select="account">
<option>
<xsl:attribute name="value"><xsl:value-of
select="@AccountID"/></xsl:attribute>
<xsl:value-of select="@identifier"/>
</option>
</xsl:for-each>
</xsl:template>
<xsl:template match="stocks">
<xsl:for-each select="stock">
<option>
<xsl:attribute name="value"><xsl:value-of
select="@instrumentID"/></xsl:attribute>
<xsl:value-of select="@symbol"/>
</option>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet> Tag: Event ID: 2273 Tag: 388793
SharePoint Administrator = 401.1 (unauthorized)
Win2k3 SP1 IIS6 with FrontPage Extensions version 5.0.2.6790.
When using the "Server Administraton" web site (fpadmdll.dll) I can add,
remove set some settings for virtual sites.
However, whenever I try to get into the site administration itself it will
not authenticate no matter what I do.
http://WEBSITENAME/_vti_bin/_vti_adm/fpadmdll.dll?page=webadmin.htm
Where "websitename" is the hostname of the web, the IP address. From a
browser local to the server, and from a browser external to the server.
Both IE and Mozilla based. Using MACHINE\admin, or just admin, or other
accounts with admin privileges.
They all fail to log in with 401.1 error.
Behavior similar to as described in the "problem" area for this:
http://support.microsoft.com/kb/896861
Each of my virtual sites is running on a unique IP.
The second to last site (the 3rd with FP extensions on it) failed only if
the attempt came from the local server. It worked if I used an outside
machine. (Which I could accept as a work around.) The first two sites
worked fine (and still work fine).
The 4th site, no login whatsoever. Period.
This, of course, prevents me from adding users to the site, and also
apparently keeps me from loging into the site with FrontPage as there are no
users on it.
There are about 230 IPs on the network card, and we were expecting to fill
the server with a couple hundred virtual sites. This has us stopped in our
tracks. Frankly, I am a little cranked that an expensive operating system
has a problem like this after 18 months is still not fixed.
I did apply the registry fix described in KB896861 (Resolution 1, Resolution
2 would require a couple hundred listings so isn't a practical long-term
solution), rebooted, and it still fails. I also tried setting "basic"
authentication to the entire web (over-riding the settings on
_vti_bin/_vti_adm/) and it still doesnt work. I verified the registry entry
is in and apparently free of errors:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"DisableLoopbackCheck"=dword:00000001
Asside from KB896861, are there any other things I can try? How about an
older version of the FrontPage extensions?
What is a "reflection attack"? Does this edit do anything to reduce the
practical security? (Assuming I can get the work around to work at all.)
The server is up-to-date on patches. Tag: Event ID: 2273 Tag: 388787
IIS and Hosts files
Hello everyone,
I need help, Im just learning IIS for a school project, which is
website (of course). The problems I am having seem to be from th
client side rather than the server itself (MS Server 2003 + IIS 6)
everytrhing on the server side seems to be correct-permission
etc..However, my client simply wont find the website index.htm file, o
anything else related to the website, all pings return normal, I ca
"explore" the servers files once I log in to the domain etc..Someon
told me that it has sometrhing to do with the "Hosts" file on m
clients. However, I have been playing around with a heap of differen
combinations here and I still cant get anywhere, just what should th
Hosts file information look like?
192.168.0.1 domain name/website name/file name???(for example)
I would appreciate any help anyone can offer-my assignment is due o
the 10th of November and Im really struggling.
Cheer
Message sent by gulliver from mombu the microsoft forum http://www.mombu.com/microsoft
-----------------------------------------------------------------------
gulliver's Profile: http://www.mombu.com/microsoft/member.php?u=185
View this thread: http://www.mombu.com/microsoft/IIS-General/t-IIS-and-Hosts-files-541285.htm Tag: Event ID: 2273 Tag: 388783
Application hanging
Hello
We have an .NET 2.0 web application that periodically hang - a few times a
day. Actually there are 2 applications, which are deployed on several
servers. One strange thing is that the hangs occurr only on 1 machine - the
most heavily loaded one. It is running W2K SP4 with the last security
updates. When a hang occurrs both applications are blocked; they are
configured to run as high(isolated) protection level.
There are these entries in the application log:
>aspnet_wp.exe (PID: 3320) was recycled because it was suspected to be in a
deadlocked state. It did not send any responses for pending requests in the
last
>180 seconds. This timeout may be adjusted using the <processModel
responseDeadlockInterval> setting in machine.config.
We then installed Debug Diagnistic Tools, which reported:
>Detected a possible critical section related problem in
aspnet_wp.exe__PID__2524__Date__10_24_2006__Time_12_39_14PM__841__IIS Hang
Dump.dmp
>Lock at CA_Db+72c0c is Transitioning
>
>Impact analysis
>
>47.17% of threads blocked
All blocked threads look alike - this is one of them:
>Thread 20 - System ID 2708
>Entry point mscorwks!Thread::intermediateThreadProc
>Create time 10/24/2006 9:23:57 AM
>Time spent in user mode 0 Days 0:0:2.953
>Time spent in kernel mode 0 Days 0:0:2.140
>
>This thread is waiting on critical section CA_Db+72c0c which is
transitioning owners (no current owner)
>
>Function Source
>NTDLL!ZwWaitForSingleObject+b
>NTDLL!RtlpWaitForCriticalSection+9e
>NTDLL!RtlEnterCriticalSection+46
>mscorwks!StubRareDisableRETURN+9
>mscorwks!Thread::RareDisablePreemptiveGC+3c6
>mscorwks!StubRareDisableRETURNWorker+14
>mscorwks!StubRareDisableRETURN+9
CA_Db is a dll implementing a connection pool of OLEDB consumers. It is
written in native C++ with a C++/CLI wrapper ( One of the apps uses also ADO
to connect to the SQL server in addition to CA_Db, although I don't think
that matters ).
This doesn't seem to be a 'classic' deadlock - all threads wait on only 1
critical section. ( they have the same call stack too )
Any ideas will be appreciated.
I couldn't find anything about critical sections which are transitioning
owners - how could that happen?
Thanks,
Plamen Tag: Event ID: 2273 Tag: 388780
Adding Second Website
Hi, I have a server at work that hosts a web application. It's been
configured to be accessed interanally using its computername eg
http://servername1
But I want to put another website on this server accessible using address:
http://servername1/portal1
How can I configure this?
At the moment I have the website accessible via port 81 using
http://servername1:81 which is not what I want.
Cheers Tag: Event ID: 2273 Tag: 388779
Com object regains rights after iisreset
We have a customer who runs windows 2003 sp1. We have a application that uses
a com object to comunicate with another application. The strange thing is
that the com object works fine for a few hours and then it seems like the com
object loses it's security rights, because it fails on
server.createobject("object"). Once you do a iis reset, it seems to be fine
for a while. The problem is that it is random. Sometimes it works for a day,
other times they have to reset iis 10 to 20 times a day. At first we thought
it was a domain policy, so we removed the machine from the domain, but it
still does it. We even took a new machine and reinstalled everything, but no
luck. What could the problem be? Tag: Event ID: 2273 Tag: 388773
index.shtml yields 403 error but index.html is ok
Right, it's server side includes failing on IIS 6 on patched Server
2003. I've created a new "site" that is associated with a host header
(the machine has multiple "sites"). This new site answers to
index.html but not index.shtml. The index.shtml file does not actually
include any other files. Permissions on both files appear the same. I
see the 403 errors both at the browser and in the site's logs.
What I've done:
- "Server Site Include" is allowed in the web services extensions
console
- Under "application extensions" mappings for the site, I see shtml
associated with ssinc.dll for the GET and POST verbs
I shut down and restarted the site, thinking it might not have picked
up these changes. I've also restarted the default application pool.
My guess is that this new "site" hasn't found that SSIs are allowed.
In every way that I can see through the UI, this site is the same as
two others where I don't see this problem.
Suggestions would be much appreciated. Tag: Event ID: 2273 Tag: 388771
ASP on XP SP2 Pro problems
Hesitated to post this since so many have posted, but looking through
all the solutions that worked for others, I can't figure out how to get
them working for me.
I'm to the point that I'd like to follow the "last resort" steps of:
1) Browse to Component Services and delete the following packages
IIS In-Process Applications
IIS Out-of-Process Pooled Applications
IIS Utilities
2) Open DOS prompt
3) cd %windir%\system32\inetsrv
4) rundll32 wamreg.dll, CreateIISPackage
5) regsvr32 asptxn.dll
6) Close & ReOpen Component Services. You should see the above 3
packages recreated.
7) iisreset
TO be honest, I can't get by Step 1. I have Component Services Open
(created the MMC addon) and I can't find the 3 packages to delete.
Below ComponentServices I have "My Computer", below that I have 3 sub
categories:
a) COM+ Applications (which I can't browse to because I get the error
0x80080005
b) DCOM Config (which has a lot of subcategories, but none named
above, though I doubt this is the correct place to look
c) Distributed Transaction Coordinator (below this is List &
Statistics - again I doubt this is the right place to look).
Further background: I've tried skipping step 1 and starting on step 2.
I've executed 2, 3, 4 and on step 5 I get the error
>>>
DllRegisterServer in asptxn.dll failed.
Return code was 0x80080005
<<<
I'm not married to going through the above 7 steps if any have
suggestions that I should try before this - but my suspicion is
something fundamental is misconfigured, and be that as it may or may
not be, I am near my wits end trying to get this to work.
Any suggestions/help would be much appreciated,
Merdinus Tag: Event ID: 2273 Tag: 388770
"Compress application files" interferes with zip download, IIS 6
A few days ago users reported problems downloading .zip files in IE 6 from
my website. The site runs IIS 6.0 on Windows Server 2003 SP1. The problem is
new and probably related to the last week security updates since the same
files were working fine before that and nothing was added or changed on the
site (apart from security updates) since a few months ago.
After some poking in the headers and help from Firefox (which works fine) it
appears that the problem is related to the
one described in this thread
http://groups.google.com/group/microsoft.public.inetserver.iis/browse_frm/thread/e65cb6537cec04d9/cc1615e533d26ddc
Surely enough, disabling "Compress application files" makes the problem go
away.
I don't have Sharepoint installed on the site and the .zip files are
downloaded via direct file URL, not through any asp or asp.net page.
Is this a new bug introduced by a security update or something else? How can
I keep the "Compress application files" setting and have IE being able to
download zip files?
--
Eugene Tag: Event ID: 2273 Tag: 388760
Need Log file analyzer for load balanced scenario
We have two Windows 2003 servers in a load balanced scenario. What is a
reasonably priced easy to use log analyzer for this scenario? My ancient
installation of WebTrends 5.5 won't do it without a ClusterTrends add-on.
It seems once you want to analyze logs from more than 1 server it becomes a
"cluster" product and is priced into the stratosphere...
Thanks.
-- Paul Tag: Event ID: 2273 Tag: 388759
Web Farm - amount of users?
Hi Everyone,
I am trying to find any documentation on the amount of users needed to think
about using a web farm. I am trying to figure out if a new application I am
going to write in asp.net should use a web farm or not, I have around 50,000
users that use the system and 25% of these users could be online at the same
time. I know this sound like a web farm application, but I would like to see
some documentation on when you should move from one server using iis to a web
farm, based on the amount of concurrent users. Or is there a middle path I am
missing here, example: getting a high powered server with multiple processors?
Thanks ahead of time!
joejoe Tag: Event ID: 2273 Tag: 388758
Setting IIS logfile name/location
I have a strange behaviour going on with our IIS logging and I was
wondering if someone might be able to explain. My understanding with
IIS logging is that the files are supposed to be stored in one of the
W3SVC folders (w3svc1, w3svc2 or w3svc3) with the actual name of the
log as "ex%YY%MM%DD.log." However, the logfile is created under a
sub-directory. For example, instead of the log being in
W3SVC1\ex061024.log, it's in W3SVC\w3svc45678617\ex061024.log. Can
anyone explain why it's dumping the log in a sub-directory of W3SVC? I
checked the IIS setting and the logfiles are supposed to be saved in a
different folder altogether. Basically, I've got two problems. First,
the files are not being placed in the proper folder(s). Second, in the
folders where the logfiles are kept, it randomly creates a
sub-directory.
I'm installing awstats but the way IIS is behaving makes it impossible
to tell awstats where to find the log files. Can anyone help? Thanks! Tag: Event ID: 2273 Tag: 388755
ASP did not working at IIS 5.0
My iis5.0 somehow was changed. All the code is not working now. One of errors
showed: Microsoft VBScript compilation (0x800A03FC)
Expected 'Next'
However this code worked fine before. It is not definitely syntax error. How
could I fix IIS setting? Thanks a lot. Tag: Event ID: 2273 Tag: 388753
can't see local SMTP server in IIS even though smtp is running
I configured a local smtp server in Windows 2000 Server which allows only
some users to send email remotely through authentication.
It works fine and it is running but when I open IIS console it's nowhere to
be seen.
How can I access its properties?
Thank you very much.
Gentian Tag: Event ID: 2273 Tag: 388751
how to check iis setting for asp
My iis setting somehow changed. The code did not work. How could I check
correct setting? Thanks Tag: Event ID: 2273 Tag: 388750
worker process and isolation mode
quite some time ago, when IIS 6 was released I read a great article about the
different deployment methods for IIS. It was short, consice and clear. I
think it as from the technet magazine but I am not completely sure. Today I
was reviewing II 6 and the information in Technet is vast, which is great,
but I need something that I can read quite quick. Is there such an article?
or in the other hand, could someone post briefly the different deployment
options with its advantages/use?
Thanks in advance Tag: Event ID: 2273 Tag: 388744
outlook express localhost iis 5.1
Hello,
I want to use locahost as my mailserver to test new webpages with
email....
I have setup up SMTP in IIS and wrote a page to send mail....but there
is no way to see if the (local) mail arrives....
I need some help here....if anyone knows more...pls help me out..
Thank you Tag: Event ID: 2273 Tag: 388741
VS 2005 and error on ISAPI loading
Guys,
I have made my first ISAPI.dll, but whenevr I try to load it in a
browser I get an error -2147467259 (0x80004005). I am not passing any
parameters to it, If you can please guide me in the right direction.
Any help will be appreciated.
Thanks! Tag: Event ID: 2273 Tag: 388737
Accessing Biztalk HTTP .dll returns 500
Any hints or tips you have for this C++ programmer in a mire of IIS and
networking are very much appreciated :D
I can't debug why I am getting 500's when trying to access, through a
virtual directory using Internet Explorer, C:\Program Files\Microsoft
BizTalk Server 2004\HttpReceive\BTSHTTPReceive.dll. According to the
MSDN link below I should be getting a blank page, with entries in the
Event Viewer for Biztalk.
I have previously had days of hassle with 403's and 401's trying to get
this working. For the 500 I get no errors in the Event Viewer. The IIS
log reveals nothing to me, it reads (using an existing virtual
directory, then one I created) :
2006-10-24 04:09:25 W3SVC1 MyServer 127.0.0.1 GET
/hwsmessages/BTSHTTPReceive.dll
|440|ASP_0116|Missing_close_of_script_delimiter 80 - 127.0.0.1 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322)
ASP.NET_SessionId=ytnfuq45fyyweu55jgg1dziz - localhost 500 0 0 615 377
15
2006-10-24 04:09:35 W3SVC1 MyServer 127.0.0.1 GET
/newhttprec/BTSHTTPReceive.dll
|440|ASP_0116|Missing_close_of_script_delimiter 80 - 127.0.0.1 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322)
ASP.NET_SessionId=ytnfuq45fyyweu55jgg1dziz - localhost 500 0 0 614 376
15
Following instructions from...
ms-help://BTS_2004/SDK/htm/ebiz_sdk_samples_yzhk.htm
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS_2004WP/html/ffda72df-5aec-4a1b-b97a-ac98635e81dc.asp
( Setting Up HTTP Receive)
and general googling I have triple checked that
- Administrator is a member of all the Biztalk and Internet related
groups
- The IIS Application Pool Identity, Web Sites' Anonymous Access and in
Windows Component Services the IIS COM+ services all use the
Administrator ID.
- IIS has Web Services extensions allowing access to that .dll. I
additionally allowed access to everything.
- All related NTFS permissions seem fine
- In the Local Policies I have enabled Success and Failure auditing for
both Logon options.
I think I tried everything except resetting the server and
throwing it out the window.
Thanks in advance :) Tag: Event ID: 2273 Tag: 388730
IISWebDirectorySetting (WMI)
We are trying to set the DirBrowseFlags of a IIsWebDirectory through aspx
page (Server side code) using WMI.
So far we tried this VB code but with no success:
Dim providerObj As Object = GetObject("winmgmts:// " & strWebServerName &
"/root/MicrosoftIISv2")
Dim vdirObj As Object = providerObj.get("IIsWebDirectorySetting='W3SVC/1/" &
strVirtualDirectoryName & "/" & strTemporaryDirectoryName & "'")
vdirObj.DirBrowseFlags = lngFlags
vdirObj.Put_()
At the moment we receive a "The system cannot find the path specified."
error on the following instruction:
Dim vdirObj As Object = providerObj.get("IIsWebDirectorySetting='W3SVC/1/" &
strVirtualDirectoryName & "/" & strTemporaryDirectoryName & "'")
The following code instead works perfectly:
Dim vdirObj As Object =
providerObj.get("IIsWebVirtualDirSetting='W3SVC/1/ROOT/" &
strVirtualDirectoryName & "'")
Why aren't we able to reference the settings of the IIsWebDirectory under a
virtual directory?
MSDN Library says that it is possible to configure the DirBrowseFlags
property at the following locations in the IIS metabase for IIsWebDirectory,
but it seems not to work:
/LM/W3SVC/n/ROOT/physical_directory_name
/LM/W3SVC/n/virtual_directory_name/physical_directory_name
Thank you! Tag: Event ID: 2273 Tag: 388728
javascript error
Friends,
Here's a problem that's confounded me. I've been putting together an
intranet site for a customer on a Win2K box. Up until a couple of weeks
ago, the site worked fine.. now when browsing to default.asp of the root
directory, I get the following:
Active Server Pages error 'ASP 0129'
Unknown scripting language
/wwwroot/inc_functions.asp, line 2161
The scripting language 'javascript1.2' is not found on the server.
The file (inc_functions.asp) has never once been changed since the site
was first deployed. It does have have a <script> tag after the asp code
ends, and the tag is <script language="javascript1.2" runat="server">.
Again, this never had a problem before, and on my local machine (XP Pro
with IIS), I don't get this error. Also, I don't know if it's relevant
in this case, but jscript.dll on my customer's server and jscript.dll on
my local machine are the same version. I am hoping someone has seen
this before and found a resolution. Any help you can give me will be
greatly appreciate.
Thank you in advance for any replies,
Sriram Tag: Event ID: 2273 Tag: 388727
Exchange Forwarder & OWA
As per a security auditor's recommendation, we're looking into installing a
Windows 2003 R2 server that I've built into our DMZ. Ideally I'd like this
box to have 2 roles.
1) Act as an SMTP forwarder between the outside world and our internal
Exchange server. I'm assuming that using the SMTP virtual server in IIS is a
good start. How do I set this up though and should something be done on our
Exchange server as well.
2) Have the same OWA config that we have currently on our internal Exchange
server and just have the version on this new server pass the credentials to
our Exchange server.
Any ideas? Thanks! Tag: Event ID: 2273 Tag: 388717
accessing site from outside of network impossible for me
Hi all,
I have a little network, two computers, one of them runs my site, when I
browse to it from my another machine it goes well and you can see the site
(by using http://IpAddress:port)
but when I browse to my site from outside of my network it runs and runs,
nothing happend and it does not showes the site.
Is it some configurations that I must do on my router? or what is it?
thanks. Tag: Event ID: 2273 Tag: 388706
Setting IIS for ASP 2.0
Hello, and thanks for your assistance in advanced. I am trying to configure
IIS for ASP.net 2.0. When I check the properties of the folder "Web Sites",
select the ASP.net tab, it says its using ASP 1.1. It will not allow me to
change anything there as it is grayed out. I can although change on each
individual web site.
Any Suggestions?
Thanks Again. Tag: Event ID: 2273 Tag: 388705
SSL V3
During an anylsis of our website it has come to our attention that we are
running SSLV2 and there are know flaws with it. The recommendation is to
change to SSLV3. How can I do this. We are running our websites on IIS. Tag: Event ID: 2273 Tag: 388704
IIS webdav editing .asp files
I am trying to setup IIS 6 to allow web developers to connect up to the
web root of a website via WebDav and work on site files including .asp
and .aspx files.
I have setup a website for this purpose in IIS. The home directory is
mapped to a local folder on the machine. Under the 'home directory' tab
all the permission boxes are checked ('script source access, read,
write, etc...). Execute permissions are set to 'scripts and
executables'. I've also removed .asp from the 'application extensions'
list accessed from the 'configuration' tab. Basic authentication is
turned on under 'directory security/authenticati on and access
control'. I do not have URLScan installed, so any filtering is by IIS
only.
This is all working as expected; I can mount the WebDav connection in
Windows Explorer and navigate, view and open/save files. I can also
access the website via a browser and browse directories/view browser
appropriate files, etc. The problem is that I cannot access any .asp
files at all. If I look in the logs for the website I get a entry for
the WebDav request (PROPFIND) with a 404 error. The file *is there* I
just can't access it. Other files (.html, .css., .jpg, etc.) work fine.
What can I enable/disable in IIS to make this work?? I have spent hours
on this already and about to give up. Tag: Event ID: 2273 Tag: 388702
IIS 6.0 SMTP Gateway Corrupting Mail
I have a problem using the IIS 6.0 SMTP gateway under windows 2003. If a
message is submitted that has a string longer than 72 characters without any
whitespace characters, AND the 71st character is a period, the period is
being removed by the smtp gateway.
I am assuming it has to do with the algorithm for truncating long lines in
accordance with the ietf smtp standards.
I have forced a mail gateway failure by sending to a invalid account to be
able to look at the mail in the badmail directory at the file and can verify
this.
The mail is being sent in HTML format, and the following occurs:
<img
src=http://www.somewhere.xyz/firstlevel/secondlevel/images/thisgraphic.jpg>
becomes
<img
src=http://www.somewhere.xyz/firstlevel/secondlevel/images/thisgraphicjpg> Tag: Event ID: 2273 Tag: 388701
IIS 6.0 Crash Dump Analysis Help
We have a webserver (99% ASP pages) that crashes from time to time and
I have not been able to determine a pattern. I have noticed that the
w3wp.exe hangs when the IIS crashes. Once the w3wp.exe is killed the
IIS is up and running.
Here is some analysis of the DUMP file that I have done:
0:080> kb
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following frames may
be wrong.
0769fc08 7c839620 00000000 00000004 00000000 ntdll!KiFastSystemCallRet
0769fc28 7c81a86c 7c889d94 00000000 7ffd4000
ntdll!RtlAddressInSectionTable+0xda
0769fcb8 7c81b22d 0769fd28 0769fd28 00000000
ntdll!RtlGetCurrentDirectory_U+0x1d2
0769fd14 7c82ec2d 0769fd28 7c800000 00000000
ntdll!RtlSetUserValueHeap+0x24c
00000000 00000000 00000000 00000000 00000000
ntdll!KiUserApcDispatcher+0x25
0:080> !clrstack
No export clrstack found
0:080> !.\clr10\sos.ClrStack
Failed to load SOS data.
Thread 80
Cannot get the ThreadStore, do you have symbols for the
mscorwks/mscorsvr files?
Not a managed thread.
I went through the IISState log and figured out that the thread 80 is
waiting on "15d0"
Thread ID: 80
System Thread ID: 1014
Kernel Time: 0:0:0.0
User Time: 0:0:0.0
Thread Status: Thread is in a WAIT state.
Other information: Thread is waiting for a lock to be released.
Looking for lock owner.
Owning thread System ID: 15d0
Thread Type: Other
# ChildEBP RetAddr
00 0559fbc8 7c822124 ntdll!KiFastSystemCallRet
01 0559fbcc 7c83970f ntdll!NtWaitForSingleObject+0xc
02 0559fc08 7c839620 ntdll!RtlpWaitOnCriticalSection+0x19c
03 0559fc28 7c81a86c ntdll!RtlEnterCriticalSection+0xa8
04 0559fcb8 7c81b22d ntdll!LdrpInitializeThread+0x68
05 0559fd14 7c82ec2d ntdll!_LdrpInitialize+0x16f
06 00000000 00000000 ntdll!KiUserApcDispatcher+0x25
The information for thread "15d0" is
Thread ID: 77
System Thread ID: 15d0
Kernel Time: 0:0:0.31
User Time: 0:10:18.296
*** WARNING: Unable to verify checksum for
C:\WINDOWS\system32\PICN20.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for C:\WINDOWS\system32\PICN20.dll -
Thread Type: Other
# ChildEBP RetAddr
WARNING: Stack unwind information not available. Following frames may
be wrong.
00 04f9fbc4 05e45fbb PICN20!PegasusCB+0x6e4
01 04f9fc1c 7c81a802 PICN20!PegasusCB+0x4f4
02 04f9fcb8 7c81b22d ntdll!LdrpInitializeThread+0x10d
03 04f9fd14 7c82ec2d ntdll!_LdrpInitialize+0x16f
04 00000000 00000000 ntdll!KiUserApcDispatcher+0x25
PICN20.dll is a Pegasus dll that acts as a dispacher for win32.
Could "PICN20.dll" be the cause for the crash ?????
How do I confirm this? What are the next steps that I have to take to
fix this issue? Please guys help me out. Tag: Event ID: 2273 Tag: 388700
4Gb Memory Limit
Dear readers,
Hopefully you can help us with below stated problem.
At the moment we are running a Windows 2003 Enterprise server that is
functioning as a Webserver. Lately we receive numerous complaints about
"Server to busy" error messages. After a diagnose we found out that the
2Gb memory we have installed in the server is insufficient. The first
thing we want to do is add more memory and here is the problem we are
facing. Will IIS make use of more than 4Gb of RAM? We read about the
4Gb memory limit Win2003 has for each application, but does this also
count for each W3WP process? Or do all W3WP share the same 4Gb? If I'm
correct each application pool has it's own W3WP process? Or is it
sufficient to add the /PAE switch in the Boot.ini and we don't have to
worry about this 4Gb Memory Limit for IIS?
Many thanks for your time,
R=E9my Samulski (Maastricht University) Tag: Event ID: 2273 Tag: 388698
ftp setup
hi all,
i have setup my IIS folders as follows below
F:\data\wwwrooot\wwwroot\aais.com.au
i have created a user as per the domain names
aais.com.au (profile local path to
F:\data\wwwrooot\wwwroot\aais.com.au)
when i attempt to log the user aais.com.au in, i get
User (aais.com.au:(none)): aais.com.au
331 Password required for aais.com.au.
Password:
530 User aais.com.au cannot log in, home directory inaccessible.
Login failed.
can someone advise as to what i have missed here? permissions? (this is
NOT AD server)
thanks Tag: Event ID: 2273 Tag: 388697
Problem with deploying ASP.Net Web Application to IIS
I've been working for a while on a custom WebDav server in ASP.Net. Its
purpose is to publish resources from locations different than usual
physical filesfolders. Example of such a server is SharePoint if Im not
wrong. You can map a network drive to a web page (i.e. httpserverpage )
and browse and modify the contents of some database from IE directly on
the server, which is very convinient.
The implementation is based on IHttpModule - the requests made to the
server are handled that way.
I've been developing and testing it from within Visual Studio 2005.
A few weeks ago I tried to deploy the server to IIS, and I faced a
problem I cant solve for about a week.
When I mount a server hosted by ASP.Net Development server 8.0.0.0,
everything works fine - I can browse and modify the contents from IE as
well as from other WebDav Clients (for example DavExplorer).
When I mount a server deployed to IIS, the mount process seems to
succeed, but Im getting an error while trying to see the contents of
the Network Drive. At the same time DavExplorer (WebDav Client) works
fine with IIS server and lists the contetns and allows you to modify
them.
Here is a screenshot of how do My Network Places look like. From it
you can see the difference between a ASP.Net Dev Server (Drive on
localhost) and IIS (Drive on IIS server) hosting of my custom WebDav
server. Also what's important - is that the properties of the ASP.Net
dev Server folder refer to httplocalhost1515Drive when the properties
of IIS folder refer to 13.14.15.16Drive (IP address changed). So in
case of IIS hosting IE thinks that the target is a usual network folder
and do not use webDav protocol to communicate with the server.
[URL=httpimageshack.us][IMG]httpimg85.imageshack.usimg857026screenshotca4.jpg[IMG][URL]
The error im getting while trying to look in contents of IIS hosted
server looks as follows
[url=httpimageshack.us][img]httpimg109.imageshack.usimg1095424screenshot2lw8.jpg[IMG][url]
So my guess is that for some reason IE does not use WebDav protocol
for a communication with my server after the driveis mounted. And the
cause of that is probably some IIS configuration, which - I can not
understand.
any help is greatly appreciated
Sorry my crappy english )
Best Regards
Anton Tag: Event ID: 2273 Tag: 388695
ssl certificate ERROR Common Name
Hi,
Any problem with ssl server certificate >> common name ?
On the server Fedora/Linux/, I use the ENSIM devise.
In the SSL settings : I ask to Generate SSL Certificate.
Each time in the common name : there is an error :
"
* Result : Incorrect Common Name entered!
* The Common Name is the fully qualified domain name used for DNS
lookups of your server. This information is used by the browsers to
identify your web site. If you change your hostname, you will need to
request another Digital ID. Client browsers connecting to you host will
check for a match between your Digital IDs Common Name and your URL.
For more detailed information, please visit
http://digitalid.verisign.com/server/help/hlpEnrollServer.htm
"
Error with :
http://IP
http://www.website.com
www.website.com
website.com
Always the same error. Would you have any idea ?
Many Thanks
Henry Tag: Event ID: 2273 Tag: 388692
Path 'POST' is forbidden
Hi all,
I have a basic set of static XML documents, each with its own XSLT
processing instruction. A main index file (also XML) hyperlinks to all
of the individual XML files after the transformation to give a
structure thus:
index.xml => file1.xml
=> file2.xml
=> file3.xml
Each linked-to file also has hyperlink to 'go back' to the original
index file for ease of use of the system.
My problem is that some users experience a problem when clicking the
'back button' in the web browser to return to the index file from the
individual file, rather than the 'back' link I added for them:
System.Web.HttpException: Path 'POST' is forbidden. at
System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext
context) at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
The only difference on the client side that I can see is that the
problematic users have the .NET Framework 2.0 installed, and the others
do not. All are running Windows XP SP2 with .NET 1.1 and using MSIE
6.0.
Does the use of the brower's 'back' button force a POST instead of a
GET in some instances? I do not wish to add any more verbs to the XML
file type in IIS if possible.
I should also add that all of the XML documents being accessed are
protected by forms authentication, requiring the user to log into the
system before they may be accessed.
Regards,
Marc Tag: Event ID: 2273 Tag: 388691
ncsa statucode 304
hi all,
anybody can tell me what it's mean for status 304 in iis logs with ncsa
format?
thanks.
zhanng Tag: Event ID: 2273 Tag: 388690
Static URLs from dynamic links
Hi All,
I know that there is a way to transform dynamic urls, for example:
www.someurl.php?param1=value1¶m2=value2 into static urls like
www.someurl.php/param1/value1/param2/value2
My question how can i do it in ASP?
Thanks,
Raanan
http://www.infoservicesonline.com Tag: Event ID: 2273 Tag: 388687
Using Personal Web Server to test a Web application
Hello everyone, I'm new here. I'm currently developing a web application
written in Perl. I am doing the local testing on a Windows 98 machine using
the Activestate release of Perl 5.8.8 and the online testing on a Linux host.
However, it would be convinient if I could run a web server application on
Windows and do my local testing on that. I've heard that there is a scaled
down version of IIS called PWS that is included on the Windows 98 disk and
that it supports ASP. What I need to ask is:
1. Is there somwhere I can find information about how to connect the Perl
interpreter to the ASP engine of PWS, so I can run my Perl code embedded in
ASP pages?
2. Do Microsoft provide a download of the version of PWS designed for
Windows 98, because I've lost the install disk?
Any help appriciated.
Steven. Tag: Event ID: 2273 Tag: 388686
IIS 6.0 - IISCertDeploy.vbs - Default value for -q Parameter
Hi,
I am using the IISCertDeploy.vbs in my project for installing
certificates in IIS.
The documentation says - "-q <ON|OFF> : quiet mode, allows silent
overwrites when file exists" & vbCrLf & _or when site has certificate
installed; default is OFF" & vbCrLf & _
But the code initialization has it as g_dictParms(L_SWITCH_QUERY) =
"ON".
When I invoke the file as cscript.exe //B //NoLogo "C:\Program
Files\<ProductName> \Common\IISCertDeploy.vbs" -c
"\\<fileshare>\Filename.pfx" -p password -i w3svc/1 -q ON
Its asking for the confirmation - Certificate already installed,
replace with new one?
When I invoke the file as cscript.exe //B //NoLogo "C:\Program
Files\<ProductName> \Common\IISCertDeploy.vbs" -c
"\\<fileshare>\Filename.pfx" -p password -i w3svc/1 -q OFF
It isn't asking for the confirmation. Should it behave the other way.
Thanks,
Loonysan Tag: Event ID: 2273 Tag: 388685
Cast problem
Hi,
I wrote a program in ASP.net with IIS 5.1 using VB programming
language. When I transferred a site in a server which uses IIS 6, I had
some mistakes. One mistake is in that instruction:
v_xml = v_xml + "<id>" + CStr(reader1.GetSql32(0)) +"</id>"
This instruction works well in IIS 5.1 but In IIS 6 gives an error of
cast.
I tried a lot of other functions than CStr but I had every time the
same problem.
Thanks for your answers,
Regards,
Djamila. Tag: Event ID: 2273 Tag: 388683
rasautou.exe
after closing out dial up internet I get this rasautou.exe memory error that
must close when you close it dial up pops back up close it out rasautou.exe
pops up its a continuois problem that I do not know how to correct I know its
a microsoft auto dialer but what is the problem and how do I fix it? any
recommendations would be appreciated.
--
vikilynne63 Tag: Event ID: 2273 Tag: 388678
IIS6.0 Web Service on Windows 2003.
Hi
I have a virtual pc setup to run windows 2003. I have deployed a web
service in a folder
c:\Sites\WebService\WS1
I tried to run the asmx file from the browser, it gives a file not
found error.
On viewing the source code of that page, I could find that it throws a
DirectoryNotFoundException at
"c:\inetpub\wwwroot\WS1\WS1.asmx"
This is wierd as i had specified the virtual directory's path as
c:\sites\WebService\WS1.
Do note that I have enabled ASP.NET 1.4.1 webservice extensions enabled
in my box.
Also I have got requierd permissions i all the necessary folders.
I find it really strange as i wasnt expecting a
DirectoryNotFoundException
Any help would be really appretiated
Cheers
Prabu Tag: Event ID: 2273 Tag: 388677
DemandADate-females earn $44 per date/up to $4000 a month
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<P>New way of online dating. Free sign-up. </P>
<P> We are a growing company. </P>
<P>The only reliable way to date online.</P>
<P>Sign up at <A
href="http://www.demandadate.com">http://www.demandadate.com</A></P>
</BODY>
</HTML> Tag: Event ID: 2273 Tag: 388671
debug webapp on remote server
I developed a web app and it runs okay on my development box. (I have Visual
studio 2005)
I deployed it to a server and it doesn't work.
Can I debug and see whats going on , on the remote box.
The remote box doesn't have visual studio installed. Tag: Event ID: 2273 Tag: 388669
.cfm to .aspx mapping no longer works after upg to .Net2.0
Hi,
We have a web application that contains a legacy page
with the .cfm file extension. The page contains an inline
.Net c# script. We have an application configuration
mapping in IIS that maps the .cfm extension to the .Net
ISAPI:
c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll
We have a httphandler set up in the web.config file thus:
<httpHandlers>
<add verb="*" path="*.cfm" type="System.Web.UI.PageHandlerFactory"