Hi guys...
I have a web app that works pretty good . It was developed with the access
database in the virtual directory....now thats its about done, i would like
to reference the database from a shared network directory. I thought all I
had to do was the following in the web.cinfig file
<appSettings>

<add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=ServerX\xtemp\sfleet.mdb"/>

</appSettings>

"Serverx is a file server, xtemp is a shared directory

but I cant get it to work...when i give a absolute path c:\xtemp\sfleet.mdb
it works fine



what am i doing wrong?

RE: shared access folder problem by MatthewHolton

MatthewHolton
Mon Apr 04 17:23:02 CDT 2005

Typically the service that is running IIS is a local account and does not
have access to server shares. You would have to grant annoymous access (Bad
Idea) to that share or require NT Authentication for your application.

With NT Authentication, as long as you are not seperated by a firewall.
Your users will be able to access the server share and access the database.

HTH



"Stephen" wrote:

> Hi guys...
> I have a web app that works pretty good . It was developed with the access
> database in the virtual directory....now thats its about done, i would like
> to reference the database from a shared network directory. I thought all I
> had to do was the following in the web.cinfig file
> <appSettings>
>
> <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=ServerX\xtemp\sfleet.mdb"/>
>
> </appSettings>
>
> "Serverx is a file server, xtemp is a shared directory
>
> but I cant get it to work...when i give a absolute path c:\xtemp\sfleet.mdb
> it works fine
>
>
>
> what am i doing wrong?
>
>
>

Re: shared access folder problem by Stephen

Stephen
Mon Apr 04 17:48:54 CDT 2005

Hi ..thanks for the response... I read your message and am still
confused.... Is what I have in the appsetting ok?... and if so, the next
steop would be to grant nt authorization to the application?
"Matthew Holton" <MatthewHolton@discussions.microsoft.com> wrote in message
news:43FEED09-AB17-4906-8114-4A7A18999E7A@microsoft.com...
> Typically the service that is running IIS is a local account and does not
> have access to server shares. You would have to grant annoymous access
(Bad
> Idea) to that share or require NT Authentication for your application.
>
> With NT Authentication, as long as you are not seperated by a firewall.
> Your users will be able to access the server share and access the
database.
>
> HTH
>
>
>
> "Stephen" wrote:
>
> > Hi guys...
> > I have a web app that works pretty good . It was developed with the
access
> > database in the virtual directory....now thats its about done, i would
like
> > to reference the database from a shared network directory. I thought all
I
> > had to do was the following in the web.cinfig file
> > <appSettings>
> >
> > <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
> > Source=ServerX\xtemp\sfleet.mdb"/>
> >
> > </appSettings>
> >
> > "Serverx is a file server, xtemp is a shared directory
> >
> > but I cant get it to work...when i give a absolute path
c:\xtemp\sfleet.mdb
> > it works fine
> >
> >
> >
> > what am i doing wrong?
> >
> >
> >



Re: shared access folder problem by Stephany

Stephany
Mon Apr 04 18:00:22 CDT 2005

Source=\\ServerX\xtemp\sfleet.mdb


"Stephen" <Stephefn@xjohnstontrading.com> wrote in message
news:eIQSgwVOFHA.2348@tk2msftngp13.phx.gbl...
> Hi guys...
> I have a web app that works pretty good . It was developed with the access
> database in the virtual directory....now thats its about done, i would
> like
> to reference the database from a shared network directory. I thought all I
> had to do was the following in the web.cinfig file
> <appSettings>
>
> <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=ServerX\xtemp\sfleet.mdb"/>
>
> </appSettings>
>
> "Serverx is a file server, xtemp is a shared directory
>
> but I cant get it to work...when i give a absolute path
> c:\xtemp\sfleet.mdb
> it works fine
>
>
>
> what am i doing wrong?
>
>



Re: shared access folder problem by Stephen

Stephen
Mon Apr 04 18:30:16 CDT 2005

Stephany..... still wont fire when I changes Data Source to just Source

"Stephany Young" <noone@localhost> wrote in message
news:eqGaZoWOFHA.3156@TK2MSFTNGP15.phx.gbl...
> Source=\\ServerX\xtemp\sfleet.mdb
>
>
> "Stephen" <Stephefn@xjohnstontrading.com> wrote in message
> news:eIQSgwVOFHA.2348@tk2msftngp13.phx.gbl...
> > Hi guys...
> > I have a web app that works pretty good . It was developed with the
access
> > database in the virtual directory....now thats its about done, i would
> > like
> > to reference the database from a shared network directory. I thought all
I
> > had to do was the following in the web.cinfig file
> > <appSettings>
> >
> > <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
> > Source=ServerX\xtemp\sfleet.mdb"/>
> >
> > </appSettings>
> >
> > "Serverx is a file server, xtemp is a shared directory
> >
> > but I cant get it to work...when i give a absolute path
> > c:\xtemp\sfleet.mdb
> > it works fine
> >
> >
> >
> > what am i doing wrong?
> >
> >
>
>



Re: shared access folder problem by Stephany

Stephany
Mon Apr 04 18:42:35 CDT 2005

Whye did you change Data Source to Source?

Its the 2 backslash characters directly preceding ServerX that are
important.

A share is denoted as \\Sharename


"Stephen" <Stephefn@xjohnstontrading.com> wrote in message
news:eblgH5WOFHA.3704@TK2MSFTNGP12.phx.gbl...
> Stephany..... still wont fire when I changes Data Source to just Source
>
> "Stephany Young" <noone@localhost> wrote in message
> news:eqGaZoWOFHA.3156@TK2MSFTNGP15.phx.gbl...
>> Source=\\ServerX\xtemp\sfleet.mdb
>>
>>
>> "Stephen" <Stephefn@xjohnstontrading.com> wrote in message
>> news:eIQSgwVOFHA.2348@tk2msftngp13.phx.gbl...
>> > Hi guys...
>> > I have a web app that works pretty good . It was developed with the
> access
>> > database in the virtual directory....now thats its about done, i would
>> > like
>> > to reference the database from a shared network directory. I thought
>> > all
> I
>> > had to do was the following in the web.cinfig file
>> > <appSettings>
>> >
>> > <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
>> > Source=ServerX\xtemp\sfleet.mdb"/>
>> >
>> > </appSettings>
>> >
>> > "Serverx is a file server, xtemp is a shared directory
>> >
>> > but I cant get it to work...when i give a absolute path
>> > c:\xtemp\sfleet.mdb
>> > it works fine
>> >
>> >
>> >
>> > what am i doing wrong?
>> >
>> >
>>
>>
>
>



Re: shared access folder problem by Stephen

Stephen
Tue Apr 05 03:44:34 CDT 2005

well... i after alot of trial and error, i was able to direct the appsetting
to a workstation on our lan...so both the webapp and win app can use the
same database, but i still cant get the webapp to work with a share on out
file server.....which just frustrated the hell out o me
and idea's?...we have win 2000 server....

steve
"Stephany Young" <noone@localhost> wrote in message
news:eSRyDAXOFHA.2252@TK2MSFTNGP15.phx.gbl...
> Whye did you change Data Source to Source?
>
> Its the 2 backslash characters directly preceding ServerX that are
> important.
>
> A share is denoted as \\Sharename
>
>
> "Stephen" <Stephefn@xjohnstontrading.com> wrote in message
> news:eblgH5WOFHA.3704@TK2MSFTNGP12.phx.gbl...
>> Stephany..... still wont fire when I changes Data Source to just Source
>>
>> "Stephany Young" <noone@localhost> wrote in message
>> news:eqGaZoWOFHA.3156@TK2MSFTNGP15.phx.gbl...
>>> Source=\\ServerX\xtemp\sfleet.mdb
>>>
>>>
>>> "Stephen" <Stephefn@xjohnstontrading.com> wrote in message
>>> news:eIQSgwVOFHA.2348@tk2msftngp13.phx.gbl...
>>> > Hi guys...
>>> > I have a web app that works pretty good . It was developed with the
>> access
>>> > database in the virtual directory....now thats its about done, i would
>>> > like
>>> > to reference the database from a shared network directory. I thought
>>> > all
>> I
>>> > had to do was the following in the web.cinfig file
>>> > <appSettings>
>>> >
>>> > <add key="cs" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
>>> > Source=ServerX\xtemp\sfleet.mdb"/>
>>> >
>>> > </appSettings>
>>> >
>>> > "Serverx is a file server, xtemp is a shared directory
>>> >
>>> > but I cant get it to work...when i give a absolute path
>>> > c:\xtemp\sfleet.mdb
>>> > it works fine
>>> >
>>> >
>>> >
>>> > what am i doing wrong?
>>> >
>>> >
>>>
>>>
>>
>>
>
>