Unable To Connect Tp MSSQL 2K Database 
Author Message
 Unable To Connect Tp MSSQL 2K Database

I am having a problem connecting to MSSQL Server 2k from IIS with a basic
class used as an applet.  Everything works fine locally, but when I try and
execute class from an applet I get the following message

"Can't find Database Driver class java.lang.NoClassDefFoundError:
com.microsoft.jdbc.sqlserverdriver"

Now I do use the applet tag with the MS Jars, but this does not seem to
work.  Also, I read somewhere about having to package the jars into a CAB?
Can
someone explain the process?  Or Give me some hints on what could be wrong.

<APPLET CODE = "OutputApplet.class" codebase="." WIDTH = 600 HEIGHT = 400
ALIGN = middle
NAME = "TestApplet" ARCHIVE="mssqlserver.jar,msbase.jar,msutil.jar">
</APPLET>

Thanks
Darrell



Sat, 22 May 2004 06:00:19 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Unable to connect to 6.5 database from QA in SQL Server 2k

2. Client unable to connect to sql server 2k

3. Unable to connect to SQL 2K with Enterprise Mgr

4. Unable to install SQL 7 on Win 2K proffessional and Win 2K server both

5. MSSQL 7.0 - Unable to restore a database from another server

6. Connecting Access 2k to sql server 2k

7. compare mssql 6.5 database and mssql 7.0 database

8. Need Help on Connected tp SQL with Integrated Security

9. SQL Server 2K connecting to a Progress database

10. Connecting to MSSQL database other than default for login

11. Unable to connect to Database First time

12. Please help....Unable to Connect to Databases


 
Powered by phpBB® Forum Software