all groups > asp.net > october 2004 > threads for friday october 29
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
Server Error
Posted by Kay Chan at 10/29/2004 9:43:09 PM
Hi all,
After I update to .net service pack for 1.1, my aspx website doesn't
work!!!!
the return error is
Server Error in '/' Application.
--------------------------------------------------------------------------------
An error occurred while try to load the string resources (G... more >>
manually creating unique IDs
Posted by Darrel at 10/29/2004 9:38:47 PM
I have a table that stores the content for a web site I'm making. Each one
has a unique ID so I can grab it via the querystring.
Since it's being done via a query string, I didn't want to use default
GUIDs, since they're just really verbose.
So, I'm just making my own. What's the best way ... more >>
ASP.Net Datagrid paging problematic?
Posted by Danny Ni at 10/29/2004 9:08:00 PM
Hi,
We use ASP.Net datagrid paging a lot and we have been experiencing "Index
out of bound" error messages when we click on rows of datagrid on differnet
pages every now and then. The problems do not apear to be consistent, they
could happen anywhere, anytime.
We only use datagrid's defa... more >>
How to get directory path of current rquest?
Posted by Olav Tollefsen at 10/29/2004 7:09:05 PM
I have looked at the various attributes of the HttpRequest class, but I
didn't find an attribute to return the directory path to the current
request.
Given the URL Http://www.contoso.com/virdir/page.html, I would like to have
a method to return:
Http://www.contoso.com/virdir/
Does any... more >>
File Upload and File Size Limitations
Posted by Robert Strickland at 10/29/2004 6:43:16 PM
What is the default file size limit when uploading a file and can the
administrator up that limited when needed?
... more >>
Interaction with UserControls (ascx)?
Posted by Frank Schumacher at 10/29/2004 5:21:30 PM
Hi NG,
I have 2 problems working with an user control (ascx) and couldn't find
a solution yet.
I created a simple ascx with some ImageButtons and drag it on a simple
Webform, this code was inserted:
<%@ Register TagPrefix="uc1" TagName="chunk_container"
Src="chunk_container/chunk_contai... more >>
open a javascript window from code behind
Posted by Mark at 10/29/2004 5:07:46 PM
Hi all, how do I open a javascript window from a code behind page?
I was using
Response.Write("<script
language='javascript'>window.open('url','name','options');</script>")
but now for some reason it is not working..
Thanks in advance
Mark
... more >>
Custom Validator
Posted by Vi at 10/29/2004 4:46:01 PM
Hi,
I have a CustomValidator control on my form and I want to perform the custom
validation in all the cases except if I click the "Clear" button on my form.
Is there a way to determine in the custom validator's method what button
generated the post back?
Or is there a different methon to ac... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Please help - What am I missing?
Posted by Chris Kettenbach at 10/29/2004 4:44:43 PM
Why are my ASP.NET apps giving me this message? I am unable to get anything
to work. Thanks for any help.
Server Application Unavailable
Regards,
CK
... more >>
changing the date on an email message
Posted by gh0st54 at 10/29/2004 4:38:23 PM
Hi
I'm sending email with system.web.mail but the date is the date of the
server, which is in a different time zone.
how can i send the message with a different date time
thanks
... more >>
Get data from another website.
Posted by Manuel at 10/29/2004 4:27:43 PM
I need to go to another website, login with a username/password and
retrieve a page.
The problem is that the site keeps track of the user with a session
variable + cookies.
I've done this in VB using the MS WebBrowser, Navigating to the login
page, setting the values of the textboxes and... more >>
Server.MapPath("../../dbq/myDB.mdb") doesn't work
Posted by Kenneth P at 10/29/2004 4:23:05 PM
Hi all,
I have an Access database and try to create a connection to it using the
Server.MapPath method. I have the app lib in c:\inetprub\wwwroot\apps\myApp
and the database in c:\inetpub\dbq\myDB.
Using Server.MapPath("../../../dbq/myDB") should as I understand it take me
to the myDB l... more >>
DNN custom module for surveys
Posted by Dmitry Duginov at 10/29/2004 4:20:24 PM
Hi,
Can anybody recommend a custom module for DotnetNuke, implementing different
kinds of surveys? The standard "Survey" module is too simple and it doesn't
cover different real life scenarios. It's not difficult to write it from
scretch, but I wouldn't like to reinvent the wheel if such a com... more >>
Set Focus on Web Form.
Posted by JAPHET at 10/29/2004 3:54:29 PM
Plz Help
How to set focus on a text box for VB.Net web form.
Thanx in Advance.
... more >>
RightFax and ASP.NET
Posted by wdewebserver at 10/29/2004 3:49:44 PM
Hi
I need to use RightFax to send faxes using ASP.NET. I successfully create a
document and use the RightFax parameters that are required, set the default
printer. But for some reason the fax is never sent.
Can anyone point me to the right direction or supply some code snippet?
Thanks
walt... more >>
moving from single server to load balanced env.
Posted by Shikari Shambu at 10/29/2004 3:45:01 PM
Hi,
I have a ASP.NEt web application with forms authentication deployed on
single server. I do not use Session State, just the HttpContext and so on.
Now, we want to move to a load balanced environment. What are the things
that I need to worry about/ change to enable seamlessly move a logg... more >>
ASP Page Trace Question
Posted by Rob C at 10/29/2004 3:14:03 PM
Hi,
I turned on page level tracing, but the trace output overwrites the the
controls on the page. All I did was:
- create a new asp.net web app
- Put 3 labels, 2 textboxes and one button on the page
- Handle button click event, perform simple calculation with trace logging
message
- Turned ... more >>
Page and custom web control
Posted by Plamen Hristov at 10/29/2004 1:53:46 PM
hi,
i played a little bit with vs 2005 b1 and I tryied to run the following
scenario:
a page (using master page - just for info) and a custom web control in it
which has only 1 buton.
the questions is how I can notify the page when the buton of the web control
is pusshed. it works with Se... more >>
ASP.NET Impersonation
Posted by Matt Tapia at 10/29/2004 1:47:52 PM
How can I temporaily impersonate another windows user within my asp.net
application to run a line of code? Do I need to know both the user name and
password?
... more >>
Postback control?
Posted by vbMental at 10/29/2004 1:43:07 PM
Is there anyway to find out which control fired the postback in server-side
code?
Like in windows programming "Form.ActiveControl" ?... more >>
Navigation for a lengthy page
Posted by Ed Chiu at 10/29/2004 12:58:01 PM
Hi,
I have a relative lengthy .aspx page. There are buttons, datalists datagrids
everywhere. When a user scrolls down to the middle of bottom of the page and
click on a button, a postback happens and the page is rerendered, but the
position is at the very top. The user has to scroll down a... more >>
Server Application Unavailable
Posted by Chris Kettenbach at 10/29/2004 12:53:35 PM
Why are my ASP.NET apps giving me this message? I am unable to get anything
to work. Thanks for any help.
Server Application Unavailable
Regards,
CK
... more >>
Multiple application objects?
Posted by skull_leader7 NO[at]SPAM yahoo.com at 10/29/2004 12:44:18 PM
All,
As I understand it, a single application (i.e. IIS virtual directory)
in ASP.NET may in fact have more than one corresponding
HttpApplicationState object (more or less one per server thread, I
think). During each request, only one of these objects is exposed to
the page as Page.Applicat... more >>
what is the ".netmodule"
Posted by TJS at 10/29/2004 12:42:24 PM
in this command line to create a strong name, what is the ".netmodule", and
how do I create/get one ?
al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk
... more >>
reverting to .NET Framework 1.1 from 2.0
Posted by Sheikh Nabeel Moeen at 10/29/2004 12:31:12 PM
Hello,
I've recently installed the beta for .NET Framework 2.0
Since then my older ASP.NET Applications have stopped working.
I tried specifying the <supportedRuntime> element in the Web.Config file,
but that didnt help any.
Any ideas of how i can specify the application to run on the .NET 1.... more >>
asp.net form to send a request to a put request
Posted by eswanson at 10/29/2004 12:18:03 PM
I have a web page I need to post a file plus some other fields to it. How
can I do this from a asp.net page. I know I can send individual fields to the
other page, but how do I send a file to the other page, or is there something
else like a stream which will be like a file. I am attempting ... more >>
database driven photo gallery with upload
Posted by bob garbados at 10/29/2004 11:29:35 AM
I am trying to create a database-driven photo gallery for a friend with an
admin form to upload images... I can upload a file to the web server, but I
want to store the image in a database and I want to resize the image before
I save it... How do I take the uploaded .jpg and shrink it to a thumbn... more >>
editcommandcolumn sizing question
Posted by tshad at 10/29/2004 11:16:54 AM
I decided to put my Edit/Update/Cancel buttons over to my last column - this
allows the users to tab from box to box and last tab sends them to the
Update button without using the mouse.
My problem is that I want to set the column to be the width of the Edit
button (which is an image), then... more >>
Keeping pages out of cache- need to return to server...
Posted by Charlie at 10/29/2004 11:04:44 AM
Hi:
I'm using the following directive in my asp.net pages to instruct browser to
not cache pages. However, when I click back button, it does not return to
server to get a fresh page, it just displays error page saying "page can not
be displayed". Looks like page is not being cached, but n... more >>
Dynamicly loading server or user controls
Posted by tbh726 NO[at]SPAM hotmail.com at 10/29/2004 11:02:36 AM
I am trying to load both server and user controls into placeholder
controls on a aspx template page at runtime. These values would be
strings that are returned from a database query. I know I can do this
for user controls easily using:
oContent = (ControlBase) Page.LoadControl(Session["Page"... more >>
Handling errors and not redirecting to a custom error page
Posted by Jorge Matos at 10/29/2004 10:29:02 AM
I think the answer is no, but I wanted to ask to be sure. Is it possible to
handle an exception in Page_Error or Application_Error and not redirect to a
custom error page? In other words I want the user to stay on the web page
and have the exception message shown on the page instead of redir... more >>
Serialization
Posted by vinay at 10/29/2004 10:24:02 AM
Hi Guys
I want to understand Serialization.
What is serialization.
When do we need to use??
What are advantages and Disadvantages.
Also please diret me to some good sites on serialization.
Thanks for all ur help.
Thanks
vinay... more >>
Event not firing
Posted by tshad at 10/29/2004 10:09:03 AM
How do I get this event to fire without a code behind page. I want to have
this in one ASP.NET page (I know it may be cleaner with a codebehind).
I first tried this:
Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs)
and ... more >>
Openquery and ADSI Problem
Posted by James Schuler at 10/29/2004 10:05:03 AM
I am trying to run a query in an ASP.NET application against Active Directory
using a linked server (ADSI) in SQL Server 2000. The query runs without any
problems in Query Analyzer:
SELECT
sAMAccountName
FROM
OPENQUERY
(
ADSI,
'
SELECT
sAMAccountName
... more >>
How to Handle Multiple Forms on a Page
Posted by faylau NO[at]SPAM mail.com at 10/29/2004 8:35:40 AM
Hi,
I am very new beginner to ASP.NET, but I inherited this ASP.NET
project from a person who left our company. So I hope that my problem
is fairly simple to solve.
Here is the background to the problem: I am working on the "Contact
Us" page for an e-commerce website. This page consists o... more >>
Diagnosing an application spawned from an ASP.NET web application
Posted by james.tsao NO[at]SPAM gmail.com at 10/29/2004 7:43:22 AM
I'm trying to run an external image processing application from a web
application. The function below works for a windows application but
when i try to call it from a web app, the image processing app
starts/stops (it pops up briefly in the task manager). i have no way
of knowing why it closed.
... more >>
Setting focus from Code Behind
Posted by Vi at 10/29/2004 7:43:04 AM
Hi,
Is there a way to set the focus to a TextBox or a DropDownList from the code
behind? Simething you would do from the client side code wiht
myTextBox.focus() or myTextBox.select().
Thank you.... more >>
Three-tier .net web applications questions
Posted by adam.white NO[at]SPAM tycoelectronics.com at 10/29/2004 7:18:37 AM
The company I work for used to create web applications using an ASP
user interface, VB6 COM+ middle-tier with a SQL2K back-end. They have
recently moved on to .NET with ASP.NET user interfaces and a C# COM+
middle-tier. The .NET applications are being installed on the same
servers as the old app... more >>
Application on end & session not firing
Posted by Raghu Raman at 10/29/2004 7:00:16 AM
HI,
am using a simple project in asp.net using c#.
if i put the break point in the application start & session start event
, they are firing good .BUT WHEN i close my project while running on IE,
the session end & application end event are not firing even though i put
the break point th... more >>
Urgent..Please Help...
Posted by Irfan Akram at 10/29/2004 6:11:01 AM
I keep getting this irritating exception on and on. Please Help.
There is already an open DataReader associated with this Connection which
must be closed first.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for ... more >>
Probs in Reqfield validator
Posted by Raghu Raman at 10/29/2004 5:50:12 AM
Hi,
I have created an aspx page with a textbox and a save button & a cancel
button.I mapped that text box to required field validator.when i press
the submit button it works nice & telling the error message if the
textbox is empty.
But the thing is , if i press the cancel button , also ... more >>
Required Field Control ?
Posted by Thomas McFarlane at 10/29/2004 5:50:00 AM
I have a dataentry form that requires certain TextControls to be filled by
the user. I also have a "User Control" that hosts several Url Link Button
controls and these Url links can be clicked at anytime. At present, my
dataentry form does not allow user to escape, they have to enter the
"r... more >>
Help needed in Inheritance(c#.net)
Posted by Raghu Raman at 10/29/2004 5:40:39 AM
Hi
I 've created an 'page1.aspx' page with a text box and a grid.I simply
added another page webform2.aspx.I need to inherit the 'page1.aspx' to
webform2.aspx, sothat i would like to access the controls of the
page1.aspx.
I got confused with the codebehind files & inherits property . Co... more >>
Upload Entire Directory
Posted by Bonato Pierantonio at 10/29/2004 5:08:04 AM
Hi All,
some one can help me?
I need to upload an entire directory of images in a Web server using
ASP.NET? How can I do it?
Thanks... more >>
CS0234 - Are you missing a reference?? Works on localhost, not on server.
Posted by mwheeldin NO[at]SPAM hotmail.com at 10/29/2004 3:51:41 AM
Hi,
I'm fairly new to .NET and having problems getting an ASP.NET page
working on my web host.
The page works fine on my PC running against localhost. I have a MySQL
database and a simple C# app with an odbcConnection object,
odbcDataAdapter and a datasetCustomers object placed on the form.... more >>
Reload opener page
Posted by Alessandro Rossi at 10/29/2004 3:07:02 AM
Hi,
I have the following problem:
I Open a WebForm by window.open(...). In the new Webform I do some
operations, and I value a session variable. On the pressing of a button in
the form opened, I would like to do some server-side operations and after
these operations, I would like to reload t... more >>
User Control Page_Load Twice AutoEventWireup="false" SmartNavigation="true"
Posted by yurps NO[at]SPAM yahoo.co.uk at 10/29/2004 2:54:28 AM
Does smartnavigation on parent page make user controls page_load
twice...
Any fixes for this!!!
Problem is when boss sees smartnavigation he likes but it causes lots
of other bugs....why why!!!
Microsoft fix it!!!... more >>
Uploading Website
Posted by Abul Hasan Lakhani at 10/29/2004 12:54:57 AM
Hello There,
I just wanna ask that now that I have Created my website in ASP.NET how and
what files should I upload to my server. Any special setting or
configuration required to run my asp.net application on web???
Thanks .. Waiting for immediate feedback
Abul Hasan Lakhani.
... more >>
|