|
The prop system is ATN's way of ensuring that user information is homogenous across the different systems in the DCI namespace. At the heart of this system is a database containing default information on users: their userid, uid, gid, gecos field, home directory, and default shell. Using the propclient tool in conjunction with a local configuration file, this system will update your local password files with the information housed in the database. To use the system, create a /etc/prop.cfg file on your local machine. An example file can be found at /afs/isis.unc.edu/@sys/etc/prop.cfg. Copy this file to your /etc directory and customize it to your system (instructions on how to do that are contained in the file itself). Then run the propclient as root and it will automatically update the password files on your local system.
To invoke the propclient, use the command:
# /afs/isis/common/prop/propclient
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Vri SSK wrote: The prop system is ATN's way of ensuring that user information is homogenous across the different systems in the DCI namespace. At the heart of this system is a database containing default information on users: their userid, uid, gid, gecos field, home directory, and default shell. Using the propclient tool in conjunction with a local configuration file, this system will update your local password files with the information housed in the database. To use the system, create a /etc/prop.cfg file on your local machine. An example file can be found at /afs/isis.unc.edu/@sys/etc/prop.cfg. Copy this file to your /etc directory and customize it to your system (instructions on how to do that are contained in the file itself). Then run the propclient as root and it will automatically update the password files on your local system.
Somebody has copied your work here[^], without giving a mention. Or may be it is the other way round...
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi,
I have solved the issue. It was the issue of permissions to the bin folder of the application.The acount under which i was accessing the application was denied access to the dll(s) in the bin folder.
Regards
S.K. Ali
|
|
|
|
|
I have detailview which is inside a repeater
The repeater is binded with categorytable
String sql=”select * from category”;
Bind the data source to the repeater
Now on repeater databind event I use find control to find the detail view and bind data to it
protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs
{
int catid = 0;
string sql = "Select * top(2) from items where catid =" + catid;
//where the catid changes when eahc row is create I wabt to show two data on each row of detail view
//find the the detail view bind the detail view with data
}
Now every things workfine it displyas the data but the problem is I want a header for each detailview which represents category name on top of detail view . I am not being able to do this
Like
Header(categoryname1)//not being able to display
//detail view to show items in that category(categoryname1) only 2 wll be //displayed I am able to display this
Separator //not being able to display
Header(categoryname2)// not being able to display
//detail view to show items in that category(categoryname2) only 2 wll be //displayed I am able to display this
Separator )// not being able to display
Is this question two silly?
Now if I use repater inside repaeter how can I display 2 items in each row which I get from database
|
|
|
|
|
When should I use Web Parts in ASP.NET web apps?
When would Web Parts be overkill / too much overhead?
|
|
|
|
|
ASP.NET 2.0 was a major improvement upon web development everywhere. One very powerful aspect of ASP.NET 2.0 is the ability to make your web application personalizable using the Web Part framework. With the launch of MOSS (Microsoft Office SharePoint Server 2007) many companies and developers have rekindled focus on utilizing this amazing tool. This article will start with the basics of understanding web parts and personalization.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Vri SSK wrote: ASP.NET 2.0 was a major improvement upon web development everywhere. One very powerful aspect of ASP.NET 2.0 is the ability to make your web application personalizable using the Web Part framework. With the launch of MOSS (Microsoft Office SharePoint Server 2007) many companies and developers have rekindled focus on utilizing this amazing tool. This article will start with the basics of understanding web parts and personalization.
don't you have time to remove the sentence in bold when you copied it from here[^]
|
|
|
|
|
I'm using check box one column in gridview
when I checked then I want to access some event access
but commandName property is not there in case of check box.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
I am not sure what you mean, but maybe you are trying to replace the functionality that is provided, for example, in a Button - when it is emedded as a 'command button' in a GridView row...
\in that case:
Handle the CheckBox event. In the handler, do somthing like this:
detailsView.ChangeMode(DetailsViewMode.Edit);
remember to set the checkbox AutoPostback to true to make sure that the CheckBox registers the action as soon as it is checked.
|
|
|
|
|
asp.net with c#
I want to delete hari folder with files from application
dirPath="~/upload/a/hari"
I used like this
Directory.Delete(dirPath,true);
but not working
You get the best out of others when you give the best of yourself.
|
|
|
|
|
there was NO reason to start a new thread.
|
|
|
|
|
this is my requirement
when I delete file info from table then folder should be deleted.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
My comment was that you SHOULD NOT HAVE STARTED A NEW THREAD. Don't just keep repeating your question over and over and over.
|
|
|
|
|
FileInfo file = new FileInfo(Server.MapPath(FilePath));
file.Delete();
above for deleting file path from application
this code not working for folder
How can I delete particular folder??????
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Use the Directory.Delete method.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I used like this
Directory.Delete(dirPath,true);
but not working
please can you give some more clarifications.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
|
dirPath="~/upload/a/1"
1) Exception Information
---
Exception Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\~\upload\a\1'.
Data: System.Collections.ListDictionaryInternal
InnerException: NULL
TargetSite: Void WinIOError(Int32, System.String)
StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Client_ManageMyFile.gvManageMyFile_RowDeleting(Object sender, GridViewDeleteEventArgs e) in c:\Inetpub\wwwroot\DocumentShare\DocumentShare\Client\ManageMyFile.aspx.cs:line 203
HelpLink: NULL
Source: mscorlib
Exception Information
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\~\upload\a\1'.
at System.IO.__Error.WinIOError(Int32 errorCo
You get the best out of others when you give the best of yourself.
|
|
|
|
|
I want to delete hari folder with files
dirPath="~/upload/a/hari"
I used like this
Directory.Delete(dirPath,true);
but not working
error description using Directory.Delete(dirPath,true):
1) Exception Information
---
Exception Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\~\upload\a\1'.
Data: System.Collections.ListDictionaryInternal
InnerException: NULL
TargetSite: Void WinIOError(Int32, System.String)
StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Client_ManageMyFile.gvManageMyFile_RowDeleting(Object sender, GridViewDeleteEventArgs e) in c:\Inetpub\wwwroot\DocumentShare\DocumentShare\Client\ManageMyFile.aspx.cs:line 203
HelpLink: NULL
Source: mscorlib
Exception Information
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\~\upload\a\1'.
at System.IO.__Error.WinIOError(Int32 errorCo
You get the best out of others when you give the best of yourself.
|
|
|
|
|
You are trying to use a virtual path with a file system method. The Delete method can not determine what this path is supposed to mean, as it's not aware of the web application. Even if it could determine that the path is supposed to be a virtual path, it doesn't have any information about the web application so that it could determine where the root folder of the application is.
You have to convert the virtual path into a physical path using the MapPath method.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I want to delete only hari folder with files
after map path
string Path = ~/upload/hari
Directory.Delete(Server.MapPath(Path).ToString(), true);
but not working
please help me
Server.MapPath(Path).ToString() is below
MapPath="C:\Inetpub\wwwroot\DocumentShare\DocumentShare\upload\hari"
thanks for your kind response
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: but not working
If you would be a bit more specific, it might be possible to help you.
What happens? Do you get an error message?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Is there a practical memory limit to the amount of session state that be handled in-proc?
At what point does a memory limit make out of proc session state the practical choice for state mangement?
|
|
|
|
|
I work in a web site project and i have this problem.
My forms that load data from xmldatasource run normally in development server but when i test them in iis the data from xmldatasource don't be displayed.
Also the menu control that reads data from web.sitemap file works in asp.net development server but doesn't be dispayed in iis.
Anybody any idea?
|
|
|
|
|
i got problems with my class file. most of the errors saying that 'Object reference not set to an instance of an object'. it looks like all functions in class file cannot be performed, even i do declare the class at code-behind file. do i have to call the class file in .aspx page? like this <%# Imports ... %>. this is page for CheckOut.aspx.vb.
<pre>
Partial Class Checkout_CheckOut
Inherits System.Web.UI.Page
Private order As Order
Private cust As Customer
Private cart As ShoppingCart
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
cart = Session("cart")
If Session("order") Is Nothing Then
order = New Order(DateTime.Now, Nothing, Session("cart"))
Session("order") = order
Else
order = Session("order")
cart = order.Cart
End If
cust = New Customer(txtEmail.Text, txtLastName.Text, txtFirstName.Text, _
txtAddress.Text, txtCity.Text, txtState.Text, txtPostCode.Text, txtPhone.Text, _
txtEmail.Text)
order.Cust = cust
lblSubtotal.Text = order.SubTotal.ToString("c")
lblShipping.Text = order.Shipping.ToString("c")
lblTotal.Text = order.Total.ToString("c")
End Sub
Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As _
System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick
' process credit card information here
Dim success As Boolean
success = OrderDB.WriteOrder(order) 'the function WriteOrder from OrderDB class
Session("cart") = Nothing 'can't be performed
Session("order") = Nothing
If success Then
Response.Redirect("Confirmation.aspx")
Else
Response.Redirect("Confirmation.aspx?Error=1")
End If
End Sub
End Class
</pre>
|
|
|
|