View Complete Post
I'm curious if its possible to get windows auth working with asp.net webpages/webmatrix.
I've got it published to IIS with windows auth turned on and anonymous/forms/basic turned off.
I'm guessing the WebSecurity Helper probably won't work here but can you access User.Identity.Name etc?
Sorry for the newbie questions, I've only just started working with asp.net ^^,
I have run into a problem with optimistic concurrency in my dynamic data application (where all relevant settings are at their default values); when I try to update or delete one of my tables, I see the following error:
Exception type: ChangeConflictException Exception message: Row not found or changed.
I am the only user of my database at the moment, so I can guarantee that the data both exists and has not been changed outside the application!
Various forums have suggested that the way to deal with this is to set the column attributes so that the concurrency checking is disabled; i.e.
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropSurname", DbType="NVarChar(255)", UpdateCheck=UpdateCheck.Never)]
However, to do this manually through the Visual Studio designer will take me hours (I have a lot of tables) and if I then change the schema of one of the tables in the DB, won't I then have to do it all again? I've tried editing the .designer.cs file directly but my changes are subsequently overwritten (as expected).
All suggestions gratefully received!
This month: CWebVersion revisited using HTTP instead of FTP, and adding sounds to an MFC-based app.
MSDN Magazine May 2006
MSDN Magazine May 2002
DirectX 8.0 allows the creation of smooth and realistic character movements that are more life-like than simple articulated structure animations. This is made possible by its improved support for vertex tweening and blended vertex deformations, also known as soft-skinning. After a brief history of the use of these techniques in DirectX, soft-skinning using the fixed function pipeline is discussed. This is followed by the use of matrix palettes from within vertex shaders to create a customized soft-skinning solution that takes advantage of the benefits of vertex shaders, such as hardware acceleration and custom lighting algorithms without the limitations of fixed-function solutions.
MSDN Magazine June 2001
I'm in a situation where I have to build a super complex table or rather matrix
This is how the table/matrix should look like:
The complex thing is that everything is taken from a database.
I will try to explain the color sections one by one.
SERIE (Green area)
If we start with the top columns; SERIE 1, SERIE 2, SERIE 3
These values are coming from a table column value. If this column has the value 3 then I will need to print 3 table cells, just like in the image.
MEDICINE NAMES (Blue area)
Then there is the outer left columns, that goes like this;
Behandlingsdag (meaning day of treatment)
Osplatin (100 mg/m2)
And so forth.
All these values are also coming from 3 different tables
One Column (Yellow area)
These cells are getting their values from a table. According to some true og false values.
1, 2, 3, 4 (Red area)
Then there is the table cells below the SERIES. These table cells goes like this
First there is a 1, then there are the tables cells 1 to 18 all below
I've got a HttpHandler which outputs XML to the client to play video, it outputs the url to the video, video name etc... Validates the request etc.
However sometimes when i upload new video the main URL doesn't pickup the file from the CDN so i have to use a different URL to go directly to one of the main servers.
For example the CDN url is:
One of the server urls is:
What i want to do is check to see if the file can be reached off the .net url before posting it back to the user.
if http://videos.****.net/ar/ar_1003_scene_1.ext response then
> post http://videos.****.net/ar/ar_1003_scene_1.ext to client
> post http://videos1.****.com/ar/ar_1003_scene_1.ext to client
I hope that makes sense.
I thought of doing a WebRequest/WebResponse but i don't want the file to come back, i just wanna know if its there or not. My site is on a single server while all the video is on a CDN.
(i can't post the url because it's NSFW)
Edit: Why do posts not auto format?!?
We are accessing our sharepoint services 3.0 document library through outlook 2007.
We can open the files in word/excel etc, but when we go to check-in the document the application tells us that we only have read access to the document, and cant check the document back in to the server.
It works fine via the browser, the read only problem is only when checking out through outlook.
I have given all users full access and design access to the doc library.
Any help would be greatly appreciated.
I've recently had SharePoint set up and I've created my first shared document list. I changed the settings to switch on checking out and I'm now getting errors. The error occurs when I click OK on the 'you are about to open...' dialogue with 'edit' selected.
The error comes up in a new box and it states 'object reference not set to an instance of an object'. When I click OK it gives a message stating I may not have permissions or that the file is currently checked out by someone else. I have permissions to the
whole site so I don't think that is the problem, and I know for sure that the files are not checked out (i tested this by uploading a new file and trying to check it out).
Many thanks in advance for comments and suggestions.
I'm using a local RDLC report in VS2008 / .NET 3.5 which includes a Matrix. It works fine and shows its corresponding Rows, Columns, and Data values as specified.
How can I add row totals / column totals in order to show sum of Data values both horizontally and vertically?