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!! :`(