Showing posts with label win2k. Show all posts
Showing posts with label win2k. Show all posts

Wednesday, March 28, 2012

The best way to archieve this? Help please

I have an ASP.NET application running on one win2k server and it needs to
access a shared folder in other server. To access this shared folder, I have
to login with user name and password.

I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a network
drive (Y:\) in the page_load. Then I disconnected this drive in the
page_unload. I got it works but not stable. Sometimes it fails to disconnect
and to map.

thanks"dbui" <nnngoan@dotnet.itags.org.hotmail.com> wrote in
news:u6zLB9pbEHA.1408@dotnet.itags.org.TK2MSFTNGP12.phx.gbl:

> I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a
> network drive (Y:\) in the page_load. Then I disconnected this drive
> in the page_unload. I got it works but not stable. Sometimes it fails
> to disconnect and to map.

How about impersonating a user with access to that drive?

http://support.microsoft.com/defaul...b;EN-US;Q306158

--
Lucas Tam (REMOVEnntp@dotnet.itags.org.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
thanks for the link.

"Lucas Tam" <REMOVEnntp@dotnet.itags.org.rogers.com> wrote in message
news:Xns952CB1601E166nntprogerscom@dotnet.itags.org.140.99.99.130.. .
> "dbui" <nnngoan@dotnet.itags.org.hotmail.com> wrote in
> news:u6zLB9pbEHA.1408@dotnet.itags.org.TK2MSFTNGP12.phx.gbl:
> > I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a
> > network drive (Y:\) in the page_load. Then I disconnected this drive
> > in the page_unload. I got it works but not stable. Sometimes it fails
> > to disconnect and to map.
> How about impersonating a user with access to that drive?
> http://support.microsoft.com/defaul...b;EN-US;Q306158
> --
> Lucas Tam (REMOVEnntp@dotnet.itags.org.rogers.com)
> Please delete "REMOVE" from the e-mail address when replying.
> http://members.ebay.com/aboutme/coolspot18/

The best way to archieve this? Help please

I have an ASP.NET application running on one win2k server and it needs to
access a shared folder in other server. To access this shared folder, I have
to login with user name and password.
I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a network
drive (Y:\) in the page_load. Then I disconnected this drive in the
page_unload. I got it works but not stable. Sometimes it fails to disconnect
and to map.
thanks"dbui" <nnngoan@dotnet.itags.org.hotmail.com> wrote in
news:u6zLB9pbEHA.1408@dotnet.itags.org.TK2MSFTNGP12.phx.gbl:

> I used IWshRuntimeLibrary.WshNetwork() and mapped the folder to a
> network drive (Y:\) in the page_load. Then I disconnected this drive
> in the page_unload. I got it works but not stable. Sometimes it fails
> to disconnect and to map.
>
How about impersonating a user with access to that drive?
http://support.microsoft.com/defaul...b;EN-US;Q306158
Lucas Tam (REMOVEnntp@dotnet.itags.org.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
[url]http://members.ebay.com/aboutme/spot18/[/url]
thanks for the link.
"Lucas Tam" <REMOVEnntp@dotnet.itags.org.rogers.com> wrote in message
news:Xns952CB1601E166nntprogerscom@dotnet.itags.org.140.99.99.130...
> "dbui" <nnngoan@dotnet.itags.org.hotmail.com> wrote in
> news:u6zLB9pbEHA.1408@dotnet.itags.org.TK2MSFTNGP12.phx.gbl:
>
> How about impersonating a user with access to that drive?
> http://support.microsoft.com/defaul...b;EN-US;Q306158
> --
> Lucas Tam (REMOVEnntp@dotnet.itags.org.rogers.com)
> Please delete "REMOVE" from the e-mail address when replying.
> [url]http://members.ebay.com/aboutme/spot18/[/url]

Thursday, March 22, 2012

The fun never ends...

Hey all,
I've just installed Win2003 and having no end of trouble getting my
projects(created under win2K) to load. I'm having trouble getting my
project to load from my webserver. Whenever I load it, it makes a local
copy and I "Work offline". Not ALL my projects do this, just some. Where
do I configure that within the project so that I can work "online" from my
server? MANY thanks in advance!
wardeauxThanks anyways... as soon as I posted this message I found my answer...
figures... I'm developing this intense love-hate relationship with Win2K3...
wardeaux
"Wardeaux" <wardeaux@.bellsouth.net> wrote in message
news:OSIT9%23JLEHA.1032@.tk2msftngp13.phx.gbl...
> Hey all,
> I've just installed Win2003 and having no end of trouble getting my
> projects(created under win2K) to load. I'm having trouble getting my
> project to load from my webserver. Whenever I load it, it makes a local
> copy and I "Work offline". Not ALL my projects do this, just some. Where
> do I configure that within the project so that I can work "online" from my
> server? MANY thanks in advance!
> wardeaux

The fun never ends...

Hey all,
I've just installed Win2003 and having no end of trouble getting my
projects(created under win2K) to load. I'm having trouble getting my
project to load from my webserver. Whenever I load it, it makes a local
copy and I "Work offline". Not ALL my projects do this, just some. Where
do I configure that within the project so that I can work "online" from my
server? MANY thanks in advance!
wardeauxThanks anyways... as soon as I posted this message I found my answer...
figures... I'm developing this intense love-hate relationship with Win2K3...
wardeaux
"Wardeaux" <wardeaux@.bellsouth.net> wrote in message
news:OSIT9%23JLEHA.1032@.tk2msftngp13.phx.gbl...
> Hey all,
> I've just installed Win2003 and having no end of trouble getting my
> projects(created under win2K) to load. I'm having trouble getting my
> project to load from my webserver. Whenever I load it, it makes a local
> copy and I "Work offline". Not ALL my projects do this, just some. Where
> do I configure that within the project so that I can work "online" from my
> server? MANY thanks in advance!
> wardeaux
>