I have Person/Group columns on some lists. Some of the value show us as domain\username and some show up as Full Name. How do I get them all to show up as Full Name?
View Complete Post
I have two divs. I want them to display side by side, on the same row. Using display:inline-block I can do that. But as soon as I position some text in the bottom right corner of div1, the two divs do not have the same vertical position. They are side by side, but the 2nd div starts at the vertical position of the positioned text in the 1st div. Why would it do that? Both Chrome and IE8 render it the same way. ( I am doing the nesting of the divs on the left side so that I can position absolutely within a div and not the page. I can't get text to position in the lower right corner of a div any other way. )
<div style="border:2px solid black;"> <div style="display:inline-block;"> <div style="width:10em; height:4em; background:orange;color:White; position:relative;"> <span style="position:absolute;bottom:0px;right:0px;"> login message </span> </div> </div> <div s
Referring to this tutorial: http://www.asp.net/webmatrix/tutorials/download-and-install-an-asp-net-application
I selected umbraco cms and got this wizard:
I already have Standard Sql Server 2005 on my machine which I wanted to us for above DB and not SqlExpress.
I did not remember "sa" account pwd nor I use explicitly any account to connect to my Sqlserver. I use Windows Authentication account i.e implicit authentication. So I created new account and gave all rights and used it in the above wizard and was able to install the database after some struggle.
My question is: What if I want to use my Windows Account to install the database above? Why the wizard don't have any option to use Windows Integrated Authentication?
Note: I can create the DB with external user I created, just looking specifics for using Windows Authentication for above installation.
I'am using dnamic entity with EF4. On a list page of a table, I would like to display a column containing information from a child table of the current element. Sample :
Order List :
Order Data | Required Date | Shipped Date | etc... | ... | Customer Name (foreign key with tostring() method override) | Customer Postal Code (Column that I want to add) |
I don't known how to do that. Is it possible ? Maybe I have to to create my own Metadata proxy that will add dynamicly a column on the MetaColumn list of the table.
Does someone have an easier or better idea ?
Thank you for any help.
I run a simple .aspx website on a Windows Server 2008 machine.
There is NO impersonation, and
System.Security.Principal.WindowsIdentity.GetCurrent().Name returns NT
AUTHORITY\NETWORK SERVICE, which it the account which the application
pool runs. In my web.config, I have <authentication mode="Forms">.
I tried to test the security of the
application and server by removing file permissions to the .aspx files. I
was greatly worried when the website continued to run without problem
(it should not have been able to read the .aspx files).
on file level auditing, I discovered that the .aspx files were being
read by the machine$ account (if the machine is called Serv1, then the
files would be read by the Serv1$ account, which seems to have access to
all files on the local machine).
Is this a security breach or is this behaviour by design ?
Please can somebody assist, as I am worried.
Hi I have created an intranet application using ASP.Net/IIS.
I normally need to web share the folder and allow full permission to ASP.Net user account.
However, I carelessly deleted this account. How to create it again ?
Pls help.... thanks.
My database has a products table that has images stored in a varbinary(MAX) column.
I'm trying to display product information in a repeater and trying to display the images as well by using a GenericHandler class but I can't get the image to show up in my page.
Here is my Handler.ashx class:
Public Class Handler
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
'== Set up the response settings
context.Response.ContentType = "image/gif"
context.Response.BufferOutput = False
Dim id As Integer = -1
Dim stream As Stream = Nothing
If Not String.IsNullOrEmpty(context.Request.QueryString("id")) Then
id = context.Request.QueryString("id")
stream = GetImage(id)
Const buffersize As Integer = 1024 * 16
Dim buffer(buffersize) As Byte
'byte buffer = new byte[buffersize];
Dim count As Integer = stream.Read(buffer, 0, buffersize)
While count > 0
context.Response.OutputStream.Write(buffer, 0, count)
count = stream.Read(buffer, 0, buffersize)
wi As System.Security.Principal.WindowsIdentity = _System.Security.Principal.WindowsIdentity.GetCurrent()
Dim a As String() = HttpContext.Current.User.
Can anyone tell me the best way of storing Japanese characters through ASP.NET.I have to put characters into a asp:textbox on one page, which saves it to an Access DB.On a second page I want to display the content in a asp:label.
Should I store the characters directly to the database or should they be encoded, andhow do I encode the characters?
In my web.config i have:
<globalization fileEncoding="ISO-2022-JP" requestEncoding="ISO-2022-JP" responseEncoding="ISO-2022-JP" culture="ja-JP" uiCulture="ja-JP" />
On the display page I have:
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=shift_jis">
I am new to this sql reporting service. But anyhow by surfing I am able to bind the report but i was stuck in image display.
Anyways, i also managed that. But the real problem is whenever i was keeping a image control in rdlc report i was having session prob. If i remove the image control then as usual report works fine.
Please suggest me some solution.... either for session problem or for image display. I am keeping the image name in database but for binding the rdlc report i am using a store procedure which return the path (static) concating with the image name(kept in database).
Hope to find a solution .....
I have a report using an image control that needs to display an image inside subfolder "Images\InstitutionLogos\".
On properties of image control i have the following properties set:
Source = Database
Value ="\Images\InstitutionLogos\" +Fields!InstitutionID.Value+".png"
Inside subfolder "Images\InstitutionLogos\" each image is named with a number which represents Fields!InstitutionID.,(ex, 1.png, 2.png, 10.png)
However, when i run the report the image just displays an X, what am i missing?