| CreateObject("Scripting.FileSystemObject") |
|
 |
Index ‹ Web Programming ‹ ASP/Active Server Pages
|
- Previous
- 1
- ASP.Net >> Can't call Stored Proc... How to trace Flow of Web Application in VB.NET?Hi,
I have a webform which has vb.net code behind it and I would like it to
submit the entries in the fields into a sql server db using a stored
procedure. I have a central .vb file in my application that has all the
stored proc calls in it. in the Submit_Click Sub in my form.vb file, I
reference the function in my central .vb file which calls the stored proc.
The problem that I am having is that when I submit my form, it just reloads
the form minus all the values. The form is set to run at server. I would
like to trace my application to see if the form values are actually being
sent to my store proc function. I am new to .NET and I would greatly
appreciate any help.
Thank you kindly,
Muhsin
- 2
- IIS >> newbie to iisI understand that IIS will cache files in memory, however I need to find out
if there is a way to programatically determine if a file is in the cache or
not.
I have a web based application on Windowns 2000 server with SP 4 that when I
attemtp to update its files, I get an errro that the file is in use. If I
IIS ( IIS Admin and WWW service) I can upload the new files without a
problem.
Has anybody run into a situation like this? any help or guidance is greatly
appreciated.
Jon
- 3
- 4
- ASP.Net >> Problem with decrypt/encryptIm trying to encrypt a string in asp.net. Post the encrypted string
thru a form. Recive the encrypted string on a classic asp page and
decrypt it there.
I get a error saying "Padding is invalid and cannot be removed". It
works perfect on my localhost (running XP SP2) but i get that error on
my Windows 2000 server.
Anyone have any idea why this happens? I guess something strange is
happen when i post the form. But i have checked the strings that is
sent and they look the same. But mabye it can have something to do with
the page in some way? Well .. give me some ideas :)
Br, Ola
- 5
- Frontpage Client >> INCLUDE and INCLUDE VIRTUALMy site has been move AGAIN to another hosting service.
Most all of my ASP pages are giving me new problems after years of just
running fine.
It seems that the new service PureHost requires all INCLUDE's in the ASP
pages to read INCLUDE VIRTUAL
Seems that they are on ISS v6 and this is a new requirement from ISS v5.
Well if you make this change in FP2002 (HTML view) - Front Page backs out
the change when you save the page.
Two questions:
Is there a workaround ?
Does FP 2003 permit this change?
Regards,
Frank
- 6
- 7
- ASP.Net >> identity impersonation definition in web.configI have some security concerns over storing a Active Directory username/
passwd in a text based web.config file for the identity impersonation
definition.
I know that web.conf is not accessible via the web browser, however
someone with account on the server can get to the file and steal the
credentials.
Is there a way to hash the username/password for identity
impersonation definition, or define it elsewhere where it is not
accessible to the server administrator/operators?
Thanks
saqib
http://www.full-disk-encryption.net
- 8
- ASP/Active Server Pages >> cdonts questionI need send an email to my client by using CDONTS, which contain a utf-8
characters
then i am using following code
mailObject.value("Content-type") = "text/plain; charset=utf-8"
mailObject.value ("Content-transfer-encoding") = "8bit"
ls_body = ls_body & "<html><head>"
ls_body = ls_body & "<META HTTP-EQUIV=""Content-Type"" CONTENT=""text/html;
charset=utf-8""></head><body >"
ls_body = ls_body & "<font size=2>An Exhibitor has submitted a form to you
through our on-line manual system:</br></br>" & chr(13) & chr(13)
ls_body = ls_body & "Form : " & form_name & "(Form " & form_number & ")"&
"</br>" & chr(13) & chr(13)
ls_body = ls_body & "</body></html>"
mailObject.Body = ls_body
mailObject.send
set mailObject= nothing
but it sees no work...what's wrong??
thx~
- 9
- IIS >> WAP & IIS 6.0Hi
I'm having a bit of a problem trying to get IIS 6 to
serve .wml. The server is a domain controller running
Windows 2003 Enterprise. I've added the MIME
type: .wml,text/vnd.wap.wml. The file loads from an HTML
browser so I know the MIME map is OK but if I try from my
phone or an emulator I get a 400 error. I've checked
security on the web directory and in Windows but they look
fine too. I'm really stumped!!!
HEEEEEEEEEEEEEEEELP
- 10
- ASP.Net >> machine.config file and domain usernameHi,
When i try to run my asp.net application, it asks for user
name and password by default higlighting
the domain\username and asking for password.
But how to avoide this by making an entry in
machine.config file
- 11
- Frontpage Client >> Need recommendations on FP templates to purchaseI have a domain name, and hosting (From APlus.net â?? that supports FP
extensions)â?¦ I really thought FP 2003 had lots and lots of template examples,
but they really donâ??t â?? so I want to buy one. (under $100 â?? or $200 if it
looks great and has lots and lots of functionality and support)
Can anyone recommend good sites to check out?
Also what to look for in a templateâ?¦
As backgroundâ?¦
- Iâ??m new to FP and building web pages in general. But a computer geek other
than that
- The web site I want to build is for my small business â?? a video services
business.
- I donâ??t plan on selling products from the web site any time soon
- I will want to be able to insert my own pictures/movies into the site
- Looking for a clean sophisticated look â?? we are targeting customers with
lots of disposal income
- We have an idea of the color scheme we want so I would want to be able to
set that (unless I happen to find one that is what we want to begin with).
- The business is next to the ocean and we want to have a lighthouse/ocean
theme
Thanks for any help you can provide
\Dave
- 12
- Frontpage Client >> MessageTypeWhen I use a form to send results to a Access database, I see that a text
field called MessageType is created in the database. And all the fields are
blank. What is this field?
- 13
- Frontpage Client >> Hover Buttons Red XNewbie here... I am using FP2002, and when I am working with the
webpage/adding Hover buttons everything is ok.. I hit preview and they show
up as white Boxes with a Red X in it.... I uploaded to my ISP and it still
doesnt work.... I saw a help file that said to remove the entry codebase
"./" = so I did... that didnt help either.... I remember along time ago I
had a similiar problem and it required me to load some Extensions... PLEASE
help.... http://members.localnet.com/~ozzyman
- 14
- Frontpage Client >> Frontpage 2002 Opens document then immediatly closesI am having a wierd problem. I havent used Frontpage for a day or two
but all of a sudden I opened a new document then it immediatly closed.
When I try to open a document from the right-click menu it opens the
doc then closes it right after. I cannot seem to find out whats wrong,
any ideas?
Chuck
- 15
- Frontpage Client >> Looking to add "Rate This" capability to my web siteI am looking to get information on how I might add a type of "Rate This"
functionality to my web site. Is there a common software/add-on used out
there? Or is this a start-from-scratch type of functionality needed to be
created by a webmaster? If there are many options, I'm looking for simple to
install and simple usage. Thanks.
|
| Author |
Message |
Martín

|
Posted: Sun Jun 13 23:39:39 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
Hi, experts,
My system has a problem when I invoke the fileSystemObject to create a text
file (it worked ok long before.)
The asp seems running, but actually never finishes. I don't know what I done
wrong to the server. How can I fix the problem? Is there a way to resinstall
the filesystemobject to the server? Thanks for any idea.
--
Andrew
Web Programming277
|
| |
|
| |
 |
Alan

|
Posted: Sun Jun 13 23:39:39 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
Have you got an anti-virus autoprotect feature enabled?
Alan
"Andrew" <EMail@HideDomain.com> wrote in message
news:xi9zc.240215$EMail@HideDomain.com...
> Hi, experts,
>
> My system has a problem when I invoke the fileSystemObject to create a
text
> file (it worked ok long before.)
> The asp seems running, but actually never finishes. I don't know what I
done
> wrong to the server. How can I fix the problem? Is there a way to
resinstall
> the filesystemobject to the server? Thanks for any idea.
> --
> Andrew
>
>
>
>
|
| |
|
| |
 |
Andrew

|
Posted: Mon Jun 14 20:36:45 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
I installed the NAV but not enable the auto protect.
--
Andrew
"Alan Howard" <EMail@HideDomain.com> wrote in message
news:%EMail@HideDomain.com...
> Have you got an anti-virus autoprotect feature enabled?
>
> Alan
>
> "Andrew" <EMail@HideDomain.com> wrote in message
> news:xi9zc.240215$EMail@HideDomain.com...
> > Hi, experts,
> >
> > My system has a problem when I invoke the fileSystemObject to create a
> text
> > file (it worked ok long before.)
> > The asp seems running, but actually never finishes. I don't know what I
> done
> > wrong to the server. How can I fix the problem? Is there a way to
> resinstall
> > the filesystemobject to the server? Thanks for any idea.
> > --
> > Andrew
> >
> >
> >
> >
>
>
|
| |
|
| |
 |
Alan

|
Posted: Mon Jun 14 20:42:36 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
Try shutting NAV down completely and see if that makes a difference.
Alan
"Andrew" <EMail@HideDomain.com> wrote in message
news:Noszc.6$EMail@HideDomain.com...
> I installed the NAV but not enable the auto protect.
>
> --
> Andrew
>
>
>
> "Alan Howard" <EMail@HideDomain.com> wrote in message
> news:%EMail@HideDomain.com...
> > Have you got an anti-virus autoprotect feature enabled?
> >
> > Alan
> >
> > "Andrew" <EMail@HideDomain.com> wrote in message
> > news:xi9zc.240215$EMail@HideDomain.com...
> > > Hi, experts,
> > >
> > > My system has a problem when I invoke the fileSystemObject to create a
> > text
> > > file (it worked ok long before.)
> > > The asp seems running, but actually never finishes. I don't know what
I
> > done
> > > wrong to the server. How can I fix the problem? Is there a way to
> > resinstall
> > > the filesystemobject to the server? Thanks for any idea.
> > > --
> > > Andrew
> > >
> > >
> > >
> > >
> >
> >
>
>
|
| |
|
| |
 |
Andrew

|
Posted: Mon Jun 14 22:53:43 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
I think I have to uninstall NAV. Thanks,
--
Andrew
"Alan Howard" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Try shutting NAV down completely and see if that makes a difference.
>
> Alan
>
> "Andrew" <EMail@HideDomain.com> wrote in message
> news:Noszc.6$EMail@HideDomain.com...
> > I installed the NAV but not enable the auto protect.
> >
> > --
> > Andrew
> >
> >
> >
> > "Alan Howard" <EMail@HideDomain.com> wrote in message
> > news:%EMail@HideDomain.com...
> > > Have you got an anti-virus autoprotect feature enabled?
> > >
> > > Alan
> > >
> > > "Andrew" <EMail@HideDomain.com> wrote in message
> > > news:xi9zc.240215$EMail@HideDomain.com...
> > > > Hi, experts,
> > > >
> > > > My system has a problem when I invoke the fileSystemObject to create
a
> > > text
> > > > file (it worked ok long before.)
> > > > The asp seems running, but actually never finishes. I don't know
what
> I
> > > done
> > > > wrong to the server. How can I fix the problem? Is there a way to
> > > resinstall
> > > > the filesystemobject to the server? Thanks for any idea.
> > > > --
> > > > Andrew
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
| |
|
| |
 |
Bob

|
Posted: Tue Jun 15 06:01:35 CDT 2004 |
Top |
ASP/Active Server Pages >> CreateObject("Scripting.FileSystemObject")
No you don't: you simply have to disable sript-blocking.
Bob Barrows
Andrew wrote:
> I think I have to uninstall NAV. Thanks,
>
>
> "Alan Howard" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
>> Try shutting NAV down completely and see if that makes a difference.
>>
>> Alan
>>
>> "Andrew" <EMail@HideDomain.com> wrote in message
>> news:Noszc.6$EMail@HideDomain.com...
>>> I installed the NAV but not enable the auto protect.
>>>
>>> --
>>> Andrew
>>>
>>>
>>>
>>> "Alan Howard" <EMail@HideDomain.com> wrote in message
>>> news:%EMail@HideDomain.com...
>>>> Have you got an anti-virus autoprotect feature enabled?
>>>>
>>>> Alan
>>>>
>>>> "Andrew" <EMail@HideDomain.com> wrote in message
>>>> news:xi9zc.240215$EMail@HideDomain.com...
>>>>> Hi, experts,
>>>>>
>>>>> My system has a problem when I invoke the fileSystemObject to
>>>>> create a text file (it worked ok long before.)
>>>>> The asp seems running, but actually never finishes. I don't know
> what
>> I
>>>> done
>>>>> wrong to the server. How can I fix the problem? Is there a way to
>>>>> resinstall the filesystemobject to the server? Thanks for any
>>>>> idea. --
>>>>> Andrew
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP/Active Server Pages |
- Next
- 1
- Frontpage Programming >> Stop Frontpage from formatting HyperlinkWhen inserting a hyperlink via the insert hyperlink dialogue box, somehow
frontpage converts the hyperlink and goes to a slightly different address
from the inserted hyperlink. Yet when I copy and paste the link straight into
my browser goes to the correct address.
Can some one please explain how this can be corrected via the codeing if
required.
Any suggestions whould be very appreciated.
--
OZO
IT Training and Support Consultant
PC Training Online Aust
- 2
- Frontpage Client >> How do I make it so that the enduser doesn't have to hit refresh all the time?I just starting use this product for my personal use.
It's going great so far, but I have one problem. Anytime
I make a change to the site, it doesn't show up on the
web until the user hits refresh. This happens even when
their IE client is set to check for page updates every
time you visit. Is there anything on the backend that I
can control this and make sure they are always viewing
current content? Thanks.
- 3
- IIS >> Performance TAB in IIS 6.0In my default Site in it proprites I can't see the Performance TAB.
Anyone Know How I can See the TAB????
Best Regrads,
Cristiano Parisotto
- 4
- ASP.Net >> Creating a custom control (ascx) with 'child' classesHello,
I have an html table template which I want to turn into ASP.NET custom
control. I want to utilize the best features of OOP. I want to be able to
create columns headings dynamically, add buttons to the footer of the table,
etc. A datagrid control wont work for me, because I want to have custom
buttons images for paging and sorting.
Here is one thing I have the most difficulty with:
I need a way to have a "master" custom table tag and then "child" columns
tags. The same concept as datagrid:
<asp:DataGrid id="myDataGrid" runat="server">
<Columns>
<asp:BoundColumn DataField="ProductName" HeaderText="Product
Name"></asp:BoundColumn>
<asp:BoundColumn DataField="UnitPrice" HeaderText="Unit
Price"></asp:BoundColumn>
<asp:BoundColumn DataField="UnitsInStock" HeaderText="Stock
Level"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
So my custom controls would look something like:
<myCustomC:myData id="myDataTable" runat="server">
<myCustomC:column heading="Product Name" color="red"></myCustomC:column>
<myCustomC:column heading="UnitPrice" color="red"></myCustomC:column>
</myCustomC:myData>
Any ideas?
Thank you
- 5
- ASP.Net >> web.config redirection returns 302 instead of 404Hello everybody,
I have a problem with custom error page. I' using a redirection in a
web.config file to a custom error page:
<customErrors mode="RemoteOnly" defaultRedirect="/_err/generic.aspx">
<error statusCode="404" redirect="/_err/not-found.aspx" />
</customErrors>
My custom error page "not-found.aspx" returns "HTTP Status Code: 404
Not found" which is OK.
But when I'm trying to check HTTP Status Code of non existing page it
is returns "HTTP Status Code: 302 Found" which means Temporary
Redirection. Any Ideas how to fix this problem? I want non existing
page return "HTTP Status Code: 404 Not found" as well.
Thank you,
Vlad.
- 6
- 7
- ASP.Net >> SqlDataSource.Selecting before Page_Load on postback?I have a pretty simple page with a GridView, a DropDownList as a filter to
the GridView, and a filter Button. Both gridview and dropdownlist are bound
to SqlDataSources. I am setting another parameter in the Selecting event of
the datasource, but the strange thing is the order of the events that fire.
When I first enter the page the event order is:
Page_Init
Page_Load
SqlDataSource.Selecting
But when I press the filter button and get a postback, the event order
changes to:
Page_Init
SqlDataSource.Selecting
Page_Load
Why would this happen? There are things that have to happen in the
Page_Load before the Selecting event happens. Its very disturbing that I
can't count on the life cycle of the page to be consistant...
- 8
- Frontpage Client >> msn search does not show siteHave Front Page 2003, site held by MSN with front page
server extensions, saved files as .htm not .html -
bcentral says I am using front page extensions, when I
type in direct name www. it comes up and functioning but
when I do a search thru MSN search bar with name of
company - it does not show up, it use to when I had the
one page deal. I do an exact search on the banner name
and still does not show in search. What am I doing
wrong? should I be saving as .html and have them point to
the index.html cause it does not work with index.htm, it
has to be something real simple - please help.
- 9
- ASP.Net >> Need AdviceHello,
I created a Content Management System for my clients.
In its homepage I want to display some news.
I need to have the news in my web site's database or maybe in an XML
file.
What is the best way to access it from multiple web sites?
This seems much like a RSS where multiple web sites take the information
from one web site and then display it using a simple dataset.
Anyway, can someone give me some advice on this?
Thanks,
Miguel
- 10
- Frontpage Client >> File import error messageHi all,
In an effort to make sure all my local and server files are in sync, I
deleted my local files and attempted to import the site onto my local hard
drive using Front Page. The import stops with the error message "You
specified identical destination filenames for some of the files you are
trying to copy. Make sure all destination files have unique names and try
again." I am not sure exactly what this means--particularly since this is a
complete site import and I did not specify anything except for the folder the
site gets imported into--or how to find which of the many files might be
generating the error. The log file only shows the error message and provides
no details. I'm stumped.
Clay
- 11
- 12
- ASP.Net >> I want to derive a new asp:circlehotspot control - need some helpI'm working with the new ASP.NET AJAX Control Toolkit. I have a map that
has several key areas (hot spots) where when the user hovers over them, I
want to pop up a small window with information in it (text, graphics,
whatever). I am using the asp:ImageMap control and I can use the
asp:circlehotspot control, but that only allows me to have a single hotspot.
What I want to do is create a new custom control that derives everything
from this circlehotspot, but adds an "ID" property. If I can reference
that, then I have have multiple hotspots on the image and each one can
trigger a different hover/pop-up panel.
I have never done this before, so I need some guidance. Where I'm running
into trouble is that there are two functions (MarkupName() and
GetCoordinates()) that are 'must override' in the base class. I don't want
to change them, but I have no idea what they are supposed to return. I
copied part of this from a page I found on the net where the guy was doing
something similar with the hotspot controls, but he was creating another
type (circle, rectangle, polygon, he was adding a 'diamond' shape). So the
code in the MarkupName() and GetCoordinates() are the two areas I'm having
trouble with and are his original code which doesn't apply to what I'm
trying to do at all. Here's what I've got so far:
Imports Microsoft.VisualBasic
Namespace foo
Public Class customcirclehotspot
Inherits System.Web.UI.WebControls.HotSpot
Public Sub New()
MyBase.New()
End Sub
Public Sub New(ByVal ID As String)
MyBase.New()
Me.ID = ID
End Sub
Public Property ID() As String
Get
Dim val As Object = ViewState("id")
If val Is Nothing Then
Return ""
Else
Return CStr(val)
End If
End Get
Set(ByVal value As String)
ViewState("id") = value
End Set
End Property
Protected Overrides ReadOnly Property MarkupName() As String
Get
Return "poly"
End Get
End Property
Public Overrides Function GetCoordinates() As String
Return CenterX.ToString() & "," & (CenterY - Height / 2).ToString()
& "," & _
(CenterX + Width / 2).ToString() & "," & CenterY.ToString()
& "," & _
CenterX.ToString() & "," & (CenterY + Height /
2).ToString() & "," & _
(CenterX - Width / 2).ToString() & "," & CenterY.ToString()
End Function
End Class
End Namespace
Am I doing it right? What do I do about the MarkupName() property and
GetCoordinates() function? I don't even know what the MarkupName is. Could
I do something as simple as Return "customcirclehotspot"?
What about the GetCoordinates() function? I have no idea what the original
returns and I don't need to change it. All I need to do is add an ID
property so the individual hotspots can be referenced by other controls.
Thanks in advance for any and all help.
- 13
- ASP.Net >> ASP.NET and Microsoft Access DatabaseI'm getting this error on my access .mdb file "It is already opened exclusively by another user, or you need permission to view its data. "
I've set IIS user permissions to modify for the folder and mdb file, as well as NTFS permission.....
I can preview the dataAdapter OK......I've look at all the documentation I can find, but no luck!
Any idea's, I have to use access for this project
Thanks in Advance
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
- 14
- IIS >> Serious issue w/ IIS and global.asaI know that a lot of people have had issues with ASP pages not loading (any
asp page will show status bar as loading, but it just goes on forever
without producing errors or timing out) while html pages load fine. I have
a situation here where it looks like we can possibly narrow the cause down.
I am using FrontPage 2000 on a Windows 2000 Pro machine. I have Windows
2000's Personal Web Manager running for local testing. When I make a new
web and use some simple ASP (ie. hello world), everything works fine. The
second a global.asa file is created by Frontpage (whether it's during the
"import file" wizard that detects that the file is a database, and prompts
you through setting up a connection, or whether you bring the database in w/
exlorer and use Tools->Web Settings->Database to manually create
theconnection), the asp problem happens; all html pages load fine, asp pages
don't load and don't produce errors. I have to delete the database
connection and global.asa file, and restart the computer (not just stop and
start web services w/ the Personal Web Manager admin panel) in order to get
any asp in the web working again.
Does anyone have any clue what could possibly be the problem here?
Thanks
Newbie Supreme
- 15
- Frontpage Client >> Big problem when publishing, Steve Easton?Hi,
I'm having a problem all of a sudden when I try to publish my sites
http://ephemera9.tripod.com
http://pleasantville-for.us/
When I try to publish both site say there is a fp extension problem and
won't publish.
The Pleasantville site actually seems to start downloading then pops up with
the fp extension warning
that they aren't installed. The strange thing is I know they are. I've went
in and reinstalled them on both sites and on the Pleasantville site I even
had the admin check them.
Could my FP program glitched out? I kinda think it is a problem with the
software, but not sure if I should reinstall it.
Is there some setting I'm missing that might have changed? I checked and
they don't look any different than they ever did.
If one would publish and the other wouldn't, I could see it might be a
remote server problem, but when they both don't, well, I'm perplexed!
Any help would be appreciated, as usual!
Tim
|
|
|