| Warning: Page has Expired |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- ASP.Net >> Insert/Update Statement Examples?Hi,
I am moving from classic ASP to ASP.NET 2.0. I have gone through the
quick start info. One of my top questions is on insert/update/delete
statements. I am unable to find examples/walk-throughs on how to do
this in 2.0 (without using the server controls like gridview). Can
anyone point out walk throughs or examples of how to do this?
Thanks,
William D.
http://www.ultraweaver.com
- 2
- ASP.Net >> Inserting Data in Page_load problem!!!!!I'm trying to insert data in Page_load below but its inserting 2 records
at the sametime!!!
What am i doing wrong!!!!!
Sub Page_Load (ByVal sender As System.Object, ByVal e As
System.EventArgs)Handles MyBase.Load
if Not Page.IsPostBack then
Dim strLogonUsr As String
strLogonUsr = Request.ServerVariables("LOGON_USER")
Dim myConnection = New
SqlConnection("server=(local);database=Wintergreen;integrated
security=true;")
Dim insertCmd As String = _
"insert into survey values (@username, @DateCreated);"
' Initialize the SqlCommand with the new SQL string.
Dim myCommand = New SqlCommand(insertCmd, myConnection)
' Created new parameters for the SqlCommand object and
' initialize them to the field values.
' Create the parameter for the logon user
myCommand.Parameters.Add(New SqlParameter("@Username", _
SqlDbType.VarChar, 50))
' Assigned the value
myCommand.Parameters("@Username").Value = strLogonUsr
' Created the parameter for the time
myCommand.Parameters.Add(New SqlParameter("@DateCreated", _
SqlDbType.DateTime, 8))
' Assign the value as Now()
myCommand.Parameters("@DateCreated").Value = Now()
myCommand.Connection.Open()
'myCommand.ExecuteNonQuery()
Try
' Execute the command
'myCommand.ExecuteNonQuery()
myCommand.ExecuteNonQuery()
' Report success
Label1.Text = "Thanks for filling Crazy John's Survey!"
Catch exc As SqlException
' Report error if u have one
Label1.Text = exc.Message
Finally
' Close the connection no matter what
myCommand.Connection.Close()
End Try
End If
End Sub
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- 3
- ASP.Net >> RowFilter on Date fieldI have loaded an xml file to a dataset and one of the fields being
"UserDate" and has date values like
<UserDate>2005-01-01T00:00:00.0000000-05:00</UserDate>
I am trying to apply a row filter to this field and it doesn't seem to work
dvCMonth.RowFilter = "Month(UserDate)=" & Now().Month
dvCMonth.RowFilter = "Month(UserDate)='4'"
no matter what I try, it doesn't work however, Any help would be appreciated
and thanks in advance.
Manoj Das
- 4
- ASP.Net >> ClientSide event processing loading dataThanks Michelle,
How could I achieve the second one.I do not like Flashing windows in
response to selection of an item.
I agree the data transfer is very little but the same data transferred for
more than once takes multiple of the initial load time.
I used to use <%....%> in asp to achieve the forbidden method( :) just
kidding) of client side scripting. The Script tags were used to create a
data array with Database data relevent to the page.
Could anyone please tell me the relevent one here.
Thanks
"Michelle Stone" <mich_stone@yahoo.com> wrote in message
news:067301c3d389$96d11150$a401280a@phx.gbl...
> I don't know if I don't see some things, but I certainly
> cannot find the "too much data" coming in due to the
> postback.
>
> Make sure you put most of the code in the PAGE_LOAD
> function within the if (!IsPostBack) { } block. And the
> code you write for the LIST1 selection-change will be
> only retrieving values for the LIST2 (which is
> inevitable). So where are the extra bytes coming in?
>
> If you want to avoid the postback (the annoying screen-
> flashing), you will have to download all the records
> possible for LIST2 and then use javascript to filter the
> second LIST depending on the selection in the first LIST.
> I do NOT recommend this method, of course unless you are
> talking about a maximum of 10 or 15 items.
>
>
> >-----Original Message-----
> >Thanks Bryan,
> >If I write an event to post back on List1 Select then it
> could be expensive
> >one and going back and forth on a lower Bandwidth might
> not be a good idea.
> >I know transfer a whole lot of data makes similar
> problems but looks like
> >that is better evil.
> >
> >any other ideas?
> >
> >
> >"Bryan Masephol" <masephbj@uwec.edu> wrote in message
> >news:ODHMpU10DHA.1576@TK2MSFTNGP11.phx.gbl...
> >> Somewhat simply put... the way I know how to do it
> >>
> >> Populate DropDownList1 with data from Table1
> >> Listen for selection event on DropDownList1
> >> In handling event Populate DropDownList2 with info
> from Table2
> >> Listen for selection event on DropDownList2
> >> Do whatever you want next...
> >>
> >> This way requires that when the dropdownlist value is
> changed that it
> >> submits a form (POST) and then runs the selection
> event... something like
> >> that.
> >>
> >> Bryan
> >>
> >>
> >> "anonymous" <anonymous@msn.com> wrote in message
> >> news:u4AzHh00DHA.3468@TK2MSFTNGP11.phx.gbl...
> >> > Hi Folks,
> >> > I have a form with two Dropdown list boxes, which
> get loaded with data
> >> from
> >> > Database.
> >> >
> >> > DropDownList1 gets data from Table1
> >> > and
> >> > DropDownList2 gets data from Table2
> >> >
> >> > Table1 has a parent child relationship with Table2 (
> has a foreign key
> >to
> >> > Table1)
> >> >
> >> > DropdrownList2 needs to be loaded with the data
> depending up on the
> >> > selection in the 1st DropDown.
> >> >
> >> > Can you guys please tell me what is the best way to
> implement it.
> >> >
> >> > In coldFusion I did this way back by creating Data
> Arrays with the data
> >in
> >> > Table1 and Table2 andimplemented the rest with
> ClientSide java script
> >> > loading data in the second Dropdown...
> >> > I think you guys got the picture :).
> >> >
> >> > Tell me a couple of ways of doing it please. I could
> not find a way to
> >> > create client side Array with .NET.
> >> >
> >> > Thanks in Advance,
> >> > a .NET beginner
> >> >
> >> >
> >>
> >>
> >
> >
> >.
> >
- 5
- IIS >> Sizing of IIS 6.0 ?Hi,
I need to know what kind of specs do i need for a 15 000 users configuration on IIS6.0 running application like MS AutoDL 2.1, i didnt find infos about this.
Thanks a lot for your help;
- 6
- ASP.Net >> access the base Page class from user controls??Please can someone tell me how on earth to create an instance of my top
level (base) Page class so that I can access it's objects from an user
control?? Someone told me
public myParent = (default_aspx) this.Page;
where default_aspx is the class name of the base Page...
- 7
- ASP.Net >> Accessing controls within a datalist footer templateHi,
I am a bit green when it comes to .net development so
please excuse me if this question is obvious or has been
asked before...
I am trying to programmatically access a label control
within a datalist footer template using asp/vb.net. I have
been searching
through the documentation but can only find reference to
creating a footer template programatically, rather than
accessing the controls within one.
If anyone has done this, or can point me in the direction
of some sample code, that would be fantastic!
Cheers!
- 8
- IIS >> HOWO: Use INCLUDEs on WebSites and Virtual DirectoriesThe Live system is on an IIS WebSite called "Hyperion"
The Training system is on an IIS WebSite called "HyperionTest"
The Development system exists on each developer's machine using personal web
server with Windows XP, and exists off the once and only allowed web-site
called "Default Web Site" inside a Virtual Directory called "Hyperion"
So, if you're looking at IIS Manager it's
#Internet Information Services
- JANGO
- Web Sites
+Hyperion
+ASP
+ASPSource
+include
+News
+javascript
+styles
+images
+HyperionTest
+ASP
+ASPSource
+include
+News
+javascript
+styles
+images
- OBSIDIAN (local computer)
- Web Sites
- Default Web Site
+Hyperion
+ASP
+ASPSource
+include
+News
+javascript
+styles
+images
Now, imagine an ASP files that contain includes
/Welcome.asp
<!-- #INCLUDE VIRTUAL="/Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="/ASP/CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="/ASPSource/MiscTools.asp" -->
/ASP/EditQuote.asp
<!-- #INCLUDE VIRTUAL="/Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="/ASP/CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="/ASPSource/MiscTools.asp" -->
/ASPSource/QuoteListItemsListView.asp
<!-- #INCLUDE VIRTUAL="/Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="/ASP/CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="/ASPSource/MiscTools.asp" -->
Unfortunatly, there doesn't seem to be any way to make one set of source
code work on all 3 systems at the same time.
No amout of relative pathing works. Because of the hobbling in Personal Web
Server, we cannot create a new Web Site like we would on a real web-server,
so we're stuck with creating a virtual directory under an existing web-site.
It also doesn't work for client-side HTML
Default.asp
<HEAD>
<LINK rel="stylesheet" type="text/css" href="/styles/style.css">
</HEAD>
<A href="/ASP/EditQuote.asp">Edit</A>
This fails because PWS doesn't honor the fact that they are in a "Virtual
Directory" and any references to "/" should, of course, mean the root
virtual directory.
Fortunatly, the HTML can be changed to
Default.asp
<HEAD>
<LINK rel="stylesheet" type="text/css" href="./styles/style.css">
<A href="./ASP/EditQuote.asp">Edit</A>
</HEAD>
/ASP/EditQuote.asp
<HEAD>
<LINK rel="stylesheet" type="text/css" href="../styles/style.css">
</HEAD>
<A href="./EditQuote.asp">Edit</A>
Which is a nightmare to have to update every page with relative path
information, but what the hell, as long as it works - it doesn't matter how
messy the hack is is.
Unfortunaly, serve side includes have no such hack available
/Welcome.asp
<!-- #INCLUDE VIRTUAL="./Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="./ASP/CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="./ASPSource/MiscTools.asp" -->
The include file './Include/OptionExplicit.asp' was not found.
/ASP/EditQuote.asp
<!-- #INCLUDE VIRTUAL="../Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="./CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="../ASPSource/MiscTools.asp" -->
The include file '../Include/OptionExplicit.asp' was not found.
/ASPSource/QuoteListItemsListView.asp
<!-- #INCLUDE VIRTUAL="../Include/OptionExplicit.asp" -->
<!-- #INCLUDE VIRTUAL="../ASP/CurrentUserTable.asp" -->
<!-- #INCLUDE VIRTUAL="./MiscTools.asp" -->
The include file '../Include/OptionExplicit.asp' was not found.
So, my question is: Is it not possible to develop web-sites and then deploy
them to the customer?
- 9
- ASP/Active Server Pages >> JScript objects, events and "this"Hi ! I have a question about JScript :
I have an object class wich dynamically creates a control in the page.
Then it binds an event to that control, pointing on one of its methods
(the object's). This method, in turn, calls other of its own
methods...
The binding seems ok and the change() method does get called. But I
get an error message (This object does not support this property or
method) when I call other methods on the object.
I think that the implicit "this" object sent to the method does not
point to the right object instance...
Does anyone have a clue on how I might solve this ?
TextField.prototype.generateField = function() {
this.fieldReference = window.document.createElement("input");
this.fieldReference.type = "text";
this.fieldReference.name = this.fieldId;
this.fieldReference.id = this.fieldId;
this.fieldReference.value = this.value;
this.fieldReference.attachEvent("onchange", this.change);
this.fieldWrapperReference.innerHTML = "";
this.fieldWrapperReference.appendChild(this.fieldReference);
}
TextField.prototype.change = function() {
// Fired by the onchange event
this._setStyles();
this._updateChilds();
if (this.onChangeFunction != null) {
this.onChangeFunction();
}
}
- 10
- ASP.Net >> Forms Authentication and Classic ASPI have, for reasons I don't want to go into, an ASP.NET application working
alongside a classic ASP application. I'd quite like the ASP.NET application
to handle the authentication for the entire directory (i.e. requests to
*.asp should be authenticated by aspnet_isapi.dll, but then handed off to
asp.dll)
Is this possible, and if so how?
Any help greatly appreciated, as usual :)
--
jo inferis
- 11
- ASP.Net >> Web Server Specifications for ASP.NET APP!HI ALL!!
We are in the process of purchasing a new web server for an event we
are holding and was wondering if any of you guys know if there is some
sort of formula or guideline we should follow to help determine the
specifications of the server we will require.
The event held will server 350 - 400 delegates who will access an
internal website with 5GB of documents (thousend odd doc, xls, ppt
files) using their laptops and a number of wireless hotspots throughout
the event building. The server will be a Windows Server 2003 based
plateform (maybe WebServer Edition) running IIS6.
I've been searching the internet and microsoft sites but can't seem to
find a definate document that will tell me how to determine the server
spec required based on the a 350 concurrent user and 5GB of documents
assumption ...
Please help... :o|
- 12
- ASP.Net >> Cannot open DLL file for writingHi all...
I have an ASP.NET 2.0 application. This application uses 2 components, named
Informe.dll and Seguridad.dll, whose source codes are under the same solution
as the ASP.NET application. The application resides on a remote computer
running Windows 2003 Server. My development PC is under Windows XP and Visual
Studio 2005 Beta 2.
When I rebuild the application, or when i modify any DLL, the following
error is shown for both DLL's (or for the modified one):
Error 2 Cannot copy assembly 'Seguridad.dll' to file 'C:\Documents and
Settings\jstuardo\Configuración
local\Temp\VWDWebCache\srv-repsvc_IntranetVida_cartolas\Bin\Seguridad.dll'.
Unable to add 'D:\Proyectos\Visual Studio
2005\Projects\IntranetVida\Security\obj\Debug\Seguridad.dll' to the Web.
Server error: Cannot open file "Seguridad.dll" for writing.
In order to refresh the component, I have to reset my computer.
Any help to solve this problem would be greatly appreciated.
Thanks
Jaime
- 13
- ASP.Net >> Can't select label text when using a master pageI have a variety of pages that use a master page. For some reason when I
attempt to copy any of the label text on the screen it seems to highlight
most of the screen randomly and I can't simply copy the text. I can select
all text that is inside a control such as a text box. It is only the labels
that I can't get a hold of. Any suggestions would be greatly appreciated.
- 14
- Frontpage Programming >> Pop-Up Windows - Specific Size w/FingerI am using the FrontPage.... Format, Behaviors, Insert, Open Browser
Window... feature to make hyperlinked pages open in a seperate window at a
certain size... the only problem is that no one knows they are hyperlinks
because NO FINGER appears when the mouse is over the hyperlink... HOW DO I
GET A FINGER? I have tried to add a regular hyperlink in addition to the
behavior setting, but end up getting multiple windows opening... is there
something I can add to the insert or is there some Code that I can use in
place or in addition to the behavior?
Thanks
- 15
- IIS >> can't view with external ipHi, i just set up my IIS, and im trying to make a website server/ftp server. I started out with my home directory, and i can view it in my LOCALhost (192.168.0.129) but i can't view it from my external IP... I have a dynamic ip address, but i was testing with my IP at the moment.. and it says Page cannot be displayed, i asked my friends to test it as welll, and it also says Page cannot be displayed (can't detect dns server) Someone also told me i should try a dynDNS service, but i don't really know how to even start with that if i can't even the website from an external ip. Any suggestions? Thanks in advance everyone.
|
| Author |
Message |
adrianbtc2k

|
Posted: Tue Jul 29 22:18:59 CDT 2003 |
Top |
ASP.Net >> Warning: Page has Expired
Hi, I get the following message when the back-button is clicked
"Warning: Page has Expired". This message only appeared after I used
the following line of code.
Page.Response.Expires = 20;
Is there any way to avoid that message and still use the power of the
Cache.
- Thanks
Web Programming60
|
| |
|
| |
 |
Alvin

|
Posted: Tue Jul 29 22:18:59 CDT 2003 |
Top |
ASP.Net >> Warning: Page has Expired
you won't get that error if there is server side activity. increase the
timeout
"Coder Coder" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hi, I get the following message when the back-button is clicked
> "Warning: Page has Expired". This message only appeared after I used
> the following line of code.
>
> Page.Response.Expires = 20;
>
>
> Is there any way to avoid that message and still use the power of the
> Cache.
>
> - Thanks
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- ASP.Net >> Unable to run asp.net 2.0 application on serverHi all,
This is the first time I've encountered this problem.
This moring I have installed .Net 2.0 framework and AJAX 1.0 onto our server
which already had .Net 1.1 installed upon it.
After installing some security patches and rebooting everything was back up
and running.
I then tested my application and received the large red "Server Application
Unavailable" error message, I've seen this before and often hitting F5
clears it - not today it would seem.
I checked the event viewer as it recommended and I have these errors one
after the other at the same time:
aspnet_wp.exe (PID: 2076) stopped unexpectedly.
**********************************************
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1089
Date: 26/07/2007
Time: 09:26:15
User: N/A
Computer: UBHNT55
Description:
Failed to execute the request because the ASP.NET process identity does not
have read permissions to the global assembly cache. Error: 0x80070005 Access
is denied.
**********************************************
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 26/07/2007
Time: 09:26:15
User: N/A
Computer: UBHNT55
Description:
Failed to initialize the
AppDomain:/LM/W3SVC/5/Root/Development/Production/AvonWeb/Applications/CDS/CDSReporting
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Access is denied.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence securityInfo,
StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
So it looks like theres a permissions/security problem (middle error
above) - so does anyone have any ideas how to resolve this? .Net 1.1
applications still seem to be working.
Thanks in advance for any help.
Regards
Rob
- 2
- ASP.Net >> Remove DoropDown ListBox itemsHi,
How can remove all items is a list box or dropdown list box.
I know that i can remove all items in Items collection by hand. I am looking
for bultin member function doing that.
Thanks,
Ali
- 3
- ASP.Net >> cannot hide link in sitemap using roles= ...Hi,
i have a problem with the visibility of my sitemap.
There is one role defined: "manager"
There are two users: 'user1' (member of role manager) and 'user2' (not
member).
The login.aspx redirects to a page with a menu control associated to a
SiteMapDataSource.
I want to hide pg1 for all non-members of role manager (=user2).
I did this in:
web.sitemap:
------------
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="page1.aspx" title="pg1" roles="manager" >
<siteMapNode url="page2.aspx" title="pg2" >
</siteMapNode>
<siteMapNode url="page3.aspx" title="pg3" >
</siteMapNode>
</siteMapNode>
</siteMap>
in web.config:
------------
<roleManager enabled="true" />
<siteMap defaultProvider="AspXmlSiteMapProvider" enabled="true">
<providers>
<clear/>
<add name="AspXmlSiteMapProvider"
type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>
My problem: when logging with any user, that user (user2) sees all the
pages, included pg1.
How to make pg1 invisible for user2 using this sitemap?
Thanks
Chris
- 4
- ASP.Net >> The problem of assigning a validation control to "two" ValidationGroupsI would like to let users check the input format of a Textbox during
filling the whole form by clicking a button, say checkButton, to
postback to server.
Further, when clicking the "submit button" to submit the total content
to web server, the foramt of input inside the Textbox can be still
validated.
In other words shortly, how could I assign a validation control to
"two" ValidationGroups. In this case, one is checkButton and the
orther is submit button.
Thanks for any reply.
Regards
- 5
- Frontpage Client >> web gallery to front pageI have my FPsite just about ready to go, thanks to all and the tutorials. I
have used Photoshop 7 to make a web gallery, I would like to post a differnt
galley like this each week on the site which will contain hundreds of photos.
I have saved the photos in a folder in my web but can't figure out how to
select all of them and post them on a page in the site.
Thanks in advance
jmp
- 6
- ASP.Net >> Simple OOP questionHI everyone,
I think i am on the right path but if someone could confirm it, that
would be great.
In my business Layer i have my business object, for this example,
called User.
User has about 50 properties.
To save the user object in my business layer i call the factory and
pass in the object
Dim uf as new userFactory
Dim u as user
uf.save(u)
Now because the DAL and business layer shouldnt care about eachother, i
dont want to pass in a business object into my DAL, so at the moment i
pass in each property as a parameter to my save function in my DAL, is
this right??
'Save function in DAL
Function Save(userid as integer, firstname as string, lastname as
string, ............)
'Save function in BL
Function Save (u as user)
dim dal as new dataservice
dal.save(u.id, u.firstname, u.lastname, ..........)
End Function
Does this make sense? Hopefully i am right, but would like to know
what approach everyone takes. Thanks
- 7
- 8
- ASP.Net >> Server-side cookiesHi there,
I need to maintain users choices among different sessions.
So i'd like to use a kind of server-side cookies, just to be sure he won't
delete or reject the cookie, depending on the client security level.
But i can't find a way to do it, except using the FileStream Class.
Any other ideas ?
Thxs in advance,
....................................................................
Homer J. Simpson
Duff MVP - Donuts & Onion Rings Certified
....................................................................
- 9
- Frontpage Client >> Design ViewHi,
Sorry I am posting this here, but there doesn't seem to be an Expression
forum. Anyone using Expression... I have somehow given my design view big
thick borders on each side. The margin to the left is flashing. How can I
return this to the normal design view? Thanks
- 10
- ASP.Net >> Dropdown to Trigger Custom Query from DatabaseI know, at least in principle, how to put all of the code on one page,
reference the text/value of a drop-down control and create a custom query.
However, I am using the code-behind model where I am setting the DataSource
of my DataList to a PagedDataSource object so I can do data paging. I am
totally stuck on how to generate the custom query using parameters. First,
how do I reference the value of the control "behind the page". The second
problem is probably more for me, how to write a custom query for the
PagedDataSource, but both issues are related in my mind.
Thanks for any suggestions,
Tony
- 11
- IIS >> IUSR_USR deletedHallo
I have deleted my account IUSR_Computername to have anonymous access to my
website. WHen I use another account (member off Guests with NTFS permissions
in the root directory off my website) to have anonymous accessI receive an
error
Are there specific properties for an account that you want to use for
anonymous access?
Any ideas?
Thanks An
- 12
- Frontpage Client >> Default playerHow do I set a default player for music in my site ?
It used to be Real Player, but has just changed to Quicktime - I don't know
why
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
- 13
- 14
- Frontpage Programming >> Cannot Update Web-enabled Access databaseUsing Frontpage2003 and Access2003, I've created ASP.Net pages (Submission
and Results forms). The Results form displays my Access data w/o a problem.
With the Submission form I get the not uncommon "The operation failed. If
this continues, please contact your server administrator." error. My data
is all defined as text--no numeric data. Most of the suggestions I've found
are geared towards ASP and not ASP.Net. I hope someone out there can make me
a happy camper. Thanks for your help.
- 15
- Frontpage Programming >> Can't get ASP on remote sit to connect to Database on same siteThis is the ONLY coding (and not really coding). I did NO coding beyond the
following steps that I took:
I took and Access database and using an Access Wizard, created an Access
Server Page.
Name/Path and Access Database:
â??d:\home\jphelan\inbusiness.ws\fpdb\DownloadArea2a3.mdbâ??
Name/Path and ASP: â??d:\home\jphelan\inbusiness.ws\fpdb \Page1.aspâ??
I made certain that the Database referenced the ASP; and that the ASP
referenced the Database.
All I get is the following error when I try to open Page1.aspâ?? in a browser:
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
________________________________________
Please try the following:
â?¢ Contact the Web site administrator if you believe this directory should
allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)
________________________________________
Technical Information (for support personnel)
â?¢ Go to Microsoft Product Support Services and perform a title search for
the words HTTP and 403.
â?¢ Open IIS Help, which is accessible in IIS Manager (inetmgr), and search
for topics titled Configuring ISAPI Extensions, Configuring CGI Applications,
Securing Your Site with Web Site Permissions, and About Custom Error
Messages.
â?¢ In the IIS Software Development Kit (SDK) or at the MSDN Online Library,
search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and
Debugging ISAPI Extensions and Filters.
John
|
|
|