all groups > asp.net > february 2004 > threads for sunday february 15
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
file permission
Posted by Simon Chuang at 2/15/2004 11:21:14 PM
Hello
I develop a web application with form authentication by C#.NET. Authorized users can upload/download files to/from the web server. But I meet a problem: any user can download any file on the web server once they know the file's URL. Do you know how to prevent this?
Thanks in advance.... more >>
Can't debug on 2003 Server!
Posted by Amil Hanish at 2/15/2004 10:33:47 PM
Installed brand spanking new 2003 Server. Configured to be application
server. Then
installed Visual Studio .NET. Copied over web application from another
server and set
up normal web site.
When I try to debug the application within .NET, it always gives me the
error saying that
I'm not ... more >>
Object reference not set...
Posted by Amy Snyder at 2/15/2004 9:40:38 PM
I have the following sub that is called to load a data grid. It works
without a problem until I uncomment the dv.sort line. When I uncomment
the line I get the error: Object reference not set to an instance of an
object. The error is pointing to that line. What am I doing wrong?
Public... more >>
Problem with database connection
Posted by KKR at 2/15/2004 9:21:05 PM
Hi
I am getting an Error : Sql server does not exist or access denied when i try to connect through a web application. The same connection string works for a windows application. The same webapplication works fine if i try to run on the SQL server macines itself. I am using SQL Server2000.
(I... more >>
Error problem: asp.net app trying to reference local file?
Posted by steve_o at 2/15/2004 9:21:05 PM
I have had to create a new project file to update a deployed asp.net application. I then built the project and using "Copy Project" to deploy to the live server. Now when the application tries to use code that I have updated, it crashes with the following error trying to reference the local file on ... more >>
Session_End and SqlServer Session Mode
Posted by karahan celikel at 2/15/2004 7:40:46 PM
I realized that when SqlServer mode is used for session management
Session_End event is not fired in global.asax.
What can I do if I want to do something when a user's session end?
Thanks
... more >>
Securing a directory
Posted by Simon Harvey at 2/15/2004 7:26:13 PM
Hi everyone,
I just read an article that said that when you use a web.config file to
secure a directory, all it can do is secure the asp.net resources in that
directory - not any non .net resources.
For ecample, image files, html and asp files would not be secured.
I didnt actually realise ... more >>
Passing ID's in SQL
Posted by Andrew Banks at 2/15/2004 7:02:58 PM
I'm using guid to generate primary keys for my SQL server DB
I'm now trying to query the DB but keep getting errors. It seems to be
erroring when passing the ID and it's always around a hyphen in the sring
I'm passing
Eg.
WHERE ID = '24646a31-c088-41da-b93c-32174588da48' errors near a31
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Technique??? Use a web user control to store & share data access component groups
Posted by jqpdev at 2/15/2004 6:13:18 PM
Hello all...
I'm coming from a Borland Delphi background. Delphi has a specific
component called a Data Module. In the designer the Data Module behaves
like a windows form. A developer can drop non-visual (controls) on the data
module surface and wire them up and create procedures, function... more >>
Where to store connections string
Posted by Simon Harvey at 2/15/2004 5:31:29 PM
Hi everyone,
As I understand it, storing an applications SQL Server connection string in
the web.config file is a security risk. I'm wondering then, what the
simplest solution is to this problem?
Actually, my first question is, why is it a security risk? As I understand
it, it is impossible... more >>
ASP.Net Datagrid events
Posted by Rakesh Roberts at 2/15/2004 5:21:07 PM
Im using the default paging in ASP.NET and the Paging in the datagrid does not cause validation. Is there a quick and easy fix for this. Other than use button that cause custom paging controls
Thanks in Advance.... more >>
Using CustomValidator to report unexpected errors
Posted by jsausten NO[at]SPAM hotmail.com at 2/15/2004 4:59:44 PM
Can the CustomValidator be used to simply report unexpected errors,
without requiring Client/Server validation? To explain, say you had a
simple text box and button that did a Full-text Search of a Catalogue
in SQL. Malformed search requests can generate a variety of errors,
which I simply want ... more >>
Session Variables Disappearing
Posted by Paul Yanzick at 2/15/2004 4:26:17 PM
Hello,
I am trying to develop a book tracking application for my capstone in
school, and am running into a problem.
The application is an ASP.Net application written in C#. The first page you
go to is a login form, which will set several session variables with the
name used to log in, appr... more >>
Close a popup window
Posted by David W. Simmonds at 2/15/2004 4:03:53 PM
I have a popup window appear when a user clicks on a hyperlink in a
datalist. I do it like this:
dr[8] = "javascript:mywindow=window.open(" +
"\"GameStats.aspx?Date="+dr[0] + "&Away="+dr[1] + "&Home="+dr[4] + "\"" +
",\"GamesStats\",\"toolbar=no,location=no,directories=no,menubar=no,resizabl
... more >>
DataGrid event fireing
Posted by andla at 2/15/2004 2:54:36 PM
Hi,
How does events fire in a datagrid.
I know about the problem if turning the viewstate off the events wil
not fire properly even if I rebind the control in every postback. S
then I started to think how does .Net do it if I turn the viewstat
on.
If you use the Request.Form then you ca... more >>
System.FormatException: Input String was not in a correct format.
Posted by sbox at 2/15/2004 2:18:39 PM
I've got an error "System.FormatException: Input string was not in a correct
format." while I'm implementing a datagrid and a textbox
What's wrong with it?
Sub Button1_Click(sender As Object, e As EventArgs)
DataGrid1.DataSource = MyQueryMethod(CInt(TextBox1.Text))
DataGrid1.DataBind()
End S... more >>
Simple Q on deploying an app
Posted by Simon Harvey at 2/15/2004 1:43:10 PM
Hi everyone,
Apologies for the very silly question I am about to ask:
When I deploy an application, do I need to copy over the source code for the
aspx pages and their code behinds, as well as the dll's that are created
when compiling the site in Visual Studio?
Someone said something to m... more >>
Validations......
Posted by Gary Smith at 2/15/2004 1:32:16 PM
In my ASP.Net application I am using textbox for user to enter the date.
How to enforce the user to enter only the numeric values( and "/" character)
in this edit box ?
Thanks for your suggestions.
Gary
... more >>
Accessing Application in New Class
Posted by pc at 2/15/2004 12:01:06 PM
I am writing a a Web Form where I am making calls to a separate class which performs several routines I use on several pages. The routines all require access to the Request, Response, Application, or Session object. On the normal page I can access these objects but I can't seem to get these objects ... more >>
XML Distinct
Posted by Yogs at 2/15/2004 11:30:48 AM
Hello All,
I have an RSS XML file that is read in and then displayed on the site. The
RSS file has repeating news articles, is there a way to tell the XmlDocument
object to display the article only once? www.stellarodyssey.com.
Thanks in advance,
Yogs
... more >>
arrays in ASP.Net
Posted by Gary Smith at 2/15/2004 11:19:23 AM
I am using Visual Basic for ASP.Net programming.
I would like to kow the string manipulation using multi dimensional arrays.
for example.
How to declare multi dimensional array
How to read and write the data in array(array manipulation).
If you some one can show me the link to this subject wi... more >>
possible to run a VBS from asp.net?
Posted by akabakov NO[at]SPAM shaw.ca at 2/15/2004 10:52:34 AM
anyone know how to run a VBS file from ASP.NET? I'm guessing there
are some permission pitfalls.... more >>
how do I call a number at the end of a hyperlink?
Posted by Trint Smith at 2/15/2004 10:11:05 AM
I have a program that creates an html results page with:
item# | photo | title | description | price...etc
just like that on down the page. When someone mouses over which ever
one they want to see in detail, I somehow need for it to, when they
click on that result, to send out the item number o... more >>
Modal dialog with a page
Posted by Mark Goldin at 2/15/2004 8:06:30 AM
What is a proper way in .NET to create a modal dialog on the client with the
aspx page ?
Thanks
... more >>
unable to run asp.net on 2000 server
Posted by hussein at 2/15/2004 5:11:06 AM
'm not bale to run my projec on the 2000 server, he error was:
error while trying to run project: unable to start debugging on the web server.erver side error occurred on sending debug HTTP request
mak sure that the server is running correctly . verify that there are o syntax errors in the web.con... more >>
XmlTextWriter question
Posted by Karl Hungus at 2/15/2004 5:07:19 AM
Is it possible to use XmlTextReader and XmlTextWriter to open an XML file,
search for a particular node, and then append nodes there?
If so, do you have a little code example (c#)?
Thanks in advance,
Karl
... more >>
I cannot debug ASP.NET Project on IIS v6.0 & Windows 2003 Server ???
Posted by ozcankanbur NO[at]SPAM yahoo.com at 2/15/2004 4:35:19 AM
I began to use Windows 2003 server for a short time. Whenever I try to
open an ASP.NET Application and debug ASP.NET Application it returns
errors. I didn't have problems like that when I was using Windows XP &
IIS v5,1..
There is two problems
1) Whenever I try to open an ASP.NET Application ... more >>
Where is trace.write going?
Posted by guy at 2/15/2004 4:14:41 AM
Where do I get trace output?
Trace.Write("Hello World");... more >>
Weird Behavior on Drop Down
Posted by Wayne Dyer at 2/15/2004 4:10:20 AM
I can duplicate this, so I know it's not something I'm imagining and
wonder if anyone else has seen it.
Take a page, put a drop down control on it, hook up the onChange event
handler to go get some data in the postback based on the selected index
that takes 3-4 seconds to return.
While the ... more >>
Authentication in .NET..... pointers
Posted by Paul at 2/15/2004 12:02:05 AM
Background.
We have a corporate intranet that is (as much as makes no difference)
entirely IIS web servers & IE browsers. We use a standard Windows
domain logon and use active directory. We also have a "standard" user
(like a guest one) that has few privileges.
Web pages are secured an... more >>
|