ASP pages & possible permissions corruption
We're running windows 2000 server with IIS 5.0. We're
trying to execute .asp scripts but we keep getting the 500
(internal server) error.
It looks like the permissions might be corrupted. When I
go to the folder in question, go to properties >> security
and look at the user groups, for several seconds they say
this:
S-1-1-0
S-1-5-18
S-1-5-32-544
Then the above numbers turn into the group names
(everyone, administrator, etc.).
The end result is that no .asp code can be executed, but
other scripts (such as ColdFusion scripts, sorry) are
working fine. Our website as a whole is functioning
properly. Months ago I applied the IIS Lockdown Tool and
ever since I've had to jockey the permissions around.
Earlier in the week I had IIS prompt me for
username/password to access public pages. When I went to
the permissions menu, it hesitated and then opened. When
I retried the pages after adjusting the permissions, I was
able to access them again.
Any suggestions, reference?
Thanks. Tag: RichEdit Tag: 265257
referrer id
How can I learn where my visitor came from? I mean which site reffered
to my site? (Something called referrer id/ip)
Thanks in advance..
Evrim Tag: RichEdit Tag: 265255
Calendar Control Example
Would anyone have an example of using the MS Calendar control (class
MSCAL.Calendar.7) and ASP?
Help apprecaited. Thanks.
Frank
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: RichEdit Tag: 265254
Insert error :: must be updateable?
I am picking up the following error message which is strange as it has only
started happening since I have transferred servers:
Microsoft JET Database Engine error '80004005' Operation must use an
updateable query./admin/news1.asp, line 59
sql1 = "INSERT INTO [News]
(strDate,Department,Title,ShortDescription,strContent) VALUES (" & strDate1
& ",'" & strDepartment1 & "','" & strNewsTitle1 & "','" &
strShortDescription1 & "','" & strDescription1 & "')" Set rsnews =
data.execute(sql1) Set rsnews = Nothing Tag: RichEdit Tag: 265247
Pass prameter from a page to another
Hi,
I have a page that calls a multiple frames page (ASP).
I need to send parameters from the first to the multi frames page.
If sending to a simple page, it works. If sending to multiple frames
page, it does not.
--
Thank you,
Doru Tag: RichEdit Tag: 265235
HTTP Error 507
I keep getting the following error with my website :
----------------------------------------------------------
HTTP Error 507
507 Unexpected
The Web server encountered an unexpected error while communicating with the
ASP service.
Please contact the server's administrator if this problem persists.
-----------------------------------------------------------
I'm using ASP to exchange information with a database. After the above has
happened my session variables have all lost their values. It happens at
random at different locations in the website, sometimes only seconds after
running the site, sometimes I'm good for a few minutes. I have no trouble at
home. I've contacted my Host and they say :
"I'm not sure why you are getting that error, as I checked the logs and the
ASP server has been up and running. One option is I could move you to a
different server to see if that helps. I also asked around to see if anyone
else
had called or emailed in about this and nobody had."
- Thanks for nothing http://www.blacksun.ca/ - perhaps they can suggest a
more reliable host for me to transfer my business too!
Anyone else in here had a similar problem and is there a solution other than
changing hosts?
Thanks! Tag: RichEdit Tag: 265232
Removing a period from a string
I need to remove a period from a string of data. I have a whole column
of numbers that have a period distributed randomly in them, and I need
a way to pull the period out. Unfortunatly, the period is not at a
fixed interval from the start or from the end. Sometimes it's like
this:
08307.33214
and sometimes it's like this:
66543354.2213
At any rate, I have a whole column of these in SQL Server 7.0 and need
to use the number as is for some issues, but without the period for
others.
Can someone please show me how to write a function that will remove
the period no matter where it is located in the string?
Thanks!
Bill Tag: RichEdit Tag: 265230
What really is ASP?
Hi guys,
i'm a little bit confused about ASP...
am i correct in thinking that a JBScript that uses asp.dll objects is
an ASP?
what i mean is is an ASP a script written in ASP supported languages
such as vbscript, perlscript etc. but that uses ASP.dll ojbects?
also,
how is the data collected from an ASP accessed? for example if i have
an ASp that collects visitors' contact information, how would i access
that information in order to use it?
for javaScript and VBScripts, which do not make use of any server, how
are information collect by the website processed or collected by the
owner of the website in order to utilise the information?
if i develop an ASP will i need to develop the server as well, or am i
correct in thinking that the server is the IIS? (if so, how would i
access the IIS database? would i need to create a separate ASP to
retrieve collected information?)
is there a difference between perl and perlscript?
thanks a lot guy !!
Liza Tag: RichEdit Tag: 265215
ColorChooser in HTML
Hi!
I'm making a web editor in html, an i would like to have a
colochooser control, in ActiveX or something similar.
Can anybody help me??
Thanks Tag: RichEdit Tag: 265209
ColorChooser in HTML
Hi!
I'm making a web editor in html, an i would like to have a
colochooser control, in ActiveX or something similar.
Can anybody help me??
Thanks Tag: RichEdit Tag: 265208
embed object and no DL to browser cache
i know this can be done, but i just couldn't figure out how. can
someone give me a hint or somthing?
it's a asp web application, and i need to use html tag "embed" to put
a pdf document on a web page. but i don't want the visitor to download
the embeded file. visitor can only view it in browser and the embeded
file will never sent to visitor's browser cache.
so, what's the tricks that i should do at server side to accomplish
this?
ray Tag: RichEdit Tag: 265207
Query / mySQL / Access
Hi,
I've got a query that works fine when used in mySQL but completely fails
when I try to apply it to MS Access, weird thing is that it is just a copy
of a stored procedure that works fine in the same copy (with the
Request.QueryString replaced by a fixed value) ! Any explaination would be
great, ID is a number BTW :
SELECT page_title,ID,page_content FROM content WHERE ID='" &
Request.QueryString("ID") & "' '
Had a look at aspfaq.com but couldn't find anything that applys.
Cheers
John Tag: RichEdit Tag: 265203
SQL db doesnt support the Cookie
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C34D50.1C072AA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I wrote the code for Members of Register. and i use cookie in this =
code, My database is SQL server. SQL server dosent support the cookies =
in my codes i dont know why this cause but my codes are working without =
any cause=20
can anybody advice me thanks=20
------=_NextPart_000_0011_01C34D50.1C072AA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2479.6" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I wrote the code for Members of =
Register.=20
and i use cookie in this code, My database is SQL server. SQL =
server=20
dosent support the cookies in my codes i dont know why this cause but my =
codes=20
are working without any cause </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>can anybody advice me thanks=20
</FONT></DIV></BODY></HTML>
------=_NextPart_000_0011_01C34D50.1C072AA0-- Tag: RichEdit Tag: 265195
Radio button group
I have a simple html page with a radio button group on
it. I am submitting that page into an asp page. How do I
know what button the user has checked?
Thanks Tag: RichEdit Tag: 265187
MSXML : i want to get the resultant HTML in a variable
Hi All
i m transforming a simple XSL file on Server side using MSXML Parser ...
and writting resultant HTML directly on browser .. is there any way to get
this HTML in a variable ???
i seen the article on MSDN but it makes my page blank ... plz edit my code
to make is work in this manner, if possible
Thankx in advance
Plz Help
'MY ASP FILE CODE
strxml = "<data><name>Asim</name></data>"
XSLFilePath = "C:\Emaples\test.xsl"
call TransformDocument(strXMl,XSLFilePath)
function TransformDocument(srcXML, srcXSL)
Dim sourceFile, styleFile, source
'the xsl file path
styleFile = srcXSL
set source = Server.CreateObject("MSXML2.DOMDocument")
source.async = false
source.loadXML srcXML
'Get The Style Object
set style = Server.CreateObject("MSXML2.DOMDocument")
style.async = false
style.load styleFile
'Error Handaling
if (source.parseError.errorCode <> 0) then
'result = reportParseError(source.parseError)
set oerr = source.parseError
sErrMsg = "XML Parsing Error. File: " & oErr.url & " Reason : " &
oErr.reason & " Line: " & oErr.line & ", Character: " & oErr.linepos & ",
Text: " & oErr.srcText
Response.Write sErrMsg
elseif (style.parseError.errorCode <> 0) then
'result = reportParseError(style.parseError)
set oerr = style.parseError
sErrMsg = "XML Parsing Error. File: " & oErr.url & " Reason : " &
oErr.reason & " Line: " & oErr.line & ", Character: " & oErr.linepos & ",
Text: " & oErr.srcText
Response.Write sErrMsg
else
source.transformNodeToObject style,Response
end if
End Function
'MY XSL FILE CODE
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html" version="4.0" encoding="utf-8"/>
<xsl:variable name="name">??!</xsl:variable>
<xsl:template match="data">
<html>
<head><META http-equiv="Content-Type" content="text/html;
charset=utf-8"/></head>
<body>
<hr/>
Name from XML is : <xsl:value-of select="//name"/>
<hr/>
Variable/Contant Value from XSL is : <xsl:value-of select="$name"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet> Tag: RichEdit Tag: 265186
Permission denied error
Hello
I have the following configuration:
- Windows 2000 Adv Server
- IIS is running on this machine
- I have some ASP scripts and a global.asa file
In the the global.asa file (in the Application_OnStart section) I create
an instance on a COM object (in fact it is a Windows service that has a
COM interface (the corresponding Windows service is running)). The code
of this section of global.asa:
Sub Application_OnStart
Set Application("ComObject") =
Server.CreateObject("ComObject.Interface")
End Sub
One of my ASP script is called every second by another application and
this ASP script calls one of the COM object's methods. The code of this
ASP script is:
result = Application("ComObject").Method
Most of the time this is working fine, but sometimes this ASP generates
an error 500 page and I have the following error in the IIS log files:
800a0046|Permission_denied:_'Application(...).Method'
The strange thing is that for a few days this error does not happen and
suddenly this error occurs very often (up to every 10 seconds).
I have tried several things but this error always occurs.
Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: RichEdit Tag: 265173
Still problems with my menu...
Hi again!
now I realy have a problem..
I want om make a menu that expandes like the menu on http://www.eks.as
The menu should expand after a sertain ID in the querystring. The page you
are on should be bold..
The code works fine exept when I pass a ID that belongs to a "child" in the
menu.... Any idea???
here's what I got so far....
<html>
<head>
<title>default.asp</title>
</head>
<body>
<%
' Connection to the database / Datenbankverbindung
Dim ConnectString, conn
ConnectString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath("../../Documents and Settings/All
Users/Dokumenter/portal.mdb")
Set conn = Server.CreateObject("ADODB.Connection")
conn.open ConnectString
%>
<%DIm ID
ID = Request.Querystring("id") %>
<%
'Henter kategorier
Dim sqlMeny, rsMeny
sqlMeny = "SELECT * FROM Meny ORDER BY ID ASC"
Set rsMeny = Server.CreateObject("ADODB.Recordset")
rsMeny.Open sqlMeny, conn, 3, 3
do until rsMeny.Eof
If rsMeny("parent") = 0 Then
%>
<%= rsMeny("Navn") %><br>
<%
Else
End If
If CInt(rsMeny.Fields("ID").Value) = CInt(ID) Then
'Henter kategorier
Dim sqlUnder, rsUnder
sqlUnder = "SELECT * FROM Meny WHERE Parent = "& rsMeny("id") &" ORDER BY ID
ASC"
Set rsUnder = Server.CreateObject("ADODB.Recordset")
rsUnder.Open sqlUnder, conn, 3, 3
do until rsUnder.Eof
%>
--<%= rsUnder("Navn") %><br>
<%
rsUnder.MoveNext
Loop
Else
End If
%>
<%
rsMeny.MoveNext
Loop
'disconnect
conn.close
Set conn = Nothing
%>
</body>
</html>
Christopher Brandsdal
Norway Tag: RichEdit Tag: 265172
checkbox
I know this is gonna sound silly but when I submit a form with a checkbox
html control "mychk", how can I see if that is checked or not ?
I have tried :
if request.form("mychk") = true then
' code
else
' code
end if
But it always executes the code in the else statement meaning it is never
true despite the fact I have given the checkbox a value of true. Tag: RichEdit Tag: 265165
Authentication with NT Users
Hi,
Can someone tell me how I create a login page which
authenticates users against the servers user manager. I
want the login to be a form in my website not a pop up
window!
I would be grateful for any advice relating to this
subject.
I am currently running IIS 5 on a windows 2000 member
server.
Thanks for any help! Tag: RichEdit Tag: 265118
Read PFD file from ASP - Search Engine
Can someone tell me how to read the contents of a PDF file from an ASP page?
I am trying to create a search engine that displays PDF files and Docs as
links in an ASP page once the search request is submitted.
Thanks,
SV Tag: RichEdit Tag: 265110
Command.Timeout option
All,
I am using ADO to connect to a database to get some data that I then display
on my web page.
I build the entire script in ASP code the finally use response.write to get
the web page itself
When I create the connection object
set objConn = Server.Create.Object("Server.Command)
objConn.Timeout = 90
Even thought I set the time out to 90 seconds the time out occurs in 30
seconds. And this is pain as I have some large queries returning some 100K
records.
Is there any other way of increasing the timeout
Is it a Registry setting on IIS?
Thanks
Jawahar Tag: RichEdit Tag: 265107
Calling a Visual Basic Component Subroutine from ASP
Not sure if this is the right group for this but anyways...
I've got an ASP web application that uses a Visual Basic component to do
some work. I instantiate the component in asp and then attempt to call the
subroutine. The subroutine is actually invoked maybe 2 out of 10 times run.
What could possibly be the reason for this?? Why the inconsistency in
running the subroutine?
Cheers Tag: RichEdit Tag: 265091
Another SQL Question
I've got a working SQL statement here that I'm trying to do a an "Order
By df.Name".
What the SQL does is pulls all data excluding duplicate data from a
second table and taking what ever ID's that's left and looking it up in
a separate look up table. However, when I pull the data I'm not sure
how to Sort the data by df.Name.
I've probably made this SQL statement overly complicated so any help in
tweaking it would be appreciated also.
~~~Original SQL~~~~~
SELECT acd.AvailDispFieldID, df.Name, df.DisplayFieldID
FROM ct_AvailChannelDispField acd, ct_Displayfield df
WHERE acd.ChannelID = '1'
AND (acd.DisplayfieldID = df.DisplayfieldID)
MINUS
SELECT ucd.AvailDispFieldID, df.Name, df.DisplayFieldID
FROM ct_UserChannelDisplayField ucd, ct_Displayfield df,
ct_AvailChannelDispField acd
WHERE ucd.UserChannelID = '1'
AND (ucd.AvailDispFieldID = acd.AvailDispFieldID)
AND (acd.DisplayfieldID = df.DisplayfieldID) Tag: RichEdit Tag: 265090
XML from ASP3
I have been having massive problems trying to get data from ASP3 to XML.
Could anyone suggest as effective solution for building and XML file on the
fly?
Many Thanks,
Andy Tag: RichEdit Tag: 265044
XML from ASP3
I have been having massive problems trying to get data from ASP3 to XML.
Could anyone suggest as effective solution for building and XML file on the
fly?
Many Thanks,
Andy Tag: RichEdit Tag: 265043
Windows 2000 SP 4; Browser Hangs
I installed SP4 for Windows 2000.
Prior to the upgrade my system was at SP3 and I was able to run ASP
scripts from my browser just fine. For exmaple:
http://127.0.0.1/Experiments/ASP/EXP_ASP_TypeName.asp
Post-Upgrade the browser hangs forever with this in the status bar:
"Opening page http://127.0.0.1/experiments/asp/exp_asp_typename.asp."
If I reboot the system the ASP script executes just once. Then on
subsequent attempts the browser hangs.
The referenced ASP script contains:
<%
Dim List( 100 )
Response.Write( "<br> TypeName = " & TypeName( List ) )
%>
I checked Internet Services Manager and IIS appears to be running.
Any ideas ?
Ed Tag: RichEdit Tag: 265027
asp search returns no results from access query
access 2000 query:
here's what i want to do. from an asp page, perform a search on a
table in access. i have used sql code in the asp page itself, but i'd
rather execute a query in access. i have success in running any query
(basic SELECT, SELECT with conditions _other_ than LIKE, etc..) for
some reason, when i execute the query below from the asp page, i get
no results.
the search.asp page just has a text box in a form that submits the
srchBOX field to the results.asp page.
here's the asp code from the results.asp page:
Dim vSearchParam
vSearchParam = Request.QueryString("srchBOX")
Set rsTODO = conn.Execute ("exec sp_SEARCH_TODO" & " '" & vSearchParam
& "'")
even if i replace vSearchParam with an actual string such as "asdf"
(and this does return results from the access query), i get no results
in my results.asp page.
what gives? i must be missing something simple here... i'm not sure if
it's an access or asp issue..
please help!
thanks
"sp_SEARCH_TODO"
SELECT mnu_REQUESTTYPE.requestTypeNm, mnu_STAFF.staffNmFirst & " " &
mnu_STAFF.staffNmLast AS whoRequested, tbl_TODO.todoID,
tbl_TODO.todoStampDate, tbl_TODO.todoStampTime, tbl_TODO.todoNm,
tbl_TODO.todoDsc, tbl_TODO.todoPromiseDate, tbl_TODO.todoPromiseTime,
tbl_TODO.todoDeliverDate, tbl_TODO.todoDeliverTime,
tbl_TODO.todoNotesFollowUp, tbl_TODO.todoTimeToComplete,
mnu_STAFF_1.staffNmFirst & " " & mnu_STAFF_1.staffNmLast AS
whoDelivered, mnu_STAFF_2.staffNmFirst & " " & mnu_STAFF_2.staffNmLast
AS whoPromised
FROM ((mnu_REQUESTTYPE RIGHT JOIN (mnu_STAFF RIGHT JOIN tbl_TODO ON
mnu_STAFF.staffID = tbl_TODO.staffNmFirst) ON
mnu_REQUESTTYPE.requestTypeID = tbl_TODO.requestTypeNm) LEFT JOIN
mnu_STAFF AS mnu_STAFF_1 ON tbl_TODO.whoDelivered =
mnu_STAFF_1.staffID) LEFT JOIN mnu_STAFF AS mnu_STAFF_2 ON
tbl_TODO.whoPromised = mnu_STAFF_2.staffID
WHERE (((tbl_TODO.todoDsc) Like '*' & [vSearchParam] & '*')); Tag: RichEdit Tag: 265026
iframe problems
Hello,
I have some ASP / HTML webpages using an iframe to function as a Content
Editor which works fine in IE.
It has javascript preforming actions on the iframe content, such as
putting the text in bold, creating hyper links etc.. However none of
this works in Opera or Netscape, is this totally impossible?
Thanks for any help.
Gordon
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: RichEdit Tag: 264983
SQL
Hi all:
Anyone has any ideas for how to use the SQL select command to
select the name of the columns of a table?
I found some select command for the first row which is not
the one
I needed.
cheers,
chs Tag: RichEdit Tag: 264913
ASP Shopping Cart Help Needed
hi,
i'm about to develop an asp shopping cart but need some hints on best
practice before i start.
how should i assign a unique id to a user ? i've used the sessionid in
the past but have found that the sessionid is not unique. is there a
better solution for assigning a unique id to each visitor ?
secondly, what's the best way to track visitors as they move about my
site ? i'll be recording items in the cart in a database but will
still need to track the user on each page ... session variables or a
cookie ?
many thanks for any help provided ...
craig Tag: RichEdit Tag: 264910
converting frontpage web pages
I am wondering if there is anything that needs to be done to convert
my intranet web pages (html & asp) created in frontpage to say...
InterDev, Web matrix, Octane8, or Dreamweaver. I notice some header
information that looks specific to frontpage. Tag: RichEdit Tag: 264906
"Select * from table where MyFormVar > FieldValue" doesn't work
Hi All,
I try to build an asp page and I try to execute this sql string:
dim weight
weight = CLng(Request.Form("Weight")
strQ = "SELECT * FROM tbFreightPrices WHERE MinWeight < weight"
objRS.Open strQ, objConn
What happens is that although I get corectly the weight from a form, I can't
use it in the strQ.
If weight = 345 I can display it in the page, I can do math operations with
it, but I can't use it in strQ. If I modify strQ = "SELECT * FROM
tbFreightPrices WHERE MinWeight < 345"
then I can execute the query. I tried to convert weight to a string, using
CStr but I still get an error.
Any help would be appreciated.
Regards,
Nicolae Tag: RichEdit Tag: 264887
Creating session variables in GLOBAL.ASA ???
Hey all
In my GLOBAL.ASA file I'm trying to create a session variable for reference
in the various webpages of my site....
Sub Session_OnStart
Session("LoggedOn")="Y"
End Sub
When referring to Session("LoggedOn") on my various ASP pages, it is coming
up as "".
I'm obviously misunderstanding how this works... Can anyone point me the
right direction?
Eventually I'll need to access a database and I'm assuming that if I need to
connect to that database, that I'll need to create the connection in the
Session_OnStart event and destroy the connection in the Session_OnEnd event
of the GLOBAL.ASA file.
Any help is appreciated! Tag: RichEdit Tag: 264884
framed page: possible to update more then one frame after asp-query ?
Hello,
I am wondering if one could do following.
I have a main frame with 3 subframes ("top", "left" and "contents")
I have a link in the left frame, someting like:
<a href="test.asp?Mypath=/multimedia/images/">images</a>
When clicking the link in the left frame, the page "test.asp" is displayed
in the "contents" frame, with parameter MyPath displayed correctly
Now I also want to update the top-frame, so MyPath is displayed there too.
So my question is:
How can I update several frames in a framed page, by clicking just one link?
tia
bartp
--
==============================
Bart Plessers
Artabel
Schreursvest 67
3001 Leuven
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
web: http://www.artabel.com
============================== Tag: RichEdit Tag: 264878
fso tutorial
Can anyone give me a url for a good tutorial/overview of the
filesysystemobject. I know there are a lot out there but I just cant seem
to find one which covers everything.
Thanks in Advance Tag: RichEdit Tag: 264875
'80004005' > Not a valid password on IIS 6
I'm using a ACCESS database that has a databasepassword. In the connection
string I'll provide the password as follows:
MM_test_STRING = "dsn=test;pwd=test;"
This works fine on IIS 5 but on IIS 6 on Windows Server 2003 I'll get the
followwing error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Not a valid password.
When I'll remove the password the DSN works fine also.
Any idea's?
Nick Tag: RichEdit Tag: 264874
Urgent help needed! Compare a string to Sysdate in Oracle
I am trying to write a simple SQL statement which will take a string
(startdate) in the format DDMMYYYY and compare it to a date stored in
an Oracle database. My SQL is as follows:
<%
"select * from tblhistory where datechanged = '" & startdate & "'"
%>
The field datechanged in the Oracle database is set up using the
Sysdate variable, on a previous occasion.
Any ideas how I can get my startdate variable into the correct format
so that I can compare it with the 'datechanged' field?
Thanks in advance. Tag: RichEdit Tag: 264870
ASP.NET application cant access network drive
My ASP.NET application needs read/write permissions for drive "Z:", which is mapped to my Linksys Gigadrive (Network Attached Storage...if anyone is familiar with that).
If I configure the Gigadrive with "Guest" access rights, then everything works fine, BUT this leaves the drive vulnerable to everyone/everything including network viruses. Lately, my drive has had several attacks by the Lovegate virus.
Eliminating such attacks requires making my drive private, meaning I must remove "Guest" access rights and only allow logged-in users to access the drive through the ASP.NET applicaiton.
The problem is that without "guest" access rights, the ASP.NET application itself cannot access the drive!
Is my ASP.NET application a "user" that I must add to the list of priviledged users on the Gigadrive? Well, I tried adding users "ASPNET" and "IUSR_MyComputer" to the Gigadrive, but it didnt seem to work.
Again, if I allow the "Everyone" group (which includes the user "Guest") to have persmission to the drive, then everything works.
Can someone please help me?
-----------------------------
This message is posted by http://Asp.ForumsZone.com Tag: RichEdit Tag: 264867
Can not display Japanese Characters correctly
Hi there....
I try do display japanese characters with ASP .NET. (visual basic) but
the output is unreadable. (â??±â??ñâ??Ã?â??¿â??Ã)
When I save my test.aspx in VisualStudio, VisualStudio tells me that
Unicod characters are in my test.aspx file. So I stored the whole
thing with Encoding.
After I display the page in the browser it shows me still some
ureadable output.
(I also tried different encodings, and also switched the browsers
encoding setting)
My IIS Server is 5.0 (default setting)
I also have a Japanese Server. On this japanese server everything
works fine.
Thanks
Michi :) Tag: RichEdit Tag: 264866
ASP Event Handling
Hi
I want to handle events of the AO Connection object in my
ASP page. How can I do it?
Please help me out.
Thanks
- Anuj Tag: RichEdit Tag: 264865
IIS 5.0 and global.asa
Hello,
May I know if there's any known issues/problems when using
a global.asa file for an ASP application in IIS 5.0 ?
Thanks.
- Josephine Tag: RichEdit Tag: 264863
CDONTS questions
Can anyone tell me if this would be possible using CDONTS?
On my site, when a product is purchased from a supplier, an email is
automatically sent to him, notifying him of the sale.
Would it be possible to have him return the email to confirm the order, and
have that somehow go into my database (that the order was confirmed), and
then sent another email to the customer to let them know that the order was
confirmed?
If this isn't possible using CDONTS, how would it be possible?
Thanks for any advice!
Jill Tag: RichEdit Tag: 264858
Calling an coldfusion template from a ASP script
G'day,
On the server i am using a asp script to loop thru an xml file that contains
a number of email addresses. When i pick up a email address i would like to
call a cfm template that sends the email. I have tried the below:
Server.Execute("sendemail.cfm?Email=john");
but it gives me a ASP 0231 error. i suspect that i can only call another asp
script. Interestingly i only get an error when i use the string parameter
any thoughts? i would like to use CF as the mail delivery vehicle
salud
John Tag: RichEdit Tag: 264857
FAX from ASP?
Hello,
I need to write a bulk-FAX program that can run on an IIS web server. We
need to routinely query SQL Server, generate text-only pages, and send to
customers via FAX. I thought of using eFAX.com but it seems like we'd have
to dynamically convert everthing to an image first. Then I thought of using
a server control like Faxman (www.data-tech.com) but that requires a bank of
FAX-modems on the server. Problem is, we're renting a dedicated server from
a hosting firm, so there's no modems.
Has anyone done this from ASP, or VB from an IIS web server? Thank you!! Tag: RichEdit Tag: 264850
Writting Word document fields from ASP
Hi All,
I am working on a application in ASP which has some data to be written
to a Word document which can used as a template. I am having problems in
creating an Object to open a word document. Please help me in this
Thanx in Advance
Praveena Tag: RichEdit Tag: 264848
asp CDONTS attachment not being sent correctly
Hello everyone! I have a question for ya'll. In a web-based asp
application I am creating and (attempting to) attach a file. The
email sends correctly, but when I try to open the attachment, it is
blank. Now, I know you all are probably thinking that the file is
blank on the server or it doesn't exist at the address that I specify.
Well, I checked on the server and the file is there and there is
stuff in it. Could this be a permissions thing, or am I just writing
the syntax incorrectly?
Thanks in advance for any assistance.
Ryan
p.s. Here is some code (notice the response.writes at the bottom of
each sub, they print the same stuff):
call subFileCreate("/gearupqa/reporttemp/",
"Academic_Information.html", strBody)
call subEmail(request.form("txtEmail"), "gearup@nau.edu", "Here is the
report that you requested.", "/gearupqa/reporttemp/",
"Academic_Information.html", "GEAR UP Administration : Academic
Information Page")
sub subEmail(dest, orig, mail_body, path, file_name, subj)
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = orig & "<GearUp>"
objMail.To = dest & "<" & dest & ">"
objMail.Subject = subj
objMail.AttachFile server.mappath(path & file_name),
file_name objMail.Body = mail_body
objMail.BodyFormat=0 '0 HTML, 1 plain text
objMail.MailFormat=0 '0 MIME format, 1 plain text
objMail.Send()
Set objMail = nothing
response.write(server.mappath(path & file_name) & "<br>")
end sub
sub subFileCreate(path, file_name, text)
Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
Set InStream = FileObject.OpenTextFile(server.mappath(path &
file_name), 8, TRUE, -2)
InStream.WriteLine(text)
set InStream = nothing
set FileObject = nothing
response.write(server.mappath(path & file_name) & "<br>")
end sub
Here are the printed paths:
C:\webs\gearup\gearupqa\reporttemp\Academic_Information.html
C:\webs\gearup\gearupqa\reporttemp\Academic_Information.html
Thanks again! Tag: RichEdit Tag: 264833
What is the math behind the sessionid?
I'm wondering how unique the sessionid is in ASP. What is the math
behind it's creation, and what are the probobolities of it being
reproduced, i.e. 1/10000? or 1 in twenty million? Can someone give me
some guidance on this? I'm trying to create some unique numbers for
data assignement, and would like a way that does not replicate.
Thanks,
Bill Tag: RichEdit Tag: 264831
Dear All,
How could I Add RichEdit to my Text Area to allow the user
to edit his email (Like The Compose Page In HotMail).
"Shery" <yara91@hotmail.com> wrote in message
news:010201c34dca$041abea0$a001280a@phx.gbl...
> Dear All,
> How could I Add RichEdit to my Text Area to allow the user
> to edit his email (Like The Compose Page In HotMail).
>
> Thanks alot in advance
>
> Shery
>