all groups > asp.net > october 2004 > threads for tuesday october 19
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
Asp.Net App & Proxy
Posted by Maxim Kazitov at 10/19/2004 11:41:22 PM
Hi,
One of our Asp.Net applications has a strange problem: the application
fails (gives a fatal error) if user connects to application through Proxy
Server. Few more interesting moments :
- application doesn't fail when users don't use Proxy;
- sometimes application works ... more >>
How to share objects in an ASP.NET application
Posted by Tony Fonager at 10/19/2004 11:16:39 PM
I am currently developing a statistics system in ASP.NET, and need to share
information about the customers websites, in this application.
(I have simplified my code, to make my project easier to explain.)
The simple version of the system is like this : A customer inserts HTML code
on his we... more >>
compiler error BC30652
Posted by zuelsjunkbox NO[at]SPAM yahoo.com at 10/19/2004 8:08:26 PM
Hi Folks!
I am developing with VB ASP .net and C#. I received an error
while compiling, BC30652. This error says that a reference to an
assembly missing.
The Details are this.
1 VB ASP.net web application - this is the component where the error
exists.
2 VB class project containing o... more >>
ValidationControls in a User Control
Posted by Jonathan at 10/19/2004 8:02:25 PM
Hi everyone,
I am new to asp.net and here is my problem. I create a UserControl
included in my main file (index.aspx). Depending on witch parameter i
have pass, i "execute" a UserControl part with a SelectCase.
Here's my code:
/***************************
index.aspx
*********************... more >>
data table with session
Posted by ven at 10/19/2004 7:57:12 PM
Hello i have one aspx page with vb code :
Dim zam As System.Data.DataTable
Dim PrimKey(1) As DataColumn
Dim myColumn As DataColumn = New DataColumn("id")
myColumn.ReadOnly = True
myColumn.AutoIncrement = True
myColumn.AutoIncrementSeed = 1
zam = New System.Data.DataTable("zam")
... more >>
Create a writable folder in aspnet setup project
Posted by roger at 10/19/2004 7:00:27 PM
I've created a web setup project for my aspnet app, and added
a web folder item "tmp" to the File System editor under the web
application folder.
(My app uses this folder for generating image files and such)
Problem is, I can't figure out how to make this folder writable by
the ASPNET user d... more >>
SET NOCOUNT ON OPTION
Posted by Leon at 10/19/2004 6:58:27 PM
DOES SETTING NOCOUNT ON option affect my stored procedures and website
performance in anyway within my asp.net application?
When and when not to set SET NOCOUNT ON?
I know what it does but not exactly where and when I want to use it.
i.e.
CREATE PROCEDURE GetAuthorization 2.0
@Usernam... more >>
Code in ASP or Class
Posted by jjcuzz NO[at]SPAM hotmail.com at 10/19/2004 6:56:33 PM
Hello,
I am new with ASP.net. I have a simple question.
Where would it be better to have the code for a function ?
in the Control within the ASP file; or in a class (ex. C# class) and then the
function called from the ASP file.
Thanks,
Giovanni... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DropDownList Selected property on PostBack
Posted by BCM at 10/19/2004 6:52:05 PM
I have a page with several DropDownList controls that my users select from
to customize their searches. When they click the "Submit" button all is well
re: the results of their search, but the DropDownLists themselves "reload"
from their data source (a sql table) and display with the first ite... more >>
Cross-browser compat. question
Posted by Eric Caron at 10/19/2004 5:48:44 PM
Hi everybody,
I was doing some cross-browser tests today and I found out that if you
specify the width and height for a button type control, asp.net doesn't
output the style information when viewing the page with the latest version
of firefox. I copy-pasted the page source to an html file and... more >>
DataGrid boundcolumn problem
Posted by tshad at 10/19/2004 5:16:51 PM
I want to use a datagrid with my display, but I don't want to use 1 row per
record.
What I have is a record with up to 6 values -
(answer1,answer2,answer3,answer4,answer5,answer6). I want to display them
with alternating styles. One record may only have the first 3 fields with
data and anot... more >>
Repeater Question
Posted by tma at 10/19/2004 5:13:03 PM
How do I accomplish something like the following:
<a href="http://myURL.com/ws/ISAPI.dll?item=<%# databinder.eval(Container,
"DataItem.ItemID")%>" target=_blank><%# databinder.eval(Container,
"DataItem.ItemID")%></a>
Interestingly, it works when I build it, but VS will not let me go to Desig... more >>
FileSystemWatcher - distinguish file and folder events?
Posted by Jon Maz at 10/19/2004 4:20:29 PM
Hi there,
I am experimenting with the FileSystemWatcher object. I have set the
NotifyFilter as follows:
myFileSystemWatcher.NotifyFilter = NotifyFilters.Security |
NotifyFilters.CreationTime |
... more >>
SQL User authentication
Posted by Nikolay Petrov at 10/19/2004 4:20:09 PM
Is it possible to authenticate user using a SQL database, containing users
and passwords?
What I want to achive is:
I have as SQL database containig data for my app. This database also
contains usernames, passwords and rights which are specific for my app.
Also I have a middle tier WebServi... more >>
What is a GCHandle? (Need simple explanation ;o)
Posted by darrel at 10/19/2004 4:16:29 PM
I'm trying to get a page up using some sample code that interfaces with a
3rd party application using .net.
The sample code the company provides, when I run it, produces this error:
==================================================================
An unhandled exception of type 'System.Argu... more >>
working with httpwebrequest and response classes
Posted by Justin at 10/19/2004 4:05:04 PM
I am using the httpwebrequest and response classes to post payment
transactions to my credit card processor. I believe I have the working code
to post the data but I have had no luck figuring out how to receive the
response back from the processor.
The problem is I need to receive the resp... more >>
Session object question
Posted by R.A. at 10/19/2004 3:57:09 PM
Hi
If the web site I have keeps session information,what happens to the session
objects if I am redirecting to another web site? After I redirect the user
to a different web site the user after completing his payment gets
redirected back to my web site, can I use the session objet at this poin... more >>
Remove spaces and lines from source code
Posted by Arjen at 10/19/2004 3:53:33 PM
Hello,
In code view I use a tab as mark-up character.
When I run my web application I can see the tabs with the source viewer in
my browser.
Is there a way to remove the tabs, extra spaces and lines when running the
web application?
I want to remove them for performance reasons.
(I don'... more >>
asp:Table
Posted by TomislaW at 10/19/2004 3:44:33 PM
How to set Border=1 for asp:table control.
I need border on all cells.
... more >>
open up default mail client after button press
Posted by don at 10/19/2004 3:13:01 PM
I have a button on an ASP.net form, the button invites people to our event,
so in the code behind I do some database calls and verify information, then
invite them. My question is that, we would like to start their default email
client after this button is pressed and is successfull. I am wo... more >>
Strange problems some how related to w3svc
Posted by moondaddy at 10/19/2004 3:11:13 PM
I tried to add the exception management block to my asp.net 1.1 application
today and was getting some errors with it the application, so I removed it.
When I re-loaded the app I got an error about the JIT and not having the
right permissions. I looked up the error and saw that I needed to ha... more >>
Index Out of Bounds Error
Posted by dwenwa NO[at]SPAM companyabc.com at 10/19/2004 3:01:02 PM
Hi,
I have a datagrid in my application that has a Template Column with a
radiobutton. After selecting the item in the datagrid and the submit button,
the program executes getSelectedItem(). See below. This works fine except
when there is only one row in the datagrid. Then I get the Ind... more >>
How to share objects in an ASP.NET application ???
Posted by Tony Fonager at 10/19/2004 2:25:34 PM
I am currently developing a statistics system in ASP.NET, and need to share
information about the customers websites, in this application.
(I have simplified my code, to make my project easier to explain.)
The simple version of the system is like this : A customer inserts HTML code
on his ... more >>
Object sharing
Posted by Vik at 10/19/2004 1:48:05 PM
How to create an object (eg a dataadapter) once and use it in different Web
pages?
Thanks.
... more >>
Can't load asp.net app
Posted by Wardeaux at 10/19/2004 1:43:03 PM
All,
I have an asp.net application loaded under WinXP/IIS. On that computer
everything works fine. When I try to access that webserver from another
computer, I get a "cannot load page" or goes to an internet search page. I
can ping the server computer (winXP) fine, it just won't recognize ... more >>
SQL integrated authentication when using forms authentication
Posted by Brett Smith at 10/19/2004 1:00:33 PM
I currently I am using integrated windows authentication, (anonymous access
disabled), with impersonation on my asp.net app. I would like to implement
forms authentication against AD, but I have not found a way to then have the
proper AD user authenticated on the SQL server. If I enable anonym... more >>
Parameters
Posted by Adis at 10/19/2004 12:55:07 PM
Asp.Net
Visual Studio 2003
SQL Server.
Hi,
Obtaining Data Based Upon Multiple Selections From a ListBox...
I have database in Sqlserver and ListBox (Multiple Selection Mode) in my
Visual Studio Webform. I wish obtain various records from My_Store_Procedure
and fill dataset.
I us... more >>
Windows 2003 server and the aspnet_wp.exe process
Posted by Cliff Harris at 10/19/2004 12:39:49 PM
I don't currently have an installation of Windows 2003 server, or I could
answer this myself.
After having a client install ASP.NET on Windows 2003, I then tried to find
the aspnet_wp.exe process but he claims it's not here. Now at first I
didn't beleive him, however, I wondered if now that Asp... more >>
Classes and SQL Database in ASP.net
Posted by DevinG at 10/19/2004 12:39:04 PM
I would like to first start off saying that this is pretty much my first week
of heavily getting into ASP.net. I previously have programmed in ASP Classic,
and now understanding the benefits of ASP.net I would like to cross over.
Anyways onto my question. I am curious how i can go about setti... more >>
How to send POST variables in my case?
Posted by Lars Netzel at 10/19/2004 12:29:10 PM
Hello!
I have a button, in the click event I have this code:
----------------------------------------------------------------------------
----------------------------
Response.Write("<script
language=javascript>window.open('CrystalReports.aspx?FromDate=" &
txtFromDate.Text & "&ToDate=" & t... more >>
Visual Studio .NET
Posted by Matt Tapia at 10/19/2004 11:59:41 AM
No matter what, all of my sln files are created in MyDocuments folder. If I
want them created in another folder, how do I do it?
... more >>
ASP.NET Impersonation
Posted by Prateek at 10/19/2004 11:52:52 AM
Hi All,
I have the following scenario where I need your help.
1. An ASP.NET application installed on Win2K, IIS 5.0 and framework 1.1
2. This app accesses a database on separate database server using
Intergrated Auth.
I have granted the required rights to local ASPNET account on the datab... more >>
Rich Text Box !
Posted by Ankur Goyal at 10/19/2004 11:52:30 AM
Hi !
Please let me know... how a Rich text box can be used in ASP.net page..for
text formatting and how it can be stored in database.
Thanks
Ankur Goyal
... more >>
Best practice for multiple "companies" in one database/site
Posted by Bill Borg at 10/19/2004 11:51:03 AM
Hello,
I have a large commerce app, hosted for several hundred companies (i.e. each
"company" is a small business selling something through my site, independent
of all the others).
Each company has a unique ID (e.g. 12345), which is a primary key in the
tables for products, customers, et... more >>
HOW TO: Transmit file via HTTPResponse and HTTPRequest
Posted by sromankiw NO[at]SPAM gosourceone.com at 10/19/2004 11:48:24 AM
I need some help getting started POSTing data from aspx page.
From an aspx page (Send.aspx), I would like POST the contents of a
file (i.e., file resides in some directory) to another page
(Process.aspx). The other page would read the contents of the
InputStream (?), process the data within t... more >>
Set Culture
Posted by simon at 10/19/2004 11:44:33 AM
I would like to set the culture for my application to English.
I should change machine.config
How, does anybody know?
Thank you,
Simon
... more >>
Service Component in ASP.NET (No Such Interface Supported)
Posted by Abid Ali at 10/19/2004 10:45:59 AM
hi all,
i have developed a serviced componenet which being successfully accessed in
windows application. but when I access this component from ASP.NET it fails
at the time
of initialization and gives error.
"No such interface is supported"
any idea or suggesstion will be highly appreciat... more >>
File level permissions using the web.config & forms authentication
Posted by Stu Lock at 10/19/2004 10:40:23 AM
Hi,
Is there a way of requiring a log in for individual asp.net pages rather
than securing a entire directory. I have a web app where there are 100+
pages but only 2 need to be password protected. I am currently using forms
authentication to block the entire folder:
<authentication mode=... more >>
Auth Problem
Posted by Nikolay Petrov at 10/19/2004 10:34:58 AM
I have the following web method:
<WebMethod()> _
Public Function Test_CurrentCredentials() As String()
Dim tmpArr(2) As String
tmpArr(0) = "User: " &
System.Threading.Thread.CurrentPrincipal.Identity.Name
tmpArr(1) =
System.Threading.Thread.CurrentPrincipal.Identity.Authentica... more >>
CustomValidator Question
Posted by David Marr at 10/19/2004 9:45:32 AM
Hello,
I am trying to use a custom validator on three fields. The user has two
options:
1. Fill in two textboxes (first name and last name)
or
2. Select an existing name from a drop down.
I am trying to make either path they choose to be required. I have the
following code but the logic s... more >>
Cant bind Repeater to Custom Collection
Posted by A Traveler at 10/19/2004 9:42:31 AM
Hi,
I have a custom collection class i wrote, LineItemsCollection, which is a
strongly typed collection of objects of my LineItem class.
The LineItem class is a simple class with just a couple properties, ProdID,
Description, Quantity and UPC. 3 strings and a long.
The LineItemsCollection c... more >>
Problem with running ASP page on windows 2000 professional
Posted by aor at 10/19/2004 9:39:05 AM
I have windows 2000 professional and wanted to run asp pages. But I got HTTP
500 - Internal Server Error "The page cannot be displayed" when testing the
asp pages. I put asp files under wwwroot.
Any help would be appreciated.
... more >>
LDAP ComException (0x8002801C): Error accessing the OLE registry
Posted by Jody Gelowitz at 10/19/2004 9:27:56 AM
This one should be relatively simple, though I have yet to figure it out. I
have an ASP.NET project which uses LDAP authentication to login to the
system. When run on our Development or Staging servers, the authentication
works great! When running the project on my local computer under
\\... more >>
Includes in ASP.NET
Posted by Dacuna at 10/19/2004 9:25:32 AM
I'm a begginer at ASP.NET having developed for several years in ASP and
VBScript.
I am developing a website where I'm componetazing the header, content
section and the footer. Each secion is a different page.
My codes looks like something like this
<%@ Page Language="vb" AutoEventWir... more >>
ASP.NET and includes
Posted by Dacuna at 10/19/2004 9:25:05 AM
I'm a begginer at ASP.NET having developed for several years in ASP and
VBScript.
I am developing a website where I'm componetazing the header, content
section and the footer. Each secion is a different page.
My codes looks like something like this
<%@ Page Language="vb" AutoEventWir... more >>
Includes and codebehind page
Posted by Dacuna at 10/19/2004 9:25:03 AM
I'm a begginer at ASP.NET having developed for several years in ASP and
VBScript.
I am developing a website where I'm componetazing the header, content
section and the footer. Each secion is a different page.
My codes looks like something like this
<%@ Page Language="vb" AutoEventWir... more >>
Includes and codebehind page
Posted by Dacuna at 10/19/2004 9:25:02 AM
I'm a begginer at ASP.NET having developed for several years in ASP and
VBScript.
I am developing a website where I'm componetazing the header, content
section and the footer. Each secion is a different page.
My codes looks like something like this
<%@ Page Language="vb" AutoEventWir... more >>
Problems with OutputCache declaration in User Control
Posted by Barbara Alderton at 10/19/2004 9:21:02 AM
I have the following scenario:
I have a user control that contains a registered menu control. The menu and
other information on the user control is specific to the user accessing the
site. This user control is used on many pages. In order to create this
control, I need to access informat... more >>
Is there a way to replace a datatable in a typed dataset?
Posted by Dave at 10/19/2004 9:00:32 AM
Maybe I'm not going about this the right way. I have a dataset with 3
tables in it. I'd like to cache 2 of those data tables instead of the
whole dataset. What I thought I would do is create a typed datatable
and set it to the value of the cached datatable. Then, if it "is
nothing", I fill t... more >>
is this possible
Posted by Mike at 10/19/2004 8:39:21 AM
I'm creating an asp.net app and i would like to get the logon user that is
accessing my web app, and is it possible to connect to the global address
book of outlook to get their email address? Since users can have different
email extensions based on what area they are in.
example: me@it.com... more >>
format datagrid
Posted by sp at 10/19/2004 8:27:05 AM
Hello everbody,
I need to display my data like this using asp.net and vb.net
Journals issues MailDate
ActualDate
AAA 1 01/15/04
01/15/04
... more >>
Hosting .NET Controls via IE [ASP.NET 2.0]
Posted by CJ Taylor at 10/19/2004 8:00:27 AM
This may be a silly question, but I want to host an .NET control in a sample
ASP.NET 2.0 application. However can't seem to get it to work with the
server that comes with VS 2005. Is this a limitation of that server or is
there another way around it.
Thanks,
CJ
... more >>
ExecutionEngineException after security patch
Posted by Michael at 10/19/2004 7:33:07 AM
Hi,
I have a ASP.NET Web App written in C# and FrameWork 1.1. It used to work
smoothly, until the IT department installed some security patches over the
last week end. I am sure no single line of code is changed. Now when I try to
access any web page through browser, it brings up the JIT deb... more >>
how to get a column name from a dataset
Posted by Asha at 10/19/2004 6:01:05 AM
greetings, how can i get a column name from a dataset?
objdt.tables(0).column(0)???
thanks in advance for the reply.... more >>
Saving Excel document blows up Infragistics menu in frame
Posted by abolden NO[at]SPAM eastridge.net at 10/19/2004 5:35:10 AM
Hi,
I've been trying to figure out how to fix this for several days but
nothing I have done so far seems to work. I have posted this message
in a Google Excel Programming group, but did not receive any answers.
I have a web page page that is in a frame with top and side nav bars.
When I c... more >>
Forms Authentication Signoff
Posted by Philip at 10/19/2004 5:11:03 AM
I am using forms authenication with a custom signon page and I execute the
following statement to force a signoff from a signoff web page...
FormsAuthentication.SignOut();
I have noted that if I then redierct to another form that is supposed to be
protected from entry due to lack of authen... more >>
Get container of user control
Posted by PontiMax at 10/19/2004 4:50:30 AM
My aspx page contains a placeholder control which I use to
display various user controls.
Is it possible to get a reference to the page instance
from within the user control? The property "Parent" refers
to the placeholder control, not to the containing page...
Thanks,
PontiMax
... more >>
statelite resource assembly
Posted by kelmen NO[at]SPAM hotmail.com at 10/19/2004 3:11:46 AM
I'm having a real hard-time to work out the hell of the statelite
assembly.
1) At start,
the official MSDN stated to use:
.... new ResourceManager(strBaseName, Assembly.GetExecutingAssembly());
and the resource file should be named as <basename>.[culture.]resx
It didn't work (in WinApp).... more >>
regexp question
Posted by Eric Gibson at 10/19/2004 1:53:01 AM
Hey all,
I'm trying to do a regexp that will gracefully extract the fields (fn)
from a string in this format:
(f1, f2, f3),(f1, f2, f3),(f1, f2, f3),...,(f1, f2, f3)
Is there a way I could grab each (f1, f2, f3) and then iterate through
them gracefully. I'm using Split(str, ",\)... more >>
passing collection object to web service in .NET
Posted by vbvjain at 10/19/2004 1:52:24 AM
I am developing an applocation which reads mails in outlook inbox
alongwith attachments and all these informmation is stored in a
collection which i need to pass it to a web service, which will perform
certain operations on that collection and then return that modified
collection to the client.
bu... more >>
Never is postback ?
Posted by Craig Kenisston at 10/19/2004 12:36:02 AM
Hi,
I'm writing a little asp site, with just a single main default.aspx page and
a couple of web user's control.
I have the page in a way, that I have a left hand menu, and alternatively,
according to the selection, any of the .ascx components is loaded into a
tables's cell with the proper... more >>
|