all groups > asp.net > march 2004 > threads for friday march 12
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
DB exclusively used by another user.
Posted by Tracy at 3/12/2004 10:56:06 PM
I am a newbie of ASP.Net. In my first appliction. I connect a webform using an OleDbConnection object.
I also put a Datagrid on the web form and populate the datagrid with datareader. However, I couldn't get through.
I got the error of :
"The Microsoft Jet database engine cannot open the file ' .... more >>
Web application does not show server controls!
Posted by IMRAN SAROIA at 3/12/2004 10:10:57 PM
Hi Friends!
I am new to VB.net. I tried to build a simple web
application and tried to view it but it says debugging is not possible and
if I disable the debugging the page is shown on
browser without controls.
Whats is wrong?
I have tried to repair and fix the installation but the
prob... more >>
Managing state information in ASP.NET Application object?!
Posted by David Berman at 3/12/2004 9:48:09 PM
Hello, I have a website, www.mysite.com. It has information populated
from a database on a per-city basis. I would like to make it so that if
you go to city.mysite.com, the city information provided is filtered to
include only the city specified. For example, boston.mysite.com will
provide a ... more >>
ASP.net Error
Posted by Keith at 3/12/2004 9:40:45 PM
I have just started playing around with Visual Studio.net 2003 Enterprise
Architech.
I do not have much VS or ASP.NET experience and am just starting learning,
having previously done development in VB6 and Dreamweaver MX/2004.
Any way - I created a new VB ASP.NET Web Project in VS and just r... more >>
Help with image gallery
Posted by Jarod_24 at 3/12/2004 9:22:43 PM
I'm working on a solution to upload multiple images (gallery) at once to a
database. The path to the images is saved in the Database, and the images
are stored on disk.
How do i make a dialogbox that will allow the user to browse his own
harddrive, select multiple (multiple is important here) ... more >>
To Dataset or Not
Posted by A at 3/12/2004 9:00:20 PM
I have been looking throught the Microsoft Quickstart examples and it looks
like (at a very minumum glance) the use of updating Datasets throught the
dataAdapter isn't really in much use. I am somewhat new to this but I
thought that I would see a much greater reliance on this method of updating
... more >>
IIS Network Share
Posted by Bryan Martin at 3/12/2004 8:13:06 PM
Win2k server (not a domain controller) attempting to share a virtual
directory from a XP box. Now matter how I try to log in I get access
denied. Tried Administrator, ASP.NET, Guest etc. Made sure Guest account
enabled on XP box with directory shared everyone full access.
Any Ideas?
... more >>
ASP.NET virtual path problem.
Posted by KK at 3/12/2004 7:03:10 PM
Hi,
I have done my ASP.NET applications authentication like in
Duwamish example. My directory structure is like below
APPROOT (IIS virtual path = TRACK)
default.aspx <-- contains the logon procedures
web.config
SECURED <secured directory>
web.config
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
App-Domain could not be created. Error: 0x80070020
Posted by .NET Developer at 3/12/2004 6:34:53 PM
In our production webserver I am seeing this event few times. Any idea what
is causing this issue?
Source: ASP.NET 1.1.4322.0
EventID: 1088
Description:
Failed to execute request because the App-Domain could not be created.
Error: 0x80070020 The process cannot access the file because it is b... more >>
clear cache after browser closed
Posted by Gene Ariani at 3/12/2004 6:02:48 PM
I currently create an cache item called 'skey' as follow. I need to clear
this cache when the client browser closes.
Is this possible?
Dim sKey As String = username + password
Dim sUser As String = Convert.ToString(HttpContext.Current.Cache.Get(sKey))
Dim SessTimeOut As New TimeSpan(0, 0, H... more >>
DataView Timeout Becomes SQLReader Sorting Issue
Posted by Alex Davidson at 3/12/2004 4:51:16 PM
I am having issues with a page timing out while using DataView to go to SQL
to run a Stored Procedure to populate a DataGrid so I looked around and
found that if I use a SQLReader I can specify a Timeout value.
Problem now is how to sort the data as desired.
Right now I am using pieced toget... more >>
RadioButtonList and Javascript
Posted by Olivier at 3/12/2004 4:32:48 PM
Hello,
I'd like to catch the onchange or onclick event of the RadioButtonlist =
to empty a textbox when the user click the second item of the =
radiobuttonlist.
Is it possible with Javascript ? How ?
TIA,
Olivier.... more >>
ASP.NET and Winform Remoting example?
Posted by Bruce W.1 at 3/12/2004 4:25:40 PM
I'm seeking an example application that does the following.
A user clicks a button on a .aspx page and this event notifies listening
winform applications that the button was clicked, and maybe sends a text
string or something. The winform application is to be No-Touch deployed
from the ASP... more >>
ActiveX in ASPX page problem
Posted by Dmitri Demyanik at 3/12/2004 4:14:35 PM
Hi,
I have written ActiveX control.
When I run aspx page, I get message:
"Object doesn't support this property or method", e.g
CardReader.Run(); line.
But it works fine in simple test html page. Why it does not work in ASPX?
In debugger I see that CardReader is not null.
Here is the co... more >>
Importing a File into VS.Net using VB
Posted by DotNetJunkies User at 3/12/2004 4:04:51 PM
We are working on an "Upload" program, and need to get information on how to import data using VS.Net in VB. We will be importing the data in an excel or text format, possibly in XML; but it could be any one of the three formats. Most likely it will be text files. Is there somewhere I can get infor... more >>
Label with CSS
Posted by Steven K at 3/12/2004 4:00:04 PM
Hello,
I have a CSS file (mycss.css) that has the following:
..Arial_RedB08 {font-family: Arial, Helvetica, Verdana; font-size: 8pt;
font-weight: bold; color: rgb(204, 51, 51);}
I am including that CSS into my page:
<link rel="stylesheet" type="text/css" href="../../Connections/price.cs... more >>
Asp.net without Javascript????
Posted by Calibra at 3/12/2004 3:45:16 PM
Hello,
I am developing an application in asp.net and have just discovered that some
users might have locked down machines that have cookies and client side
javascript disabled.
I was aware of the cookie issue so all state between pages is maintained in
other ways (querystring and serializat... more >>
HttpApplication Start event missing?
Posted by Joel Aufgang at 3/12/2004 3:38:11 PM
Although the HttpApplication object contains an Application_Start event
handler method, it doesn't seem to have a public Start event that I can
attach a different event handler to. It's really strange. There's a
BeginRequest event that corresponds with ths Application_BeginRequest event
handl... more >>
QUESTION: XML Serialization Attribute
Posted by VB Programmer at 3/12/2004 3:11:12 PM
I have defined a class, but my attributes (<XMLRoot... and <XmlElement...)
all have squiggly lines under them stating that the attributes are 'not
defined'.
Do I have to 'import' something?
Any ideas?
... more >>
Running two instances of the same app
Posted by Vishal Gupta at 3/12/2004 3:10:02 PM
Wanted to confirm that i should be able to run multiple copies of the same
application (same version) by essentially copying over the application files
to a new physical location on the server and setting up a virtual folder for
it. One of the reasons i want to do this is because i need to run an... more >>
asp.net memory leak detection?
Posted by Joel Aufgang at 3/12/2004 3:05:48 PM
I've got an asp.net app that seems to be hanging on to memory resources and
not releasing them. The w3wp process in windows 2000 grows out of control.
I've set iis to runn the app in an application pool which uses 2 worker
processes and recycles them when 600 megs of memory or 800 megs of virtua... more >>
Network permissions for w3wp.exe?
Posted by Marc Thompson at 3/12/2004 2:57:46 PM
I have an ASP.NET app that is running on a W2k3 DC. The app needs to access
a network share. I have given the "Network Service" profile full access to
the share. The code successfully reads files but can't write to files
within the share. My app does not use impersonation and the IIS Applicatio... more >>
Autopostback for buttons
Posted by Steffen Loringer at 3/12/2004 2:54:18 PM
Hi,
how can I switch of AutoPostBack for a single button on my page?
(the button is only used for a popup)
Thanks,
Steffen
... more >>
NoCache not working. Tried everything
Posted by ujjc001 NO[at]SPAM mail.crk.umn.edu at 3/12/2004 2:52:17 PM
Hello everyone.
If I hit the back button on my data entry form I can still get the
cached page. I have tried
<%
pStr = "private, no-cache, must-revalidate"
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control"... more >>
binding dataset passed from web service to a web form
Posted by Mike at 3/12/2004 2:36:08 PM
I am returning a dataset object from a web service method to a subscribing web form application. I create a dataset object and set the value equal to the passed dataset. When I databind to a datagrid, nothing happens. I have had luck doing this directly but not by passing the object from a web se... more >>
How can I tell if a treeview node already exists?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/12/2004 2:09:42 PM
I have a vb.net .aspx page. It has a treeview and a form.
When I create a new order in my database I have the tree create a
parent node at the top of the tree.
Now, when I edit the form, autopostbac, or update, etc. and do a
postback it adds the same node again.
I cannot figure out how t... more >>
Right Justify in TextBox
Posted by Gary at 3/12/2004 2:09:03 PM
How can I right Justify something in a textbox? There seems to be no
property for that.
Thanks,
Gary
... more >>
Different folders for aspx and codebehind files
Posted by nelson NO[at]SPAM ccls.com at 3/12/2004 2:06:19 PM
I'd like to further discuss this thread:
"code behind problems in vs.net 2003"
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=%23yjuxqL4DHA.2184%40TK2MSFTNGP10.phx.gbl&rnum=24&prev=/groups%3Fq%3Dcodebehind%2Bdifferent%2Bdirectory%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%2... more >>
CreateNoWindow
Posted by Norm Dotti at 3/12/2004 1:51:09 PM
I'm trying to start a process that will show an html based help system from my application.
It seems every time the Process.Start("Iexplore.exe", "myhelp.html") is executed a new instanc
of IE is created. This is not really what I want. I want to be able to use an existing IE window.
There is Cre... more >>
Question: properties vs fields
Posted by VB Programmer at 3/12/2004 1:35:36 PM
I was reading about xml serialization and the article referred to "public
properties and fields of an object". What is the difference between a
property and field? Can you provide an example?
Thanks.
... more >>
Href Behavior
Posted by George Durzi at 3/12/2004 1:08:12 PM
In explorer if I browse to \\printservername\printername I connect to a
printer, and add it to my list of printers.
If I wanna do this within a webform, and I do:
<a href="\\printservername\printername">Printer Name</a>
When I hover over the link in IE, it points to
file://printservername/print... more >>
Help! Multiple users using an app and sql queries getting mixed
Posted by REB at 3/12/2004 12:38:43 PM
I have an asp.net application on a win2003 standard server using sql server
2000sp3 and I appear to be having some problems with updates/inserts getting
mixed when multiple users are on the system.
Here is what happened: My application is used to enter employee data, which
includes a list of ... more >>
What is the font size %?
Posted by RA at 3/12/2004 12:11:23 PM
Hi
If using font size 50% or 100% what size is the precent is from?
Thanks
... more >>
Asp.NET monitoring tools
Posted by Alvin Bruney [MVP] at 3/12/2004 12:05:50 PM
Anybody know of good asp.net monitoring tools for a webserver out there.
Possibly freebies or low cost is ok. I want to monitor user statistics.
Yes i know i can build my own. I am not in the mood for building that right
now.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it her... more >>
Finalize method - advice please
Posted by Bob H at 3/12/2004 12:05:37 PM
Hi,
In my webforms, I've a Finalize() proc with a MyBase.Finalize() statement in
it.
I'm trying to get my head round destructors and when to use them.
Can anyone shed some light on best practice on when to use the above please?
Should I have one of these in every form's code behind or jus... more >>
The weirdest ASP.Net error ever
Posted by markn NO[at]SPAM fullcompass.com at 3/12/2004 11:42:20 AM
I am getting a strange javascript style error when viewing one of our
webpages.
http://64.213.162.194/Products/ProductPage.aspx?pid=5412
When visiting that page (passing any valid product id) results in a
javascript style error. The text is below:
Line: 3
Char: 1
Error: Syntax err... more >>
NUnit ASP.NET and web.config
Posted by Adie at 3/12/2004 11:32:19 AM
Hi, qnyone know how I can get NUnit to work with the connection string
being pulled from my web.config? ... more >>
print function in ASP.NET
Posted by David at 3/12/2004 11:29:36 AM
My goal is to have an ASP.NET button that prints a file that is not
necessarily open,but is accessible to the net. So javascript window.print()
wouldn't work.
So when the button is pressed, the web application knows that path to the
document and prints it. Is that possible? I believe the Pr... more >>
Cannot avoid 'enter network password' dialog box
Posted by andla at 3/12/2004 11:27:24 AM
Hi!
Please help me with this problem. I think this is very strange and i
should work now because I have been through many solution of thi
problem to remove this enter password dialog box, but none of the
helped me. I know that you probebly think that the IUSR_.. accoun
probebly don't have ac... more >>
Newbie: Missing page DLL's in /bin
Posted by Bobbo at 3/12/2004 11:26:05 AM
Hi All
Am using VS2003 and have created a ASP.NET project. Pages work as they should locally. Moved things up to testing server and now getting the 'Parser Error: Could not load type 'blah blah blah'
Did a search here and see that I need to move my /bin contents up to the server, but I don't se... more >>
Debug.print ?
Posted by Francois at 3/12/2004 11:21:08 AM
In VB6 there use to be the very usefull debug.print ... In .NET all I could find is System.Diagnostics.Debug.WriteLine("stuff"). The result is in the 'output window' along with a bunch of events I dont need to see. Is there an equivalent to debug.print and the immediate window ? Merci !... more >>
Aspx can't view
Posted by bhang at 3/12/2004 11:04:16 AM
When I click the aspx page, system popup a window - "The file failed to load
in the web form designer. Please correct the following error, then load it
again: the designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
... more >>
ActiveX Unsafe in ASPNET run but not in HTML standalone
Posted by Harry Simpson at 3/12/2004 10:50:49 AM
I've got a signed ActiveX control which runs just fine embedded into an html
page but when i use the same code in an aspx page, i get first the "An
ActiveX control on this page is not safe..." error and then the "Object
doesn't support this property or method" error.
Why the different and how ... more >>
encrypt the database connection string
Posted by Freddy at 3/12/2004 10:50:01 AM
Hi,
How to encrypt the database connection string, store it in the Web.config
file and then retive and decrypt it.
Any links to articles would be great.
Thanks
Freddy
... more >>
Run Javascript after Server Side Code
Posted by Olivier at 3/12/2004 10:49:27 AM
Hi,
Here is my challenge :
I have a linkbutton on my form that stays invisible while a variable is =
empty.
Another button is displaying a panel (set to visible), thus, on the same =
form.
That panel's save button will save some user entry to the database and =
make sure the variable me... more >>
ActiveX unsafe
Posted by Harry Simpson at 3/12/2004 10:45:41 AM
I've got code that runs fine if i double click an html file. If i copy that
same code into a aspx page and try to run it i first get the "An ActiveX
control on this page is unsafe..." error and then i get an "Object doesn't
support this property or method".
Why does it run fine in the browser... more >>
RegisterStartupScript - SetFocus
Posted by Lisa at 3/12/2004 10:31:09 AM
I'm trying to set focus to a control when the page is loaded. The control may be different from one entry to the next so I cannot just hardcode it into the <body onload..>. I've tried several variations using registerstartupscript, and I see the script before the <\form>, but it doesn't seem to fi... more >>
passing session variables from .NET web app to another?
Posted by Andre Ranieri at 3/12/2004 10:26:08 AM
I created a .NET web app for my company last year which allows customers to see parts of their account in our CRM database, this app uses session variables to store their account number and logged in status.
My boss wants me to create a separate web app in which the customer will log in to the si... more >>
Method Exposure
Posted by Dave at 3/12/2004 10:26:05 AM
I have a collections class that inherits from CollectionsBase. I've implemented "Add" but I would like that to be the only method exposed...I don't want "RemoveAt" or any of those others in CollectionsBase exposed. Is there a way to do that
Thanks... more >>
XML Serialization
Posted by VB Programmer at 3/12/2004 10:08:57 AM
(1) Can someone explain in a nutshell what this is, (2) when it's most
useful and (3) post a quick sample code for serializing/deserializing?
Thanks.
... more >>
Using a DLL in ASPX page
Posted by Santosh at 3/12/2004 9:47:48 AM
Friends,
I have a DLL which makes a connection to the database and other functions as
well.
I have been using this DLL sucessfully in asp based websites.
I want to use this DLL in aspx but with no sucess.
I want to create a siteheader.vb where in I want to Instantiate this DLL and
use it t... more >>
Caching, taking threading into account
Posted by hugo NO[at]SPAM wetterberg.com at 3/12/2004 9:46:31 AM
Ok, this is something that has been bothering me for a while.
When I use the cache I usually check if a cache request returns null.
If that is the case I merrily proceed to loading the resource from
disk, or whatever place it resides in.
The problem is that when you start thinking about the ef... more >>
dumb question
Posted by Tim Gallivan at 3/12/2004 9:21:14 AM
Hello,
I'm new to the ASP side of dot net, and I can't figure this out. I have a
button on a web form. When clicked, it creates a class and adds 2 event
handlers. It takes about five seconds before either event is raised. My
problem is that the page is sent back to the browser before one of th... more >>
Advantage of data set
Posted by Steffen Loringer at 3/12/2004 9:02:18 AM
Hi group,
can somebody tell me what the big advantage of a dataset is? Is ADO.NET
the same? Why should I not access the SQL Server directly??
Thanks
Steffen
... more >>
How to reference the value of a specific field in a DataSet
Posted by Grant Ord at 3/12/2004 9:01:05 AM
I've just filled a dataset with 1 row from a table in my database
I want to get the value of one of the fields
I'm using
string atLastMyValue
DataSet ds
DataTable dt
DataRow dr; in myTable.Rows
DataColumn dc
dt = ds.Tables[0]
dr = dt.Rows[0]
dc = dt.Columns["myFieldName"]
atLastMyValue ... more >>
Request.ServerVariables outside of a page
Posted by MattB at 3/12/2004 8:53:40 AM
Hello. I'm developing a site that has a bunch of shared functions in .vb
file I reuse from different pages. I'm trying to implement
Request.ServerVariables in one of those functions and have hit a snag. In
testing this out, I used the same method within a page (an aspx.vb
codebehind page) and it... more >>
How to detect an empty DataSet
Posted by Grant Ord at 3/12/2004 8:41:08 AM
If I cal
dataAdapter.Fill(dataSet
and the dataSet contains no records because the query didn't match anythin
how can I tell if the DataSet is empty
The Tables.Count and Rows.Count are both 1
I'm using
if (dataSet.GetXml() != "<NewDataSet />"
which seems really flaky to me.
Tables.Count and R... more >>
onchange not getting fired on a text box
Posted by RJN at 3/12/2004 7:18:53 AM
Hi
I have a textbox (input type = text runat=server) and a requiredfield
validator for the text box. I have a onchange event for the textbox.
IE provides an "AutoComplete" option for a textbox. (When we click on
the textbox we see the list of content that was entered previously. This
optio... more >>
Servicepack for .net framework 1.1 When?
Posted by Kmex at 3/12/2004 5:21:06 AM
Hell
When can we expect a servicepack relese from Microsoft for ".net framework 1.1". We have seen
INFO: ASP.NET 1.1 June 2003 Hotfix Rollup Packag
http://support.microsoft.com/default.aspx?scid=kb;en-us;82115
FIX: A user receives a "security exception" error message while running user code t... more >>
Unable to start debugging for Asp.net application(Urgent)
Posted by SNEHANGSHU at 3/12/2004 4:36:05 AM
When i start debugging i get an error saying unable to start debugging in ASP.NET application.... more >>
Populate Dropdownlist Clientside
Posted by Jude_44 at 3/12/2004 2:21:05 AM
H
I have a page with a Datagrid on it, where users can create new rows etc. In each row, there are a few DropDownLists. The selection from each at the moment does a postback and re-populates all the others. Currently, this works fine, but is far too slow!! For one line-entry, it needs at least 3 p... more >>
DataAdapter Fill Dataset progress for Select Query
Posted by krishnaprasad.vr NO[at]SPAM sonata-software.com at 3/12/2004 1:53:42 AM
Hi,
Is there a way to know how many rows have been fetched into dataset
when we are filling huge amount of data. I want to show the progress
status in the ASP.net UI in a fixed intervals. Please let me know the
best way to do this.
thanks
-kitty... more >>
Multi threading in ASP,Net without sessions
Posted by kittyvr NO[at]SPAM msn.com at 3/12/2004 1:41:26 AM
Hi,
I've read lots of postings about multithreading in asp.net. All the
samples use sessions to get the work done. A typical sample starts the
thread in one page and goes to another page for checking the status of
the thread using sessions.
I wanted to know the background thread life cycle usin... more >>
Help to remove Excel stak from Task Manager
Posted by Aun Ali at 3/12/2004 1:31:12 AM
Hello
I am using Excel Application in my Asp.Net page. for this i used Excell Application, workbook, workshee class. I am using vb as script for coding. Simple of my code i
Dim xlApp as Excel.Applicatio
Dim xlwBook as Excel.Workbook
Dim xlwSheet as Excel.Workshe
xlApp=new Excel.Applicatio
xlwB... more >>
IE ToolBar
Posted by Priti at 3/12/2004 12:51:06 AM
I need to create a toolbar something similar to that of Google Toolbar usin
either VB.NET or C#. How do I proceed? How do I attach my toolbar to th
IE?... more >>
Info on ASP.Net internals...
Posted by tommysvensson NO[at]SPAM yahoo.com at 3/12/2004 12:43:35 AM
Hi,
I'm interested in how ASP.NET really works under the hood.
What steps are taken during a request, how and when is the
asp process created, how is the aspx code integrated with
code-behind and so on...
Is there a paper or magazine article written which shed some
light on the ASP.NET i... more >>
Multi Threading
Posted by VSK at 3/12/2004 12:42:34 AM
Hi all,
Am using multithreading for the first time in .NETweb application.
I have code like below.Iam creating 3 methods to invoke 3 methods
simultaneously.
In each method i will the assign the loop index to var which i display in
the web page.
But it behaves very strangely.Sometimes the m... more >>
|