Opening VSS database from ASP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Opening VSS database from ASP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Opening VSS database from ASP  
vs0562


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-20-04 10:50 PM

We have 2 VSS databases. First is located on the same server as IIS and
second is on another machine. While I can open the first one from the ASP
using the following script:
oVSSDb.Open <srcinipath>, <UID>, <password>
trying the same thing on the second throws the following error:

Error Type:
SourceSafe (0x8004D117)
The SourceSafe database path <UID> does not exist. Please select another
database.

The request uses NTLM authentication.
There is no restrictions on the target VSS database directory (everyone.)

Does anybody now what might be the problem and how to deal with it?

Thanks,
VS





[ Post a follow-up to this message ]



    Re: Opening VSS database from ASP  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-21-04 07:47 AM

You are running into a double-hop authentication issue.

The token IIS has does not have permission to access network resources. You
will need to use Kerberos + Delegation -or- use Basic Authentication (which
allows a different type of logon: Network Cleartext IIRC) + SSL

Cheers
Ken

"vs0562" <vs0562@discussions.microsoft.com> wrote in message
news:6A8F6867-E44F-4B89-96D8-E618B3095768@microsoft.com...
> We have 2 VSS databases. First is located on the same server as IIS and
> second is on another machine. While I can open the first one from the ASP
> using the following script:
> oVSSDb.Open <srcinipath>, <UID>, <password>
> trying the same thing on the second throws the following error:
>
> Error Type:
> SourceSafe (0x8004D117)
> The SourceSafe database path <UID> does not exist. Please select another
> database.
>
> The request uses NTLM authentication.
> There is no restrictions on the target VSS database directory (everyone.)
>
> Does anybody now what might be the problem and how to deal with it?
>
> Thanks,
> VS







[ Post a follow-up to this message ]



    Re: Opening VSS database from ASP  
vs0562


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-21-04 10:56 PM

Thanks a lot - the Basic Authentication solved the problem.

"Ken Schaefer" wrote:

> You are running into a double-hop authentication issue.
>
> The token IIS has does not have permission to access network resources. Yo
u
> will need to use Kerberos + Delegation -or- use Basic Authentication (whic
h
> allows a different type of logon: Network Cleartext IIRC) + SSL
>
> Cheers
> Ken
>
> "vs0562" <vs0562@discussions.microsoft.com> wrote in message
> news:6A8F6867-E44F-4B89-96D8-E618B3095768@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:43 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register