SQL INSERT permission denied on object Error
Hi,
I am new to Sql server in fact i've only been using it for the last two hours , the create database and create table statements worked fine,
I am now trying to insert, delete, and update some records on SQLSERVER 2000, and i am getting this error for each insert , update or delete statement nowing that the syntax is ok.
It is a permission problem, I 've heard that there is a Grant method can anyone tell me how to use it
ps: i am unsing sqlserver 2000
===========
Thank you in advance, your help is much appreciated
go to enterprise manager right clike on the table and change the permission in ALL TASKS
r change the database owner to the user id u r using
EXEC sp_changedbowner '<user>'
Similar Messages
-
I'm trying to create a new subscriptions on an existing report and get the following error.
An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help
Get Online Help
EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
I ran the following that was suggested in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=17774&SiteID=1. But still I get the same error. Do I need a reboot or restart of the services?
The only log file information I can find contains the following.
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.WebServer.ReportingService2005.ListSchedules(Schedule[]& Schedules)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.ListSchedules()
at Microsoft.SqlServer.ReportingServices2005.RSConnection.ListSchedules()
at Microsoft.ReportingServices.UI.SharedScheduleDropDown.EnsureSchedulesAreLoaded()
at Microsoft.ReportingServices.UI.SharedScheduleDropDown.SharedScheduleDropDown_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
aspnet_wp!ui!1!17/10/2006-08:44:26:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
aspnet_wp!extensionfactory!e!17/10/2006-09:35:13:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
aspnet_wp!extensionfactory!e!17/10/2006-09:35:13:: w WARN: The extension Report Server FileShare does not have a LocalizedNameAttribute.
aspnet_wp!ui!e!17/10/2006-09:35:13:: e ERROR: System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.WebServer.ReportingService2005.ListSchedules(Schedule[]& Schedules)
aspnet_wp!ui!e!17/10/2006-09:35:13:: e ERROR: HTTP status code --> 200
I cannot find any other error log.
Can anybody help?
Tuesday, October 17, 2006 8:49 AM
Reply
|
Quote
All replies
0
Sign in to vote
Sorry for the late reply. Try this: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=662319&SiteID=1
Thursday, November 16, 2006 2:51 AM
Reply
|
Quote
Answerer
0
Sign in to vote
GRANT EXECUTE ON master.dbo.xp_sqlagent_notify TO RSExecRole
GO
solved my problem.
Proposed as answer by
Christopher D. Stover
Monday, September 16, 2013 6:52 PM
Monday, September 16, 2013 6:51 PM
Reply
|
Quote
0
Sign in to vote
Tried that but no joy. Found this post on SQLServerCentral, solved our issue which mimic's the posters issue. Just adding here as this is the first result in our search.
Look for Topic452669-150-1
There are a number of places I found with the information in the following
link:
http://phew-meme.blogspot.com/2007/10/reporting-service-on-report.html
In
my specific case, the RsExecRole role in both the "master" and "msdb" databases
had had both the "NT Authority\Network Service" and "NTAuthority\System" logins
removed from its members (the RSExecRole had had all its members removed by
someone doing some maintenance). I compared another Reporting Services
installation on another server after reading information in the above
link.
Steps:
1. In Mangement Studio connect to the SQL Server instance
on which Reporting Services runs.
2. Databases > system Databases
3.
master > Security > Roles > RSExecRole (then add whatever logins are
required... check in the ReportServer or ReportServerTempDB databases if you're
not sure)
4. msdb > Security > Roles > RSExecRole (add the same
logins you did to the master DB)
In the end you need the same logins in
RSExecRole role for the master, msdb, ReportServer, and ReportServerTempDB
databases. ("ReportServer" is the default Reporting Services database name, in
case that's not clear ;)
Monday, March 31, 2014 1:24 PM
Reply
|
Quote
if (!$.Microsoft) $.Microsoft = {};
if (!$.Microsoft.Mtps) $.Microsoft.Mtps = {};
if (!$.Microsoft.Mtps.NetReflectorInit)
$.Microsoft.Mtps.NetReflectorInit = {
surveyUrl: 'http://support.microsoft.com/common/survey.aspx?scid=sw%3ben%3b3763&altstyle=narrow&renderoption=overridedefault&theme=tech&url=http://social.technet.microsoft.com/Forums/en-US/3fcc7b54-ce84-48c2-9004-baaac07f2515/execute-permission-denied-on-object-xpsqlagentnotify-database-mssqlsystemresource-schema?forum=sqlreportingservices&P0=055ccfc1-78f5-46ff-8171-33f8ff760a7c',
throttleRate: "5.00",
privacyStatementText: "Privacy statement",
trackerWindowText: "Please do not close this window.Thank you! The survey will appear here when you've completed your visit, so please do not close this window.",
logoUrl: 'https://www.microsoft.com/library/svy/sto/technet_logo.gif',
closeButtonUrl: 'https://www.microsoft.com/library/svy/sto/technet-close.gif',
topBarUrl: 'https://www.microsoft.com/library/svy/sto/top-stripe.gif',
bottomBarUrl: 'https://www.microsoft.com/library/svy/sto/bottom-stripe.gif',
blankPage: 'https://social.technet.microsoft.com/forums/blank.htm',
showSurveyToComscoreUser: 'no'
setTimeout("Forums.loadScript('https://i1.social.s-msft.com/Forums/resources/NetReflector/NetReflector.js?cver=0%0d%0a')", 1000);
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?
Privacy statement
© 2015 Microsoft. All rights reserved.
Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback
TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
var railItems = ["/Forums/en-US/rightrailannouncement/Technet/1794d07f-9d4e-4dc0-8c1c-8bfe9d5e0bce"];
var pageData = {"validUser":false,"autoSubscribe":false};
var userEmailConfigured = false;
$(document).ready(function () {
Forums.ThreadPage.wirePageElements('Search forum questions');Tried that but no joy. Found this post on SQLServerCentral, solved our issue which mimic's the posters issue. Just adding here as this is the first result in our search.
Look for Topic452669-150-1
There are a number of places I found with the information in the following
link:
http://phew-meme.blogspot.com/2007/10/reporting-service-on-report.html
In
my specific case, the RsExecRole role in both the "master" and "msdb" databases
had had both the "NT Authority\Network Service" and "NTAuthority\System" logins
removed from its members (the RSExecRole had had all its members removed by
someone doing some maintenance). I compared another Reporting Services
installation on another server after reading information in the above
link.
Steps:
1. In Mangement Studio connect to the SQL Server instance
on which Reporting Services runs.
2. Databases > system Databases
3.
master > Security > Roles > RSExecRole (then add whatever logins are
required... check in the ReportServer or ReportServerTempDB databases if you're
not sure)
4. msdb > Security > Roles > RSExecRole (add the same
logins you did to the master DB)
In the end you need the same logins in
RSExecRole role for the master, msdb, ReportServer, and ReportServerTempDB
databases. ("ReportServer" is the default Reporting Services database name, in
case that's not clear ;) -
EXECUTE permission denied on object 'xp_sqlagent_enum_jobs'
Hello. I am running SQL 2005 SP2 (9.0.3282) on a Windows 2003 SP2 Enterprise server. I have three users that I have assigned the three SQL Server Agent roles within the msdb system database so that they may manage jobs that they own. Recently they started seeing this error:
The EXECUTE permission was denied on the object 'xp_sqlagent_enum_jobs', dartabase 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)
I have other servers that have SQL server configured the same where we are not seeing the errors.
Any assistance would be greatly appreciated.
Thanks.
Kris
After you move the msdb database, you may receive the following error message:
Error 229: EXECUTE permission denied on object 'ObjectName', database 'master', owner 'dbo'.
This problem occurs because the ownership chain has been broken. The database owners for the msdb database and for the master database are not the same. In this case, the ownership of the msdb database had been changed. To work around this problem, run the following Transact-SQL statements. You can do this by using the Osql.exe command-line utility (SQL Server 7.0 and SQL Server 2000) or the Sqlcmd.exe command-line utility (SQL Server 2005):
USE MSDB Go EXEC sp_changedbowner 'sa' Go
http://support.microsoft.com/kb/224071
INF: Object Ownership Chain Checking Across Databases Depends on the Login That Is Mapped to the Object Owners| Sankar Reddy | http://sankarreddy.spaces.live.com/ | -
Permission denied on object 'PSOPRDEFN' database 'FSCM' schema 'dbo'
Hi,
I get the following error when i try to login in 2 tier thru App Designer.
SELECT permission denied on object 'PSOPRDEFN' database 'FSCM' schema 'dbo'...Just to give a little background...Since i was installing PS FSCM 9 on my new machiine, I did not create a new DB, as I had the mdf and ldf files from my earlier machine. All i did was to add the DB thru SQL Server management studio. I have executed the grant and connect.sql. Both have executed successfully. But I am still unable to login. I also tried altering the authorization on my DB, but that did not work either
Thank YouHi Nicolas,
I was installing PS FSCM9 on my new personal machine. Since I had my "MDF" and "LDF" files for FSCM 9 DB (from my previous machine), I did not create a new DB for my new Install of PeopleTools. I simply copied the DB files to my new machine.
I can login into the DB using sa/sa1. But when I try logging in using App Designer in 2 Tier, it pops up the error mentioned. I ran the Grant/connect sql's again, but that did not help. i did run alter authorization script for the 3 tables PSACCESSPRFL, PSSTATUS and PSOPRDEFN, and granted them access to people, but that did not work out.
Thank you -
Permission denied remote socket ERROR when creating outgoing PROVIDER
Hi,
I am having issues in the outgoing provider.
My Stellent 7.5 is installed on a linux box with ip address 182.30.190.28 and hostname of pc-prd-st and the URL to access this is http://pc-prd-st/stellent_pr/
I have installed two instances of Content Server 10gR3 on a different linux box with ip address 182.30.190.38 and hostname of poc-dev-prd-cs. There are 2 instances of Content Server 10gR3 running on this box. One is for dev and one is for prod. Here are the URL's to access both
http://poc-dev-prd-cs/dev_idc/
http://poc-dev-prd-cs/prod_idc/
dev_idc admin port=5440 and contentserver port=5444
prod_idc admin port=4440 and contentserver port=4444
Now on my Stellent 7.5 version that is running on 182.30.190.28 I created an outgoing provider to connect to http://poc-dev-prd-cs/prod_idc/ which is my prod instance of 10gR3 and here are the values I have when creating a provider:
Provider Name: ucm10gProdProvider
Provider Description: Provider for connecting to poc-dev-prd-cs PROD Instance
Provider Type: outgoing
Provider Class: intradoc.provider.SocketOutgoingProvider
Provider Connection: intradoc.provider.SocketOutgoingConnection
Instance Name: prod_idc
Server Host Name: poc-dev-prd-cs
Server Port: 4444
Relative Web Root: /prod_idc/
But when I test this provider it's giving the following error:
Connection State: down
Connection Error: Unable to establish connection to the server. Permission denied. Address '182.30.190.28' is not an allowable remote socket address.
The provider 'ucm10gProdProvider' is in error. Unable to establish connection to the server. Permission denied. Address '182.30.190.28' is not an allowable remote socket address. [ Details ]
An error has occurred. The stack trace below shows more information.
!csProviderError,rtpstell01Provider!$Unable to establish connection to the server. Permission denied. Address '182.30.190.28' is not an allowable remote socket address.
intradoc.common.ServiceException: Unable to establish connection to the server. Permission denied. Address '182.30.190.28' is not an allowable remote socket address.
at intradoc.server.proxy.ProviderStateUtils.checkReturnData(Unknown Source)
at intradoc.server.proxy.ProviderStateUtils.testConnection(Unknown Source)
at intradoc.server.ProviderManagerService.testProvider(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at intradoc.server.Service.doCodeEx(Service.java:617)
at intradoc.server.Service.doCode(Service.java:583)
at intradoc.server.Service.doAction(Service.java:507)
at intradoc.server.Service.doActions(Service.java:411)
at intradoc.server.Service.doRequest(Service.java:1765)
at intradoc.server.ServiceManager.processCommand(Unknown Source)
at intradoc.server.IdcServerThread.run(Unknown Source)The error above points to the IP Address of Stellent 7.5 and saying Permission denied. Address '182.30.190.28' is not an allowable remote socket address.
As I have verified all the instances are up and running. I restarted both the servers several times but still the same error. As I also have one more out going provider that connects to the test instance which is on different box and it works for that. But some how not for my the new prod_idc. Any ideas what might be wrong.
ThanksHi
Add the config entry SocketHostAddressSecurityFilter to config.cfg with the IP addresses that you want to let access the CS . It should be like this :
SocketHostAddressSecurityFilter=127.0.0.1|10.177.*.*|10.229.175.167
After this restart the CS and test it out.
Srinath -
SQL Insert Statement Data Type Mismatch Error
I am doing a very simple web application that has a Microsoft Access database as the data source. I have been able to sucessfully create update and query statements using parameters but am having issues with an insert statement. I am using JSTL 1.1.2
The following code creates the data type mismatch error.
<sql:update
sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
<sql:param value='$(ID}'/>
<sql:param value='${feature}'/>
</sql:update>The table has NUMBER as the data type for both of these fields and the variables I am feeding into it are both numbers. If I hard code the first number into the sql statement then it works. I have tried swapping the variables around and as long as the first one is hard coded the parameter for the second one works no matter which is first or second.
However I can get the following code to work, which of course leaves me vulnerable to sql injection attacks which is not really a good thing.
<sql:update>
insert into tblTtoF(TFToolID,TFFeatID) values('<c:out value="${ID}"/>','<c:out value="${feature}"/>')
</sql:update>So I am just looking for any suggestions as to why my first piece of code doesn't work seeing as it is the simplest of SQL statements and the most standard syntax.
ThanksI changed it to the following
<c:set var="featurenew" value="${0 + feature}"/>
<c:set var="IDnew" value="${0 + param.toolID}"/>
<sql:update
sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
<sql:param value='$(IDnew}'/>
<sql:param value='${featurenew}'/>
</sql:update>And got the following error in the localhost.log
31/07/2006 09:31:41 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.sql.SQLException: SQL Exception : [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1437)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1072)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1063)
at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.setParameters(UpdateTagSupport.java:254)
at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.doEndTag(UpdateTagSupport.java:156)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_sql_update_1(dataUpdated_jsp.java:975)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_if_0(dataUpdated_jsp.java:879)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_forEach_0(dataUpdated_jsp.java:680)
at org.apache.jsp.dataUpdated_jsp._jspService(dataUpdated_jsp.java:151)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
I have also tried the following in the past with no luck
<fmt:parseNumber value="${ID}" type="number" var="IDnew"/>
AND......
<sql:query
sql="select TFToolID from tblTtoF where TFToolID = ?"
var="toolresults">
<sql:param value="${ID}"/>
</sql:query>
<c:forEach var="getID" items="${toolresults.rows}">
<c:set var="theID" value="${getID.TFToolID}"/>
</c:forEach>
AND when that didn't work, added this....
<fmt:parseNumber value="${theID}" var="IDnew"/> -
Permission denied Create object orasession
I am using win2k with oracle 9i.
i am tring to use oo4o with asp and getting the following error
Microsoft VBscript runtime(0x800a0046)
Permision denied :'CreateObject'
line 19
and line 19 in asp is :
set Orasession = CreateObject ("OracleInProcServer.XOraSession")
I have got full access for internet user on oracle home direcorty !!
It is really urgent !!
Thanks for any help
Vikeshi have got it working.
it was just the permission on oracle home directory !!
Thanks anyways !!
Vikesh -
Firefox exits with CreateDirectoryAtPath: Permission denied error
I just downloaded and installed Firefox from
.../firefox/releases/latest-8.0/linux-x86_64/en-US/firefox-8.0.tar.bz2
When exiting, I get the following error messages
CreateDirectoryAtPath: Permission denied
RemoveFilesRecursively: stat: Permission denied
These specific messages are repeated about 6 times each.
The problem does not exist for all users.
I can reproduce the problem at will. The easiest way is to login as
the problematic user, start up firefox and then immediately close
with Ctrl+Q.
$ /opt/firefox-8.0/firefox/firefox
CreateDirectoryAtPath: Permission denied
RemoveFilesRecursively: stat: Permission denied
$
Note: the error messages don't appear until I "Quit."
Also there is a child zombie process. Both processes disappear on exit.
$ ps -fu user
user 2756 1744 3 14:50 pts/1 /opt/firefox-8.0/firefox/firefox
user 2757 2756 0 14:50 pts/1 [firefox] <defunct>
The popup
Help -> About Firefox
says
Firefox 8.0
And the result of
Check for update
is
Firefox is up to date
I'm running Debian Squeeze 2.6.32-5-amd64.
ThanksTake a look at
this.
Jonathan Almquist | SCOMskills, LLC (http://scomskills.com) -
Select permission denied in RPD
I am mapping data in my rpd file and cannot view data or update row counts for almost all of my tables in the database.
I am running obiee 11g on my local machine connected to an sql server database.
The error I receive is "Select permission denied on object...". I have talked with the DBA and I should have sufficient privileges for my project.
Any help would be greatly appreciated.
Thanks,
MikeYes Venkat is right,You don't have privileges for that table,You can always find out your own effective permission on any object by using fn_my_permissions('table_name', 'OBJECT')
Mark if helps.
Thanks, -
hi
Im getting the following error when querying a database :
<b>
Error when executing statement for table/stored proc. 'procedure name' (structure 'Select'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]EXECUTE permission denied on object 'procedure name ', database '<database name>', owner 'owner name'</b>
Is it because the user use to access in the comunication channel does not have rights on the given databse / table or something else as well ??
please suggest
sdHi,
yes right.
the user which you use in the JDBC Adapter isn't allowed to execute the stored procedure.
Regards,
Robin -
Permission Denied when trying to Save or Save As
I don't know what I did to make it happen. I added a couple of new text boxes and now it won't let me save. Sometimes it says something about Myriad Pro being the default (and I'm ok with that). Here is my error log:
Generating PDF Document...
Font Service: Default font typeface is Myriad Pro.
PDF generated successfully.
Generating PDF Document...
Font Service: Default font typeface is Myriad Pro.
Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf
Permission denied
Generating PDF Document...
Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf
Permission denied
2 warnings/errors reported.
Any ideas????
KatheeJust as I was typing out that that could not be the problem as I'm the only one that would ever work on it and I have definitely closed out of it ... it occured to me ... check my task manager to see if it's being held open somewhere ... sure enough ... it was. I have no idea why, but it doesn't surprise me. I am not a big fan of Adobe, but because we need it in our every day life I can't stop using it.
Thank you for your fast response!!
Kathee -
Terminal returning "permission denied"
Hello,
I am trying to use the Terminal Utility on my macbook to locate all of my music files because I think they are in various folders and want to get everything into one place.
I was told to use sudo /usr/libexec/locate.updatedb, but then it asks for my password and when I put it in it returns this:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
Lyndsies-MacBook:~ lyndsie$
I am not an avid terminal user, so if someone can give me some instructions on how to locate all my music files into one folder I would appreciate it!
Thanks!forget about terminal. In the Finder, open a window to your home folder, type command-F to get a search window, then set the pull down menus to say 'kind', 'Music', 'mp3'. This will show all the music files anywhere in your home folder, and you can select all and drag them to whatever folder you like.
I'm not sure you really want to do this, though. Putting all your music files in one folder is a huge mess - better to let iTunes organize them in folders for you. -
PL/SQL Permission Denied Error
I am trying to learn how to automate some SQL and in general just new PL/SQL things.
Here is my code and the error, what am I doing something wrong ?
The code compiled right, and I was able to save the Proc on the server; but when I execute I get error, I am confused now.
SQL> execute sql_execute
BEGIN sql_execute; END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SQL_EXECUTE", line 12
ORA-06512: at line 1
create or replace PROCEDURE SQL_EXECUTE AS
TableExists EXCEPTION;
pragma exception_init(TableExists,-955);
SQL_STMT1 varchar2(1000) := 'CREATE TABLE TEST_EMAIL (EMAIL_SKEY NUMBER)';
SQL_STMT2 varchar2(1000) := 'INSERT INTO TEST_EMAIL (EMAIL_SKEY) SELECT EMAIL_SKEY FROM EMAIL_TABLE WHERE ROWNUM <100';
sql_stmt_trunk varchar2(50) := 'TRUNCATE TABLE TEST_EMAIL';
BEGIN
execute immediate SQL_STMT1;
execute immediate SQL_STMT2;
DBMS_OUTPUT.PUT_LINE('Finished processing TEST_EMAIL Table.');
EXCEPTION when TableExists then EXECUTE IMMEDIATE sql_stmt_trunk;
END SQL_EXECUTE;Kodiak_Seattle wrote:
Please tell me why it is not wise, so that I can learn, thanks!The number of objects within an application should be static between version releases.
There is no business requirement to create objects on the fly within an application.
Pl/SQL code should be written with code reuse in mind.
In other words, procedures should be executed by multiple application users.
Some/many/most DDL operations will throw error the second time they run. -
XML File in External Table - OS error permission denied.
Hi.
10g R2, Red Hat Linux
I'm using the article (see below, taken from http://www.dbazine.com/olc/olc-articles/scardina1 by Mark Scardina) to create an external table where I'd store my XML file.
So, I
1. Created a directory xmlfile_dir
2. Granted access to needed db user
3. Created the table
CREATE TABLE relayxml_xt (doc CLOB)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY xmlfile_dir
ACCESS PARAMETERS
FIELDS (lobfn CHAR TERMINATED BY ',')
COLUMN TRANSFORMS (doc FROM lobfile (lobfn))
LOCATION ('xml.dat')
REJECT LIMIT UNLIMITED;
4. mv relay.xml /xmlfile_dir/xml.dat
When I run SELECT * FROM relayxml_xt I get this:
Error starting at line 1 in command:
select * from relayxml_xt
Error report:
SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file RELAYXML_XT_28773.log
OS error Permission denied
ORA-06512: at "SYS.ORACLE_LOADER", line 19
29913. 00000 - "error in executing %s callout"
*Cause: The execution of the specified callout caused an error.
*Action: Examine the error messages take appropriate action.
What am I doing wrong?
Thanks,
Using External Tables
Introduced in Oracle9i, Oracle’s external table feature offers a solution to define a table in the database while leaving the data stored outside of the database. Prior to Oracle Database 10g, external tables can be used only as read-only tables. In other words, if you create an external table for XML files, these files can be queries and the table can be joined with other tables. However, no DML operations, such as INSERT, UPDATE, and DELETE, are allowed on the external tables.
Note: In Oracle Database 10g , by using the ORACLE_DATAPUMP driver instead of the default ORACLE_DRIVER, you can write to external tables. In Oracle Database 10g, you can define VARCHAR2 and CLOB columns in external tables to store XML documents. The following example shows how you can create an external table with a CLOB column to store the XML documents. First, you need to create a DIRECTORY to read the data files:
CREATE DIRECTORY data_file_dir AS 'D:\xmlbook\Examples\Chapter9\src\xml';
GRANT READ, WRITE ON DIRECTORY data_file_dir TO demo;
Then, you can use this DIRECTORY to define an external table:
CREATE TABLE customer_xt (doc CLOB)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY data_file_dir
ACCESS PARAMETERS
FIELDS (lobfn CHAR TERMINATED BY ',')
COLUMN TRANSFORMS (doc FROM lobfile (lobfn))
LOCATION ('xml.dat')
REJECT LIMIT UNLIMITED;
The xml.dat file follows:
customer1.xml
customer2.xml
If you describe the table, you can see the following definition:
SQL> DESC customer_xt;
Name Null? Type
DOC CLOB
Then, you can query the XML document as follows:
SELECT XMLType(doc).extract('/Customer/EMAIL')
FROM customer_xt;
Though the query requires run-time XMLType creation and XPath evaluation, this approach is useful when applications just need a few queries on the XML data and don’t want to upload the XML data into database. In Oracle Database 10g, you cannot create external tables that contain pre-defined XMLType column types.
Message was edited by:
vi2167Your don't have the proper operating system privileges. Be sure that you (=oracle OS user / the OS Linux user that is starting the database) are allowed have read privs on the path and/or file.
for example...
chown -Rf /xxxxxxx/xxxx/etc
ls -l file.xml
file.xml oracle:oinstall rw-rw-rw -
Error...java.sql.SQLException:Access denied for user
Hi,
I am getting the following error message while connecting with the MySQL .(O/S :Sun OS 5.6)
Error.....java.sql.SQLException: Invalid authorization specification: Access denied for user: 'some_user&password@localhost' (Using password: NO)
Note that i have given all permission to the user using,
GRANT ALL PRIVILEGES .......................
The code i have used to connect with the database is,
import java.io.*;
import java.sql.*;
class test
public static void main(String a[])
try
Connection con;
Statement stmt;
ResultSet rs;
Class.forName("org.gjt.mm.mysql.Driver");
con=DriverManager.getConnection(jdbc:mysql://localhost/db_name?user=some_user&password=some_pass");
stmt=con.createStatement();
//do something with resultset
catch(Exception e)
System.out.println("Exception in second try.."+e);
plese guide me on this problem to solve.
Thankz,
Bala.Hi friends...
I've read the last post...
The problem that I have is as follow....
1. I have installed on my machine MySQL 5.0 Server running
1.1 I have a database called "base1"
1.2 User "root", password "works"
1.3 I have the following sentence to connect it using JDBC
Connection con = DriverManager.getConnection("jdbc:mysql://localhost/base1", "root", "works");
More notes:
- I use the JDBC 5.0
- My Machine is a Windows XP SP2 Pentium 3.0 512Mb
and it connects����
but I have this environment to develop applications, now that I want to connect to Production Environment happens the following:
2 The Production database is mounted on a Linux Server with MySQL 3.2.
2.1 I change the sentences as follow:
Connection con = DriverManager.getConnection("jdbc:mysql://192.168.0.7/base1", "user", "password");
2.3 But a message appears when I run the Java Program:
java.sql.SQLException:Access denied for user: '[email protected]' (Using password: YES)
2.4 As you can see it changes the IP Address...
More notes:- I have the MySQL Query Browser and I got connection.
- The IP that display the Error Message is my Second IP configurated on my Network Properties.
- Server is a Pentium 4 3.0 GHz 2Gb Linux Red Hat 3.0
I leave this case for the spider... I hope that somebady has the solution.
What is the problem? Why the JDBC doesn't respect the IP that I wrote.
Maybe you are looking for
-
Creating Scrollable Content In a PDF
HI I'm looking at creating a pdf to send to a client or potential employer (resume) with a scrollable frame so they can using their mouse to click on it and view multiple images by scrolling from left to right. This could for example be used to view
-
i'm getting a box pop up that says Adobe Disteller - error 5 and nothing is working right on my computer - help!
-
Payment on Account for A/R invoice
Hello Experts, I want to create payment on Account for A/R Invoice through DI API . The Status of A/R Invoice should get closed. Please Suggest Regards Manish
-
Beginner - setting up MySQL on OS X Server 10.5.4
I would like to know what I need to do so if I run the program "MySQL Administrator" on my OS X 10.5 server or run it from another mac on my network - how I can get it to connect to my OS X 10.5 MySQL server. I did the normal first steps: Opened the
-
Hello everyone, I have a question regarding conditional probes. What conditions allow you to have a conditional probe. I have seen in some of my subvis that the condtional probes are not always available. See attached picture. I can have conditional