|
I tried with
identity impersonate="true"
still it gives same error
|
|
|
|
|
Dear All,
We have a very peculiar problem in a Web / Intranet application that copies files to a machine in the LAN using the UNC.
The application is developed in ASP.NET / VB.NET and we are using a simple File.Copy in a Recursive function to copy the files. If the number of users doing the copy is less, no problem but when there are multilple copies going on we get the folowing error :
The handle is invalid. -- at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.InternalCopy(String souceFileName, String destFileName, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName)
Could you advise us pls??
Thanks & regards
Ashutosh
|
|
|
|
|
hi,
i am confused with this question...anyone knows correct answer, please let me know.
An application using cookie authentication was working fine on another server. When moved to a new server, cookie authentication is not working correctly.
Which one of the following is the likely explanation of the above problem?
Choice 1 The new IIS server is not configured to allow anonymous access.
Choice 2 SSL is not properly configured.
Choice 3 The users are not correctly entering their passwords.
Choice 4 Passport authentication is not correctly configured.
Choice 5 The IP address of the new server does not match the prior server IP address.
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Trying to cheat on the test, are we?
---
single minded; short sighted; long gone;
|
|
|
|
|
hi,
how can u think in this way?? yesterday my employer sent the test.i already wrote the test and passed the test. while writing the test i didn't get the exact answers for few. but still i attempted. just want to verify are they correct or not?? i want to learn the subject, but not cheat the people over here or some one else.
i have my own principles. passing the test is not my own aim.
i just opened the site by expecting the answers for my questions. but really disappointed!
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I think in that way because regularly there are people who post here that are trying to cheat on tests, get others to do their homework, and the like. I asked if you were doing the same, as nothing in your post indicated that you weren't.
It's a bit sad that we can't just trust each other, but that's the way it is. If your intentions are good, you have to indicate that in your post somehow, otherwise it will automatically raise the question of your motives if your post looks suspicious. In your case you were actually posting questions from a test, and as you didn't say that you had already taken the test, the natural assumption is that you wanted the answers because you are still taking the test.
---
single minded; short sighted; long gone;
|
|
|
|
|
yeah! u r correct. i mentioned that on my other question(Directories). i mentinoed that i took asessment test and i am not sure with the answers which i marked in my test. i forgot to mention in this question.
i am learning .Net using this site and microsoft site. whatever the doubts i have, immediately i post them in this forum. but u know yeserday when i was posting these questions (i posted 3 questions), it was almost 12:15 (mid night). after taking the test i tried to figureout the answers using google. but u know the questions are not theoritical. we can answer them if we have real time work experiance. so i posted the questions without thinking anything about them. here i know our friends are experianced.
but in ur way ur correct!
______Please No Hard Fealings________
Thanks,
Rahi
-- modified at 17:34 Saturday 3rd February, 2007
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi,
i have one doubt on caching :
Cache.insert("MyData",info, new chachedependency(Server.Mappath("Data.xml")))
What is the result of the code sample above?
thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi all,
just now i took one assessment test. in that they asked me this question. please can any one tell me the correct answer?? i wrote the test and got the result. but i don't know the answers...
///<%@ Page Language="vb" Inherits="support" Src="demo.vb" %>
For the code referenced above to work correctly in your application, in which one of the following directories does the compiled DLL from the file demo.vb need to be?
1.The Web root for the site
2./bin directory of the application
3.The Web root for the application
4.The directory named support
5.The same directory as the .aspx file calling it
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i want to learn how to create session in asp.net using c#.tel me some guideline or tutorial from where i can fully understand the process flow
Chohan
|
|
|
|
|
Sessions["yourVariableName"]= YourDataID;
Pavan Pareta
|
|
|
|
|
how can i access insert query using dataset
plz send me code in c#.
|
|
|
|
|
It works fine in IE, but seems nothing happens in Mozilla. COuld anyone help me out? There is a tree view of displaying Catagory and sub-catagories. they are both read from database. Anyhow it has no effect in firefox mozilla. help..
The codes are here:
function opencat(cat,img)
{
if(cat.style.display=="none"){
cat.style.display="";
document.images[img].src="images/class2.gif";
} else {
cat.style.display="none";
document.images[img].src="images/class1.gif";
}
}
<%
dim rss,rs2,ii,i
set rss = server.CreateObject ("adodb.recordset")
set rs2 = server.CreateObject ("adodb.recordset")
sql="select * from gb_category"
rss.open sql,conn,1,1
if rss.eof and rss.bof then
response.write "No Main Category"
else
i=1
do while not rss.eof
%>
<%
rss.movenext
i=i+1
loop
end if
rss.close
set rs2=nothing
set rss=nothing
%>
|
|
|
|
|
It is an interview question.
wat is the exact meaning of SharePoint n wat are it uses in Asp.net programming.
-- modified at 23:04 Friday 2nd February, 2007
|
|
|
|
|
Hello all,
I have got three buttons and three list boxes(that will be populated dynamically). These list boxes will show some text that will be coming from the database and that text corresponds to the page name which needs to be stored in a array. I need to create an arraylist to hold page names and once the button is clicked the listbox should become visible with the relative text and once the list item is selected, it should look for the corresponding pagename in the arraylist and display a message. Can someone please help me this?
Thanks!
|
|
|
|
|
hi all,
i have a doubt. where can we use hash table?? i mean i know what is Arraylist and what is Hash table. but i don't know where can we use these?? Arraylist can be used where we don't know about the upper bound..is it correct??
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Rahithi wrote: Arraylist can be used where we don't know about the upper bound..is it correct??
You will always know the upper bound in an array list. It is just dynamic (it changes).
A hashtable is keyed on another object.
When accessing the values through the indexer an ArrayList can only by accessed by the ordinal position of an object in the array.
When accessing a hashtable through the indexer you use the object used as a key (often this is a string).
|
|
|
|
|
I have two Controls: StartDate and EndDate. The End Date cannot be more than 30 days from the Start Date. How Do I Validate This? Can I use one of the Validator Controls?
|
|
|
|
|
type="System.Configuration.AppSettingsSection, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
I want to write a custom section that can be added to configuration file (web.config)... I dont understand all the parts of the "type" attribute
1)PublicKeyToken --- Is this the one generated thru sn.exe???
2)System.Configuration.AppSettingsSection --- Is this any name or should it be my class name
3) System.Configuration --- what about this ???
yojimbo
|
|
|
|
|
red60mans wrote: 1)PublicKeyToken --- Is this the one generated thru sn.exe???
You can see the PublicKeyToken value when your assembly is made strong-named, otherwise it's a null value.
red60mans wrote: 2)System.Configuration.AppSettingsSection --- Is this any name or should it be my class name
It should be your fully qualified name of your class as you here want to create a custom config entry.
red60mans wrote: 3) System.Configuration --- what about this ???
This is the namespace containing your custom config handler class. Basically, when you define a custom configuration section, you'll have to specify the handler for this section and you also need to tell the system about how to locate the type of your class. For more information, see ASP.NET Configuration [^]
|
|
|
|
|
hi all
i need to add a caculated field into the datagrid. A field that is not found actually in the data base. like total which is price*qty.
any help!!!
thanks
|
|
|
|
|
|
hi,
I have a login form. when i login with my user name it should be redirected to another form. in that form i have a table column with days monday to sunday in which i have 6 text boxes under each day namely intime, outtime, extratime,nonworktime,leavehrs and total. In that if i enter the values for each textboxes ie.., in hours(user enters it daily-day by day) , all the values should be submitted in the database for the corresponding days and should not be able to modify the values which are entered once. Can anybody pls send me source code for this in c# code behind or pls give me a solution for this.
Regards
Kavi
|
|
|
|
|
What code have you written so far?
Kevin
|
|
|
|
|
I am trying to add controls to the toolbox for an Ajax site I am building (VS2005 & C#).
I have a sample web.config and it suggests that I need a section called:
sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
However, I already have a similar section called:
sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Which one should I be using ?
Thanks.
-- modified at 15:37 Friday 2nd February, 2007
|
|
|
|