Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Connect from WebService to a database located in NetWare

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Orger - 21 Feb 2005 11:34 GMT
Hi.
I have a number of webservices wich connects to databases located in NetWare
5.
I used Framework 1.1 and stand alone Windows Server 2000 with IIS 5.0.
ASP.NET runs as system user. File "map.bat" is in Windows\System32 directory

map.bat contenet:
NET USE X: \\Market\data /USER:<user> <pass> /PERSISTENT:YES

My code is:
System.Diagnostics.Process procMap = new System.Diagnostics.Process();

procMap.StartInfo.FileName = "map.bat";

procMap.Start();

procMap.WaitForExit();

oleDbDataAdapter.SelectCommand.CommandText = strSql1;

this.oleDbConnection.Open();

this.oleDbDataAdapter.Fill(dsSaskaitosNet, intStart-1, intCount, "Table");\

-------------------------------------- It is working!!

Now  i need to migrate. Some modification were done to the system :-/

1. Windows Server 2003 with IIS 6.0
2. Now server is in Windows 2003 domain.
3. Share Point 2003 SP1 running in the same web site as my services and
aplications.
I have managed to modify my other project to work under SPS but not this
part of my code :-(

procMap.Start(); - maped drive X secesfully
this.oleDbConnection.Open(); - returns error
{@"'X:\WORKDATA\APSKAITA\DATA.MDB' is not a valid path.  Make sure that the
path name is spelled correctly and that you are connected to the server on
which the file resides." }

ASP.NET and SPS runing under my user account wich has localadmin rights on
server.
Username and passwords under AD and NW are the same.

Please HELP!! :`(
Orger - 21 Feb 2005 14:01 GMT
If anybody interested the answer is SPS.
I deployed my asp.net projects under port 81 and its working 100% ;))

> Hi.
> I have a number of webservices wich connects to databases located in NetWare
[quoted text clipped - 42 lines]
>
> Please HELP!! :`(

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.