473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to create file on network share from ASP.NET

Hi,

I have ASP.NET application running on standalone (not part of the domain)
Windows 2003. I use forms authentication for my application. The problem I
have is that I need to create and read files on Windows domain network shared
drives and also on shared via Samba Unix drives, which is equivalent to
writing/reading to the workgroup computer. Please point, if possible, to
detailed step by step description of what needs to be done. Thank you.

Regards,

Nov 19 '05 #1
11 3036
Hi Andre,

You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:

1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
Hi,

I have ASP.NET application running on standalone (not part of the domain)
Windows 2003. I use forms authentication for my application. The problem I
have is that I need to create and read files on Windows domain network
shared
drives and also on shared via Samba Unix drives, which is equivalent to
writing/reading to the workgroup computer. Please point, if possible, to
detailed step by step description of what needs to be done. Thank you.

Regards,

Nov 19 '05 #2
Hi Kevin,

My problem is that I don't understand how impersanation can help me. My web
server (means any accounts on it) does not permissions to read/write to
shared directories. Administrators of Unix and Windows domain created for me
appropriate accounts for access to shares - means on Unix was created user
asp with password asp which can access shared folder. From Windows Explorer
on my PC I can connect to this shared folder using provided username and
password. But this username and password are from remote box not the local
one, which means that LogonUser will not work for me as it can be used only
to login to local computer (at least that is what documentation says).

Could you please help with the issue that I need to login to another box
using another box'es account and not the local one?

Thanks a lot.
"Kevin Spencer" wrote:
Hi Andre,

You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:

1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
Hi,

I have ASP.NET application running on standalone (not part of the domain)
Windows 2003. I use forms authentication for my application. The problem I
have is that I need to create and read files on Windows domain network
shared
drives and also on shared via Samba Unix drives, which is equivalent to
writing/reading to the workgroup computer. Please point, if possible, to
detailed step by step description of what needs to be done. Thank you.

Regards,


Nov 19 '05 #3
Hi, Andre.

re:
Could you please help with the issue that I need to login to
another box using another box's account and not the local one?
<identity impersonate="true" name="domain\user" password="pwd"/>

should allow you to run ASP.NET while impersonating the
domain account which has permissions to read/write the other box.

For that, of course, both the other box and your box
need to be members of the same domain.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com... Hi Kevin,

My problem is that I don't understand how impersanation can help me. My web
server (means any accounts on it) does not permissions to read/write to
shared directories. Administrators of Unix and Windows domain created for me
appropriate accounts for access to shares - means on Unix was created user
asp with password asp which can access shared folder. From Windows Explorer
on my PC I can connect to this shared folder using provided username and
password. But this username and password are from remote box not the local
one, which means that LogonUser will not work for me as it can be used only
to login to local computer (at least that is what documentation says).

Could you please help with the issue that I need to login to another box
using another box'es account and not the local one?

Thanks a lot. "Kevin Spencer" wrote:

Hi Andre,

You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:

1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
> Hi,
>
> I have ASP.NET application running on standalone (not part of the domain)
> Windows 2003. I use forms authentication for my application. The problem I
> have is that I need to create and read files on Windows domain network
> shared
> drives and also on shared via Samba Unix drives, which is equivalent to
> writing/reading to the workgroup computer. Please point, if possible, to
> detailed step by step description of what needs to be done. Thank you.
>
> Regards,

Nov 19 '05 #4
Andre,

You might also want to acquire access programmatically.

Read this article :
http://www.netomatix.com/ImpersonateUser.aspx
and download and study the sample code provided.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
Hi Kevin,

My problem is that I don't understand how impersanation can help me. My web
server (means any accounts on it) does not permissions to read/write to
shared directories. Administrators of Unix and Windows domain created for me
appropriate accounts for access to shares - means on Unix was created user
asp with password asp which can access shared folder. From Windows Explorer
on my PC I can connect to this shared folder using provided username and
password. But this username and password are from remote box not the local
one, which means that LogonUser will not work for me as it can be used only
to login to local computer (at least that is what documentation says).

Could you please help with the issue that I need to login to another box
using another box'es account and not the local one?

Thanks a lot.
"Kevin Spencer" wrote:
Hi Andre,

You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:

1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
> Hi,
>
> I have ASP.NET application running on standalone (not part of the domain)
> Windows 2003. I use forms authentication for my application. The problem I
> have is that I need to create and read files on Windows domain network
> shared
> drives and also on shared via Samba Unix drives, which is equivalent to
> writing/reading to the workgroup computer. Please point, if possible, to
> detailed step by step description of what needs to be done. Thank you.
>
> Regards,
>


Nov 19 '05 #5
Hi Juan,

Thank you for your reply, but my point is exactly that both computers ARE
NOT members of the same domain - one is standalone Win2003 and another is
external domain member and I can not put both onto the same domain. Is there
any other way to do it?

Thank you.

You might also want to acquire access programmatically.

Read this article :
http://www.netomatix.com/ImpersonateUser.aspx
and download and study the sample code provided.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
Hi Kevin,

My problem is that I don't understand how impersanation can help me. My web
server (means any accounts on it) does not permissions to read/write to
shared directories. Administrators of Unix and Windows domain created for me
appropriate accounts for access to shares - means on Unix was created user
asp with password asp which can access shared folder. From Windows Explorer
on my PC I can connect to this shared folder using provided username and
password. But this username and password are from remote box not the local
one, which means that LogonUser will not work for me as it can be used only
to login to local computer (at least that is what documentation says).

Could you please help with the issue that I need to login to another box
using another box'es account and not the local one?

Thanks a lot.
"Kevin Spencer" wrote:
Hi Andre,

You can certainly use the System.IO classes to create files on a network
drive in the same way that you would create them on a local machine drive.
You can use a UNC path if you wish, or a mapped drive. The rules are the
same. The only differences would be:

1. Security: Use an Active Directory domain account with the proper
permissions. Use impersonation if necessary.
2. Unix drives: You may have some issues with the files themselves,
especially if they are text files. Carriage returns are different on Unix
systems. The system may be using ASCII instead of Unicode text encoding as
well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
> Hi,
>
> I have ASP.NET application running on standalone (not part of the domain)
> Windows 2003. I use forms authentication for my application. The problem I
> have is that I need to create and read files on Windows domain network
> shared
> drives and also on shared via Samba Unix drives, which is equivalent to
> writing/reading to the workgroup computer. Please point, if possible, to
> detailed step by step description of what needs to be done. Thank you.
>
> Regards,
>


Nov 19 '05 #6
re:
both computers ARE NOT members of the same domain
I think that, if that's the case, you're out of luck.

You might want to talk to your network admin
about joining your machine to the network.

What would prevent that ?
( If you need to access the shared drive's file system... )

My question to you is : how do you have *shared drives*
if the machines are not on the same network ?

That sounds a bit counter-intuitive to me.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com... Hi Juan,

Thank you for your reply, but my point is exactly that both computers ARE
NOT members of the same domain - one is standalone Win2003 and another is
external domain member and I can not put both onto the same domain. Is there
any other way to do it?

Thank you.

You might also want to acquire access programmatically.

Read this article :
http://www.netomatix.com/ImpersonateUser.aspx
and download and study the sample code provided.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
> Hi Kevin,
>
> My problem is that I don't understand how impersanation can help me. My web
> server (means any accounts on it) does not permissions to read/write to
> shared directories. Administrators of Unix and Windows domain created for me
> appropriate accounts for access to shares - means on Unix was created user
> asp with password asp which can access shared folder. From Windows Explorer
> on my PC I can connect to this shared folder using provided username and
> password. But this username and password are from remote box not the local
> one, which means that LogonUser will not work for me as it can be used only
> to login to local computer (at least that is what documentation says).
>
> Could you please help with the issue that I need to login to another box
> using another box'es account and not the local one?
>
> Thanks a lot.
> "Kevin Spencer" wrote:
>
>> Hi Andre,
>>
>> You can certainly use the System.IO classes to create files on a network
>> drive in the same way that you would create them on a local machine drive.
>> You can use a UNC path if you wish, or a mapped drive. The rules are the
>> same. The only differences would be:
>>
>> 1. Security: Use an Active Directory domain account with the proper
>> permissions. Use impersonation if necessary.
>> 2. Unix drives: You may have some issues with the files themselves,
>> especially if they are text files. Carriage returns are different on Unix
>> systems. The system may be using ASCII instead of Unicode text encoding as
>> well.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> The sun never sets on
>> the Kingdom of Heaven
>>
>> "Andre" <An***@discussions.microsoft.com> wrote in message
>> news:2C**********************************@microsof t.com...
>> > Hi,
>> >
>> > I have ASP.NET application running on standalone (not part of the domain)
>> > Windows 2003. I use forms authentication for my application. The problem I
>> > have is that I need to create and read files on Windows domain network
>> > shared
>> > drives and also on shared via Samba Unix drives, which is equivalent to
>> > writing/reading to the workgroup computer. Please point, if possible, to
>> > detailed step by step description of what needs to be done. Thank you.
>> >
>> > Regards,

Nov 19 '05 #7
Hi Andre,

You can certainly impersonate a member of any domain, as long as you supply
that user's credentials. It's simply a matter of identifying the domain as
well as the user.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi Juan,

Thank you for your reply, but my point is exactly that both computers ARE
NOT members of the same domain - one is standalone Win2003 and another is
external domain member and I can not put both onto the same domain. Is
there
any other way to do it?

Thank you.

You might also want to acquire access programmatically.

Read this article :
http://www.netomatix.com/ImpersonateUser.aspx
and download and study the sample code provided.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
> Hi Kevin,
>
> My problem is that I don't understand how impersanation can help me. My
> web
> server (means any accounts on it) does not permissions to read/write to
> shared directories. Administrators of Unix and Windows domain created
> for me
> appropriate accounts for access to shares - means on Unix was created
> user
> asp with password asp which can access shared folder. From Windows
> Explorer
> on my PC I can connect to this shared folder using provided username
> and
> password. But this username and password are from remote box not the
> local
> one, which means that LogonUser will not work for me as it can be used
> only
> to login to local computer (at least that is what documentation says).
>
> Could you please help with the issue that I need to login to another
> box
> using another box'es account and not the local one?
>
> Thanks a lot.
> "Kevin Spencer" wrote:
>
>> Hi Andre,
>>
>> You can certainly use the System.IO classes to create files on a
>> network
>> drive in the same way that you would create them on a local machine
>> drive.
>> You can use a UNC path if you wish, or a mapped drive. The rules are
>> the
>> same. The only differences would be:
>>
>> 1. Security: Use an Active Directory domain account with the proper
>> permissions. Use impersonation if necessary.
>> 2. Unix drives: You may have some issues with the files themselves,
>> especially if they are text files. Carriage returns are different on
>> Unix
>> systems. The system may be using ASCII instead of Unicode text
>> encoding as
>> well.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> The sun never sets on
>> the Kingdom of Heaven
>>
>> "Andre" <An***@discussions.microsoft.com> wrote in message
>> news:2C**********************************@microsof t.com...
>> > Hi,
>> >
>> > I have ASP.NET application running on standalone (not part of the
>> > domain)
>> > Windows 2003. I use forms authentication for my application. The
>> > problem I
>> > have is that I need to create and read files on Windows domain
>> > network
>> > shared
>> > drives and also on shared via Samba Unix drives, which is equivalent
>> > to
>> > writing/reading to the workgroup computer. Please point, if
>> > possible, to
>> > detailed step by step description of what needs to be done. Thank
>> > you.
>> >
>> > Regards,
>> >
>>
>>
>>


Nov 19 '05 #8
One technique I've used in the past is to use mirrored account. Set up
an account on both machines - same username, same password. Then
ASP.NET can impersonate the account on the server and be authenticated
/ authorized on the remote machine.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Thu, 21 Jul 2005 06:35:05 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
Hi Juan,

Thank you for your reply, but my point is exactly that both computers ARE
NOT members of the same domain - one is standalone Win2003 and another is
external domain member and I can not put both onto the same domain. Is there
any other way to do it?

Thank you.


Nov 19 '05 #9
Guys,

Thank you very much for your answers/suggestions.

Scott,
Does you suggestion mean that Windows will always try to login using current
(impersonated) credentials first? What if my impersonated credentials are
domain related, is it going to be a problem? Sorry for dumb questions I am
not an expert in Windows security.

Kevin,
Does you suggestion mean, that it is domain, which webserver belongs to, you
are talking about? Can impersonte user of another domain (I have domain name,
username and password for that domain, but server is not part of that domain)?

Juan,
There are various reasons (not of a technical matter) which prevent our
web-server to be joined with the other domain. Machines are on the same
physical network, but webserver is maintained by one company and domain by
another. So all I have from the domain managed box is the domain name, share
name, username and password on THAT domain and I need to create export files
using those credentials. I can do this from Windows GUI - access that share
using provided credentials so it is should not a problem via .Net too.

I am currently looking at using WNetAddConnection2 function to map external
drives locally and write onto local drives. Is it a good idea?

Thanks & Regards,

Andre.
"Scott Allen" wrote:
One technique I've used in the past is to use mirrored account. Set up
an account on both machines - same username, same password. Then
ASP.NET can impersonate the account on the server and be authenticated
/ authorized on the remote machine.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Thu, 21 Jul 2005 06:35:05 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
Hi Juan,

Thank you for your reply, but my point is exactly that both computers ARE
NOT members of the same domain - one is standalone Win2003 and another is
external domain member and I can not put both onto the same domain. Is there
any other way to do it?

Thank you.


Nov 19 '05 #10
Hi Andre,
Does you suggestion mean, that it is domain, which webserver belongs to,
you
are talking about? Can impersonte user of another domain (I have domain
name,
username and password for that domain, but server is not part of that
domain)?
Of course it is possible to impersonate a user of a different domain or
Workgroup within the same LAN, and even across the Internet. Our LAN, for
example, is comprised of several different domains and Workgroups. I can, as
a network administrator, access any of these machines, and perform any kind
of operation on them, from my local machine, using Windows Explorer, Event
Viewer, IIS Admin snap-in, Remote Desktop, and a large variety of other
applications. Sometimes I have to provide a different set of credentials,
such as domain credentials, in order to do so. As an ASP.Net application is
also an application, it can certainly do the same. It's "simply" a matter of
knowing how. The following (and related) article(s) should give you the
ammunition you need to implement this in your app:

http://www.15seconds.com/issue/041208.htm

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Andre" <An***@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com... Guys,

Thank you very much for your answers/suggestions.

Scott,
Does you suggestion mean that Windows will always try to login using
current
(impersonated) credentials first? What if my impersonated credentials are
domain related, is it going to be a problem? Sorry for dumb questions I am
not an expert in Windows security.

Kevin,
Does you suggestion mean, that it is domain, which webserver belongs to,
you
are talking about? Can impersonte user of another domain (I have domain
name,
username and password for that domain, but server is not part of that
domain)?

Juan,
There are various reasons (not of a technical matter) which prevent our
web-server to be joined with the other domain. Machines are on the same
physical network, but webserver is maintained by one company and domain by
another. So all I have from the domain managed box is the domain name,
share
name, username and password on THAT domain and I need to create export
files
using those credentials. I can do this from Windows GUI - access that
share
using provided credentials so it is should not a problem via .Net too.

I am currently looking at using WNetAddConnection2 function to map
external
drives locally and write onto local drives. Is it a good idea?

Thanks & Regards,

Andre.
"Scott Allen" wrote:
One technique I've used in the past is to use mirrored account. Set up
an account on both machines - same username, same password. Then
ASP.NET can impersonate the account on the server and be authenticated
/ authorized on the remote machine.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Thu, 21 Jul 2005 06:35:05 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
>Hi Juan,
>
>Thank you for your reply, but my point is exactly that both computers
>ARE
>NOT members of the same domain - one is standalone Win2003 and another
>is
>external domain member and I can not put both onto the same domain. Is
>there
>any other way to do it?
>
>Thank you.
>


Nov 19 '05 #11
Hi, Andre.

You can use "mirrored" local accounts (that is, accounts with matching
usernames and passwords on two computers). You need to use this
approach when the computers are in separate domains with no trust
relationship or when the computers are separated by a firewall and you
cannot open the ports required for NTLM or Kerberos authentication.

See :
http://msdn.microsoft.com/library/de...l/secmod15.asp

In the "ASP.NET Worker Process Identity" section
you'll find precise instructions for setting up mirrored accounts.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Andre" <An***@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
Guys,

Thank you very much for your answers/suggestions.

Scott,
Does you suggestion mean that Windows will always try to login using current
(impersonated) credentials first? What if my impersonated credentials are
domain related, is it going to be a problem? Sorry for dumb questions I am
not an expert in Windows security.

Kevin,
Does you suggestion mean, that it is domain, which webserver belongs to, you
are talking about? Can impersonte user of another domain (I have domain name,
username and password for that domain, but server is not part of that domain)?

Juan,
There are various reasons (not of a technical matter) which prevent our
web-server to be joined with the other domain. Machines are on the same
physical network, but webserver is maintained by one company and domain by
another. So all I have from the domain managed box is the domain name, share
name, username and password on THAT domain and I need to create export files
using those credentials. I can do this from Windows GUI - access that share
using provided credentials so it is should not a problem via .Net too.

I am currently looking at using WNetAddConnection2 function to map external
drives locally and write onto local drives. Is it a good idea?

Thanks & Regards,

Andre.
"Scott Allen" wrote:
One technique I've used in the past is to use mirrored account. Set up
an account on both machines - same username, same password. Then
ASP.NET can impersonate the account on the server and be authenticated
/ authorized on the remote machine.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Thu, 21 Jul 2005 06:35:05 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
>Hi Juan,
>
>Thank you for your reply, but my point is exactly that both computers ARE
>NOT members of the same domain - one is standalone Win2003 and another is
>external domain member and I can not put both onto the same domain. Is there
>any other way to do it?
>
>Thank you.
>


Nov 19 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: moonriver | last post by:
I write a program accessing files in network drive o:. It is doable as a standalone application. However, if it is running under windows service, the following exception will appear: 13/07/2004...
23
by: Lamberti Fabrizio | last post by:
Hi all, I've to access to a network file from an asp pages. I've red a lot of things on old posts and on Microsoft article but I can't still solve my problem. I've got two server inside the...
7
by: Frank Rizzo | last post by:
Hello, I've asked this question in the languages.vb group, but got no response, so I'll try my luck here. My app needs to copy a file from a local folder to a network share. The network share...
11
by: sur | last post by:
Hello, My problem is that File.Exists works fine if my file is on my local drive but returns false if its on any other drive. I think that the issue is probably file permissions and so I have...
2
by: Stu | last post by:
Using IIs 6.0 on a Server 2003 box, and using ASP.NET I'm trying to do the following code snippit... Dim NewName As String = "\\network_share_path\edit_me.ppt" Dim PubName As String =...
0
by: Frank Rizzo | last post by:
Hello, my app needs to copy a file on a network share. The network share is accessible via a domain ID, which has all possible folder rights assigned to it. I am using the impersonation code...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
2
by: Tim | last post by:
Hi all, How can I create a network share for a local directory? I found it quite easy to come up with some methods to set access rights for directories and / or files, but I can't find any...
0
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, We have a legacy asp application that uses a third party component to upload a file and saves it to a secure network share. The code sets the credentials for the secure network share on the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.