Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Clustering > My application cannot see mapped drive

Reply
Thread Tools Display Modes

My application cannot see mapped drive

 
 
v_2ankp
Guest
Posts: n/a

 
      01-06-2010
I have created a mapped drive on clustered Windows 2003 server having
clustered SQL server. The mapped drive is created using shared disk for SQL
server.

I run my application which lists the drives on the machine. The mapped drive
is not listed and hence my application cannot access files from that drive.

I run ProcessExplorer and I find that my application is running as
NT-Authority/SYSTEM.

Appreciate if you can give me a solution such that my application can see
that mapped drive
 
Reply With Quote
 
 
 
 
Edwin vMierlo [MVP]
Guest
Posts: n/a

 
      01-06-2010
mapped drives are under the user descriptor of who mapped the drive.

a better way is to change the config of your application not to look for a
drive letter, but to look for a UNC, e.g \\servername\sharename.


rgds,
Edwin.


"v_2ankp" <> wrote in message
news:6076B8FE-9D9E-4DE8-AFE7-...
>I have created a mapped drive on clustered Windows 2003 server having
> clustered SQL server. The mapped drive is created using shared disk for
> SQL
> server.
>
> I run my application which lists the drives on the machine. The mapped
> drive
> is not listed and hence my application cannot access files from that
> drive.
>
> I run ProcessExplorer and I find that my application is running as
> NT-Authority/SYSTEM.
>
> Appreciate if you can give me a solution such that my application can see
> that mapped drive



 
Reply With Quote
 
v_2ankp
Guest
Posts: n/a

 
      01-06-2010
Thanks Edwin.

But my application requires to access the files using mapped drive only. Is
there any other way?

"Edwin vMierlo [MVP]" wrote:

> mapped drives are under the user descriptor of who mapped the drive.
>
> a better way is to change the config of your application not to look for a
> drive letter, but to look for a UNC, e.g \\servername\sharename.
>
>
> rgds,
> Edwin.
>
>
> "v_2ankp" <> wrote in message
> news:6076B8FE-9D9E-4DE8-AFE7-...
> >I have created a mapped drive on clustered Windows 2003 server having
> > clustered SQL server. The mapped drive is created using shared disk for
> > SQL
> > server.
> >
> > I run my application which lists the drives on the machine. The mapped
> > drive
> > is not listed and hence my application cannot access files from that
> > drive.
> >
> > I run ProcessExplorer and I find that my application is running as
> > NT-Authority/SYSTEM.
> >
> > Appreciate if you can give me a solution such that my application can see
> > that mapped drive

>
>
> .
>

 
Reply With Quote
 
John Toner [MVP]
Guest
Posts: n/a

 
      01-06-2010
Are you trying to get MSCS to use a mapped drive as a shared disk? If so,
this isn't going to work.

Regards,
John

Visit my blog: http://msmvps.com/blogs/jtoner

"v_2ankp" <> wrote in message
news:3AED8742-2A2C-42F7-9695-...
> Thanks Edwin.
>
> But my application requires to access the files using mapped drive only.
> Is
> there any other way?
>
> "Edwin vMierlo [MVP]" wrote:
>
>> mapped drives are under the user descriptor of who mapped the drive.
>>
>> a better way is to change the config of your application not to look for
>> a
>> drive letter, but to look for a UNC, e.g \\servername\sharename.
>>
>>
>> rgds,
>> Edwin.
>>
>>
>> "v_2ankp" <> wrote in message
>> news:6076B8FE-9D9E-4DE8-AFE7-...
>> >I have created a mapped drive on clustered Windows 2003 server having
>> > clustered SQL server. The mapped drive is created using shared disk for
>> > SQL
>> > server.
>> >
>> > I run my application which lists the drives on the machine. The mapped
>> > drive
>> > is not listed and hence my application cannot access files from that
>> > drive.
>> >
>> > I run ProcessExplorer and I find that my application is running as
>> > NT-Authority/SYSTEM.
>> >
>> > Appreciate if you can give me a solution such that my application can
>> > see
>> > that mapped drive

>>
>>
>> .
>>



 
Reply With Quote
 
v_2ankp
Guest
Posts: n/a

 
      01-07-2010
John,

I am trying to use folders on shared disk on clustered environment as a
mapped drive. My application runs as a service and probably that is the
reason it is not able to see the mapped drive. Though if I run a standalone
java program it is able to list the mapped drive.

"John Toner [MVP]" wrote:

> Are you trying to get MSCS to use a mapped drive as a shared disk? If so,
> this isn't going to work.
>
> Regards,
> John
>
> Visit my blog: http://msmvps.com/blogs/jtoner
>
> "v_2ankp" <> wrote in message
> news:3AED8742-2A2C-42F7-9695-...
> > Thanks Edwin.
> >
> > But my application requires to access the files using mapped drive only.
> > Is
> > there any other way?
> >
> > "Edwin vMierlo [MVP]" wrote:
> >
> >> mapped drives are under the user descriptor of who mapped the drive.
> >>
> >> a better way is to change the config of your application not to look for
> >> a
> >> drive letter, but to look for a UNC, e.g \\servername\sharename.
> >>
> >>
> >> rgds,
> >> Edwin.
> >>
> >>
> >> "v_2ankp" <> wrote in message
> >> news:6076B8FE-9D9E-4DE8-AFE7-...
> >> >I have created a mapped drive on clustered Windows 2003 server having
> >> > clustered SQL server. The mapped drive is created using shared disk for
> >> > SQL
> >> > server.
> >> >
> >> > I run my application which lists the drives on the machine. The mapped
> >> > drive
> >> > is not listed and hence my application cannot access files from that
> >> > drive.
> >> >
> >> > I run ProcessExplorer and I find that my application is running as
> >> > NT-Authority/SYSTEM.
> >> >
> >> > Appreciate if you can give me a solution such that my application can
> >> > see
> >> > that mapped drive
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
Edwin vMierlo [MVP]
Guest
Posts: n/a

 
      01-08-2010

if you cannot use UNC, and must use mapped driver letter, then you better
change your app to map the drive itself.
Then again, if you are changing the code of the app, you might as well
change it so it can use UNC.

Again, a mapped drive exists for the logged on user, so the question is your
app, running as a service, which log on user account is it using ?



"v_2ankp" <> wrote in message
news:4AC5CA1F-2210-4674-802A-...
> John,
>
> I am trying to use folders on shared disk on clustered environment as a
> mapped drive. My application runs as a service and probably that is the
> reason it is not able to see the mapped drive. Though if I run a
> standalone
> java program it is able to list the mapped drive.
>
> "John Toner [MVP]" wrote:
>
>> Are you trying to get MSCS to use a mapped drive as a shared disk? If so,
>> this isn't going to work.
>>
>> Regards,
>> John
>>
>> Visit my blog: http://msmvps.com/blogs/jtoner
>>
>> "v_2ankp" <> wrote in message
>> news:3AED8742-2A2C-42F7-9695-...
>> > Thanks Edwin.
>> >
>> > But my application requires to access the files using mapped drive
>> > only.
>> > Is
>> > there any other way?
>> >
>> > "Edwin vMierlo [MVP]" wrote:
>> >
>> >> mapped drives are under the user descriptor of who mapped the drive.
>> >>
>> >> a better way is to change the config of your application not to look
>> >> for
>> >> a
>> >> drive letter, but to look for a UNC, e.g \\servername\sharename.
>> >>
>> >>
>> >> rgds,
>> >> Edwin.
>> >>
>> >>
>> >> "v_2ankp" <> wrote in message
>> >> news:6076B8FE-9D9E-4DE8-AFE7-...
>> >> >I have created a mapped drive on clustered Windows 2003 server having
>> >> > clustered SQL server. The mapped drive is created using shared disk
>> >> > for
>> >> > SQL
>> >> > server.
>> >> >
>> >> > I run my application which lists the drives on the machine. The
>> >> > mapped
>> >> > drive
>> >> > is not listed and hence my application cannot access files from that
>> >> > drive.
>> >> >
>> >> > I run ProcessExplorer and I find that my application is running as
>> >> > NT-Authority/SYSTEM.
>> >> >
>> >> > Appreciate if you can give me a solution such that my application
>> >> > can
>> >> > see
>> >> > that mapped drive
>> >>
>> >>
>> >> .
>> >>

>>
>>
>> .
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer as mapped drive MikeD Windows Vista General Discussion 3 12-28-2009 04:39 AM
Re: Vista hard drive error check destroys a FAT 16 drive? Help! Jon Windows Vista Hardware 1 09-19-2007 02:33 AM
Error reports what do they mean Joe83 Windows Vista Hardware 1 06-07-2007 03:35 AM
How to make system boot drive (removing dualboot setup) Rich Windows Vista Hardware 4 03-13-2007 06:20 PM
Partitioning Hard Drive #2 Travis King Windows Vista General Discussion 6 03-14-2006 04:07 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59