|
-
Jun 12th, 2005, 01:46 AM
#1
Thread Starter
Junior Member
ERROR:cannot open sql server
well i have created an application in VB6 sqlserver and reports are in crystal reports 8
i used windows 98 in my pc and now when i am trying to run my project in windows 2000 or Xp it works fine but when i click to generate a report i get an error message that sql server cannot be open. in win98 i dont get this error what should i do i need to run this in 2000 or XP
plz help
-
Jun 12th, 2005, 10:16 AM
#2
Junior Member
Re: ERROR:cannot open sql server
check mdac version you are using on win98 and make sure you install the same version on win2k/xp.
-
Jun 12th, 2005, 10:36 AM
#3
Re: ERROR:cannot open sql server
How are you connecting to your SQL server? ADO, ODBC, etc.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 17th, 2005, 01:30 AM
#4
Thread Starter
Junior Member
Re: ERROR:cannot open sql server
well i have installed the same versions and am connecting crystal reports by adding crystal report control in vb
-
Jun 17th, 2005, 01:42 AM
#5
Re: ERROR:cannot open sql server
How did you establish the connection when creating the report? Did you use NT Authentication, or a SQL Server login?
Tg
-
Jun 17th, 2005, 02:07 AM
#6
Thread Starter
Junior Member
Re: ERROR:cannot open sql server
well i think i am using windows authentification using a blank paawords and sa as username in windows 98 dont know much about it
am new to alll this
-
Jun 17th, 2005, 09:33 AM
#7
Re: ERROR:cannot open sql server
IF you are using sa no password (that's dangerous) then it's SQL Authentication, not Windows.
Tg
-
Jun 17th, 2005, 11:07 AM
#8
Re: ERROR:cannot open sql server
I think we are getting confused here, "windows authentification using a blank paawords and sa as username in windows 98"
Windows Authentication is when SQL takes your Windows NT Username and Password and "trusts" you to log in to SQL. SQL Authentication is when
you enter a separate username and password, even if the password is blank.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 17th, 2005, 12:31 PM
#9
Hyperactive Member
Re: ERROR:cannot open sql server
One thought is if you are using ODBC (for whatever reason) to connect to your SQL server, you may be missing the DSN on the other machines.
-
Jun 26th, 2005, 03:31 AM
#10
Thread Starter
Junior Member
Re: ERROR:cannot open sql server
hi all
well if that sql authentification than what is the problem i cant get that
plz help me
i want to run that application on nwindows 2000 and it is of no use without thr reports
plzzzzzzzzzz help
-
Jun 26th, 2005, 11:09 AM
#11
Re: ERROR:cannot open sql server
But you havent told us how your report connects to SQL server?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|