all groups > asp.net > october 2004 > threads for friday october 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 30 31
Invalid object name accessing SQL
Posted by Jerry Nelson at 10/15/2004 9:30:26 PM
I get the following error:
WGA_Update is a view not a Table
Invalid object name 'WGA_Update'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code... more >>
Truncating Variables
Posted by Jason Williard at 10/15/2004 6:58:22 PM
Is there a built-in function that I can use to truncate variables longer
than 30 characters? Even better, is there a function that truncates and
then appends "(...)" to the end?
--
Thank You,
Jason Williard
... more >>
Rss Feed with Asp.Net
Posted by Shaqman at 10/15/2004 5:07:59 PM
Can anybody point me for some samples in displaying RSS (XML) news feed on a
asp.net page. Any help will be apreciated
... more >>
SessionID in Web Farm
Posted by Hardy Wang at 10/15/2004 4:38:57 PM
Hi,
If I have a web farm environment, will I get different Session.SessionID
when I refresh same web page?
--
WWW: http://hardywang.1accesshost.com
ICQ: 3359839
yours Hardy
... more >>
Failed to create out of process COM Server in .aspx
Posted by bubzhang at 10/15/2004 4:32:11 PM
The line below always fail, Why?
myEXESvr.CmySimpleClass obj=new myEXESvr.CmySimpleClass();
//////////////////////////////////C#Source code
///////////////////////////////////////////////
It's a web application written with C#
WebFrom1.aspx.cs
public class WebForm1 : System.Web.UI.Pag... more >>
Is this possible in ASP.NET - dynamic questions
Posted by dw at 10/15/2004 4:19:13 PM
Hello, all. We're building a Web app where we can have any number of
questions, which can contain any type of form element -- check boxes, text
fields, radio buttons, dropdowns, etc. We'd like to build an admin page so
someone can create the questions and store them on SQL Server. The response... more >>
missing text and link button
Posted by UGH at 10/15/2004 3:22:44 PM
I just got a new computer with Windows XP SP2.
When I run my web based program, the link button becomes a regular label and
the text box where the user would normally type in the user name and the
password is gone. What's up whit this? Does it have anything to do with
Framework 1.1 SP1?... more >>
SqlDataReader question
Posted by Griff at 10/15/2004 3:17:44 PM
The MSDN article:
Developing high-performance ASP.NET applications
recommends using the SqlDataReader above using DataSets.
One of the advantage of using DataSets over DataReaders is (as I understand
it) that DataSets are preferred for n-tier architecture because they can be
disco... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Resolving DNS
Posted by Stephen at 10/15/2004 3:14:54 PM
Hi all,
is there a way that I can create an application that can "Resolve" any given
address in the URL to be redirected to a default website. I guess that It
can be done by "Resolving DNS address"
Please Advice,
Stephen.
... more >>
Calling client function from server..
Posted by Roger at 10/15/2004 2:42:59 PM
Is this possible??
client side:
<script language="jscript">
function hello() {
window.alert("HELLO!");
}
</script>
server side:
Private Sub cmButton_Click()
hello()
End Sub
--
Michael White
Programmer/Analyst
Marion County, OR
... more >>
cookieless=true, no images are loaded
Posted by Bernie Raffe at 10/15/2004 2:06:36 PM
When I change the 'cookieless' flag in the WebConfig file to true,
everything works fine on my local PC, but the images fail to appear when
using the remote server.
I specify my images throughout using a relative directory structure, such as
'images/topbanner.jpg'. I tried changing this to ~/i... more >>
Could not create type...
Posted by The unProfessional at 10/15/2004 2:00:59 PM
I'm having an EXTREMELY strange problem... please take a look if you don't
mind.
I've written many .net applications, and have never had this problem.
However, suddenly on our webserver, I'm running into this problem. I've
conducted many experiments and I've narrowed down the behavior.
I r... more >>
[WebMethod] doesn' work for properties in WebService
Posted by sunnyz NO[at]SPAM lycos-dot-com.no-spam.invalid at 10/15/2004 1:57:34 PM
i am using property in Webservice.But [WebMethod] attribute doesn'
work for properties.Cud any1 tell me plz which attribute to use for
properties
thx
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*... more >>
Still confused...using an HTML Control to modify an HTML tag's value
Posted by darrel at 10/15/2004 1:22:44 PM
I've asked this a few times and gotten answers, but I'm still missing a
piece of the puzzle.
Here's what I have:
- page.aspx
- title tag
- usercontrol.aspx
- usercontrol.aspx.vb
I'd like to change the value of the title tag from the usercontrol.aspx.vb
codebehind.
Some... more >>
Autopostback prgrammitically from client-side script
Posted by EC at 10/15/2004 1:18:56 PM
I have a web control button with which runs a client side script before it
the autopostback using the onclick event. It is working fine when the user
clicks it.
What I would like to do is "click" this button programmtically from a client
side script. Any ideas?
Or is there a way to call... more >>
ASP.NET Book
Posted by Greg at 10/15/2004 1:05:02 PM
I am about to buy ASP.NET book.
Can anybody recommend something good – with architecture sample, best
approaches, creating reusable components etc.? (There are tons available on
the market…).
I am migrating from ASP to ASP. NET. I am already familiar with .NET
framework -(to a certa... more >>
sending file from server to client ??
Posted by Chris at 10/15/2004 12:50:03 PM
Hi,
In ASP.NET do I want to sent a file from the server to the client and tried
the following :
byte[] sendData = Encoding.ASCII.GetBytes(strXmlContent);
// strXmlContent is a string that contains the contents of a file
Response.AddHeader("content-disposition","attachment;");... more >>
asp.net worker process locking files
Posted by jayamallik NO[at]SPAM hotmail.com at 10/15/2004 12:16:52 PM
Hi All,
I am generating temporary xml files to bind it to tree view control.
A unique xml file is generated for each user. I generating these files
Using streamwriter class. Later when I try to delete the file with
File.Dlete in page unload event I gets an error File already in use by
another... more >>
Calling VB.NET method from C#
Posted by Vijay at 10/15/2004 11:30:09 AM
Hi,
I do have the VB.NET method which has delegate as parameter.
I am calling this method from VB.NET project by using the commnad =
"Addressof( Function name which has same signature)".
How can i call the same method from C# Project?
Code Sample:
Delegate Definition on class inwhich VB.... more >>
page.ispostback question
Posted by Mike at 10/15/2004 11:15:05 AM
I have a routine that i only want to execute if a variable is set to Y. The
routine is getting some information on the screen then redirecting to a new
page.
How can i passed a variable to the Page.IsPostBack routine on the page_load
event?
this is what I'm trying to do/
sub page_load
... more >>
How convert HTML to PDF?
Posted by VB Programmer at 10/15/2004 10:42:47 AM
I have an ASPX form that a user fills out. Then the user clicks "Preview"
and it shows an HTML page filled in with the user input. I want a button
that says "Save to PDF" so that the HTML is exported to a PDF format. Any
ideas/suggestions on how to do this?
Thanks.
... more >>
Can I safely delete Temporary ASP.NET Files?
Posted by Neo The One at 10/15/2004 10:31:03 AM
On my development machine, I often delete all folders/files under
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. That
has not caused me any trouble til now.
So now we have a production server and the system disk is running out of
space soon. I need to some files to ma... more >>
Servlets?
Posted by No One at 10/15/2004 10:28:44 AM
I have several years experience with Servlets under JSP and Components
under ATG's Dynamo. Is there an ASP.Net equivalent to either?
... more >>
ASPNet projects created under VS2002 won't run
Posted by TLin2100 at 10/15/2004 9:40:27 AM
I have been away from .NET development for 18 months. I recently installed
VisualStudio 2003. I have no trouble compiling and running new C# ASP.Net
projects, but when I try to open and run one of the ASP.Net projects I wrote
under VS2002, I get the following error:
"Unable to start d... more >>
Downloading File
Posted by - Steve - at 10/15/2004 9:31:27 AM
Is there a problem with this code?
string filePath = @"\\filer\backup$\filex\" + myFileID;
Response.Clear();
Response.ContentType = (string)myDataReader["ContentType"];
Response.AddHeader("Content-Disposition",
"attachment; filename=\"" + (string)myDataReader["FileName"] + "\"");
R... more >>
How to speed up the compilation time?
Posted by Raymond at 10/15/2004 9:30:54 AM
My solution consists of the following project:
1) Data Access project
2) Business Project
3) Web Project
4) Setup Project
Initially, I'm working on a system that only has 2 modules. I created
two-sub folder on the web project. Now, my system has increased to 6... more >>
Using Summary Validation control with server Custom validation
Posted by Barbara Alderton at 10/15/2004 9:17:06 AM
I setup some standard Required Field Validation controls and one Custom
validation control on an ASP.NET page (within a user control) to validate
text entry. I also setup a Summary Control to post all the messages to a
message box (ShowMessageBox=true). The required field validation error
... more >>
iisreset? why does this work?
Posted by Reader at 10/15/2004 8:58:20 AM
Here is the story. I have my ASP.Net web appliacation that when I uninstall
an old version and install a new version the old version's assemblies are
still in the system somewhere and cause the new install to crash or have old
application operations.
Here are some notes on the assemblies. Th... more >>
How to Prevent Datagrid Repopulating on Refresh?
Posted by Jim Bayers at 10/15/2004 7:54:31 AM
I have a simple page, all that's on it is a datagrid. The datagrid is
populated on page_load when it is bound to a datareader.
The problem is: when a user refreshes the page, new records are added to
the datagrid, duplicating everything that was there.
How do I prevent this? Should I cle... more >>
httpmodule
Posted by ypul at 10/15/2004 7:46:54 AM
Hi,
am using httpmodule in my application.
now
<configuration>
<system.web>
<httpModules>
<add type="ImageTracker.ImageTracker.TrackRequest1,ImageTracker"
name="ImageTracker" />
</httpModules> ....
this works on my local machine , but when I upload it on the hosting server
,... more >>
Co-worker can debug on server but I can't
Posted by Steve at 10/15/2004 7:35:27 AM
Error message: "Unable to start debugging on the web server. Unable to map
the debug start page to a machine name."
I can no longer run the debugger from my local PC for a project on our web
server. You know, F5 in Visual Studio. I can run in debug mode for a
project on my local web serv... more >>
tabs
Posted by Mike at 10/15/2004 6:53:02 AM
I'm creating a "portal" type web app and i want to use a "tab" appearance for
navigation. How can i create a "tab" look navigation system for my portal?
... more >>
FindControl is null
Posted by Chris Fink at 10/15/2004 6:47:05 AM
In the below example could someone please assist in why the findcontrol
method is returning null. Is there are easy way to determine where in the
page heirarchy a control exists - I currently use the debugger and after I am
done drilling down 10 levels deep I still can't easily tell where the... more >>
required field validator not working for checkbox.
Posted by Asha at 10/15/2004 5:01:01 AM
greetings
i want to use the required field validator control to validate a checkbox.
here is the code implemented.
<asp:RequiredFieldValidator ID="rfv" ControlToValidate="chkDistiAudit"
ErrorMessage="error" runat="server" />
<asp:checkbox id="chkDistiAudit" runat="server" CssClass="objC... more >>
asp.net & active directory
Posted by Bart at 10/15/2004 4:59:03 AM
I want to check whether a certain user is a member of a certain group in
active directory. Is this possible ?
Bart... more >>
example of asp.NET/db INSERT
Posted by gregoryenelson at 10/15/2004 4:32:57 AM
HI.
I need an example of a very simple ASP.NET page that takes maybe 3
lines of data a
nd writes same to a database (I will be developing further in Visual
Studio).
Does anyone have such an example or can you point me towards one?
Thanks a lot.
greg
--
gregoryenelson
------... more >>
web form & session
Posted by Bart at 10/15/2004 3:59:07 AM
I made a web form with a drop down list. The user can make a choice from the
dropdownlist. The result of this must be placed in a session-variable. This
is my code.
private sub cmdOK_click(...)
Session("ID")=dropdownlist1.selectedvalue
Response redirect("main.aspx").
end sub
But the s... more >>
Change IE icon
Posted by Psycho at 10/15/2004 1:25:04 AM
Hi
This is not an asp.net question. I want to change the Ie icon from the top
bar with a custom icon. How can I do this?
thanks.... more >>
Measure Memory Used By ASP.NET Application
Posted by Guadala Harry at 10/15/2004 1:24:35 AM
An ISP I'm considering tells me they limits ASP.NET Web applications to 128
MB RAM each (on a shared server - Windows Server 2003). How can I measure
the amount of memory used by my app? I'd like to have a pretty good idea
before moving this thing into production in such an environment.
Thanks... more >>
|