Friday, March 30, 2012
Mdac Xp 2000
I have MDAC 2.7, Visual Studio 6.0 SP3 Installed.
I am running into some issues where a vb program i wrote runs perfectly fine (Using ADO) when connecting to sql server but only runs fine on half of the windows 2000 machines i tested on.
Anyone have any suggestions? even stranger is that the versions of the odbc driver on the 2000 box are newer than the versions on my xp box with MDAC 2.7 SP1 installed.
All machines have DSN's set up exactly the same. I even tested with a DSN'less connection just to be sure (same result).Refer to event viewer logs for any kind of information in this regard.
Wednesday, March 28, 2012
MDAC 2.8 SP1 Components for VS2005?
What kind of components does MDAC 2.8 SP1 give you for Visual Studio 2005? Thanks!
Can you clarify your question?Are you interested in the development for MDAC inside of VS2005? Perhaps in that case you should look at MDAC SDK.
Wednesday, March 21, 2012
May I have your purmisshun?
Hi;
I'm a novice, and I need to set permissions in SQL Server 2005 (with Server Mgmt Studio)
so that I can create, modify, and delete tables in a database through my ASP.NET application.
I can't seem to find anything that spells this out - step-by-step - so that any idiot can follow it.
This is my error message:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
### Exception Number : 262
### (CREATE TABLE permission denied in database "MyDBase''.)
### Message: CREATE TABLE permission denied in database "MyDBase''. Number: 262
### Procedure: Server: SYS-EML8V3\SQL2005D01
### Source: .Net SqlClient Data Provider State: 1 Severity: 14 LineNumber: 1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Does anyone have a link to something that might give me a clue?
THANKS!
Well, use some kind of tool, for example,Microsoft SQL Server Management Studio Express, and give to your user used in connection string appropriate right:
(under Databases -> Your Database -> Security -> Users)
|||
Dejan Vesic:
Well, use some kind of tool, for example,Microsoft SQL Server Management Studio Express, and give to your user used in connection string appropriate right:
(under Databases -> Your Database -> Security -> Users)
Hi Dejan;
I tried this with the ASPNET user, but it didn't work - I got the same error.
I must be missing something. Is there another user that I'm supposed to be setting this for?
THANKS!
|||
wASP:
Dejan Vesic:
Well, use some kind of tool, for example,Microsoft SQL Server Management Studio Express, and give to your user used in connection string appropriate right:
(under Databases -> Your Database -> Security -> Users)Hi Dejan;
I tried this with the ASPNET user, but it didn't work - I got the same error.
I must be missing something. Is there another user that I'm supposed to be setting this for?
THANKS!
UPDATE ...
I've given the ASPNET user the "sysadmin" Server role - and it seems to have worked.
My next question is: Have I done something stupid (in terms of compromising security)?
THANKS!
|||
The answer is yes you can use either DBO(database owner) which is still risky but less so than Sysdamin or DDL admin. Try the link below for details. Hope this helps.
http://msdn2.microsoft.com/en-us/library/ms189612.aspx
|||
Caddre:
The answer is yes you can use either DBO(database owner) which is still risky but less so than Sysdamin or DDL admin. Try the link below for details. Hope this helps.
http://msdn2.microsoft.com/en-us/library/ms189612.aspx
Hi Caddre;
I think I've gotten everything set OK now - thanks to yourself and Dejan - and the link to that article (which I will save).
THANKS AGAIN!
wASP:
Caddre:
The answer is yes you can use either DBO(database owner) which is still risky but less so than Sysdamin or DDL admin. Try the link below for details. Hope this helps.
http://msdn2.microsoft.com/en-us/library/ms189612.aspx
Hi Caddre;
I think I've gotten everything set OK now - thanks to yourself and Dejan - and the link to that article (which I will save).
THANKS AGAIN!
I am glad I could help.
MaximumErrorCount
HI All,
I've created a main package the performs certain task and executes Execute package task. The package succeded on the Dev't studio when I test it, but failed on the SQL Agent.
I checked the logging of the Package that was called by the main package and I found no error/warning.
I didn't find any error on the logging of the main package but a warning was provided. Below is the warning message:
Thanks,
LarryThere is a control flow item level setting (in the Properties window) called MaximumErrorCount that defaults to 1. You could probably increase this property value to 4 or 5 (as the number of errors in your case is 3). This change in setting would help you view the actual errors encountered in your package execution.