|
if the domains are truly both in "website.com", just issue the cookie once and set the domain attribute of the cookie to "website.com". Then the cookie will automatically be useable in both domains since both sites share a common portion of their DNS name.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Thanks for that.
It covers my immediate situation.
Out of interest. Is there any way to authenticate across domains that don't share a common domain name?
|
|
|
|
|
Vri SSK wrote: if the domains are truly both in "website.com", just issue the cookie once and set the domain attribute of the cookie to "website.com". Then the cookie will automatically be useable in both domains since both sites share a common portion of their DNS name.
Stop copying copyrighted text from other websites and pasting here. This is copied from here[^]
|
|
|
|
|
Hi,
i am getting the following congifuration error on the server where my application is deployed.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Access is denied: 'DCI'.
Source Error:
Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:
Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DCI' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = DCI
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/DCITest
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: DCI
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dcitest/52c950c1/90bd92dd/DCI.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dcitest/52c950c1/90bd92dd/DCI/DCI.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/DCITest/bin/DCI.DLL.
can anybody has solution?
Thanks
S.K. Ali
|
|
|
|
|
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.
|
|
|
|