Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 15th, 2004, 06:36 AM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in opening a VSS database on remote m/c

Hi,
     I am facing a wierd problem. My application accessing a VSS databse on a remote machine and its working proper on my development machine. Recently i tried to deploy it on production server and it is giving me the following error

The SourceSafe database path dmt does not exist. Please select another database.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The SourceSafe database path dmt does not exist. Please select another database.


I am not able to understand why it is not working on the other machine? i am executing the application with impersonation. i have changed the user in Web.config. as it did not work i even changed it in IIS directory settings and also in Machine.config of the production server. But to no avail.
Any help or hint would be welcomed with great appreciation.

Thanks,
Niks
Reply With Quote
  #2 (permalink)  
Old July 15th, 2004, 11:49 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Have you checked that the path exists? What is the path you are trying to access? This sounds like a simple path problem. What is "dmt"?
Reply With Quote
  #3 (permalink)  
Old July 16th, 2004, 12:36 AM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi planoie,
    Thanx for the prompt reply. I have checked that the path exists. And as such the same application is running properly with the same settings on development machine. The web.config file remains unchanged on the production m/c. Also I have prepared setup for the application using visual studio. The development machine is XP and the target machine for production is WIN 2K. Can there be any issues regarding the operating system change? But I tried the same thing on other machine which is Win 2k machine. But this machine was used for development so probably has all the settings required and it works over here. I don’t know what is required.
The target production server will have the .Net framework 1.1 and IIS 6.0 only.I hope the Visual Studio is not required?

The path exists for sure. Even I have changed the user setting to impersonate on the target machine as well. I even tried changing the settings in machine.config also for user imperonation.
The problem is only when i am deploying it on other machine.

Dmt is the name of the user to connect to VSS.
Waiting for further guidance.


Thanks & Regards,
Niks.
Reply With Quote
  #4 (permalink)  
Old July 16th, 2004, 08:03 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Something doesn't make sense here. You say that "dmt" is the VSS user, yet you are getting an error that says "The SourceSafe database path dmt does not exist".

You shouldn't need visual studio installed on the w2k machine, but you would need the framework and VSS installed.

How is your application access VSS? Thru the VSS API?
Reply With Quote
  #5 (permalink)  
Old July 17th, 2004, 07:38 AM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi planoie,
Yes my application accesses VSS through VSS API.
And yes 'something doesnot make sense' - you are right in saying so.
As i works fine on my machine but when the same thing with same settings is deployed on the other machine it doesnot work.
And as the MS access database is accessible from new machine there sohuld be not issue as regards the rights. both the databases (MS Access and VSS database lie in the same folder in the remote file server).
The other machine on which i have deployed has .Net Framework and VSS installed. Can there be any issue with the difference in versions of VSS installed in my machine and the machine i am trying to deploy?
And rest of the application works fine on the deployed machine. Its only giving the problem when trying to connect to VSS databse.

Thanks & Regards,
Niks
Reply With Quote
  #6 (permalink)  
Old July 22nd, 2004, 08:57 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are the installations of VSS all current? I know there were some problems with pre 6.0d versions but I don't remember the details.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 11 - Problem Opening Database dbcook8 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 15 February 2nd, 2009 08:41 AM
not able to acces vss database thru MSI file neha_mca431 VS.NET 2002/2003 1 August 7th, 2008 04:14 AM
Opening One Database from another Brendan Bartley Access 19 August 22nd, 2007 04:03 AM
problem in opening project from VSS svijay ASP.NET 1.0 and 1.1 Basics 1 September 27th, 2005 09:27 AM
Problem with database opening bukky Classic ASP Databases 1 April 23rd, 2004 10:59 AM



All times are GMT -4. The time now is 10:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.