Hi,

1.Can anyone tell me how session is shared between ASP and ASP.NET

2. Is it possible to share sessions between users ... i dont think so..

please gimme reply as soon as you can

Thanks

Dess

 



Freddie Sorensen <[EMAIL PROTECTED]> wrote: Richard,

Did you try to provide the username as MACHINENAME\USERNAME ?

Freddie


  _____  

Von: richard_vout [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 23. September 2004 11:14
An: [EMAIL PROTECTED]
Betreff: [AspNetAnyQuestionIsOk] Re: Trying to access network drive using
ASPNET


Hi Freddie,

I'm trying to use a drive letter but both this and using a UNC path 
ask me for a password. Its a Windows 2000 server.

The identical server logon has rights to the network drives, I made 
them both Administrators on their respective machines just for good 
measure so its not a rights issue.

Any other ideas? I can't figure out what password its asking for? 
None of the accounts I give it either on the local webserver or the 
domain server work.

R.

--- In [EMAIL PROTECTED], "Freddie Sorensen" 
<[EMAIL PROTECTED]> wrote:
> Richard,
>  
> How are you accessing the network drive ? 
> With a mapped drive letter ? 
> Is it a Win2k3 server ?
>  
> we had a similar issue and we were able to connect by using
> \\IPAddress\Share instead of MappedDriveLetter:\, i.e. f.ex using
> \\192.168.1.10\MyFiles\ instead of W:\Myfiles\
>  
> Hope it helps
>  
> Freddie
> 
> 
>   _____  
> 
> Von: Richard Vout [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 22. September 2004 16:30
> An: [EMAIL PROTECTED]
> Betreff: [AspNetAnyQuestionIsOk] Trying to access network drive 
using ASPNET
> 
> 
> Hi everyone, I'd appreciate some pointers here...
> 
> I am trying to get a directory listing from a network drive through
> .NET. The code works locally on the webserver perfectly however 
remotely
> it gives an Access is Denied error after the authentication 
fails...
> 
> I found the following at
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnnetse
> c/html/SecNetch08.asp and have done the following:
> Using the ASP.NET Process Identity
> When the application is not configured for impersonation, the 
ASP.NET
> process identity provides the default identity when your 
application
> attempts to access remote resources. If you want to use the ASP.NET
> process account for remote resource access, you have three 
options: 
> *      Use mirrored accounts. 
>             This is the simplest approach. You create a local
> account with a matching user name and password on the remote 
computer.
> You must change the ASPNET account password in User Manager to a 
known
> value (always use a strong password). You must then explicitly set 
this
> on the <processModel> element in Machine.config, and replace the
> existing "AutoGenerate" value. 
>                   Important If you change the ASPNET password to a
> known value, the password in the LSA will no longer match the SAM
> account password. If you need to revert to the "AutoGenerate" 
default,
> you will need to do the following:
>                   Run Aspnet_regiis.exe, to reset ASP.NET to its
> default configuration. For more information, see article Q306005, 
HOWTO:
> Repair IIS Mapping After You Remove and Reinstall IIS
> <http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306005>  
in
> the Microsoft Knowledge Base.
> *      Create a custom, least privileged local account to run 
ASP.NET
> and create a duplicate account on the remote computer. 
> *      Run ASP.NET using a least-privileged domain account. 
>             This assumes that client and server computers are in 
the
> same or trusting domains. 
> 
> Unfortunately when viewing the page remotely it asks me to log on,
> although the logon box says Connecting to 'mywebserver' I cannot 
find
> any account and password which will allow me to pass here either 
on the
> mywebserver any domain account.
> 
> Any ideas?
> 
> Richard.
> 
> 
_____________________________________________________________________
_______
> ____
> This message might contain confidential information. If it has 
been sent to
> you in error please do not forward it or copy it or act upon its 
contents,
> but report it to [EMAIL PROTECTED] 
> 
> Forum Bioscience Holdings Ltd & subsidiary companies (Forum) have 
the right
> lawfully to record, monitor and inspect messages between its 
employees and
> any third party. Your messages shall be subject to such lawful 
supervision
> as Forum deems to be necessary in order to protect its 
information, its
> interests and its reputation. 
> 
> Forum prohibits and takes steps to prevent its information systems 
from
> being used to view, store or forward offensive or discriminatory 
material.
> If this message contains such material please report it to
> [EMAIL PROTECTED]
> 
> This message has been virus checked by messagelabs.com
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> Yahoo! Groups Sponsor      
> 
> ADVERTISEMENT
>  
> 
<http://us.ard.yahoo.com/SIG=129tr71n9/M=295196.4901138.6071305.30011
76/D=gr
> 
oups/S=1705006764:HM/EXP=1095950951/A=2128215/R=0/SIG=10se96mf6/*http
://comp
> anion.yahoo.com> click here      
>  
> <http://us.adserver.yahoo.com/l?
M=295196.4901138.6071305.3001176/D=groups/S=
> :HM/A=2128215/rand=290034178>       
> 
> 
>   _____  
> 
> Yahoo! Groups Links
> 
> 
> *      To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   
> 
> *      To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscrib
> e> 
>   
> 
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]




Yahoo! Groups Sponsor      

ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129j2j3tf/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705006764:HM/EXP=1096026348/A=2128215/R=0/SIG=10se96mf6/*http://comp
anion.yahoo.com> click here      

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=651034165>       


  _____  

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  

*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
e> 
  

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]


Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to