External Disk for asp pages
External Disk for asp pages
am 14.11.2007 11:04:22 von unknown
Hy !
In a Server 2000 and IIS vers 3. I need to move all database and asp pages
in a Network Disk.
So that directory '\site\ with all data inside, db and asp pages, will
physically stay in a network disk '\192.168.1.100\site that I
have map as disk 'X:\
I have tried to create a Virtual Directory in my IIS serv. and point it on
disk 'X:\ as first and directly on IpAdress in second test
but none is working.
First question, is it possible to configure such situation ? eventually
...how ??
thanks in adv
Mirco
Re: External Disk for asp pages
am 14.11.2007 11:36:23 von unknown
I would like to add that we have tried to do it with an HTML page and is
working,
when instead of an html there is an Asp page, system answer that "Site need
a credential to access"
mirco
Re: External Disk for asp pages
am 14.11.2007 23:25:45 von Trevor Benedict R
Although it is possible to setup what you are asking. Could you tell a
little more as to why you have the source code on a Network Drive.
When you say, X:\, it means a network drive that you ahve mapped using your
current login session. When creating the website use a UNC path like
\\Servernmae\ShareName and then provide the credentials
and this might also help you in considering this solution
http://kbalertz.com/221790/Items-Causes-Failures-Connecting- Remote.aspx
Regards,
Trevor Benedict
MCSD
"Mirco Cervi - Fratellicervi.com" wrote in message
news:uTH58WqJIHA.1324@TK2MSFTNGP06.phx.gbl...
> Hy !
> In a Server 2000 and IIS vers 3. I need to move all database and asp pages
> in a Network Disk.
> So that directory '\site\ with all data inside, db and asp pages, will
> physically stay in a network disk '\192.168.1.100\site that I
> have map as disk 'X:\
> I have tried to create a Virtual Directory in my IIS serv. and point it on
> disk 'X:\ as first and directly on IpAdress in second test
> but none is working.
>
> First question, is it possible to configure such situation ? eventually
> ..how ??
> thanks in adv
> Mirco
>
Re: External Disk for asp pages
am 19.11.2007 18:14:00 von unknown
Hy Trevor, I try to explain better:
> When you say, X:\, it means a network drive that you ahve mapped using
> your current login session.
Yes, we have a SOHO External Network drive with IP 192.168.1.100 mapped on
Windows2000 server as 'X:\
under administrator session
Actually asp pages and MSAccces db is under 'inetpub\wwwroot\site\
we would like to move only db in 'X:\ we will try to change all connection
string becaus we tested moving all db and asp page
in the new drive, creating a virtual directory in the IIS that point on the
new drive but it seam it doesn't work
We read the info in kbalertz but ..unfortunately is no working in our case,
probably is not the same problem..
thanks for help !
Mirco
Re: External Disk for asp pages
am 19.11.2007 19:22:13 von Trevor Benedict R
ok, there are some specifics for accessing database across a Network share
When you run an IIS Application, it runs in the context of a specific
account. When you try to access the database file on the network share, it
tries to use the account used by IIS to connect to the resource.
When you say, you have X:\ mapped using the Administrator account, it still
means the session that is visible to you and not the session that IIS runs
the application (asuming that you are running the application as an
Administrator. This is not the default setting). You have to understand this
concept before you try to find a solution for your problem.
The following article has some interesting reads
http://siswebstu.ua.edu/iforms/Trouble.htm
Use this one to see how your application is setup and let us know.
http://support.microsoft.com/kb/207671
Regards,
Trevor Benedict
MCSD.
"Mirco Cervi - Fratellicervi.com" wrote in message
news:%23nQFW%23sKIHA.6008@TK2MSFTNGP05.phx.gbl...
> Hy Trevor, I try to explain better:
>
>> When you say, X:\, it means a network drive that you ahve mapped using
>> your current login session.
>
> Yes, we have a SOHO External Network drive with IP 192.168.1.100 mapped on
> Windows2000 server as 'X:\
> under administrator session
>
> Actually asp pages and MSAccces db is under 'inetpub\wwwroot\site\
> we would like to move only db in 'X:\ we will try to change all connection
> string becaus we tested moving all db and asp page
> in the new drive, creating a virtual directory in the IIS that point on
> the new drive but it seam it doesn't work
>
> We read the info in kbalertz but ..unfortunately is no working in our
> case, probably is not the same problem..
> thanks for help !
> Mirco
>
Re: External Disk for asp pages
am 19.11.2007 19:27:58 von Trevor Benedict R
after a second thought, what you must be doing is to run the application as
a specific user (I would prefer a domain account, if you have one) and grant
necessary read/Write permissions to the Network Share. Stop and start the
service for the settings to take effect and let the group know.
Regards,
Trevor Benedict
MCSD
"Trevor Benedict" wrote in message
news:eQBGMmtKIHA.5920@TK2MSFTNGP03.phx.gbl...
> ok, there are some specifics for accessing database across a Network share
>
> When you run an IIS Application, it runs in the context of a specific
> account. When you try to access the database file on the network share, it
> tries to use the account used by IIS to connect to the resource.
> When you say, you have X:\ mapped using the Administrator account, it
> still means the session that is visible to you and not the session that
> IIS runs the application (asuming that you are running the application as
> an Administrator. This is not the default setting). You have to understand
> this concept before you try to find a solution for your problem.
>
>
> The following article has some interesting reads
> http://siswebstu.ua.edu/iforms/Trouble.htm
>
>
> Use this one to see how your application is setup and let us know.
> http://support.microsoft.com/kb/207671
>
> Regards,
>
> Trevor Benedict
> MCSD.
>
>
>
> "Mirco Cervi - Fratellicervi.com" wrote in message
> news:%23nQFW%23sKIHA.6008@TK2MSFTNGP05.phx.gbl...
>> Hy Trevor, I try to explain better:
>>
>>> When you say, X:\, it means a network drive that you ahve mapped using
>>> your current login session.
>>
>> Yes, we have a SOHO External Network drive with IP 192.168.1.100 mapped
>> on Windows2000 server as 'X:\
>> under administrator session
>>
>> Actually asp pages and MSAccces db is under 'inetpub\wwwroot\site\
>> we would like to move only db in 'X:\ we will try to change all
>> connection string becaus we tested moving all db and asp page
>> in the new drive, creating a virtual directory in the IIS that point on
>> the new drive but it seam it doesn't work
>>
>> We read the info in kbalertz but ..unfortunately is no working in our
>> case, probably is not the same problem..
>> thanks for help !
>> Mirco
>>
>
>