DSN error
I am not sure if this is the newsgroup that I wanted but
maybe someone can help me.
I have recently encountered a problem accessing many web
pages that I have been able to get before. A lot of the
time they are pages that have secure areas.
Every time I try to go to that page I get the DSN error,
the page is unavailable. I have tried many different
things to get these opened but am not able to
Does anyone know what could have happened that I am not
able to get these pages open? Tag: catalogs are taking up too much disk space Tag: 319797
IIS Admin Service fail to start
Hi,
we have problem with services on Win2000 Server. We have large number of
servers with same configuration and HW. Sometimes after server is
rebooted, service IIS Admin fail to start. On IIS Admin depends a lot of
other services which also fail. In logfile is this error message
EventID 7009: Timeout (30000 milliseconds) waiting for the IIS Admin
Service service to connect.
When I try to start IIS Admin manualy this error appears:
Could not start the IIS Admin service on local computer
Error 1053: The service did not respond to the start or control request in
a timely fashion
In this time (after reboot) I can't manage any other services. I can't
stop, start, reboot any service. I also can't install hotfixes
(installation stops on "Inspecting computer..." state). We use autoexnt
service for some other operations with services after reboot. This service
is in state "stopping" and doesn't respond.
The problem appears on Windows2000 Server with SP2 and also with SP4. I
can't find where is problem. I know only one temporary solution: Restart
server so often(usually 3 times), when all services start correctly. But
when server is then rebooted again, the problem appeaes sometimes again.
Thank you for your help.
--
Miroslav Dolecek Tag: catalogs are taking up too much disk space Tag: 319794
Error 1933
I keep getting the Error 1933. This setup requires
Internet Information Server 4.0 or higher for configuring
IIS Virtual Roots. Please make sure you have IIS 4.0 or
higher.
When trying to use or install Jasc PaintShop Pro 8 or
8.01. Now I have been using this for over a year now and
have never had this problem before. Could someone help me
resolve this problem or tell me where I can go to get a
resolution, please?
Thanks in advance
Mel Tag: catalogs are taking up too much disk space Tag: 319790
Read application variable from outside of IIS
Is there a way in theory to read an IIS application variable from outside
of the IIS process?
Specifically, I need to store data in an application variable, and then
poll that variable at an interval to retrieve the data and transfer it to a
database.
My plan would be to write a VBScript routine to poll the app var, and then
schedule it using scheduled tasks, although creating a service to
accomplish the task would probably be a better idea.
I'm open to any suggestions, and am competent in vb, vbscript, javascript,
and perl. Something tells me I'm going to need C++ for an effective
solution, but I hope I'm wrong...(I want to learn it, but don't have time!)
TIA,
Ziggy Tag: catalogs are taking up too much disk space Tag: 319789
Indexing Service Help Needed
I am trying to index a directory on a remote computer using the Indexing Service. Whilst I am able to set up a new catalog, when I run the index service only two files (I don't know which two) are getting indexed (when there are 100,000 documents on the server)
Does anyone have any pearls of wisdom to help here? I haven't chosen to exclude any directories from the catalog
Thanks so much to anyone that can help
Rachael Tag: catalogs are taking up too much disk space Tag: 319786
IIS Snap-in failed to initialize
Snap-in failed to initialize Name Internet Information
Services (IIS) Manager CLSID A841B6C2-7577-11D0-BB1F-
00A0C922E79C Tag: catalogs are taking up too much disk space Tag: 319784
IIS Virtual Folders Expiring
Does anybody here knows what could cause a virtual folder definition
to diseappear suddenly?
Every once in a while, all virtual folders I've defined in this IIS
website get erased and, naturally, stop working.
Any idea? Tag: catalogs are taking up too much disk space Tag: 319780
application pool
I have an instance of iis 6.0 installed. In my research,
I found these instructions: "To determine which
application pool is used by the report server, open IIS,
expand Web Sites, expand Default Web Site, right-click
Report Server, and then click Properties to view the
value for application pool (the default value configured
during setup is DefaultAppPool). To determine the
identity that is used by the application pool, open IIS,
expand Application Pools, right-click a pool (for
example, DefaultAppPool), and then click Properties.
Click Identity to view or modify the identity used by the
application pool." I've looked all over the tabs in the
properties page to find the application pool value with
no success. Can someone point me in the right direction?
Thanks in advance. Ron Tag: catalogs are taking up too much disk space Tag: 319778
How to determine version of IIS on server
We are running a Windows NT 4.0 Server with Service Pack
6. When the server was initially put together (5 years
ago), IIS was not loaded, so we use the NT 4.0 Option Pack
to load IIS. I am sure that the version of IIS was 4.0,
but we think it had to be upgraded because of security
issues or virus. I am trying to find out how I can tell
what the version of IIS that's installed. Can anyone help? Tag: catalogs are taking up too much disk space Tag: 319777
Duplicate name exists on the network
Hi
I've one problem with IIS in NT 4.0 server, when i add a new domain for a website, the system display a message like "a duplicate name exists on the network". What i do? can somebody help me? I'm a begginer in Windows environment!
tank's
Wellington Vita
PS: My apologies for my poor english, it's bad because i don't speek this language! Tag: catalogs are taking up too much disk space Tag: 319771
Intermittent 401 results on GET method (IIS 5.0)
Hi.
I'm getting intermittent 401 errors in IIS 5.0 logs on a
W2K SP3 server. Consecutive GET methods, often within the
same minute and for what looks like the same user, return
HTTP 200 results (status ok), then there are intermittent
HTTP 401 results. Websites are using Windows Integrated
authentication (not Kerberos). When the GET method returns
401, the DOMAIN\user is replaced with "-". Then a
subsequent GET method works ok again (see below):
2004-01-12 07:25:05 111.1.111.1 DOMAIN\jsmith 222.2.222.2
80 GET /Common/css/main.css - 200 Mozilla/4.0+
(compatible;+MSIE+5.5;+Windows+NT+5.0;+BCIE55SP1;+H010818;+
.NET+CLR+1.0.3705)
2004-01-12 07:25:05 111.1.111.1 - 222.2.222.2 80
GET /Common/scripts/LeftNavtree.js - 401 Mozilla/4.0+
(compatible;+MSIE+5.5;+Windows+NT+5.0;+BCIE55SP1;+H010818;+
.NET+CLR+1.0.3705)
2004-01-12 07:25:05 111.1.111.1 DOMAIN\jsmith 222.2.222.2
80 GET /Common/images/logo.gif - 200 Mozilla/4.0+
(compatible;+MSIE+5.5;+Windows+NT+5.0;+BCIE55SP1;+H010818;+
.NET+CLR+1.0.3705)
I came across this when I noticed that "-" was far and
away the top authenticated user in the Sawmill site stats.
Websites are on intranet.
Thanks for any advice.
Martin Tag: catalogs are taking up too much disk space Tag: 319768
IIS won't run after power fail
Whilst moving the office around I accidently (and stupidly) killed the power to my 2k workstation which is acting as a temporary intranet server. Now when I try to access the intranet I get the default IE page - can not find the server etc. I've checked in Inetput wwwroot and the pages are there and o.k. I'm getting event log messages such as
The Simple Mail Transport Protocol (SMTP) service terminated with the following error:
The data area passed to a system call is too small.
The FTP Publishing Service service terminated with the following error:
The data area passed to a system call is too small.
Unable to collect the FTP performance statistics. The error code returned by the service is data DWORD 0.
Unable to query the IIS Info service performance data. The error code returned by the service is data DWORD 0.
I guess these are all part of the problem but I don't know how to resolve them :-
Any advice very much apreciated
Gareth Tag: catalogs are taking up too much disk space Tag: 319767
Service Unavailable in IIS 5 (Windows 2000)
Hi there
We have a Windows 2000 server which is part of a Windows 2000 domain running Exchange 2000 OWA on IIS 5.0. Our public folders and mailboxes are located on a separate server
Periodically, when browsing public folders I can successfully browse the public folder structure, but when I select to view a folder OWA reports: HTTP/1.1 503 Service Unavailable.
All mail related parts of OWA continue to work and after a few minutes I am able to view public folders again
I have checked the event logs, but can see no errors relating to this problem. We are running the latest Windows and Exchange service packs
Any suggestions appreciated
Thanks
Adrian Tag: catalogs are taking up too much disk space Tag: 319765
IIS on Windows XP Home OS?
I would like to run a ColdFusion MX application server on my new PC having a Windows XP Home OS. To do so I need to configure IIS by adding the appropriate IIS application mappings for ColdFusion MX. I know IIS is not part of the standard XP Home configuration, but does anybody know if IIS can be installed on this OS and if so, how this can be done
Or is IIS only running on Professional or Advanced Server operating systems?
Thanks for your support Tag: catalogs are taking up too much disk space Tag: 319761
changing user
hi,
in ASP code, I open a cmd program in a window, it's OK with
server.createObject ("wscript.shell")
But in this window, the command 'set' indicate 'user profile=default user'
and I can't running a administrator program in this windows
how to open a cmd window with administrator user ? (security is not a
problem)
Thank, and sorry for my english...
eric.andre@oreka.com Tag: catalogs are taking up too much disk space Tag: 319758
DLLHOST page faulting badly
Can anyone shed any light on why our DLLHOST might be page faulting badly?
We have a lot of physical memory (1.5 G), and we never seem to get very low.
However, DLLHOST is clocking up an alarming number of SOFT page faults.
According to pfmon, by far the majority of these appear to be in:
QueryPathOfRegTypeLib + 0x1809
...which doesn't help me much.
We're using W2K and IIS 5. Our ASP application involves a resource hungry
VB6 component that we expect to use some hundreds of Mbytes. However, we
can't explain why its clocking up millions of page faults when so much
physical memory is available.
I've seen several other threads asking about DLLHOST page-faulting but
couldn't see any responses that helped explain what's happening. Does IIS
artificially constrain the working set size of DLLHOST at all?
Tony Proctor Tag: catalogs are taking up too much disk space Tag: 319757
Truncated Unicode fields in IDC/HTX pages
Hi,
I found that Unicode fields are truncated to 40 characters when inserted in
a HTX page. I made the tests with SQL 7 and SQL 2000 on the same machine as
IIS. This behaviour is present in IIS 4 and 5.
If I convert the field to ANSI with CAST or CONVERT then the field is
inserted with full length.
I'd like to know who is responsible for this behaviour (SQL Server,
httpodbc.dll or IIS), where the 40 come from (it's a setting ?) and, of
course, how to get rid of the limitation.
Thanks,
--
Eduard Ungureanu
A-E Electronics
eduardu@aee.ro Tag: catalogs are taking up too much disk space Tag: 319756
IISSate 3.3 Dump file.
Hello All,
Following mass IIS crashes we decided to try this util.
We executed the util and manually crashed the IIS so we can see what the
dump file looks like...
example of the cmd we ran: iisstate -p 1234 -sc -d
A log file was created mentioning the *.dmp file - but we could not locate
this dmp file.
Anyone knows why it was not created?
Thanks!
* Win 2K server (IIS 5.0) , SP4.
* We executed it as local admin, NOT using terminal. Tag: catalogs are taking up too much disk space Tag: 319755
SMTP authentication question
Hi all, I don't know if this is the right newsgroup
but....
Using Windows 2003 Web server edition with the default
SMTP and POP3 services running (i.e. no Exchange server
anywhere), I can receive emails and pull them off using
Outlook. Spam relaying doesn't work due to setting the
SMTP properties.
I know need to have the users send email from the SMTP
server rather than use the local ISP and have tried to
set the SMTP properties to 'relay is authenticated' but
this doesn't actually send even though Outlook is set
to 'required logon'.
My question is can the default Windows 2003 SMTP server ,
whilst running as a normal receiving SMTP server, deal
with authenication with Outlook clients and if so how ?
Many thanks
Adrian Tag: catalogs are taking up too much disk space Tag: 319754
Receiving incoming emails and redirecting them
I have a web server (www.mywebserver.com). I would like to set up a
system to receive emails sent to e.g. support@mywebserver.com, so
users of the web site have an address that is easy to remember to be
able to contact us on.
I would then like these to automatically redirect these to another
email account (say user_who_deals_with_support@mycompany.com).
The web server runs Windows 2000 and IIS 5. Does anyone have any
recommendations for how to implement this? Is it necessary to install
Microsoft Exchange, or are there cheaper alternatives?
Thanks,
Richard Tag: catalogs are taking up too much disk space Tag: 319753
Error while lookup free/busy status of an Exchange Accoutn via asp
Hi
Can anyone help me by look up the free/busy calendar
status of an exchange account via asp?
I always get an error "CDO.Addressee.1 (0x80070490)
Element not found" in the folowing line:
strFreeBusy = iAddr.GetFreeBusy(#1/12/2004 09:00:00 AM#,
#1/12/2004 15:00:00 PM#, 30)
Code is at the end of the Message!
I do not find anything about this error, can somebody
help me with that!
Thanks a lot
Sebastian
<%@ Language=VBscript%>
<%
Sub PrintStatus(strStatus)
Select Case strStatus
Case "0" 'Free
Response.Write "<TD>Free</TD></TR>"
Case "1" 'Tentative
Response.Write "<TD>Tentative</TD></TR>"
Case "2" 'Busy
Response.Write "<TD>Busy</TD></TR>"
Case "3" 'Out Of Office
Response.Write "<TD>Out Of Office</TD></TR>"
End Select
End Sub
UserName = "sebastian.roth"
DomainName = "xxx"
ServerName = "xxx"
strStartTime = #1/20/2004 7:00:00 AM#
strEndTime = #1/20/2004 11:00:00 AM#
iInterval = 30
Set iAddr = createobject("CDO.Addressee")
iAddr.EmailAddress = UserName & "@" & DomainName
hallo = iAddr.CheckName ("LDAP://" & ServerName)
response.write iAddr.DirUrl+"<br>"
response.write iAddr.EmailAddress
strFreeBusy = iAddr.GetFreeBusy(#1/12/2004 09:00:00
AM#, #1/12/2004 15:00:00 PM#, 30)
Response.Write "<Table Border =1>"
For i = 1 To Len(strFreebusy)
If i = 1 Then
Response.Write "<TR><TD>Start Time</TD><TD>" &
strStartTime & " ~ </TD>"
Elseif i = len(strFreebusy) Then
Response.Write "<TR><TD>End Time</TD><TD>" &
strEndTime & " ~ </TD>"
Else
Response.Write "<TR><TD>.</TD><TD> + " & iInterval
& " min ~ </TD>"
End If
Call PrintStatus(Mid(strFreebusy, i, 1))
Next
Response.Write "</TABLE>"
Set iAddr = Nothing
%> Tag: catalogs are taking up too much disk space Tag: 319752
Modify IIS log properties via script
IIS 5 on W2k server.
I would like to modify/remove/set IIS properties programmatically.
I found this code on MSDN:
==========================================
Dim CurrServer
Set CurrServer = GetObject("IIS:/LocalHost/W3svc/1")
CurrServer.LogExtFileBytesSent = True
CurrServer.SetInfo
==========================================
However when I try to run this code in a VBS file (I log on machine as
Administrator) I obtain
this error:
==========================================
Windows Script Host
Script: C:\Log.vbs
Line: 2
Carachter: 1
Error: 0x80005000
Code: 80005000
Origin: (null)
==========================================
I can run this type of script instead:
==========================================
Set obj3 = GetObject("IIS://LOCALHOST/W3SVC/1/Root")
Obj3.AccessFlags = 513
obj3.SetInfo
==========================================
How can I obtain the first script to run?
Any help much appreciated
Regards.
--
Fabrizio Maccarrone
--
YAMSSQLU
(Yet Another MSSQL User) Tag: catalogs are taking up too much disk space Tag: 319749
Windows 2003 FTP configuration
How To cofigure FTP
1 The Server has Exchange 2003 + AD
2 No Anonymous (only 2 users, I and my partner)
3 Port 1852
4 The shared folder is E:\FTP=20
I have problem whith IE 6.0 i can log in, but i don=B4t se=20
any folders or files Tag: catalogs are taking up too much disk space Tag: 319748
Getting ASP & Databases to work on IIS6
Hi
Can anyone tell me what I need to have enabled in IIS6 to
allow ASP and FrontPage based Access databases to work
correctly??
I have installed ASP, ASP.Net, as well as FPServer Exts
2002 but don't get any database results returned even when
using the FP sample database (NorthWind).
Any ideas would be appreciated.
Sim Tag: catalogs are taking up too much disk space Tag: 319740
How do I replicate IIS and SQL to another data center real time?
I run a data center where we use IIS and SQL 2000. I want to replcate
this server to another geographical location. Has anyone been
successful at this?
Thanks, Jane Tag: catalogs are taking up too much disk space Tag: 319728
Setting default web site for .msi install
I have a .msi web installation. I deleted the default web
site, created about 5 new web sites all with host
headers. I then created a new website with a blank host
header.
The .msi package installs a virtual directory during
installation, however, the installation seems to install
the virtual directory only to the first web site in the
list... not the one with a blank host header. How do I
control which site is the default for .msi web packages.
We are using vs.net to build the web deployment package.
Thanks in advance. Tag: catalogs are taking up too much disk space Tag: 319727
Com+ Server Application Shutdown script
Is there an Object that I can leverage from within WMI to shutdown a Com+
Services Application. I'm looking for a way to update a Server package (copy
the new .dll) by using a script to shut it down vs a Library package and
having to recycle IIS.
Thanks Tag: catalogs are taking up too much disk space Tag: 319725
Newbie Question: Do I have to load a Web Server
I am going (trying is a better word) to attempt to create a cd that holds a complete web site for my book business. I would like for the web pages to access my book database and display graphics and information about the book. Is there a way to get full frontpage functionality without loading iis? Or can iis be loaded in memory from my cd just to run my web page? Tag: catalogs are taking up too much disk space Tag: 319717
Memory Requirement
We are going to set up a Windows 2003 Server running IIS
for our intranet.
The size of the web site is estimated to be around 800MB.
And there are around 150 concurrent users at our site.
We would like to know is there any general guideline on
the amount of memory to be installed on the Server. Tag: catalogs are taking up too much disk space Tag: 319714
LogParser 2.1 COM object cursor as input
I posted this to microsoft.public.win2000.cmdprompt.admin on January
5, where I was advised to "try re-posting in a WSH or SQL newsgroup".
I posted to microsoft.public.scripting.vbscript on January 6 and was
advised to post here, where "... the logParser dudes hang out." So
here goes...
I'm using LogParser 2.1 as a COM object under W2K SP4 via VBS scripts.
I'd like to be able to execute Log Parser on a first pass to obtain a
record set and then pass that cursor back to Log Parser as *input* for
a second query.
Here's a very simple example just for illustrative purposes:
Dim Wshso, oEvtLogQ, strSQL, strSQL2, oRS, oRS2
Set Wshso = WScript.CreateObject("WScript.Shell")
Set oEvtLogQ = WScript.CreateObject("MSUtil.LogQuery")
'count all SysLog 6005 incidents
strSQL = "SELECT COUNT(*) FROM System WHERE EventID = 6005"
Set oRS = oEvtLogQ.Execute(strSQL)
'display the count
MsgBox oRS.GetRecord().getValue(0)
Set oRS=Nothing 'clear oRS for reuse
'redo the same query in two parts
'select all SysLog 6005 incidents into oRS cursor
strSQL = "SELECT EventID FROM System WHERE EventID = 6005"
Set oRS = oEvtLogQ.Execute(strSQL)
'display the first record to confirm the query returned something
MsgBox oRS.GetRecord().getValue(0)
'count all SysLog 6005 incidents using oRS cursor as input
strSQL2 = "SELECT COUNT(*) FROM " & oRS & " GROUP BY EventID"
Set oRS2 = oEvtLogQ.Execute(strSQL2)
'display the count
MsgBox oRS2.GetRecord().getValue(0)
The first two queries complete successfully and the message boxes
display normally. The third query returns an error and points to the
strSQL2 assignment line:
Error: Object doesn't support this property or method
Code 800A01B6
What would be the correct syntax to use the oRS cursor as input to the
second query?
LogParser is a wonderful tool. (Kudos to the team that developed it.)
Being able to use cursors in VBS scripts would allow me to use it as a
"pocket" SQL engine to perform virtually any conceivable analysis of
any line-record log file. (Without the use of cursors, the same
analysis could still be performed, but the intermediate query results
would need to be saved to files.)
regards, Andy
**********
Please send e-mail to: usenet d0t post at aaronoff d0t com
********** Tag: catalogs are taking up too much disk space Tag: 319710
Windows 2003 server - required login for .net pages
Hi all,
I am using Windows 2003 server with IIS6.
I have a web site (default) that has a .net web application as a
sub-web. Each time I try to access any of the pages of the .net site,
I am asked to enter a username & password. If I click the cancel
button, it allows me to see the requested page anyway. The application
is utilising an sql database that resides on another Windows 2003
server machine.
Is there any way of disbling this login request?
Thanks in advance,
Ben. Tag: catalogs are taking up too much disk space Tag: 319707
IIS 6.0 Error 400
I am using IIS 6.0 on Windows 2003 Server and have
Software Update Server application also installed.
Everything was working fine up til friday and now it keeps
giving me an error 400. ( Bad Request ), something with
the hostname is wrong. I checked to make sure and IIS 6.0
seems to be running but I know that is where the problem
is because I tried using Wfetch on it and it gave me the
same error.
Anyone know what happened that would give me this error.
Thanks,
Dharmesh Patel Tag: catalogs are taking up too much disk space Tag: 319700
IIS Webcast Series: Thursday Jan 15th...
Hello all ~
The IIS Webcast Series continues this week with a very important delivery.
In response to heavy PSS and customer data, we'll be discussing how to avoid
IIS service failures for IIS 4, 5, and 6. This Webcast will focus it's
delivery on how an administrator, not a developer, can avoid the pitfalls of
poorly designed Visual Basic components. Configuring IIS for Misbehaving
Visual Basic components is a must attend if your environment includes any
usage of Visual Basic components.
We recommend you attend live to benefit from the live question and answer
session, but the session is available for download as well after the event.
Event Information:
When: Thursday, January 20th at 9:30 AM
Where: Your DESK!
Registration:
http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032241725&Culture=en-US
See future topics at www.microsoft.com/webcasts.
Thanks, Tag: catalogs are taking up too much disk space Tag: 319697
multi-site https pattern question
Hi
We have numerous sites residing on a web farm behind an F5
load balancer. We determine the site, to which the client
gains access, using hostnames.
Now we would like to use https across SOME of the sites.
What is the best design pattern for this? E.g. Where do
the certificates reside, and moreover, which is the best
way to do the https redirect when the clients access the
site via http?
At present, the F5 is doing the encryption/decryption and
thus the web sites are unaware of whether http or https is
being used. Furthermore, an https request causes a dialog
box to pop up on the client's browser because the
certificate doesn't match the subdomains (e.g.
myclient.mydomain.com - where myclient will change for
each client).
Any help would be appreciated.
Thanks
Graham Tag: catalogs are taking up too much disk space Tag: 319696
Delete Virtual Directory
I have an issue deleting a Virtual Directory from IIS 5.0. I'm up to date on Win2k service packs
The issue is this. I delete and IIS App and Virtual Directory from IIS Metabase with you issues by calling the following from VBScript in ASP page using ADSI objects
oVirtualDirectory.AppUnloa
owwwRoot.Delete "IISWebVirtualDir", gVirtualDirectoryNam
When I then use FileSystemObject to delete the folder, I can delete all files and sub folders but the delete of the main folder results on a Permission Denied error because the folder is being used by someone else. When I restart IIS I can then delete the folder. So, I'm assuming that IIS has a hold on the folder resource still. I know that in MMC you can delete everything in one shot so I must be able to from VBScript as well. Resetting IIS is not an option for me in this case and just leaving the file seems to be bad form
Thanks
- Lester Tag: catalogs are taking up too much disk space Tag: 319695
Strange WIA Problem
I'm trying to set up a webcam under IIS on an XP platform. I have the code
below
(purloined from Microsoft's website) in my ASP page. All works fine, for
about four or five
page impressions, then the script fails with error '80210006' /webcam.asp,
line 43 (the "Connect")
If I stop (the stop fails, but the service gets marked as stopped) and
restart the WIA service,
the script works again (for about another 4-5 page impressions).
Can anybody tell me what I'm doing wrong here?
Thanks
John
(Email is spamtrapped - remove "ospam" to reply)
<%@ Language=VBScript %>
<!-- 94A0E92D-43C0-494E-AC29-FD45948A5221 -->
<!--METADATA TYPE="TypeLib" UUID="94A0E92D-43C0-494E-AC29-FD45948A5221"-->
<%
Response.Flush ()
Dim oImage
Dim oDeviceManager
Dim oDeviceInfo
Dim oDevice
Dim oItem
Dim oVector
Set oDeviceManager = Server.CreateObject("WIA.DeviceManager")
For Each oDeviceInfo In oDeviceManager.DeviceInfos
If oDeviceInfo.Type = VideoDeviceType Then
Set oDevice = oDeviceInfo.Connect
Exit For
End If
Next
If oDevice Is Nothing Then
Response.Write "There is no Video Device"
Response.End
End If
Set oItem = oDevice.ExecuteCommand(wiaCommandTakePicture)
Set oImage = oItem.Transfer
Set oVector = oImage.FileData
Set oItem = oDevice.ExecuteCommand(wiaCommandDeleteAllItems)
SaveBinaryData "c:\Inetpub\wwwroot\images\Webcam\pic.bmp",
oVector.BinaryData
' Response.BinaryWrite oVector.BinaryData
Set oDeviceInfo = Nothing
Set oDevice = Nothing
Set oDeviceManager = Nothing
Function SaveBinaryData(FileName, ByteArray)
Const adTypeBinary = 1
Const adSaveCreateOverWrite = 2
'Create Stream object
Dim BinaryStream
Set BinaryStream = CreateObject("ADODB.Stream")
'Specify stream type - we want To save binary data.
BinaryStream.Type = adTypeBinary
'Open the stream And write binary data To the object
BinaryStream.Open
BinaryStream.Write ByteArray
'Save binary data To disk
BinaryStream.SaveToFile FileName, adSaveCreateOverWrite
End Function
%> Tag: catalogs are taking up too much disk space Tag: 319691
Using EnableWebServiceExtension to allow "All Unknown ISAPI Extensions"
I need to use the ADSI EnableWebServiceExtension command to allow "All
Unknown ISAPI Extensions". I can successfully use it to configure
SSINC, ASP, PBS, HTTPODBC, WEBDAV and ASP.NET v1.1.4322, but can't
figure out what GroupID to use to Allow "All Unknown ISAPI Extensions"
(*.dll) or "All Unknown CGI Extensions" (*.exe).
I suppose I could alter MetaBase.xml directly, but does anyone have a
better solution for altering these from a vbs? Tag: catalogs are taking up too much disk space Tag: 319679
IIS ADMIN SERVICE ERROR 8
Can't start my 2003 server IIS on my local server, gets an
error 8-- that says not enough storage--- in the past I
used to stop/start service IIS upon start up--now does not
help.
Thanks,
Ze'ev
Zeevk@netgo.com Tag: catalogs are taking up too much disk space Tag: 319677
Site Index Server Dump
I have static web pages in mostly HTML and I want to capture the URL,
Title, metatags in a database. How can I use Site Index Server to
perform this function? Or is there some other product out there that
can capture this information from all of my files and put it in a
database (Access 2000) format, or even just tab or comma delimited
format so I can dump it into a database.
I am currently running Windows NT 4.0 with Site Index Server using the
Management Console. All of my pages are being indexed and I have one
catalog. If I could even get behind the catalog and use it to dump into
a database, that would be great, but I do not know how that is done
either.
I am not knowledgeable about .ASP, but I am familiar with Cold Fusion.
That's it. Any answers?
Ida
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: catalogs are taking up too much disk space Tag: 319675
New Web Project and Deployement problem
On the client side I am running XP Professional with VS.NET 2002.
On the server side I am running 2003 Server with IIS. My web files are
physically in the default folder of C:\InetPub\wwwroot and is shared
as \\portal\iwwwroot.
I am able to map a drive (from within Windows Explorer) and create and
modify files with no problems.
BUT...
When I try to create a new web project named
http://portal/iwwwroot/WebApplication1 from within VS.NET I am getting
the following error:
The default Web access mode for this project is set to file share, but
the project folder at 'http://portal/iwwwroot/WebApplication1' cannot
be opened with the path '\\portal\wwwroot$\iwwwroot\WebApplication1'.
The error returned was:
Unable to create Web project 'iwwwroot/WebApplication1'. The UNC share
'\\portal\wwwroot$\iwwwroot\WebApplication1' does not exist or you do
not have access.
What would you like to do?
* Retry using a different file share path
Location \\portal\wwwroot$\iwwwroot\WebApplication1
o Try to open the project with FrontPage Server Extensions
Not sure where wwwroot$ is coming from, but even when I remove it from
the retry texbox, the error still occurs.
(BTW - The FrontPage option does not work either but that is probably
another issue.)
Thanks for any help you can provide.
- Jason Tag: catalogs are taking up too much disk space Tag: 319674
IIS 6 and DCOM instanciation
I developped an ISAPI DLL that instanciate a DCOM application.
These executables are running under Windows 2003 and IIS 6.
The web site under IIS 6 is set to basic authentication.
I use one set of credential (username and password) per company so
several users connect using the same credential.
I would like to have one server instance of my DCOM per company and as
many threads in this instance as there are users for this company.
Making it easy to maintain, relatively reliable and scalable.
If the identity of the DCOM is set to "this user", only one instance
of the DCOM server is launched and then as many threads as I got users
connected.
However with this setting, all the users of all the companies are
connecting to the same DCOM server instance whatever the credential
they use. This is not easy to maintain and reliable if you imagine
having hundred of users connected to the same DCOM server instance...
If the identity of the DCOM is set to use "launching user" which
corresponds to the username and password the user used to authenticate
to IIS, a new DCOM server instance is created for each credential.
Several users can also connect to one instance but from time to time,
Windows decides to create a new server instance even if the credential
stay the same. Therefore, several DCOM instance are created for each
company. This is also not easy to maintain and not scalable as an
instance use a big chunk of memory.
I noticed that the window station is different for each DCOM server
instance even if the credential are the same.
The ISAPI DLL is running under the application pool identity (Network
service) and only one instance of this DLL is loaded so this ISAPI DLL
only get one window station.
I don't understand why Windows decides to create several instances of
my DCOM server when the window station of ISAPI DLL which should be
the calling process stay constant and the credential too.
Any insight help would be greatly appreciated, Tag: catalogs are taking up too much disk space Tag: 319665
asp can't complete its download
5 percent of the time, executing the following ASP will show 2 Item
Remaining status bar on the bottom left and then hangs there forever
until I refresh. I can see it writes all the response write lines. Any
reason why? Thanks.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Downtime Chart</TITLE>
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.5
Library" UUID="{00000205-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
<LINK REL=STYLESHEET TYPE="text/css" HREF="stylesheets/standardms.css">
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
</HEAD>
<!-- #INCLUDE FILE="page_begin-test.inc" -->
<!-- #include virtual="/Include/CfxIE.inc" -->
<!-- #include virtual="/Include/SfxCrossTab.inc" -->
<!-- #include virtual="/Include/CfxIECmds.inc" -->
<!-- #include virtual="/Include/CfxIEExtra.inc" -->
<SCRIPT LANGUAGE="VBScript">
<!--
Dim sHref, sQString, aArgs, sFacility, syear
Sub ChartFX1_UserCommand(wParam,lParam,nRes)
sHref = location
If Instr(sHref, "?") > 0 Then
sQString = Split(sHref, "?")(1)
If Instr(sQString, "&") > 0 Then
aArgs = Split(sQString, "&")
Else
aArgs = Array(sQString)
End If
'For i = 0 To UBound(aArgs)
' If Instr(LCase(aArgs(i)), "facility=") > 0 Then
sFacility = Split(aArgs(0), "=")(1)
' Exit For
' End If
' If Instr(LCase(aArgs(i)), "year=") > 0 Then
syear = Split(aArgs(1), "=")(1)
' Exit For
'End If
'Next
End If
'Msgbox aArgs(0)
'Msgbox syear
'MsgBox "User Command:" + CStr(lParam)
'navigate
"http://cognos-web/cognos/cgi-bin/ppdscgi.exe?BZ=1AAADMkq0~rAABEwU6VFChh
Eib_64oZOmTdmWYARhw~YLlDJy0rwhM8eEkCg9xMCAEfNj9w_SvQ3P83EPiSolZpCJ2Scm6h
_Yf67Kr2k_JKvKTJI2cN7IoVOG7DFIKZvV3JvCEPitbJbXOqthJoYNGjli0JBB4omcM2HcpN
ETtnbeuCkBI2cyvhzR5td4c5oUCTKlipQiU1_X2gPD2TWzNMgoWzpkiH0Vk65yai_Z2rA226
zVrTIzpm0e2axipn5jq7vvyJOmCaNIEShXglApIvXXEyhONRCi6Te2ZpucOMYcEWKjpjSoUT
MNrCzJgSOnO1YeDhk3XUKGDZjcYaZmIiOm5toEGzNm3qHI1YK_3m6UrTSbzrzU1gbNem5gGZ
lCNb5LwjT6kulMbtws_9tkjJAnRW9lhM2bu2lbw2XSXuw_IxhM3syh_6bJEKPczEZMhObVSH
vNROpVNMa3L_MHnLEUkjd15MyNmsOn2odmck6o1MvumupHj2ty0za5im1SM0bF_dNdchJd1Z
Lpaqdi7O0mN8kmVznoxHIkbJzFJI3ZtJKqFOhmOdGapXnLBk4gU9DUbWqIh0odse2dDe7JKT
NnbgFSVokZ8A8="
'window.open
"http://eptesting2:8080/xts/cws?m=/cws/rts.xts&r=/cws/ppw/ppw.rts&s=getc
rosstab&c=<OpenCube%20Name='AllPeriodsDowntime_new'/><SetFilter%20Dim='4
'%20Code='Lost%20BOE'/><SetFilter%20Dim='0'%20Code=" +"'"+ syear +
"0101" + "-"+ syear + "1231'" + "/><SetFilter%20Dim='1'%20Code=" +
"'"+sFacility + "'"+ "/><GetCrossTab/>"
window.open
"http://cognos-web/cognos/cgi-bin/ppdscgi.exe?DC=Q&E=/Downtime%20All%20P
eriods&TX=Organization%09" + sfacility + "%09Down%20Date%09" + syear +
"0101" + "-"+ syear + "1231" + "%09MEASURES%09Lost%20BOE"
'navigate
"http://eptesting2:8080/xts/cws?m=/cws/rts.xts&r=/cws/ppw/ppw.rts&s=getc
rosstab&c=<OpenCube%20Name='AllPeriodsDowntime_new'/><SetFilter%20Dim='0
'%20Code='20020101-20020131'/>"+ "<GetCrossTab/>"
End Sub
-->
</SCRIPT>
<% Dim ars, ars2, acn
if trim(Request.QueryString("facility")) <> "" then
session("strfacility")= Request.QueryString("facility")
else
session("strfacility")= Request.Form("facility")
end if
if trim(Request.QueryString("year")) <> "" then
session("stryear")= Request.QueryString("year")
yr= Request.QueryString("year")
else
session("stryear")= Request.Form("year")
end if
dt_year=right(session("stryear"), 2)
response.write "line 5"
set acn = server.CreateObject("ADODB.Connection")
acn.Open "dsn=ogdwprod;uid=ogdwmart;pwd=ogdwmart;"
set ARS=acn.Execute("select category_desc, event_period, lost_equiv_bbls
from PO_downtime_Facilities where
to_char(to_date(event_period,'MON-RR'),'YYYY') in '"
+session("stryear")+ "'" + " and facility_name='"
+session("strfacility")+ "'" +"order by to_date(event_PERIOD, 'MON-RR'),
class_id, category_id")
response.write "line 6"
set ARS2=acn.Execute("select count(distinct CATEGORY_DESC) t from
PO_DOWNTIME_facilities where facility_name='" +session("strfacility")+
"'" +" and event_period like '%" + dt_year + "'")
'response.write ars2
Set chart1 = Server.CreateObject("ChartFX.WebServer")
chart1.Gallery = BAR
chart1.LegendBox = false
response.write "line 10"
chart1.chart3D = false
chart1.RGBBk = RGB(255,255,255)
Chart1.RGB3DBk = RGB(255,255,255)
'Chart1.Title(CHART_TOPTIT) = "Downtime by Categories for " +
session("stryear") + " " + session("strfacility")
chart1.toolbar = true
Chart1.Printer.useprinterresolution =false
Chart1.Axis(AXIS_Y).Format =AF_NUMBER
Chart1.Axis(AXIS_Y).Decimals = 0
chart1.Axis(AXIS_Y).Title = "Lost BOE"
chart1.serLegBox = true
Chart1.Scrollable = true
Chart1.SERLEGBoxObj.Docked = TGFP_BOTTOM
Chart1.AllowEdit = FALSE
'Chart1.DataEditor = TRUE
'Chart1.DataEditorObj.Height = 210
response.write "line 20"
Chart1.Grid = CHART_HORZGRID
Chart1.View3DDepth = 15
' Use the resultset inside the ChartFX ADO Provider
Set CfxAdo= Server.CreateObject("CfxData.ADO")
CfxAdo.ResultSet = ARS
' Creates a new Crosstab data provider
Set CfxCrosstab =
Server.CreateObject("SfxCrosstab.DataProvider")
' Associates the ADO data provider as the data source for the Crosstab
(may be any data provider supported by ChartFX).
CfxCrosstab.DataSource = CfxAdo
' This is the way to specify the CrossTab column definitions. It is
required.
' For further information, please refer to CrossTab readme file at
our Website.
CfxCrosstab.DataType(0) = CTDT_COLUMNHEADING
CfxCrosstab.DataType(1) = CTDT_ROWHEADING
CfxCrosstab.DataType(2) = CTDT_VALUE
' Please notice that you substitute the AdoResultset method by the
GetExternalData method,
' because it's not an ADO data provider but a different data
provider.
Chart1.GetExternalData CfxCrosstab
'Load a 16x15 size bitmap to be used as a toolbar icon
'Please note that the image needs to have "Full Control" security
for IUser_MachineName
' sPhysical = Server.MapPath("/drillthru.gif")
' Set Pict = Chart1.LoadPicture(sPhysical)
'Create a New Command
' Set NewCommand = Chart1.Commands.AddCommand(100)
' NewCommand.Picture = (Chart1.Commands.AddPicture(Pict))
' chart1.Commands(100).Picture = 2
'Assing the bitmap icon to the new command
' NewCommand.Text = "Drill Down to Detail Downtime Cube"
' Add command to the toolbar and define it's position at the end
' Chart1.ToolBarObj.AddItems 1, 22
' Chart1.ToolBarObj(22).CommandID = 100
response.write "line 30"
Chart1.OpenDataEx COD_COLORS,12,0
For i = 0 to 11
aaa=Chart1.SerLeg(i)
if aaa ="PROCESS EQUIPMENT (ROTATING)" THEN
Chart1.Series(i).Color = RGB(255,0,0)
end if
if aaa ="PROCESS EQUIPMENT (NON-ROTATING)" THEN
Chart1.Series(i).Color = RGB(255,0,150)
END IF
if aaa ="PROCESS EQUIPMENT (SUBSEA)" THEN
Chart1.Series(i).Color = RGB(255,150,150)
end if
if aaa ="DOWNHOLE EQUIPMENT (DRY TREES)" THEN
Chart1.Series(i).Color = RGB(255,150,255)
end if
if aaa ="TRANSPORTATION" THEN
Chart1.Series(i).Color = RGB(255,222,222)
end if
if aaa ="CONSTRUCTION" THEN
Chart1.Series(i).Color = RGB(0,0,255)
end if
if aaa ="PLANNED MAINTENANCE" THEN
Chart1.Series(i).Color = RGB(0,150,255)
end if
if aaa ="WELL TREATMENT" THEN
Chart1.Series(i).Color = RGB(150,255,255)
end if
if aaa ="RIG WORK / WORKOVER" THEN
Chart1.Series(i).Color = RGB(0,125,0)
end if
if aaa ="WEATHER" THEN
Chart1.Series(i).Color = RGB(125,175,175)
end if
if aaa ="RESERVOIR" THEN
Chart1.Series(i).Color = RGB(50,255,0)
end if
if aaa ="TRANSPORTER PIPELINE" THEN
Chart1.Series(i).Color = RGB(180,255,125)
end if
next
response.write "line 40"
ct=ARS2("t")
For i = 0 to ct-1
ser_value=Chart1.Series(i).Yvalue(0)
if ser_value=0 then
Chart1.Series(i).Yvalue(0)=CHART_HIDDEN
end if
next
if ct<5 then
Chart1.DataEditorObj.Height = 120
end if
if ct=5 then
Chart1.DataEditorObj.Height = 140
end if
if ct=6 then
Chart1.DataEditorObj.Height = 150
end if
if ct=7 then
Chart1.DataEditorObj.Height = 170
end if
if ct=8 then
Chart1.DataEditorObj.Height = 180
end if
if ct=9 then
Chart1.DataEditorObj.Height = 200
end if
if ct=10 then
Chart1.DataEditorObj.Height = 220
end if
if ct=11 then
Chart1.DataEditorObj.Height = 240
end if
if ct>11 then
Chart1.DataEditorObj.Height = 260
end if
Chart1.CloseData COD_COLORS
response.write "line 50"
chart1.URLParamMask = "date=%l"
chart1.URL(0) ="http://houweb3/temp.asp?"
chart1.URL(1) ="http://houweb3/temp.asp?"
chart1.URL(2) ="http://houweb3/temp.asp?"
chart1.URL(3) ="http://houweb3/temp.asp?"
chart1.URL(4) ="http://houweb3/temp.asp?"
chart1.URL(5) ="http://houweb3/temp.asp?"
chart1.URL(6) ="http://houweb3/temp.asp?"
chart1.URL(7) ="http://houweb3/temp.asp?"
chart1.URL(8) ="http://houweb3/temp.asp?"
chart1.URL(9) ="http://houweb3/temp.asp?"
chart1.URL(10) ="http://houweb3/temp.asp?"
chart1.URL(11) ="http://houweb3/temp.asp?"
'chart1.URL(0) =
"http://cognos-web/cognos/cgi-bin/imrap.cgi?iu=IMRAP&cd=V&nid=af46cb1e87
a611d7bb5a98d6d804eec2&cognospmain%20Query_5ffacility="+strfacility+"&co
gnospmain%20Query_5fFrom%20DATE=01%2D01%2D2003&cognospmain%20Query_5fThr
u%20DATE="+through_date
chart1.URLOptions = CHART_URL_JUMP Or CHART_URL_BYSERIES or
CHART_URL_PARAM
chart1.DblClk CHART_URLCLK,0
chart1.URLTarget = "_new"
response.write "line 60"
acn.Close
Chart1.Stacked = CHART_STACKED
set ars = nothing
set ars2 = nothing
set chart = nothing
set acn = nothing
response.write "line 70"
%>
<%= chart1.GetHtmlTag(830,580,"Auto","ChartFX1") %>
<!-- #INCLUDE FILE="page_end.inc" -->
<BR>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: catalogs are taking up too much disk space Tag: 319664
loopback connects to TCP port 8181 and CPU goes to 100%
Windows 2000 web server communicates using the random
local port and the loopback address that talks to TCP
port 8181. Occasionally it will get stuck in this state
and causes the server to go to 100% utilization, and you
are unable to connect to the web server. It says it's
talking using the loopback address on a random TCP port
using application inetinfo.exe to talk to c:winnt\system32
\inetsrv\inetinfo.exe on TCP port 8181. Once I terminate
this connection of 8181 everything comes back.
I am also able to connect to the 8181 port via IE web
browser and submit a ctrl refresh over and over again
until it drives the CPU to 100%. How can I find out what
application or thing is doing this and stop it? Tag: catalogs are taking up too much disk space Tag: 319661
Using Virtual Directories
We have an application that will run from within a Vdir
under the default webdite in IIS5. As of now, everything
is still set as default under IIS. I need to redirect all
internal and external web traffic bound for
helpdesk.domain.com to this Vdir. I would appreciate a
basis step by step instruction on how to configure both
the IIS and DNS elements to acomplish this. Tag: catalogs are taking up too much disk space Tag: 319658
IIS Problems, Help!
My company just did a server upgrade from 2000 to 2003.
However, now our web applications (perl) are all
saying "Forbidden: Access is denied" when you try to run
the files. I've taken the site and given it execure
premissions. Activestate perl is installed (which was
also installed on the old machine).
So, now I've had to set up an old 2000 box just to run
these few perl apps. Any ideas???? Tag: catalogs are taking up too much disk space Tag: 319655
High CPU Usage
I`m using IIS 4 on Win NT and from time to time the
inetinfo.exe CPU usage reaches 100% and makes everything
extremely slow. Someone has told me that it is more likely
that there is some code running on my server that is
taking all of the cpu time. And that the best bet is to
try an isolate what code it is and then fix or remove
it.... but how would I go about doing that?
Thx,
John Tag: catalogs are taking up too much disk space Tag: 319652
Directory Listing Denied IIS ERROR
Hi all,
I get the following error after turning off IE's "Show
Friendly HTTP Errors" option.
"Directory Listing Denied" This Virtual Directory does
not allow contents to be listed.
I previously used to get the following error before
turning off show friendly HTTP errors
"HTTP Error 403 - Forbidden....You are not authorized to
view this page" message when trying to access QUICK START
tutorial after installing windows xp pro, vs.net 2003 and
IIS 5.1 .......
can someone lemme know the reason and remedy for this.
tia,
raj. Tag: catalogs are taking up too much disk space Tag: 319651
_ as %5F
I have two URLs on an IIS 6 box. One redirect to the other using a Meta
refresh.
www.url1.com --> www.url2.com/my_folder/
But, for some reason the /my_folder/ is read as /my%5F_folder/
Any ideas? Tag: catalogs are taking up too much disk space Tag: 319643
W3SVC (IIS6) stops with error 1005
Hi all,
Got a W2K3 server running and planning to install E2K3. But before
installing Exchange 2003 I need W3SVC up and running. This service
doesn't start at all.
The following events appear.
SYSTEM LOG:
Source: W3SVC
Event ID: 1005
Description:
The World Wide Web Publishing Service is exiting due to an error. The
data field contains the error number.
words:
0000: 80070534
Source: Service Control Manager
Event ID: 7023
Description:
The World Wide Web Publishing Service service terminated with the
following error:
No mapping between account names and security IDs was done.
APPLICATION LOG
Source: IISADMIN
EventID: 104
Description:
IISADMIN service failed to create account IWAM_<ServerName>. Some IIS
functions can fail for this reason.
Source: IISADMIN
EventID: 104
Description:
IISADMIN service failed to create account IUSR_<ServerName>. Some IIS
functions can fail for this reason.
Can anyone help me?
Regards, Tag: catalogs are taking up too much disk space Tag: 319642
My catalog.wci directory is growing and soon will be too
big for the partition it is on.