Invalid Class String In Enterprise Manager

Oct 11, 2006

Hi, Sorry to be cross-posting, but I'm not getting much response to this...

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=807314&SiteID=1

...which I don't even think is in the right forum anyway. can anyone help?

Basically, I get a error box saying "Invalid class string" in Enterprise Manager whenever I try to run a query.

View 5 Replies


ADVERTISEMENT

Invalid Class String

Jun 8, 2007

Hi,
I'm working on both VWDEE and VBEE and, in each, when I try to add a database diagram I get the following message (after the 'Do you want to create required objects' prompt) 'Invalid Class String'.
Any ideas?

View 2 Replies View Related

DTS Error- Invalid Class String

Aug 21, 2000

I'm running a DTS package from VB, it works great on my development machine. When I distribute the app to a clean client, I get a DTS error:

DTSStep_DTSDataPumpTask_1
Invalid Clss string
-2147221005
sqldts.hlp 700

I'm obviously connecting and executing the package correct, but I can't track down this error. The installation includes dtspkg.dll, dtspkg.rll, dtspump.dll, dtspump.rll, which are all registered. The username and password are hard code set in the package object before I execute it, so security should be the same.

Any suggestions on how to solve or track down this problem?

View 2 Replies View Related

Error : Invalid Class String

Aug 17, 2007

When trying to migrate a DTS package to SSIS Package ,
it gives error :

Erro : Invalid Class String

Please suggest .
Thanks in advance !!

View 3 Replies View Related

Invalid Class String, Management Express

Apr 4, 2008

I'm having a problem creating a Database diagram in SQL Server Management Express.

After Asking me to install the tools needed to create the diagram (and I say yes), when i try to create the diagram it throws up an error message:

"Invalid class string"

(MS Visual Database tools)

-----------------------------
Program Location:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)

---------

Microsoft SQL Server Management Studio Express 9.00.3042.00
Microsoft Data Access Components (MDAC) 6.0.6001.18000 (longhorn_rtm.080118-1840)
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 7.0.6001.18000
Microsoft .NET Framework 2.0.50727.1434
Operating System 6.0.6001



I have tried uninstalling/reinstalling various components, and then all visual studio express components. Going back to a restore point and re-installing everything. No joy, I keep getting the same error message. I am using Vista HP, SP1.

Any Ideas?

View 4 Replies View Related

Ms Design Tools Invalid Class String - Error

Feb 27, 2008

ms design tools invalid class string - error


i use windows XP WITH SP-2 , SQL SERVER 2000 WITH SERVICE PACK 4, VISUAL STUDIO 6 WITH SP5, .NET 2.0,
VS2005.

I AM CURRENTLY GETTING THE ERROR WHEN I USE ENTERPRISE MANAGER IN SQL SERVER 2000.
WHEN I SELECT A PARTICULAR DATABASE AND A TABLE, AND WHEN I SELECT THE DATABASE DIAGRAM AND TRY TO CREATE A NEW DATABASE DIAGRAM, I GET THE ABOVE ERROR

View 5 Replies View Related

[MS Visual Database Tools] - Invalid Class String. Error

Aug 1, 2005

We recently upgraded our SQL Server 2000 to SP4 and are now getting the following error whenever we try to open up Site Diagrams.

An unexpected error happened during this operation. [MS Visual Database Tools] - Invalid class string.

This is very frustrating since I can't easily edit my database relationships or see my ER diagram.

Any ideas how to fix this?

Thanks

View 3 Replies View Related

Call Vb.Net Developed Dll In SQL Server 2005 With Configuration Level 80 Then Gets Error Invalid Class String

Jul 14, 2006

Hi,
I want to call a dll from Stored procedure developed in SQL Server 2005 at configuration level 80. but when I execute the stored procedure I get the following error.

Error Source: ODSOLE Extended Procedure
Description: Invalid class string

Code of stored procedure and vb.net class is given below:

VB.Net
Imports System
Imports System.IO
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Imports Microsoft.SqlServer.Server
Imports Microsoft.VisualBasic
Imports System.Diagnostics

Public Class PositivePay

Public Shared Sub LogToTextFile(ByVal LogName As String, ByVal newMessage As String)
' impersonate the calling user
Dim newContext As System.Security.Principal.WindowsImpersonationContext
newContext = SqlContext.WindowsIdentity.Impersonate()
Try
Dim w As StreamWriter = File.AppendText(LogName)
LogIt(newMessage, w)
w.Close()
Catch Ex As Exception

Finally
newContext.Undo()
End Try
End Sub
End Class
===============================================================

STORED PROCEDURE
Create PROCEDURE [dbo].[PPGenerateFile]
AS

BEGIN
Declare @retVal INT
Declare @comHandler INT
declare @errorSource nvarchar(500)
declare @errorDescription nvarchar(500)
declare @retString nvarchar(100)

-- Intialize the COM component
EXEC @retVal = sp_OACreate 'PositivePay.class', @comHandler OUTPUT
IF(@retVal <> 0)
BEGIN
--Trap errors if any
EXEC sp_OAGetErrorInfo @comHandler,@errorSource OUTPUT, @errorDescription OUTPUT
SELECT [error source] = @errorsource, [Description] = @errordescription
Return
END

-- Call a method into the component
EXEC @retVal = sp_OAMethod @comHandler,'LogToTextFile',@retString OUTPUT, @LogName = 'D: ext.txt',@newMessage='Hello'
IF (@retVal <>0 )
BEGIN
EXEC sp_OAGetErrorInfo @comHandler,@errorSource OUTPUT, @errorDescription OUTPUT
SELECT [error source] = @errorsource, [Description] = @errordescription
Return
END
select @retString

END

View 6 Replies View Related

Enterprise Class Not Registered 6.5

Mar 30, 2004

Today morning i tried connecting to sql 6.5 through enterprise edition got the following error


SQL ole object could not be registered class not registered (80040154)


I did shut down and restart, stopped and restarted the services

View 6 Replies View Related

Problems Running Enterprise Manager And Service Manager

Jul 20, 2005

On one of our machines, all of the SQL Server 2000components except for the main Server component (SQL Servercore) itself were installed (Management tools, etc) a while agoand everything was running fine. Now I go and add/install theServer component and then Service Pack 3a.It seems that Service Manager won't start up (I get an hourglass cursor)and now I find that Enterprise Manager won't run as well. No errormessages appeared and I don't think I saw anything unusual inthe log file.However, I can use Enterprise Manager on a differentmachine and connect to the database (so the databaseitself seems to be running).Any suggestions as to what the problem might be and how tofix it? I like to see if I can repair this without havingto do a reinstall.Thanks.PF

View 2 Replies View Related

Help! Enterprise Manager Turns SQL Server Service Manager Off

Dec 6, 2006

IF someone can assist me. Everytime I load up enterprise manager the service manager turns off. And the enterprise manager can't connect to the local database. But everytime i turn it back on and try to connect again it shuts it off and around and around we go. Help would be appreciated. Thanks.

View 2 Replies View Related

Sqlhelper Class Failed To Convert Sql Parameter To A String Error

Oct 17, 2007

I'm getting this error and I'm not really sure what is wrong.  I'm using the sqlhelper class which was writen by microsoft, so I figure the code is right.
 Here is code of me passing in the strings.  Yes I tried puttinga .ToString() on the end of the sqlparameters.
public class LoginSelectData : DataAccessBase{private EndUser _enduser;public LoginSelectData(){    StoredProcedureName = StoredProcedure.Name.VERIFYUSER.ToString();}public DataSet Get(){DataSet ds;LoginSelectDataParameters _loginselectedataParameters = new LoginSelectDataParameters(this.Enduser);DataBaseHelper dbhelper = new DataBaseHelper(StoredProcedureName);ds = dbhelper.Run(base.ConnectionString, _loginselectedataParameters.Parameters);return ds;
}public EndUser Enduser{get { return _enduser; }set { _enduser = value; }}
}
public class LoginSelectDataParameters{private EndUser _enduser;private SqlParameter[] _parameters;public LoginSelectDataParameters(EndUser userinfo){this.Enduser = userinfo;
Build();
}
 private void Build(){
SqlParameter[] parameters = {new SqlParameter("@username",this.Enduser.Username),new SqlParameter("@password",this.Enduser.Password)
};
Parameters = parameters;}public SqlParameter[] Parameters{get { return _parameters; set { _parameters = value; }
}public EndUser Enduser{get { return _enduser; }set { _enduser = value; }}
}

View 4 Replies View Related

Asp.net Enterprise Manager

Nov 30, 2006

Hi
has anyone used this tool to upload sql databases to a web host
i'm struggling
cheers!!!
Adrian
 

View 2 Replies View Related

Where Is Enterprise Manager?

Sep 10, 2005

I installed SQL Server MSDE 2000 but I can't find how to start it. Does this package include an Enterprise Manager or not? I thought that maybe it was a standard XP Pro feature. I had no problem finding it in W2000 Pro.

View 1 Replies View Related

Enterprise Manager

Mar 21, 2001

When I open databases, there is nothing there - not even Master, Model, Temp, Pubs, etc.

When I open the query analyzer, however, they all appear in the drop down.

What is up with that? and how can I remedy?

OP sys:Win98
SQL Server 7

View 2 Replies View Related

Enterprise Manager

Jun 11, 2001

Has anyone encountered this error: When you are in Enterprise manager and you select a database then the tables tab and then you select a table and go to open table- select all rows, I get an error--An unexpected error happened during this operation-Query Designer encountered a query error! Please let me know if you have seen this. Also, when I access this from one networked computer I get the same error, then when I access it from another I do not!! The servers are interacting with Pivotal. The one that works does not!!

View 3 Replies View Related

Enterprise Manager

Jun 12, 2001

Hi all,
I have SQL 7.0 desktop addition installed on my local win NT workstation. I am able to connect to my local server using Quary Analyser but when i am trying to connect using EM, i am not able to connect. I am receiveing the following error message.
__________________________________________________ ___________________________
A conncetion could not be established to "servername" - Specified SQL Server not found. ConnectionOpen(CreateFile()).
Please verify SQL server is running and check your SQL Server registration properties(by right clicking "servername" node) and try again.
__________________________________________________ ___________________________
I have tried as said in the error message and also tried connecting with "sa" but its not working. I can see that the server is running and i am able to connect through QA.

any help is highly appriciated.

View 1 Replies View Related

Enterprise Manager

Jun 20, 2001

We can no longer open tables in EM. The error message is;

An unexpected error happened during this operation
[Query] - Query Designer encountered a Query error:
Unspecified error

The tables are fine - can access them other ways.It looks as if the fault is in the script used by EM. Anyway to clear this ??

View 2 Replies View Related

Enterprise Manager

Sep 26, 2001

I am fairly new sql dba in a company and I am sure Enterprise Manager is installed on PC's and it shouldn't. Is there a way of finding out other then visiting each workstation. Thanks in advance..

View 1 Replies View Related

SQL 7 Enterprise Manager

Jul 28, 2000

I am considering upsizing my Access 2000 DB to a SQL 7 server. I was told that having SQL 7 Enterprise Manager is highly prefferd but not essential as I can maintain the upsized DB with Access 2000. The only way that I have been able to find JUST enterprise manager seems to be with purchasing the whole SQL 7 program for $1300! Microsoft cannot be that cruel, that you have to buy the whole program just for Enterprise Manager!

My questions are:

Can I download just MS SQL 7 Enterprise Manager anywhere for a reasonable fee or free?

and

if not, can I continue to use Access 2000 to maintain the SQL 7 upsized DB?

View 5 Replies View Related

SQL Enterprise Manager

Jan 25, 2001

I have access to a SQL 7 server via my ISP Hosting account. I know Enterprise manager comes with the server software, but how can I get a copy of JUST Enterprise Manager?

JD

View 1 Replies View Related

SQL Enterprise Manager

Apr 17, 2000

Is non-SA account able to view the SQL Enterprise Manager?

Thanks in advance!
Plum

View 3 Replies View Related

SQL Enterprise Manager

Aug 3, 1998

Is it possible to administer both 6.5 and 7.0 databases from the same SQL Enterprise Manager? I have read that you cannot do this because the 7.0 "plug-in" to the MMC wont work with 6.5 databases.

View 2 Replies View Related

Enterprise Manager

Nov 8, 2001

We had database corruption and cannot access the Enterprise Manager. DBCC returned errors 9000 to 9999 which I can't get any suggestions on how to handle from BOL. Any ideas!!!!! Thanks.

View 4 Replies View Related

Enterprise Manager

Mar 13, 2001

Hi,
I would like to know if we can present users to access details database information about the databases on a server through Enterprise Manager.
If you create a SQL login and do NOT give it access to any database, if someone logons on your server with enterprise manager, even though he does not have access to any database, he will still see the list of all database on your servers plus tons of sensitive information like database owner.
Is is possible to limit enterprise manager to only view information about database that the user has access to?

Thanks
Mark

View 2 Replies View Related

Enterprise Manager 6.5

Nov 26, 1999

How can I force users of Ent Manager 6.5 to enter a name/password when connecting to a server that has been registered? I dont want to use the sa name and password so that anyone could use my workstation to access our servers.

View 2 Replies View Related

SQL Enterprise Manager

Oct 10, 2003

Does anyone know how to turn off or disable the auto discovery for Enterprise Manager. Apparently our Network group is complaining that Enterprise Manager is generating noise on the network, it is not signifcant in volume but they complain it impacts there ability to detect hacking attempts on our network because it causes some false positives. I generally keep Enterprise Manager running because I will always have some manual job running from it and we have so many servers it takes awhile for them to all load when I first fire it up.

Thomas

View 3 Replies View Related

SQL Enterprise Manager

Dec 26, 2007

Hello guys,

Just wondering if i can use CPU, Memory usage, I/O or wait events for SQL trace. I am having difficulty in finding theses events on SQL trace.

Also is it possible to show the SQL trace file output in graphical format.

Thanks

View 5 Replies View Related

Enterprise Manager Bug

Jul 16, 2002

Hi,

I have SQL server 2000 client machine on my XP desktop which worked fine
until yesterday.
Yesterday, I tried to set up client access (a tool from IBM to access AS400) unsuccesfully. Since ever, Each time I try to open a table in enterprise manager, I get the following error message
"The query cannot be executed because some files are either missing or not
registered. Run setup again to make sure the required files are registered".
While when I issue a query in analyzer it works fine.

I did that several times without success. Even, I removed the whole SQL 2000
setup, rebooted my machine, ran set up again for client tools which gave the
same result. Also, I re-setup MDAC2.6 SP2 but no way.

Which files are corrupted ?and I don't understand after doing all that,
setup goes smoothly without indicating any errors, but still when you open a
table in enterprise manager, it gives the same error.

Thanks in advance

View 3 Replies View Related

MS SQL Enterprise Manager Bug

Nov 15, 2004

Hi,

Using MS SQL Server 7. When I go into a table in design view and order by date created, it only orders on the day and not the date (Enterprise Manager) e.g.

29/08/1981, 11/12/2004, 31/12/2003

should be

11/12/2004
31/12/2003
29/08/1981

but it's this instead

31/12/2003
29/08/1981
11/12/2004

Please help.... is this a bug

View 3 Replies View Related

Enterprise Manager

Jun 7, 2006

Hi,

My Question is regarding the Query Analyzer.

When we click on the Query Analyzer Shortcut, it will prompt for a user id and password.but when we expand the databases node from EM and clicks on Tools->Query Analyzer Menu, after selecting a database node, the QA does not prompt for the user id and password. Can any one explain this behaviour of QA..

I am using Mixed mode authentication for my db server.

View 6 Replies View Related

Enterprise Manager

Jun 19, 2007

Hi All,

When I view the database properties using Enterprise Manager, some of the databases on the server are reporting that there is zero space available while others have space available. Does anybody know why?

View 2 Replies View Related

Need SQL 7 Enterprise Manager

Feb 28, 2004

Does anyone know where I can get a copy of Enterprise Manager? I have the trial copy of 2000, but I need to administer data on a SQL 7 server, and I cannot create stored procedures, add users, or create DTS packages in 2000 that will work on SQL 7.
Thanks!

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved