all groups > asp.net > january 2004 > threads for wednesday january 7
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 30 31
Forms authentication & frames
Posted by Martin at 1/7/2004 11:58:43 PM
Hi,
After I gave up on tracking user sessions through the session object
(Session_OnEnd is still not triggered by Abandon() even with mode=InProc and
me manipulating session variables; in a new test project it is only
triggered the first time, it really sucks pretty bad) I started looking at
... more >>
virtual directory of asp.net
Posted by monika at 1/7/2004 11:30:05 PM
hi
is it necessary to create a virtual directory tree as described in this link
:
http://authors.aspalliance.com/aspxtreme/aspnet/aspnetprimer.aspx
if not then what is the usage of creating this virtual directory ?
thanks
... more >>
.NET Forms Authentication / Session cookies
Posted by anony at 1/7/2004 10:41:46 PM
Hi,
I have a site that uses forms authentication to secure the directory. The
site behaves as expected when viewed externally... if I close the browser
and attempt to access it again, I get prompted to login. However, locally
here on the network, if I close the browser and open a new one and... more >>
ASP State Integration
Posted by gb at 1/7/2004 10:40:50 PM
We are in the process of upgrading part of a large system
to .NET, whilst the majority will remain ASP. Sharing
session state information will not be a problem at the
moment as it is trivial and will be passed in using
QueryString.
More pressing is the synchronisation of session timeouts... more >>
a simple exmaple
Posted by monika at 1/7/2004 9:59:18 PM
hi...
I haven't worked on asp.net ever before. This might seem irritating for some
but I have very little time to learn .net. If i pick any book and start one
chapter by chapter it will take me a long time. Rather I am following a
quick approach (though not advisable). AS far As i can unders... more >>
How do I format the date in the Calendar Control?
Posted by DeWitt Phillips at 1/7/2004 9:23:43 PM
Please can someone help? I am using a calendar control to return a date
but it is in the format YYYY/MM/DD and I want it to be MM/DD/YYYY. What is
the correct syntax for converting the server's date from YYYY/MM/DD format
to MM/DD/YYYY format?
Cordially
DeWitt
... more >>
Datagrid problem
Posted by Roy at 1/7/2004 8:36:18 PM
Hi All,
I am doing my first ASP.Net project. I am having a problem with a datagrid.
I have two datagrids on the page. Both allow paging. As far as I can tell
both have the same properties set. However, one grid pages just fine. The
other does not. Both are bound to a dataset (not the same datase... more >>
cannot create a new or open an existing solution
Posted by Luke Smith at 1/7/2004 8:13:23 PM
hi, i poster this to vsnet.general newsgroup but had no reply, sorry for
xpost
im trying to open a solution (same happens when making a new solution) but
keep getting the following error message
Cannot create the offline cache in 'C:\Documents and Settings Luke's
Computer\VSWebCache\LUKE-E3... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cannot create ActiveX component in ASP.net but it is OK in command prompt vbc
Posted by jingxiong_zhou NO[at]SPAM yahoo.com.sg at 1/7/2004 7:18:09 PM
Hi
I am using third party COM component which come with an installation
program (.exe file included). The program will be register to registry
automatically upon installation.
There is no problem calling the COM component from VB.net Module from
DOS Command Prompt :
Imports System
Imp... more >>
HELP!!!
Posted by Cristhian Massa Medina at 1/7/2004 6:52:17 PM
I need to have a hiperlink in a mxdatagrid, unico.asp?ID
but ID is a field
It is possible!!!
Thanks!
Cristhian Massa
... more >>
where to store user settings
Posted by Bob at 1/7/2004 6:15:32 PM
I am a new java convert to asp.net. I'm trying to create
an web application that will allow users to change their
custom settings easily. Is there a class in .net that is
similar to java's Property class that can deal with
user's custom settings? ... more >>
PDF on page and Html Page
Posted by MS News (MS ILM) at 1/7/2004 6:06:39 PM
Hello,
I have two questions:
1 - How do I display a PDF file saved in SQL directly into a web page
2- How can I save the rendered Page as pure HTML to a file on the server
or directly to SQL
Thank you
... more >>
.NET scurity(Please Read)
Posted by Amir at 1/7/2004 5:29:31 PM
I had a question
I have been browsing Internet for a while and I have found out that .NET dll
files can be easily decompiled compare to C++ Made Dll files
now I am sure Microsoft is aware of this other wise they wouldn't include a
Dotfuscator with VS 2003
my question is
why weren't .NET co... more >>
Help please on DataGrid Positioning
Posted by Amir at 1/7/2004 5:20:58 PM
Hi
is there any way I can get DataGrid Height During Runtime
because my DataGrid is linked to a database and its height could differ
under different situations
and I have controls under the DataGrid...and I don't want my dataGrid to
cover them up
so I was looking for something that would... more >>
Best way of storing data.
Posted by mlekoacidofilne NO[at]SPAM wp-dot-pl.no-spam.invalid at 1/7/2004 5:06:38 PM
I would like to make a small web page using ASP.NET were my clients
can check out avaliable products in my shop. What will be the best
way to store and manipulate data, and why ?
I know this is quite general question but I hope my situtation can
lead you to some simple solutions
thanks i... more >>
Directory Access
Posted by its_goodtobethe_king NO[at]SPAM yahoo.com at 1/7/2004 5:01:50 PM
I have a site in asp.net. In that site I have a directory full of
excel spreadsheets. When a user logs in it points them to the
spreadsheet that I want them to see. However, if they then exit out
and go directly to the link it still re-opens the spreadsheet.
Here's what I am asking. How ca... more >>
Changing the Action of a form
Posted by Paul Hodgson at 1/7/2004 4:54:19 PM
Anyone know how to access the main Form of a page programmatically, in order
to change its Action property? I seem to be up against two difficulties:
1. Can't find any obvious property on the Page class that lets me get to the
form.
2. I've noticed that even if I hard-code a different Action in... more >>
DataGrid Help
Posted by Amir at 1/7/2004 4:51:19 PM
Hi
is there any way I can get DataGrid Height During Runtime
because my DataGrid is linked to a database and its height could differ
under different situations
and I have controls under the DataGrid...and I don't want my dataGrid to
cover them up
so I was looking for something that would... more >>
Performance Bottleneck in ASP.NET
Posted by Glenn at 1/7/2004 4:17:41 PM
I have a performance issue that needs resolving, and am
not sure which options we have come up with are the best.
Let me explain.
Our site has a report designer that allows users to create
dynamic report content. The output for these reports is
HTML, but they can be exported to a number ... more >>
XML Services
Posted by Sunil at 1/7/2004 4:07:01 PM
How to use XML services?
... more >>
same server method being called regardless of sender
Posted by Ryan.McLean NO[at]SPAM NAU.EDU at 1/7/2004 3:57:48 PM
Hi everyone! What is happening is the method: sub_btnSubmitClicked is
being executed every time any other object with a Handler is executed.
I am trying not to use the withevents and handles method of adding
handles to objects (I think that is where my problem lies) . . . sorry
for the long po... more >>
WindowsPrincipal and WindowsIdentity.
Posted by Kevin Burton at 1/7/2004 3:57:05 PM
This is more of a solution that raised a question.
I have a Web service that does not allow anonymous users.
For debugging I put in the following lines in my Web
Service:
WindowsIdentity wi = WindowsIdentity.GetCurrent();
WindowsPrincipal wp = Thread.CurrentPrincipal as
WindowsPrincipal... more >>
HttpApplicationState question..
Posted by Rajesh.V at 1/7/2004 3:56:08 PM
I saw this code
protected void Application_Start(Object sender, EventArgs e)
{
// Initialize the Environment
new SomeObject.
}
Does this mean to be the same as
Application.Add("Environment", someobject);
... more >>
Object reference not set to an instance of an object
Posted by Mark Wilson at 1/7/2004 3:45:34 PM
For some reason I am getting this error even though (as you can see from the
code in the Initialize Component procedure) the object reference has been
established... I am at my wit's end.. Thanks for any advice...
--------------------
using System;
using System.Collections;
using System.Co... more >>
Object reference not set to an instance of an object?
Posted by news.microsoft.com at 1/7/2004 3:39:40 PM
For some reason I am getting this error even though (as you can see from the
code in the Initialize Component procedure) the object reference has been
established... I am at my wit's end.. Thanks for any advice...
--------------------
public class x : System.Web.UI.Page
{
protected System... more >>
How to turn wrapping off for datagrid columns
Posted by scottkga NO[at]SPAM hotmail.com at 1/7/2004 3:31:29 PM
I having a problem where I need to turn off the wrapping feature for
all columns in my datagrid. Example code would be:
<asp:DataGrid id="ResultGrid" runat="server"
AutoGenerateColumns="true">
<ItemStyle Wrap="false"></ItemStyle>
<Columns>
</Columns>
</asp:DataGrid>
I understand th... more >>
shopping cart
Posted by MattB at 1/7/2004 3:29:28 PM
Is there a commonly agreed upon "best" way to do a shopping cart? I've
done on in the past that was one big session variable in xml. Each time they
would display it, I'd just iterate through the records for display. That
worked pretty well, but it was done on a different platform. Is this sti... more >>
A little off topic!
Posted by Martyn Fewtrell at 1/7/2004 3:11:58 PM
I know this is a little off topic but I wondered if anybody else is having
similar problems to me.
Visual studio 2003 keeps reformatting my HTML and normally gets it wrong.
Currently it has a habit of removing the quotes from around attributes which
often causes page load errors. Yes I do h... more >>
VB to C sharp anyone can point out which is the equivalent
Posted by Hai Nguyen at 1/7/2004 3:07:15 PM
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using
panel to test myself. I tried to use these code below, which is written in
VB, and to transform them to c sharp but I got hard time to understand vb
syntax. I don't know if anyone in here can point out which is the equival... more >>
ASP.NET not processing CSharp code
Posted by CSDunn at 1/7/2004 2:33:52 PM
Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro machine.
ASP.NET will not process the following code:
*******************************
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorld text="HelloWorld" runat=Server />
<... more >>
Make VCard?
Posted by localhost at 1/7/2004 2:33:06 PM
Looking for some sample code to emit a vcard (for Outlook) directly to
a web browser after clicking on a button.
Thanks.... more >>
Keep track of Session from program
Posted by Q.Z at 1/7/2004 2:04:09 PM
We have a client who has a web site which collect consumer
information from Internet for example mortgage
application. And my company likes to sell our consumer(who
filled the application through our site) information to
them. One of the option is to simulate the consumer by
posting data t... more >>
Security Exception deployment error
Posted by John Stemper at 1/7/2004 1:38:32 PM
I've recently moved an ASP.Net app to our deployment server after it was
verified on our integration test server.
On the deployment server I am now getting the following error:
/*********************************************/
Security Exception
Description: The application attempted to perform... more >>
Server.Transfer in Application_Error()
Posted by Kris Meher at 1/7/2004 12:57:00 PM
Hi
My code
Global.asax
Application_Start()
{
// Code
// There is possibility of Exception in above Code
}
Applicaton_Error()
{
// in the Redirect Page i m displying the Error Message
//from Server.GetLastError();
Server.Transfer("CapError.aspx");
}
My problem:-
For the "Firs... more >>
from c# to vb.net
Posted by Steve at 1/7/2004 12:47:56 PM
I've been using c# for while now and I may get a gig using vb.net
because my current contract is running out. I don't like the idea of
using vb.net but should I really care? After all, it's all the same
underneath.
I think I already know the answer to this as this subject has been
covered... more >>
Client Side Web Request and auto-submitting ASP.Net pages
Posted by Rick Strahl [MVP] at 1/7/2004 12:28:13 PM
Run into an interesting problem today with a client of mine:
They have an ASP.Net form that they want to drive through a client side HTTP
interface. I know a Web Service would be a better way to go but in this case
they want to try and consolidate a single interface for the 3 or 4 forms
involv... more >>
Adding new user to admin group
Posted by Ching-Lung at 1/7/2004 12:21:13 PM
Hi,
Is there any way to add new user to local admin group in
C# ASP.NET?
Thanks,
-CL... more >>
Code Behind Problems
Posted by Poppy at 1/7/2004 12:17:36 PM
When I run ANY new page in the browser it keeps saying
"Could not load type '_MYPROJECT.admin_test'."
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="admin_test.aspx.vb" Inherits="_MYPROJECT.admin_test"%>
No matter how many new pages I add I always get the same problem.... more >>
NTLM credentials -> query Active Directory -> email address
Posted by jim_adams NO[at]SPAM hotmail.com at 1/7/2004 12:00:26 PM
Given NTLM credentials (domain\username) that can be read from browser
variables by an ASP.Net page, I need to query Active Directory and
extract that user's email address property.
Can someone provide a pointer to how this can be done, preferrably in
VB.Net.
Thanks,
Jim... more >>
Downloading files stored in image column of database...
Posted by Charlie NO[at]SPAM CBFC at 1/7/2004 11:43:42 AM
Hi:
My asp.net application has capability to upload documents (doc, ppt, txt
ect.) in binary format into an image field of a SQL Server database. I
would also like my application to be able to download selected documents
from database to users hard drive. I don't want to open doc in browser,... more >>
Is it better not to use DA's Update?
Posted by Rod at 1/7/2004 11:41:31 AM
I am writing my third ASP.NET application. Unfortunately for me, I get to
work on these only once every few months (which doesn't help in trying to
remember how to do everything).
Anyway, I've got some textboxes on an ASPX page and a submit button. I have
a data adapter on the ASPX page, along... more >>
Run VB.Net code from simple ASP.net page
Posted by ben at 1/7/2004 11:19:38 AM
All,
What I have:
I have written a VB.net application that uses Access DBs
and Make 100s of Excel documents from the data.
What I need:
I need a Simple ASP.NET Page that will basically pass a
string into a function of the Existing Windows
Application. The app does not run all the time ... more >>
passing variables
Posted by Phil Barber at 1/7/2004 11:05:04 AM
I have a login page (page1) on successful login I retrieve an employeeID
from a SQL Database.
then move to a 2nd page. What is the best way to get the EmployeeID from
Page 1 to Page2
I have had problems with global variables in the past concerning sessions.
thanks.
Phil Barber
... more >>
truncated form post
Posted by milkoNOSPAM NO[at]SPAM citiux.com at 1/7/2004 10:50:02 AM
Hi everyone,
I'm using VS.NET, Framework 1.1, Windows 2000 Server, IIS
5, all the latest patches are installed.
Im having this wierd random problem, that I cannot
reproduce but it happens quite often:
- my Request.Form collection is truncated in some posts
(again I dont know why or h... more >>
Current web directory changes?
Posted by TPS at 1/7/2004 10:41:02 AM
I am using relative pathing in my menus that call up additional pages
If I click the "signup" menu it calls "signup.aspx" in the web root folder
If I click the "register" menu it calls "resister.aspx" in the web root
folder
If I click the "upload" menu, it calls "secure/upload.aspx" in the
... more >>
Datagrid custom sorting and paging using stored procedure
Posted by Mo at 1/7/2004 10:38:53 AM
Hi,
I would like to implement a bi-directional (asc / desc) sorting feature on
the columns of my datagrid as well as have custom paging. I have looked at
many code samples out there and they just have basic examples of the
built-in functionality, nothing customized.
I would like to have a ... more >>
Checkboxes and NamedValueCollection
Posted by glenn.owens NO[at]SPAM kodak.com at 1/7/2004 10:38:38 AM
Can someone please explain the rationale behind not putting a checkbox
reference into the postback data collection?
I have a composite control (supporting IPostBackDataHandler) which
populates a DataGrid with dynamic controls (textboxes, labels,
dropdownlists, etc). Until I started to implemen... more >>
Help pls!!!
Posted by Cristhian Massa Medina at 1/7/2004 10:31:54 AM
need to know how can i get the value from a dropdowlisbox; i have like =
items,=20
selected true
text apellido
value ape_resp1
i need get ape_resp1,
Pls. i need your help
Thnak you so much!!!... more >>
Odbc Data Reader
Posted by Roger Cantillo at 1/7/2004 9:28:59 AM
Hi,
When I use a data reader, I would like to bounce around the current row. Is
this possible? If so, How?
Roger
... more >>
httpRuntime - MaxRequestLength - 404 error
Posted by Goncalo at 1/7/2004 9:21:27 AM
Hi.
I'm having a problem uploading a file in asp.net.
In Web.config file, httpRuntime as the default
MaxRequestLength to 4 Mbytes.
Then I upload a 5 MByte file.
IIS protects itself and shows an 404 - File Not Found
Exception.
How can I overload this? Can I redirect to a diferent
... more >>
Oh My God!!! Can't open Web project
Posted by André Almeida Maldonado at 1/7/2004 9:10:24 AM
When I try to open my Asp.Net project, I receive this message:
Unable to get the project file from the Webserver. Unable to open Web
Porject 'Granifera'. Unable to validate that the file path
'\\andre\Programação\Granifera\Sistema' matches the URL path
'http://andre:/granifera'. Acesso negado.... more >>
A question about deployments....
Posted by Twitch at 1/7/2004 9:08:15 AM
If I create an ASP.net application to sell to a client, is there something I
can do to the .aspx, .aspx.cs, etc. files to make them non-human readable /
editable?
Or is it presumed that if you are making this type of Dot Net app, you'ren
shipping source?
thx.
... more >>
access to properties in run time
Posted by SOS at 1/7/2004 8:50:40 AM
Hi guys,
how can i access to user control properties in run time ?
i build a simple user control wich has a property (i.e Body) , how can i set
this property value in run time ?
Thanx
... more >>
web service newbie dataset question
Posted by Tim R. at 1/7/2004 8:25:57 AM
Could someone please tell me whether the following is possible?
I'm especially murky about step #5 :-)
I'd be very grateful for pointers to an online step-by-step
article showing something similar, or to an excellent book dealing
with javascript/ web services/ proxy methods/ ado.net datase... more >>
Part II -- How to cancel without error if filename doesn't exist
Posted by KatB at 1/7/2004 8:20:16 AM
Hi again,
Further to my last post, here is more specifically what I'm trying to
do. In my onclick event, I first want to look to see if a certain user
file (.ica) exists on the client pc. Then I open an .hta page (as a
pop-up window) if it does exist which contains the following:
<script la... more >>
Intranet app -- any way to confirm certain client file exists?
Posted by KatB at 1/7/2004 8:20:15 AM
Hi,
I have an intranet app and need to confirm if a certain file exists on
the user's pc.
Is this possible?
I can certainly do so using IO.FileInfo on the server but can't find a
way to look at client. Of course, this makes sense in Internet use, but
hoping for a way around it for an in-... more >>
Machine.config - How do I set a server wide Http Handler?
Posted by Brad at 1/7/2004 8:02:25 AM
I know you can put an http module in an application and
point the web.config file to it so that it will intercept
all http requests, but How can I do the same thing for
ALL requests that come into the Web server?
My understanding is that it would involve using
Machine.config, but I can't ... more >>
Which is used more: GridLayout or PageLayout
Posted by Brad at 1/7/2004 7:57:30 AM
I'm starting a major project and want to get a feel for
what is more "industry standard" for asp.net page design.
I would greatly appreciate any feedback regarding what
people use as their default layout mode for page design.
Thank you.
... more >>
Serving multiple domains
Posted by Mike Talbot at 1/7/2004 7:43:24 AM
Hello
I have an asp.net app that has to serve 10 different
domains (www.domainA.com, www.domainB.com, ...). All the
domains should point to the same asp.net app (aspx file).
I found out that I could do that with forwarding on the
IIS.
But my problem is, that the URLs have to stay on
w... more >>
Accessing values for Dynamically created controls
Posted by brian.w.smith NO[at]SPAM cardinal.com at 1/7/2004 6:27:30 AM
I am attempting to create an ASP.Net web form to allow remote sites to
request an open relay for SMTP. I have a drop down list for the
number of IP addresses they want to request for. When they select the
number (1 – 500) I dynamically create textboxes to enter the IP
addresses. When the user... more >>
SQL FOR XML Query results to Text via ASP.NET
Posted by Rob at 1/7/2004 5:55:32 AM
As a workaround to a problem I'm having with the results
pane in Query Analyzer properly displaying a text field in
a Latin1_General_Bin collation database, I've begun trying
to use ASP.NET to return the results of the query in Text
for use as a one time XML file build. The query is a FOR
... more >>
ASP.NEt And MSAccess compatibility
Posted by cory at 1/7/2004 4:32:38 AM
Hi,
I have an Access database and am having an ASP.NEt application written for
it. It is almost complete. I have a hosting company that I signed up with
a month ago but before I did anything I asked them if Access and ASP.NET
would work on their servers, they said yes so I bought in. Now they... more >>
Extracting settings from config file outside 'ConfigurationSettings.AppSettings'
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/7/2004 3:21:23 AM
HI there,
My machine.config contains the following setting.
<httpRuntime
executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRe... more >>
Databound textbox issue - need urgent help
Posted by balaji.mangalore NO[at]SPAM wipro-dot-com.no-spam.invalid at 1/7/2004 2:50:37 AM
Hi,
I am using a Datagrid for displaying records from the SQL Server
database.
I am having the foll. code in the .aspx page
------------------------------------------------------------------------------------
<asp:TemplateColumn SortExpression="AMOUNT"
HeaderText="Amount">
<ItemStyle Hor... more >>
Multiple Data Grid problem
Posted by Eldon Ferran de Pol at 1/7/2004 1:29:12 AM
I'm trying to set up a data grid within a data grid within
a data grid.
I'm using OnItemCommand to set the EditItemIndex in both
the top level grid and the second grid. The top level
grid expands without any problem and shows the second
grid. However, when I enter the method being cal... more >>
Between a rock and a hard place!
Posted by Max Stayner (Avignon Solutions) at 1/7/2004 1:19:21 AM
I'm attempting to build a complete site using ASP.NET, and so far its great,
EXCEPT...
The site needs to have both public and secured areas. No problem, you might
say - just create two virtual directories/applications, set authorization
for one and not the other. Fine, that works. However, ... more >>
Any Function for testing a int Type? (.net)
Posted by fatboycanteen at 1/7/2004 12:57:30 AM
I have a texbox
when user enter a value
and submit
I want to check the input value is integer or not
any method provide asp.net! (vb language)
Thank You... more >>
Are these stress test results typical?
Posted by Rick at 1/7/2004 12:32:23 AM
Hello,
I ran Microsoft's free "Web Application Stress" tool to see how asp.net/c#
performed against html.
Are these results typical?
Network:
WAS ran on a server with a t3 Internet connection to the test server.
Test Server:
Windows 2000 SP 4
1 GIG AMD CPU
1 GIG RAM
IIS 5, no logging
... more >>
I would like to hide details for my web-site
Posted by Eitan at 1/7/2004 12:28:43 AM
Hello,
When I buy a web-site, my information is exposed to all.
How can I hid this information somehow ?
Thanks :)
... more >>
EnableViewState And DROPDOWNLIST
Posted by Tom at 1/7/2004 12:23:17 AM
<%@ Page Language="vb" AutoEventWireup="false"
EnableViewState="false" .... %>
<FORM id="frmMyForm" method="post" runat="server">
1) Inline Items (In aspx File) :
<ASP:DROPDOWNLIST id="drpStatesOne" runat="server"
enableviewstate="false">
<ASP:LISTITEM value="1">A</ASP:LISTITEM>
<ASP:LIS... more >>
Page.IsValid behavior
Posted by Drunken Coder at 1/7/2004 12:00:13 AM
I have a web page with 1 text box, a required field validator a label and a
validation summary. The form is designed so populate the label with text
depending on the state of page.isvalid. However the page will only populate
the label with text if the Page.IsValid but will populate the validation... more >>
|