all groups > asp.net > february 2008 > threads for friday february 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
ASP.Net State Service Problems
Posted by Jeff Nesler at 2/15/2008 10:43:54 PM
Having a problem starting the ASP.Net state service on my local machine.
Whenever I try to start it, I get the following (taken from the event log):
The ASP.NET State Service service terminated with the following error:
The requested service provider could not be loaded or initialized.
Usin... more >>
Windows XP and a little ASPNET form
Posted by Sandman at 2/15/2008 9:59:58 PM
Hi
I am able to get a HTML form up and running thru IIS. But the ASP script
parts are being ignored. I tried setting TRACE but it didn't show.
thanks
sandy
... more >>
Insert Record and File sequence
Posted by shapper at 2/15/2008 8:06:16 PM
Hello,
I am using a ListView with a LinqDataSource to insert a record in a
SQL table with the file info and upload the file.
I need to do the following:
1. Upload the file to a temporary directory
Cancel everything (e.Cancel) if there was an error on file
uploading.
2. Insert re... more >>
Emitting Client Script
Posted by Ed Courtenay at 2/15/2008 7:41:30 PM
Reposting here as you can practically see the tumbleweed blow by in
microsoft.public.dotnet.framework.aspnet.webcontrols....
I've got a very simple custom control that requires a small section of
JavaScript to function at the client - nothing out of the ordinary.
In the overridden Render... more >>
Delete File
Posted by shapper at 2/15/2008 7:06:42 PM
Hello,
I am moving a file to a folder as follows:
Dim file As New System.IO.FileInfo(Server.MapPath(path))
file.MoveTo(Server.MapPath(newpath))
This is working but if there is already a file with the same name in
the destination folder I get an error.
I would like to replace the file i... more >>
SQL Server 2005 - how do i create the ASPNET user?
Posted by SpaceMarine at 2/15/2008 3:46:03 PM
ok im new to SQL Server 2005, from 2000.
my webapps use integrated security, and run under:
\\MYMACHINE\ASPNET
....in 2000 it was a pretty simple thing to create a new db user for
this user. took 10 seconds to click thru and do it.
but in SQL 2005, i just cant seem to figure it out.... more >>
Framework 3.5
Posted by SimonZ at 2/15/2008 11:05:18 AM
I installed microsoft framework 3.5 but I can't find tools for caching sql,
regiis, and so on:
aspnet_regiis.exe, aspnet_regsql.exe,...
This tools were instaled in framework 2.0 in the following directory:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
Now i have folder:
C:\WINDOWS\Micros... more >>
VWD - Error logiing in to db
Posted by SAC at 2/15/2008 10:16:43 AM
I'm brand new to dotnet...when I press F5 on a webpage with a gridview
connected to the pubs db, I get an error
[SqlException (0x80131904): Cannot open database "pubs" requested by the
login. The login failed.
Login failed for user 'NOTEBOOK\ASPNET'.]
I'm logged into this computer as <Dom... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with Page.SetFocus with AJAX extenders
Posted by kurt sune at 2/15/2008 9:53:24 AM
I am having trouble with SetFocus.
I have a textbox with AJAX extenders:
<asp:TextBox ID="txtOrg" runat="server" CssClass="inputstyle"
MaxLength="10"></asp:TextBox>
<cc1:TextBoxWatermarkExtender ID="txtOrg_TextBoxWatermarkExtender"
runat="server" Enabled="True" TargetControlID="txtOrg"... more >>
Object reference error - Microsoft code
Posted by David C at 2/15/2008 9:26:03 AM
I am getting an error "Object reference not set to an instance of an
object." using code taken directly from MSDN for
GridViewUpdatedEventArgs.OldValues property. I am trying to view the old and
new values from before and after a row is updated. Below is the code I am
using in 2 subs. The ... more >>
credit card payment
Posted by BillE at 2/15/2008 9:23:47 AM
Hi -
I am looking for some documentation about integrating credit card payments
with dotNet web applications.
I have found tons of information about setting up on line credit card
payments, but I would like to find some more specific information relating
to dotNet to make sure I'm doing ... more >>
ASP.NET 2.0 - "Server Application Unavailable"
Posted by SpaceMarine at 2/15/2008 9:14:36 AM
hello,
i know this is a common error, and i intend to research it next, but i
thought id drop in here first.
when i run my ASP.NET project from VS.NET 2005's internal, debug web
server, it works fine. like so:
http://localhost:4943/1.0/
but when i run it from the site i setup in IIS... more >>
Typed Dataset Thread Safety
Posted by Dave T at 2/15/2008 9:04:00 AM
Does anyone know whether typed datasets, as VS 2005 builds them, are type-safe?... more >>
2-column list with break on change in value
Posted by Paul S at 2/15/2008 8:53:01 AM
Hi
I want to create a list as shown here
http://www.zartorv.com/default.asp?id=45
It's a 2-column list with item's sorted on a date value. When the data value
for the items break a header showing the new date is displayed.
How can I accomplish that ?
Is it possible add formatting to... more >>
Check difference between two vectors
Posted by shapper at 2/15/2008 8:36:24 AM
Hello,
Is it possible given two vectors, A and B, create a third vector, C,
using the following conditions, without a loop?
D = A - B
If D(i) * D(i-1) < 0 and D(i) > 0 then C(i) = 1
If D(i) * D(i-1) < 0 and D(i) < 0 then C(i) = -1
If D(i) * D(i-1) > 0 then C(i) = 0
---... more >>
IE unable to open Excel stream
Posted by Christian W. Larsen at 2/15/2008 7:27:03 AM
I want to export a datagrid to Excel. Here is the code:
[after datagrid databind]
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-disposition",
"attachment;filename=FileName.xls");
Response.ContentType = "application/v... more >>
GridView Update
Posted by Looch at 2/15/2008 7:20:35 AM
Hi,
I'm filling a GridView with a simple sproc select statement. I'm
trying to use the Update tab to create an update statement and using
the following:
Update Shipping_Requests
Set Shipped = @Shipped
The Shipped column is a bit type column that is returned in the
initial sproc call to ... more >>
e-mail and ASP.NET 2.0
Posted by Ed at 2/15/2008 6:48:01 AM
I need to send e-mail from and ASP.NET 2.0 application. I have been reading
the docs on how to do this. It seems that it is a requirment to have an
username and password for the SMTP server. Here are some questions:
1. What account do the mean? a domain account? an account on that loca... more >>
Changing the imageurl of an imagemap control upon postback
Posted by BillGatesFan at 2/15/2008 6:37:51 AM
Is there a way to change to swapimages for an imagemap in asp.net upon
postback on the server?
Thanks!... more >>
VALIGN Problem in IE Only?
Posted by Alex Maghen at 2/15/2008 4:30:01 AM
Again, my oppologies if this is not *exactly* on topic. But please help if
you can: I am having trouble with the VALIGN property of a table cell (<TD>)
only in Internet Explorer. In FireFox, it works exactly as expected.
When I set <TD valign="bottom">, in FireFox, the image that I place ins... more >>
Re-instating state when using Ajax
Posted by msch.prv@gmail.com at 2/15/2008 3:17:13 AM
HI, I have a page that contains a series of Ajax driven user controls
that include grids. A hyperlink on each grid enables users to jump to
different pages. Question: How can I keep track of the user controls'
states (page index, sorting order, etc. ) when the user returns back
to the page? I wa... more >>
Problem with module UrlRewrite to web application
Posted by Matt Winward at 2/15/2008 2:41:14 AM
Hi all.
If anyone can solve this problem, I'd be very grateful.
I've put together a web application that will run within a virtual
directory and uses an HttpHandler to parse requested URLs and loads a
different page in the background, depending on the URL requested.
So http://www.domain.c... more >>
conflict between asp.net 1.1 and asp.net 2.0
Posted by C.W. at 2/15/2008 1:39:51 AM
I have run into a really bizzare problem on my windows xp machine running
asp.net 1.1 and asp.net 2.0 simultaneously.
One of my asp.net 1.1 web application recently suddenly stopped running. I
repeated get the following error:
aspnet_wp.exe could not be started. The error code for the fail... more >>
Override Skin file in CheckBoxList item
Posted by mdavis@medelect.co.uk at 2/15/2008 12:50:32 AM
Hello,
I have a need to set the formatting of the checkboxes dynamically
added to a checkboxlist on my website. The problem is that we use a
master.skin file that overrides any classes I add to the listitems as
they are added to the checkboxlist.
I have experimented with SkinIDs in the past, bu... more >>
|